Patent ID: 8732694

Claim:
A method for performing services in a server of a client/server architecture, comprising: when performing to a preset user decision point during the service performing process, the server interrupting the service performing and initiating a user decision request to a client, wherein the user decision request includes information requesting the user to decide a service performing action after the user decision point; and after a user decision information made by the client responding to the user decision request is received, determining the service performing action corresponding to the received user decision information according to the corresponding relationship between the user decision information and a service performing rule, and performing the service according to the determined service performing action; wherein the communications between the client and the server are via a message channel which is an inter-process communication carrier and comprises a socket, a pipe or a message queue; and wherein the method is applied in a software package installation of the client/server (C/S) architecture in a mobile phone, and a user interface is the client while a software package installation program of a backstage is the server during the installation of the software package; the server detects the safety of the software package installation according to the service performing conditions during the software package installation, and if there are safety risks, sets a user decision point to interrupt the service performing and sends a user decision request to the client, the client indicates the user to decide whether to install, and the server determines whether to go on with the software package installation after receiving the user decision information of whether to install from the client; and wherein the user decision request comprises different mark-bit information for requesting a user to make a choice, wherein different mark-bit information corresponding to different service performing actions in the service performing rule; the user decision information is chosen mark-bit information.