CN103729425B - Operate response method, client, browser and system - Google Patents
- ️Fri Nov 16 2018
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
The client provided in the embodiment of the present invention can be the client of team's voice tool.The client can be run In the terminal, which can be mobile phone, tablet computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 3) player, knee Mo(u)ld top half portable computer, desktop computer and smart television etc..
Referring to Figure 1, it illustrates the method flow diagrams of operation response method provided by one embodiment of the present invention.The behaviour It can be used in client as response method, make operation of the client end response user in named web page.The operation response method May include:
Step 101, client extraction operation from the first webpage jump information of the embedded auto-building html files of client instructs, First webpage jump information be embedded webpage on the page it is corresponding with client can operation object receive it is raw after predetermined operation At;Or, client receives the operational order of external browser transmission, operational order is browser from the webpage currently shown It is extracted in the second webpage jump information generated, the second webpage jump information is corresponding with client on the page of webpage Can operation object receive and generate after predetermined operation;
Step 102, which executes corresponding response according to the operational order.
In conclusion operation response method provided in an embodiment of the present invention, by when the embedded webpage of client or outer In the webpage that portion's browser is shown it is corresponding with client can operation object be triggered when generating predetermined operation, client obtains should The corresponding operational order of predetermined operation, and the response responded is executed according to the operational order, it is logical to solve user in the prior art After crossing the interested network service of web page interrogation browsing, the manually opened network industry inquired from webpage in the client is needed The problem of business, reaches simplified operating process, saves the purpose of calculation resources and operating time.
It should be noted that since the webpage in above-mentioned method shown in FIG. 1 can be the embedded net for including in client Page is also possible to independently of client and the webpage that is shown in third party's browser, and for both situations, the present invention passes through Following two embodiment is described respectively.
Refer to Fig. 2, it illustrates another embodiment of the present invention provides operation response method method flow diagram.The behaviour It can be used in client as response method, make predetermined operation of the client end response user in the embedded webpage of client.It should Operating response method may include:
Step 201, client obtains the first webpage jump information from the embedded webpage of client;
Wherein, include in the embedded webpage it is corresponding with client can operation object, which is What the embedded webpage generated after this can receive predetermined operation in operation object.Can operation object can be client offer The icon of network service or link.
After user starts the main program of client, client end interface is shown in the terminal, client is handed over server When mutually and carrying out synchronized update, the data of embedded webpage can be obtained from server, and show that this is embedded in client end interface The link of webpage, after user clicks the link, client top layer shows embedded webpage.Include and the client in the embedded webpage Hold it is corresponding can operation object, for example, the icon of certain business perhaps link user click the icon or link when, embed net Page can generate corresponding first webpage jump information, and client can be monitored and intercept and capture the first webpage jump information.
Wherein, which can be the address or web page message that web-page requests jump.
Step 202, client extraction operation from the first webpage jump information instructs;
Client can extract order code name from the first webpage jump information, and according to the order code name at default pair It should be related to that middle lookup obtains the operational order, which is pair between different command code name and different operation instruction It should be related to.
Specifically, developer is when developing embedded webpage, can in embedded webpage can the corresponding letter of operation object Be written corresponding order code name in breath, user to can operation object carry out predetermined operation, it is interior such as when clicking icon or link Embedding auto-building html files include the first webpage jump information of the order code name, which can be set to the word of fixed format Symbol, after client is monitored and intercepts and captures the webpage jump information, can search the character of fixed format from the webpage jump information And it is extracted as order code name.Client is locally also stored with the corresponding pass between each order code name and corresponding operational order System, client are matched according to the order code name and pre-stored corresponding relationship that extract, to determine that order code name is corresponding Operational order, wherein operational order includes but is not limited to business open command, business out code or upgrade command etc..
For example, by taking webpage jump information is the address that web-page requests jump as an example, it is assumed that the order in webpage jump information The fixed format of code name is " cmd:Ooxxxx ", wherein " oo " corresponds to type of service, for example starts, exits, upgrades, " xxxx " corresponds to the service numbers perhaps mark of the such as a certain user interaction business of software version number or the client of specified services The program version number of main program is held, it is " ooxxxx " that client, which intercepts and captures the webpage and jumps message and extract order code name, is determined Specific operational order.
Step 203, client executes corresponding response according to the operational order.
After client gets the operational order, corresponding response is executed in the main interface of client.
Specifically, the main program for then controlling client opens specified services when the operational order is business open command; When the operational order is business out code, then the main program for controlling client terminates specified services;When the operational order is When upgrade command, then online upgrading etc. is carried out to the main program of client.
As shown in figure 3, by taking user carries out certain audio-visual interactive service by the client of team's voice tool as an example, wherein After user starts client main program, shows the main interface of client, include the link of embedded webpage, user in main interface After clicking the link, embedded webpage being shown, including the list of multiple audio-visual interactive services in the embedded webpage, user clicks column When certain audio-visual interactive service icon in table, embedded the first webpage of auto-building html files jumps message, and jumping includes order in message Code " cmd:Aa10345823 ", wherein " aa " corresponding unlatching business, " 10345823 " correspond to the virtual of the audio-visual interactive service " room " number, client determine that operational order is to open the audio-visual friendship that virtual room number is " 10345823 " according to the command code Mutual business, the main program for controlling client load the interface of the audio-visual interactive service in client end interface, into the virtual room Between.
In conclusion operation response method provided in an embodiment of the present invention, by when in the embedded webpage of client with visitor Family end it is corresponding can operation object be triggered when generating predetermined operation, client is from the webpage jump information of embedded auto-building html files The corresponding operational order of the predetermined operation is obtained, and executes the response of response according to the operational order, is solved in the prior art After user browses interested network service by web page interrogation, need manually opened in the client to inquire from webpage The problem of network service, reaches simplified operating process, saves the purpose of calculation resources and operating time.
Fig. 4 is referred to, it illustrates the method flow diagrams for the operation response method that further embodiment of this invention provides.The behaviour It can be used in client as response method, it is predetermined in the webpage for showing that client end response user in external browser Operation.The operation response method may include:
Step 301, the operational order that the browser outside client reception is sent;
The operational order is that the browser operated in outside client is jumped from the second webpage of the auto-building html files currently shown Extracted in transfering the letter breath, the second webpage jump information be on the page of the webpage it is corresponding with client can operation object receive The instruction generated after to predetermined operation.
Specifically, user can open browser manually, and input the address of named web page in a browser, or from its Related link is clicked in its Webpage to be jumped, and is loaded and is shown the named web page.Alternatively, working as the main program of client When starting, if showing the address of named web page in the interface of client, and the named web page is not the embedded webpage of client, Then when the user clicks the link of the address when, client can pass through operating system API (Application Programming Interface, application programming interface) call outside browser load and show the named web page.
Include in the webpage that the browser is shown it is corresponding with client can operation object, can operation object can be visitor The icon for the network service that family end provides or link.For example, the icon of certain business perhaps link user click the icon or When link, corresponding second webpage jump information is can be generated in webpage, and browser is extracted according to the second webpage jump information and grasped It instructs.
Wherein, which can be the address or web page message that web-page requests jump.
Specifically, browser can extract order code name from the second webpage jump information, and according to the order code name Generate the operational order.
When developing webpage corresponding life can be written in the corresponding information of operation object in webpage in developer Enable code name, user to can operation object carry out predetermined operation, for example when clicking icon or link, auto-building html files include the life Enable the second webpage jump information of code name, which can be set to the character of fixed format, browser listen to this After two webpage jump informations, the character of fixed format can be searched from the second webpage jump information and is extracted as order generation Number.The local corresponding relationship being also stored between each order code name and corresponding operational order of browser, browser is according to this Order code name generates the operational order, wherein operational order does not carry the enabled instruction of command line parameter including but not limited to, takes Enabled instruction with command line parameter, business open command, business out code or upgrade command etc..
For example, by taking the second webpage jump information is the address that web-page requests jump as an example, it is assumed that the second webpage jump information In order code name fixed format be " cmd:Ooxxxx ", wherein " oo " corresponds to type of service, for example starts, exits, rises Grade etc., " xxxx " correspond to specified services service numbers or software version number, such as a certain user interaction business mark or The program version number of person's client main program, browser, which listens to second webpage and jumps message and extract order code name, is " ooxxxx ", and generate operational order.
In addition, browser is after listening to the second webpage and jumping message and generate operational order, can by itself or Built-in plugin lookup system registry obtains presumptive address, and client receives browser and referred to by the operation that the presumptive address is sent It enables.
Specifically, the shell of client can also be installed together when operating system installs client, and by client Shell address be written registration table, browser after generating operational order, searched from registration table the client outside The address of shell side sequence starts according to the presumptive address shell of the client as presumptive address in a manner of command line parameter Program can carry the operational order in the command line parameter.It, can be by operational order after the shell of client is activated It is transmitted to the main program of client or is controlled according to main program of the operational order to client.
Step 302, client executes corresponding response according to the operational order.
When the main program of client is inactive, if the operational order is the enabled instruction for not carrying command line parameter, Then start the main program of the client;If the operational order is the enabled instruction for carrying command line parameter, start the client The main program at end, and execute operation corresponding to the command line parameter.Wherein, corresponding operate of the command line parameter may include But it is not limited to open specified services, terminate specified services or carry out online upgrading etc. to the main program of client.
When the main program of client has been started up, if the operational order is business open command, the client is controlled Main program open specified services;If the operational order is business out code, the main program for controlling the client terminates to refer to Determine business;If the operational order is upgrade command, controls and online upgrading is carried out to the main program of the client.
In practical applications, when browser generates operational order, the order that can will be extracted from webpage jump information Code name carries the shell that browser is sent in command line parameter, alternatively, browser can also root as operational order According to the operational order that the main program that order code name generates client can be executed directly, the main journey of client is transmitted to by shell Sequence.
It should be noted that the main program of client may be at inactive state when browser generates operational order, Also it may be at starting state.When the main program of client is in starting state, it can only start a consumer process, it can also To start multiple consumer process simultaneously;Specifically for example, when user starts client, user name can be passed through and login password carries out It logs in, the main program of the same client can support multiple user names to log in simultaneously, and each user name corresponding one independent Consumer process.
When browser is sent to the shell of client using order code name as operational order, the outer shell side of client Whether sequence, which can inquire currently to start by read-write system share memory technology, consumer process.If the main program of client does not open Dynamic consumer process, then the shell of client can first start the main program of client, then start to the main program of client Consumer process send executable instruction, corresponding response is executed by the consumer process;Alternatively, the shell of client can The host process for starting client in the form of through command line parameter is directly held after so that the main program of client is started consumer process The corresponding response of row.If the main program of client has been started up, and has had been switched at least one consumer process, then browser to User displays the prompt box, and prompts user to select which consumer process to execute corresponding response, and the user selected to user Process sends the instruction that can directly execute.
When the operational order that browser can be executed directly according to the main program that order code name generates client, client The operational order received is directly forwarded to the main program of client by shell.For example, browser is total by read-write system Enjoying current whether start of memory techniques inquiry has consumer process.If the inactive consumer process of the main program of client, browser The enabled instruction for not carrying command line parameter and the corresponding service order of command code can be generated respectively, service order can be with Including business open command, business out code or upgrade command etc., enabled instruction is sent to client first by browser Shell, enabled instruction is sent to the main program of client by the shell of client, and by the main journey of client Sequence starts consumer process, and after consumer process start completion, service order is sent to the shell of client by browser again, by Service order is sent to the consumer process of the main program starting of client by the shell of client, is executed by the consumer process Corresponding response;Alternatively, browser, which can be generated, carries order line ginseng if the main program of client inactive consumer process Several enabled instructions, and the enabled instruction is sent to the shell of client, the shell of client refers to the starting The main program for being sent to client is enabled, the main program of client starts consumer process according to the enabled instruction and controls consumer process Execute corresponding response.If the main program of client has been started up at least one consumer process, browser generates service order, And user is prompted to select which consumer process to execute corresponding response, and the service order of generation is sent to client Shell sends the service order from the shell of client to the consumer process that user selects.
As shown in figure 5, by taking user carries out certain audio-visual interactive service by the client of team's voice tool as an example, wherein User clicks the link of the named web page in client, and client loads by operating system API Calls browser and shows this Webpage, in the webpage can operation object be the list for including multiple audio-visual interactive services, user clicks certain shadow in list When sound interactive service icon, auto-building html files webpage jumps message, and jumping includes command code " cmd in message: Aa10345823 ", wherein " aa " corresponding unlatching business, virtual " room " number of " 10345823 " corresponding audio-visual interactive service, It is the audio-visual interactive service that unlatching virtual room number is " 10345823 " that browser, which generates operational order according to the command code, and The operational order is sent to client, the main program of client loads the boundary of the audio-visual interactive service in client end interface Face, into the virtual room.
In conclusion operation response method provided in an embodiment of the present invention, by when be shown in the webpage of browser with Client it is corresponding can operation object be triggered when generating predetermined operation, client receives browser and obtains and send pre- with this Surely corresponding operational order is operated, and corresponding response is executed according to the operational order, user in the prior art is solved and passes through After web page interrogation browses interested network service, the manually opened network service inquired from webpage in the client is needed The problem of, reach simplified operating process, saves the purpose of calculation resources and operating time.
Fig. 6 is referred to, it illustrates the method flow diagrams of operation response method provided by one embodiment of the present invention.The behaviour It can be used in browser as response method, ring client to the predetermined operation in the webpage loaded in the browser It answers.The operation response method may include:
Step 401, browser loads and shows webpage, in the webpage comprising it is corresponding with client can operation object;
Step 402, browser obtains the second webpage jump information, the second webpage jump information from the webpage currently shown For the webpage information generated after the predetermined operation can be received in operation object at this;
Step 403, browser extracts operational order from the second webpage jump information;
Step 404, which is sent to the client by browser, is executed by the client according to the operational order Corresponding response.
In conclusion operation response method provided in an embodiment of the present invention, can connect by obtaining webpage in operation object It receives the second webpage being generated after predetermined operation and jumps message, jumped from the second webpage and extract operational order in message, and Operational order is sent to client, corresponding operation is executed according to the operational order by client, is solved in the prior art After user browses interested network service by web page interrogation, need manually opened in the client to inquire from webpage The problem of network service, reaches simplified operating process, saves the purpose of calculation resources and operating time.
Refer to Fig. 7, it illustrates another embodiment of the present invention provides operation response method method flow diagram.The behaviour It can be used in browser as response method, ring client to the predetermined operation in the webpage loaded in the browser It answers.The operation response method may include:
Step 501, browser loads and shows webpage;
Specifically, user can open browser manually, and input the address of named web page in a browser, or from its Related link is clicked in its Webpage to be jumped, and is loaded and is shown the named web page.Alternatively, working as the main program of client When starting, if showing the address of named web page in the interface of client, and the named web page is not the embedded webpage of client, Then when the user clicks the link of the address when, client can pass through operating system API (Application Programming Interface, application programming interface) call browser to load and show the named web page.
Step 502, browser obtains the second webpage jump information from the webpage currently shown, which jumps message For the webpage message generated after predetermined operation can be being received in operation object;
In the webpage comprising it is corresponding with client can operation object, can operation object can be client offer network The icon of business or link.For example, the icon of certain business perhaps link user click the icon or link when, webpage can To generate corresponding second webpage jump information, browser is instructed according to the second webpage jump information extraction operation.
Wherein, which can be the address or web page message that web-page requests jump.
Step 503, browser extracts operational order from the second webpage jump information;
Specifically, browser can extract order code name from the second webpage jump information, and raw according to the order code name At the operational order.
When developing webpage corresponding life can be written in the corresponding information of operation object in webpage in developer Enable code name, user to can operation object carry out predetermined operation, for example when clicking icon or link, auto-building html files include the life The webpage jump information of code name is enabled, which can be set to the character of fixed format, and browser listens to second net After page jump information, the character of fixed format can be searched from the second webpage jump information and is extracted as order code name.It is clear Device of looking at locally also is stored with the corresponding relationship between each order code name and corresponding operational order, and browser is according to the order generation Number generate the operational order, wherein operational order does not carry the enabled instruction of command line parameter including but not limited to, carries order Enabled instruction, business open command, business out code or upgrade command of row parameter etc..
For example, by taking the second webpage jump information is the address that web-page requests jump as an example, it is assumed that the second webpage jump information In order code name fixed format be " cmd:Ooxxxx ", wherein " oo " corresponds to type of service, for example starts, exits, rises Grade etc., " xxxx " correspond to specified services service numbers or software version number, such as a certain user interaction business mark or The program version number of person's client main program, browser, which listens to second webpage and jumps message and extract order code name, is " ooxxxx ", and generate operational order.
Step 504, browser obtains presumptive address by itself or built-in plugin lookup registration table;
Specifically, the shell of client can also be installed together when operating system installs client, and by client Shell address be written registration table, browser after generating operational order, searched from registration table the client outside The address of shell side sequence is as presumptive address.
Step 505, which is sent to the client by the presumptive address by browser, by the client according to The operational order executes corresponding response.
Browser can start the shell of the client, the life according to the presumptive address in a manner of command line parameter The operational order can be carried by enabling in row parameter.After the shell of client is activated, operational order can be transmitted to visitor The main program at family end is controlled according to main program of the operational order to client, makes the main program of client according to the behaviour Make instruction execution corresponding operation.
Above-mentioned client, which receives the operational order that browser is sent and executes the specific steps of corresponding operation, refers to Fig. 4 Step 302 in shown method, the embodiment of the present invention repeat no more.
In conclusion operation response method provided in an embodiment of the present invention, can connect by obtaining webpage in operation object It receives the second webpage being generated after predetermined operation and jumps message, jumped from the second webpage and extract operational order in message, and Operational order is sent to client, corresponding operation is executed according to the operational order by client, is solved in the prior art After user browses interested network service by web page interrogation, need manually opened in the client to inquire from webpage The problem of network service, reaches simplified operating process, saves the purpose of calculation resources and operating time.
Fig. 8 is referred to, it illustrates the method flow diagrams of operation response method provided by one embodiment of the present invention.The behaviour It may be used to client as response method to respond the predetermined operation in the webpage loaded in the browser.The operation Response method may include:
Step 601, browser loads and shows webpage;
Specifically, user can open browser manually, and input the address of named web page in a browser, or from its Related link is clicked in its Webpage to be jumped, and is loaded and is shown the named web page.Alternatively, working as the main program of client When starting, if showing the address of named web page in the interface of client, and the named web page is not the embedded webpage of client, Then when the user clicks the link of the address when, client can pass through operating system API (Application Programming Interface, application programming interface) call browser to load and show the named web page.
Step 602, browser obtains the second webpage jump information from the webpage currently shown, which jumps message For the webpage message generated after predetermined operation can be being received in operation object;
In the webpage comprising it is corresponding with client can operation object, can operation object can be client offer network The icon of business or link.For example, the icon of certain business perhaps link user click the icon or link when, webpage can To generate corresponding second webpage jump information, browser is instructed according to the second webpage jump information extraction operation.
Wherein, which can be the address or web page message that web-page requests jump.
Step 603, browser extracts operational order from the second webpage jump information;
Specifically, browser can extract order code name from the second webpage jump information, and according to the order code name Generate the operational order.
When developing webpage corresponding life can be written in the corresponding information of operation object in webpage in developer Enable code name, user to can operation object carry out predetermined operation, for example when clicking icon or link, auto-building html files include the life Enable the second webpage jump information of code name, which can be set to the character of fixed format, browser listen to this After two webpage jump informations, the character of fixed format can be searched from the second webpage jump information and is extracted as order generation Number,.The local corresponding relationship being also stored between each order code name and corresponding operational order of browser, browser is according to this Order code name generates the operational order, wherein operational order does not carry the enabled instruction of command line parameter including but not limited to, takes Enabled instruction with command line parameter, business open command, business out code or upgrade command etc..
For example, by taking the second webpage jump information is the address that web-page requests jump as an example, it is assumed that the second webpage jump information In order code name fixed format be " cmd:Ooxxxx ", wherein " oo " corresponds to type of service, for example starts, exits, rises Grade etc., " xxxx " correspond to specified services service numbers or software version number, such as a certain user interaction business mark or The program version number of person's client main program, browser, which listens to second webpage and jumps message and extract order code name, is " ooxxxx ", and generate operational order.
Step 604, browser obtains presumptive address by itself or built-in plugin lookup registration table;
Specifically, the shell of client can also be installed together when operating system installs client, and by client Shell address be written registration table, browser after generating operational order, searched from registration table the client outside The address of shell side sequence is as presumptive address.
Step 605, which is sent to the client by the presumptive address by browser;
Browser starts the shell of the client according to the presumptive address in a manner of command line parameter, the order line The operational order can be carried in parameter.After the shell of client is activated, operational order can be transmitted to client Main program or controlled according to main program of the operational order to client.
Step 606, client executes corresponding response according to the operational order.
When the main program of client is inactive, if the operational order is the enabled instruction for not carrying command line parameter, Then start the main program of the client;If the operational order is the enabled instruction for carrying command line parameter, start the client The main program at end, and execute operation corresponding to the command line parameter.Wherein, corresponding operate of the command line parameter may include But it is not limited to open specified services, terminate specified services or carry out online upgrading etc. to the main program of client.
When the main program of client has been started up, if the operational order is business open command, the client is controlled Main program open specified services;If the operational order is business out code, the main program for controlling the client terminates to refer to Determine business;If the operational order is upgrade command, controls and online upgrading is carried out to the main program of the client.
In practical applications, it when browser generates operational order, can will extract from the second webpage jump information Order code name carries the shell that browser is sent in command line parameter, alternatively, browser can also as operational order With the operational order that the main program for generating client according to order code name can be executed directly, client is transmitted to by shell Main program.
It should be noted that the main program of client may be at inactive state when browser generates operational order, Also it may be at starting state.When the main program of client is in starting state, it can only start a consumer process, it can also To start multiple consumer process simultaneously;Specifically for example, when user starts client, user name can be passed through and login password carries out It logs in, the main program of the same client can support multiple user names to log in simultaneously, and each user name corresponding one independent Consumer process.
When browser is sent to the shell of client using order code name as operational order, the outer shell side of client Whether sequence, which can inquire currently to start by read-write system share memory technology, consumer process.If the main program of client does not open Dynamic consumer process, then the shell of client can first start the main program of client, then start to the main program of client Consumer process send executable instruction, corresponding response is executed by the consumer process;Alternatively, the shell of client can The host process for starting client in the form of through command line parameter is directly held after so that the main program of client is started consumer process The corresponding response of row.If the main program of client has been started up, and has had been switched at least one consumer process, then browser to User displays the prompt box, and prompts user to select which consumer process to execute corresponding response, and the user selected to user Process sends the instruction that can directly execute.
When the operational order that browser can be executed directly according to the main program that order code name generates client, client The operational order received is directly forwarded to the main program of client by shell.For example, browser is total by read-write system Enjoying current whether start of memory techniques inquiry has consumer process.If the inactive consumer process of the main program of client, browser The enabled instruction for not carrying command line parameter and the corresponding service order of command code can be generated respectively, service order can be with Including business open command, business out code or upgrade command etc., enabled instruction is sent to client first by browser Shell, enabled instruction is sent to the main program of client by the shell of client, and by the main journey of client Sequence starts consumer process, and after consumer process start completion, service order is sent to the shell of client by browser again, by Service order is sent to the consumer process of the main program starting of client by the shell of client, is executed by the consumer process Corresponding response;Alternatively, browser, which can be generated, carries order line ginseng if the main program of client inactive consumer process Several enabled instructions, and the enabled instruction is sent to the shell of client, the shell of client refers to the starting The main program for being sent to client is enabled, the main program of client starts consumer process according to the enabled instruction and controls consumer process Execute corresponding response.If the main program of client has been started up at least one consumer process, browser generates service order, And user is prompted to select which consumer process to execute corresponding response, and the service order of generation is sent to client Shell sends the service order from the shell of client to the consumer process that user selects.
Fig. 9 is referred to, it illustrates the structure drawing of device of client provided by one embodiment of the present invention, which can To respond operation of the user in named web page.The client may include:
Instruction acquisition module 701, for being mentioned in the first webpage jump information of the embedded auto-building html files from the client Extract operation instruction, the first webpage jump information, which is that the embedded webpage is corresponding with the client on the page, to be operated Object, which receives, to be generated after predetermined operation;Or, the operational order that the browser outside receiving is sent, the operational order It is that the browser is extracted from the second webpage jump information of the auto-building html files currently shown, second webpage jumps Information be on the page of the webpage it is corresponding with the client can operation object receive the predetermined operation after generate;
Execution module 702 is responded, for executing corresponding response according to the operational order.
In conclusion client provided in an embodiment of the present invention, by being browsed when the embedded webpage of client or outside In the webpage that device is shown it is corresponding with client can operation object be triggered when generating predetermined operation, client obtains the predetermined behaviour Make corresponding operational order, and execute the response of response according to the operational order, solves user in the prior art and pass through webpage After inquiring and browsing interested network service, asking for the manually opened network service inquired from webpage in the client is needed Topic reaches simplified operating process, saves the purpose of calculation resources and operating time.
Referring to Figure 10, it illustrates another embodiment of the present invention provides client structure drawing of device, the client Operation of the user in named web page can be responded.The client may include:
Instruction acquisition module 801, for being mentioned in the first webpage jump information of the embedded auto-building html files from the client Extract operation instruction, the first webpage jump information, which is that the embedded webpage is corresponding with the client on the page, to be operated Object, which receives, to be generated after predetermined operation;Or, the operational order that the browser outside receiving is sent, the operational order It is that the browser is extracted from the second webpage jump information of the auto-building html files currently shown, second webpage jumps Information be on the page of the webpage it is corresponding with the client can operation object receive the predetermined operation after generate;
Execution module 802 is responded, for executing corresponding response according to the operational order.
Described instruction obtains module 801, including:
Acquiring unit 801a obtains the first webpage jump information from the embedded webpage of the client;
Extraction unit 801b, for extracting order code name from the first webpage jump information;
Searching unit 801c obtains the operation and refers to for being searched in default corresponding relationship according to the order code name It enables, the default corresponding relationship is the corresponding relationship between different command code name and different operation instruction.
Alternatively, described instruction obtains module 801, including:
Receiving unit 801d, the operational order sent for receiving the browser by presumptive address are described pre- Determining address is the browser by obtaining after itself or built-in plugin lookup registration table.
Described instruction obtains module 801:
Call unit 801e, for before the operational order that the receiving unit receives that the browser is sent, It is loaded by browser described in operating system API Calls and shows the webpage.
The response execution module 802, including:
First execution unit 8021, if being the enabled instruction for not carrying command line parameter for the operational order, Start the main program of the client;
Second execution unit 8022 opens if being the enabled instruction for carrying command line parameter for the operational order The main program of the client is moved, and executes operation corresponding to the command line parameter;
Third execution unit 8023 controls the client if being business open command for the operational order Main program opens specified services;
4th execution unit 8024 controls the client if being business out code for the operational order Main program terminates specified services;
5th execution unit 8025 controls the master to the client if being upgrade command for the operational order Program carries out online upgrading.
In conclusion client provided in an embodiment of the present invention, by being browsed when the embedded webpage of client or outside In the webpage that device is shown it is corresponding with client can operation object be triggered when generating predetermined operation, client obtains the predetermined behaviour Make corresponding operational order, and execute the response of response according to the operational order, solves user in the prior art and pass through webpage After inquiring and browsing interested network service, asking for the manually opened network service inquired from webpage in the client is needed Topic reaches simplified operating process, saves the purpose of calculation resources and operating time.
Referring to Figure 11, it illustrates the structure drawing of device of browser device provided by one embodiment of the present invention, this is clear Device device of looking at may be used to client and respond to the user's operation in the named web page loaded in the browser device. The browser device may include:
Loading module 901 operates pair in the webpage comprising corresponding with client for loading and showing webpage As;
Data obtaining module 902, for obtaining the second webpage jump information from the webpage that currently shows, described second Webpage jump information can receive the information being generated after the predetermined operation in operation object described for the webpage;
Extraction module 903, for extracting operational order from the second webpage jump information;
Instruction sending module 904, for the operational order to be sent to the client, by the client according to institute It states operational order and executes corresponding response.
In conclusion browser device provided in an embodiment of the present invention, is existed by obtaining the webpage that external browser is shown The webpage being generated after predetermined operation can be received in operation object and jump message, jumped from webpage and extract operation in message and refer to It enables, and operational order is sent to client, corresponding operation is executed according to the operational order by client, solves existing skill After user browses interested network service by web page interrogation in art, need manually opened in the client to inquire from webpage The problem of network service arrived, reaches simplified operating process, saves the purpose of calculation resources and operating time.
Referring to Figure 12, it illustrates another embodiment of the present invention provides browser device structure drawing of device, this is clear Device device of looking at may be used to client and respond to the predetermined operation in the webpage loaded in the browser device.This is clear Device device of looking at may include:
Loading module 1001 operates pair in the webpage comprising corresponding with client for loading and showing webpage As;
Data obtaining module 1002, for obtaining the second webpage jump information from the webpage that currently shows, described the Two webpage jump informations can receive the information being generated after the predetermined operation in operation object described for the webpage;
Extraction module 1003, for extracting operational order from the second webpage jump information;
Instruction sending module 1004, for the operational order to be sent to the client, by the client according to The operational order executes corresponding response.
Described instruction sending module 1004, including:
Query unit 10041, for obtaining presumptive address by itself or built-in plugin lookup registration table;
Transmission unit 10042, for the operational order to be sent to the client by the presumptive address.
The loading module 1001, for being loaded under calling of the client by operating system API and showing institute State webpage.
In conclusion browser device provided in an embodiment of the present invention, is existed by obtaining the webpage that external browser is shown The webpage being generated after predetermined operation can be received in operation object and jump message, jumped from webpage and extract operation in message and refer to It enables, and operational order is sent to client, corresponding operation is executed according to the operational order by client, solves existing skill After user browses interested network service by web page interrogation in art, need manually opened in the client to inquire from webpage The problem of network service arrived, reaches simplified operating process, saves the purpose of calculation resources and operating time.
Referring to Figure 13, it illustrates the system pie graphs of operation response system provided by one embodiment of the present invention, should System includes:
Such as above-mentioned Fig. 9 or client shown in Fig. 10 001 and browser device as illustrated in Figure 11 or 12 002。
In conclusion operation response system provided in an embodiment of the present invention, by when the embedded webpage of client or outer In the webpage that portion's browser is shown it is corresponding with client can operation object be triggered when generating predetermined operation, client obtains should The corresponding operational order of predetermined operation, and the response responded is executed according to the operational order, it is logical to solve user in the prior art After crossing the interested network service of web page interrogation browsing, the manually opened network industry inquired from webpage in the client is needed The problem of business, reaches simplified operating process, saves the purpose of calculation resources and operating time.
It should be noted that:Client provided by the above embodiment and browser device to the predetermined operation in webpage into Row response when, only the example of the division of the above functional modules, in practical application, can according to need and will be above-mentioned Function distribution is completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, with complete with The all or part of function of upper description.In addition, client provided by the above embodiment and browser device and operation responder Method embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, and which is not described herein again.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.