Method and system for performing services in server and client of client/server architecture
First Claim
1. 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.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system for performing services in a server and a client of a client/server architecture are provided, and the method includes: 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; 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. The service performing action or flow can be intervened or influenced by the client through the present invention.
25 Citations
9 Claims
-
1. 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. - View Dependent Claims (2, 3)
-
-
4. A method for performing services in a client of a client/server architecture, comprising:
-
receiving a service performing request from a user and sending it to a server, requesting the server to initiate service performing; receiving information from the server during the service performing, if the information is a user decision request, indicating the user that a decision is needed and waiting for the user'"'"'s response to the user decision request, wherein the user decision request comprises information for requesting the user to decide a subsequent service performing action; and receiving user decision information made by the user responding to the user decision request, the client sending the user decision information to the server; 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 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; during the software package installation, after the client receives a user decision request sent by the server for detecting safety risks, the client indicates that the user needs to decide whether to go on with the software package installation, waits for user decision information made by the user, and sends the user decision information to the server; 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.
-
-
5. A system for performing services in a server and a client of a client/server architecture, comprising:
-
a processor configured to execute program units stored on a memory, wherein the program units comprises; a service performing unit in the client, configured to initiate a service performing request to the server, when receive a user decision request from the server, to indicate the user that a decision is needed and to wait for the user'"'"'s response to the user decision request, and to send user decision information made by the user responding to the user decision request to the server; and a service performing unit in the server, configured to start performing the services after receiving the service performing request from the client, when performing to a preset user decision point during performing the services, to interrupt the service performing and to initiate a user decision request to the client, after receiving user decision information made by the client responding to the user decision request, to determine a service performing action after the user decision point according to the user decision information; 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 system is applied in a software package installation of the Client/Server architecture in a mobile phone, and a user interface is the client and a software package installation program of a backstage is the server during the installation of the software package; the service performing unit in the server detects the safety of the software package installation according to 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; the service performing unit in the client, after receiving the user decision request sent by the server for detecting safety risks, indicates that the user needs to decide whether to go on with the software package installation and waits for the user decision information made by the user, and sends the user decision information to the server; 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. - View Dependent Claims (6, 7, 8, 9)
-
Specification