CN103389797B - instruction synchronization method, terminal and system - Google Patents

instruction synchronization method, terminal and system Download PDF

Info

Publication number
CN103389797B
CN103389797B CN201310298329.6A CN201310298329A CN103389797B CN 103389797 B CN103389797 B CN 103389797B CN 201310298329 A CN201310298329 A CN 201310298329A CN 103389797 B CN103389797 B CN 103389797B
Authority
CN
China
Prior art keywords
terminal
browsing instructions
instructions
browsing
browser
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310298329.6A
Other languages
Chinese (zh)
Other versions
CN103389797A (en
Inventor
杨振辉
傅盛
孙明焱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Conew Network Technology Beijing Co Ltd
Zhuhai Juntian Electronic Technology Co Ltd
Beijing Cheetah Mobile Technology Co Ltd
Beijing Cheetah Network Technology Co Ltd
Zhuhai Baohaowan Technology Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Conew Network Technology Beijing Co Ltd
Shell Internet Beijing Security Technology Co Ltd
Zhuhai Juntian Electronic Technology Co Ltd
Beijing Kingsoft Internet Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd, Conew Network Technology Beijing Co Ltd, Shell Internet Beijing Security Technology Co Ltd, Zhuhai Juntian Electronic Technology Co Ltd, Beijing Kingsoft Internet Science and Technology Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201310298329.6A priority Critical patent/CN103389797B/en
Publication of CN103389797A publication Critical patent/CN103389797A/en
Application granted granted Critical
Publication of CN103389797B publication Critical patent/CN103389797B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a method, a terminal and a system for instruction synchronization. The instruction synchronization method is applied to a first terminal, a browser is installed in the first terminal, and the first terminal is connected with at least one second terminal through a network, and the method comprises the following steps: the browser detects a browsing instruction sent by a user; after a browsing instruction sent by a user is detected, judging whether the browsing instruction is a browsing instruction in a preset instruction library; and when the browsing instruction is judged to be a browsing instruction in the preset instruction library, the browsing instruction is respectively sent to the corresponding second terminals in a format which can be identified by the browser in the at least one second terminal through the network, so that the at least one second terminal responds to the browsing instruction after receiving the browsing instruction. Therefore, by the scheme, the problem that the response can only be realized by sending a browsing instruction to the browser in the terminal by the user in the prior art is solved, and the use experience of the user is improved.

Description

Command synchronization method, terminal and system
Technical field
The present invention relates to browser control field, particularly to a kind of command synchronization method, terminal and be System.
Background technology
Along with the development that science and technology is at full speed, various terminals are constantly abundant and facilitate popular life. Owing to utilizing terminal processes information to have the advantages such as convenient and swift, saving resource so that terminal becomes for people Life or work in an indispensable part.And along with the development of internet, as internet The browser of entrance become the installation Kinds of Essential Software in terminal.
Technical staff find, in prior art, for the terminal being provided with browser, only when User is to when in this terminal, browser sends browsing instructions, and in this terminal, browser can detect and respond This browsing instructions and then show corresponding web page contents;But, for some application scenarios, this User is made to have relatively low experience.Such as: when utilizing to be entered by wire mouse or wireless mouse The terminal controlled is when browsing webpage, and such as: desktop computer, notebook computer etc., user must be The vicinity of terminal could realize, to the control of browser in this terminal, so causing user to watch a long way off Must stand up during this terminal to manipulate browser in this terminal further;And for example, on classroom, teacher By, when browser is to show corresponding web page contents in the computer on operation dais, being positioned at classroom heel row Classmate cannot see or not hear whole displaying process clearly due to distant, cause cannot utilizing at one's side Mobile phone or computer complete the displaying of corresponding web page contents, thus have impact on efficiency of listening to the teacher.
Summary of the invention
Based on the problems referred to above, the embodiment of the invention discloses a kind of command synchronization method, terminal and system, To improve the experience of user.Technical scheme is as follows:
First aspect, embodiments provides a kind of command synchronization method, is applied to first terminal, Browser is installed in described first terminal, and described first terminal and at least one second terminal are passed through Network is connected, and described method includes:
The browsing instructions that browser detection user sends;
After the browsing instructions that user sends being detected, it is judged that whether detected browsing instructions is pre- If the browsing instructions in instruction database;
When judging that detected browsing instructions is the browsing instructions in described preset instructions storehouse, By network, described browsing instructions is capable of identify that with browser at least one second terminal described Form is respectively sent to corresponding second terminal, so that at least one second terminal described is receiving After described browsing instructions, respond described browsing instructions.
Wherein, the browser control method provided based on first aspect, detected when judging When browsing instructions is the browsing instructions in preset instructions storehouse, described method also includes:
In described first terminal, browser responds described browsing instructions.
Wherein, the browsing instructions of described preset instructions library storage includes:
Page open instruction, page close instruction, DOM element is corresponding in the page click commands, receipts Hide network address instruction, refresh page instruction, advancement commands, retrogressing instruction and open homepage instruction.
Wherein, scan and resolve at least one second terminal described shown by described first terminal The mode of graphical identification code connected for network set up corresponding network and connect;Or, by institute State at least one second terminal scanning resolve in described first terminal shown to connect for network The mode of graphical identification code is set up corresponding network and is connected.
Wherein, in described first terminal, browser responds the web page contents of the required display of described browsing instructions The web page contents shown needed for described browsing instructions is responded with browser at least one second terminal described Identical.
Second aspect, the embodiment of the present invention additionally provides a kind of command synchronization method, is applied to second eventually End, is provided with browser, and described second terminal and first terminal passes through network in described second terminal Being connected, described method includes:
Receive the browsing instructions that described first terminal is sent by network;Wherein, described browsing instructions tool There is the form that browser in described second terminal is capable of identify that;
Respond described browsing instructions.
The third aspect, the embodiment of the present invention additionally provides a kind of terminal, and described terminal is first terminal, Browser is installed in described first terminal, and described first terminal and at least one second terminal are passed through Network is connected;Described terminal includes:
Browsing instructions detection module, for detecting the browsing instructions that user sends;
Browsing instructions judge module, for detecting what user sent at described browsing instructions detection module After browsing instructions, it is judged that whether detected browsing instructions is the browsing instructions in preset instructions storehouse, And in the case of judged result is for being, trigger browsing instructions processing module;
Described browsing instructions processing module, for by network, by described browsing instructions with described at least The form that in one the second terminal, browser is capable of identify that is respectively sent to corresponding second terminal, so that Described in, at least one second terminal is after receiving described browsing instructions, responds described browsing instructions.
Wherein, the terminal provided based on the third aspect, described browsing instructions judge module judges institute When the browsing instructions detected is the browsing instructions in described preset instructions storehouse, also trigger browsing instructions Respond module;
Described browsing instructions respond module, is used for responding described browsing instructions.
Wherein, the browsing instructions of described preset instructions library storage includes:
Page open instruction, page close instruction, DOM element is corresponding in the page click commands, receipts Hide network address instruction, refresh page instruction, advancement commands, retrogressing instruction and open homepage instruction.
Fourth aspect, the embodiment of the present invention additionally provides a kind of terminal, and described terminal is the second terminal, Browser is installed in described second terminal, and described second terminal is connected by network with first terminal, Described terminal includes:
Browsing instructions receiver module, for receiving the browsing instructions that described first terminal is sent by network; Wherein, the form that in described browsing instructions has described second terminal, browser is capable of identify that;
Browsing instructions respond module, is used for responding described browsing instructions.
5th aspect, the embodiment of the present invention additionally provides a kind of command synchronization system, including: first eventually End and at least one second terminal, be provided with browser in described first terminal, described at least one the Browser is installed in two terminals, and described first terminal and at least one second terminal described pass through net Network is connected;
Wherein, described first terminal includes:
Browsing instructions detection module, for detecting the browsing instructions that user sends;
Browsing instructions judge module, for detecting what user sent at described browsing instructions detection module After browsing instructions, it is judged that whether detected browsing instructions is the browsing instructions in preset instructions storehouse, And in the case of judged result is for being, trigger browsing instructions processing module;
Described browsing instructions processing module, for by network, by described browsing instructions with described at least The form that in one the second terminal, browser is capable of identify that is respectively sent to corresponding second terminal;
Described second terminal includes:
Browsing instructions receiver module, for receiving the browsing instructions that described first terminal is sent by network; Wherein, the form that in described browsing instructions has described second terminal, browser is capable of identify that;
Browsing instructions respond module, is used for responding described browsing instructions.
In embodiment provided by the present invention, browser, and this first terminal are installed in first terminal It is connected by network with at least one second terminal;Wherein, when in first terminal browser use detected After the browsing instructions that family sends, it is judged that whether detected browsing instructions is in preset instructions storehouse Browsing instructions, and in the case of judged result is for being, by network, by this browsing instructions with this extremely The form that in few second terminal, browser is capable of identify that is respectively sent to corresponding second terminal, with Make this at least one second terminal after receiving this browsing instructions, respond this browsing instructions.It is visible, In this programme, the browsing instructions of browser in first terminal is synchronized to that network is connected at least one the Two terminals so that at least one second terminal responds this browsing instructions after receiving this browsing instructions, Solve with this and prior art must send browsing instructions by user to browser in terminal could ring The problem answered, and then improve the experience of user.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below by right In embodiment or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, Accompanying drawing in describing below is only some embodiments of the present invention, for those of ordinary skill in the art From the point of view of, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings Figure.
The first flow chart of a kind of command synchronization method that Fig. 1 is provided by the embodiment of the present invention;
The second flow chart of a kind of command synchronization method that Fig. 2 is provided by the embodiment of the present invention;
The first structural representation of a kind of terminal that Fig. 3 is provided by the embodiment of the present invention;
The second structural representation of a kind of terminal that Fig. 4 is provided by the embodiment of the present invention;
The structural representation of a kind of command synchronization system that Fig. 5 is provided by the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is entered Row clearly and completely describes, it is clear that described embodiment is only a part of embodiment of the present invention, Rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having Have and make the every other embodiment obtained under creative work premise, broadly fall into present invention protection Scope.
In prior art, for the terminal being provided with browser, only when user is in this terminal When browser sends browsing instructions, in this terminal browser can detect and respond this browsing instructions and then Show corresponding web page contents;But, for some application scenarios, this makes user have relatively Low experience.And in order to solve the prior art problem, embodiments provide one and refer to Make synchronous method, terminal and system.
A kind of command synchronization method provided the embodiment of the present invention first below is introduced.
From the angle of control end, embodiments provide a kind of command synchronization method.
It should be noted that the command synchronization method that the embodiment of the present invention provides is applied to first terminal, Browser is installed in this first terminal, and this first terminal and at least one second terminal pass through network It is connected, and, this at least one second terminal is mounted on browser.In actual applications, this One terminal and the second terminal can be all: mobile phone, notebook computer, desktop computer, as portable PC and using touch-screen as the panel computer etc. of basic input equipment.
Wherein, " second " of " first " and " the second terminal " of " first terminal " just to from Distinguish in name and control end and controlled terminal, not there is any limiting meaning.
As it is shown in figure 1, a kind of command synchronization method, described method includes:
S101, the browsing instructions that in first terminal, browser detection user sends;
In needing this first terminal, browser controls the browser of this second terminal, will first terminal When browsing instructions received by interior browser is synchronized at least one second terminal that network is connected, use Family can send current desired browsing instructions to browser in this first terminal, and in this first terminal Browser can detect this browsing instructions that user sends, and then performs follow-up operation.
S102, it is judged that whether detected browsing instructions is the browsing instructions in preset instructions storehouse, If it is, perform step S103;Otherwise, step S104 is performed;
After in first terminal, browser detects the browsing instructions that user sends, it can be determined that detected To browsing instructions whether be the browsing instructions in preset instructions storehouse, to determine that this browsing instructions is No need to be synchronized to browser in this at least one second terminal, and perform according to different judged results Different operations.Wherein, when judging that this detected browsing instructions is in preset instructions storehouse During browsing instructions, demonstrate the need for this browsing instructions is synchronized to browser in this at least one second terminal, Therefore, it can perform step S103;And when judging that detected browsing instructions is not preset instructions During a browsing instructions in storehouse, show that this browsing instructions is without being synchronized to this at least one second terminal Interior browser, therefore, it can perform step S104.
It should be noted that the respective memory regions of browser pre-sets instruction database in first terminal, Browsing instructions included in this preset instructions storehouse is clear in needing to be synchronized to this at least one second terminal Look at device;Further, this preset instructions storehouse can store complete browsing instructions, or browsing instructions Mark data, this is all rational.It will be appreciated by persons skilled in the art that for preset instructions When storehouse stores complete browsing instructions, when the browsing instructions that user sends being detected, can be by institute This browsing instructions detected is mated with the browsing instructions in this preset instructions storehouse, if the match is successful, Show that this detected browsing instructions is the browsing instructions in this preset instructions storehouse;And for presetting When instruction database stores the mark data of browsing instructions, when the browsing instructions that user sends being detected, Can extract the mark data of detected browsing instructions, and with the mark number in this preset instructions storehouse According to mating, if the match is successful, show that this detected browsing instructions is in this preset instructions storehouse A browsing instructions.
In actual applications, in this preset instructions storehouse, the browsing instructions of storage may include that page open DOM(Document Object Model in instruction, page close instruction, the page, file object mould Type) click commands that element is corresponding, collection network address instruction, refresh page instruction, advancement commands, after Move back instruction and open homepage instruction, being certainly not limited thereto.
It should be noted that this first terminal and each second terminal can by Socket mode or Bluetooth approach realizes network and is connected, and is certainly not limited thereto.Further, first terminal and second is set up The mode that the network of terminal connects can be the manual set-up mode of user;Further, in order to simplify Set up the step that network connects, scan and resolve by this first terminal in this at least one second terminal The shown mode for the graphical identification code of network connection is set up corresponding network and is connected;Or, At least one second terminal scanning resolve in this first terminal shown connecting for network by this The mode of graphical identification code set up corresponding network and connect.Wherein it is possible to according to concrete applied field Scape, is arranged on first terminal or at least one the second terminal by this graphical identification code, and this is all rational; Further, this graphical identification code can be Quick Response Code, three-dimension code etc., and existing figure can be utilized to know Other code generation technique, generates the graphical identification code connected for network in the second terminal, does not makees at this Repeat.
Further, in order to guarantee data security, first terminal and at least one second terminal are carried out Before network connects, can mutually carry out authentication, to ensure first terminal and this at least one the Two terminals are the equipment that both sides can trust.Wherein, concrete identification authentication mode can use existing Technology, does not repeats them here.
It will be appreciated by persons skilled in the art that what this first terminal above-mentioned and the second terminal were utilized Internetwork connection mode and set up network connect mode merely exemplary, should not constitute to this The restriction of inventive embodiments.
S103, by network, can with browser in this at least one second terminal by this browsing instructions The form identified is respectively sent to corresponding second terminal, so that this at least one second terminal is connecing After receiving this browsing instructions, respond this browsing instructions;
After in first terminal, browser detects the browsing instructions that user sends, can by this network, The form that this browsing instructions is capable of identify that with browser in this at least one second terminal is respectively sent to Corresponding second terminal, so that this at least one second terminal is after receiving this browsing instructions, rings Should browsing instructions.
Wherein, when first terminal and second terminal are connected by network, can travel through default The corresponding table of terminal and the instruction format of browser, in determining this second terminal, browser is capable of identify that The form of browsing instructions;By network, send to this second terminal in there is this second terminal and browse This browsing instructions of the form that device is capable of identify that.And when this first terminal leads to at least two the second terminal Cross network when being connected, the corresponding table of default terminal and the instruction format of browser can be traveled through, determine Go out the form of the browsing instructions that browser in each second terminal is capable of identify that;By network, this is clear Instruction of looking at sends to corresponding second eventually with the form that browser in this at least two second terminal is capable of identify that End.
It will be appreciated by persons skilled in the art that when as control end first terminal in browser with As browser phase in the second terminal of controlled terminal simultaneously as browser can be straight in the second terminal Connect the browsing instructions identifying that browser is corresponding in this first terminal, therefore, browse in this first terminal After device detects the browsing instructions that user sends, can change without form, directly will by this network This browsing instructions sends to this second terminal, so that browser is to receive this clear in this second terminal Look at and respond this browsing instructions after instructing;And when in browser and the second terminal in first terminal, browser is not Simultaneously as browser can not be directly in response to corresponding clear of browser in this first terminal in the second terminal Look at instruction, therefore, after browser detects the browsing instructions that user sends in first terminal, pass through This network, the form that this browsing instructions is capable of identify that with browser in the second terminal send to this second Terminal, so that browser responds this browsing instructions after receiving this browsing instructions in this second terminal.
It should be noted that when judging that detected browsing instructions is that in preset instructions storehouse is clear Look at instruction time, detected browsing instructions is being sent to this while at least one second terminal, In this first terminal, browser can respond this browsing instructions.Wherein, in this first terminal, browser rings The web page contents of the required display of browsing instructions should respond this browser with browser in this second terminal and refer to The web page contents of the required display of order is identical, it is, the current desired display of browser in this first terminal Web page contents identical with the web page contents of the current desired display of browser in this second terminal.
S104, in this first terminal, browser responds this browsing instructions.
It is understood that after in first terminal, browser detects the browsing instructions that user sends, If it is judged that detected browsing instructions is not the browsing instructions in preset instructions storehouse, show nothing This browsing instructions need to be synchronized to browser in this at least one second terminal, therefore, this first terminal Interior browser responds this browsing instructions.
In embodiment provided by the present invention, browser, and this first terminal are installed in first terminal It is connected by network with at least one second terminal;Wherein, when in first terminal browser use detected After the browsing instructions that family sends, it is judged that whether detected browsing instructions is in preset instructions storehouse Browsing instructions, and in the case of judged result is for being, by network, by this browsing instructions with this extremely The form that in few second terminal, browser is capable of identify that is respectively sent to corresponding second terminal, with Make this at least one second terminal after receiving this browsing instructions, respond this browsing instructions.It is visible, In this programme, the browsing instructions of browser in first terminal is synchronized to that network is connected at least one the Two terminals so that at least one second terminal responds this browsing instructions after receiving this browsing instructions, Solve with this and prior art must send browsing instructions by user to browser in terminal could ring The problem answered, and then improve the experience of user.
From the angle of controlled terminal, embodiments provide a kind of command synchronization method.
It should be noted that the command synchronization method that the embodiment of the present invention provides is applied to the second terminal, Browser is installed in this second terminal, and this second terminal is connected by network with this first terminal, Wherein, in this first terminal, browser is installed.In actual applications, this first terminal and second is eventually End can be all: mobile phone, notebook computer, desktop computer, as pocket pc and with touch Touch and shield the panel computer etc. as basic input equipment.
Wherein, " second " of " first " and " the second terminal " of " first terminal " just to from Distinguish in name and control end and controlled terminal, not there is any limiting meaning.
As in figure 2 it is shown, a kind of command synchronization method, may include that
S201, in this second terminal, browser receives the browsing instructions that first terminal is sent by this network; Wherein, the form that in this browsing instructions has this second terminal, browser is capable of identify that;
After in first terminal, browser detects the browsing instructions that user sends, it is judged that detected Whether browsing instructions is the browsing instructions in preset instructions storehouse, and in the case of judged result is for being, By this network, this browsing instructions can be capable of identify that with browser in this at least one second terminal Form be respectively sent to corresponding second terminal;And browser can receive tool in each second terminal There is this browsing instructions of the form self being capable of identify that, and then utilize this browsing instructions to carry out follow-up place Reason.
Wherein, in actual applications, the browsing instructions stored in this preset instructions storehouse may include that Page open instruction, page close instruction, DOM element is corresponding in the page click commands, collection net Location instruction, refresh page instruction, advancement commands, retrogressing instruct and open homepage instruction, the most also It is not limited to this.Accordingly, in this second terminal, browsing instructions received by browser may include that Page open instruction, page close instruction, DOM element is corresponding in the page click commands, collection net Location instruction, refresh page instruction, advancement commands, retrogressing instruct or open homepage instruction, the most not It is confined to this.
It should be noted that this first terminal and each second terminal can by Socket mode or Bluetooth approach realizes network and is connected, and is certainly not limited thereto.Further, first terminal and second is set up The mode that the network of terminal connects can be the manual set-up mode of user;Further, in order to simplify Set up the step that network connects, scan and resolve by this first terminal in this at least one second terminal The shown mode for the graphical identification code of network connection is set up corresponding network and is connected;Or, At least one second terminal scanning resolve in this first terminal shown connecting for network by this The mode of graphical identification code set up corresponding network and connect.Wherein it is possible to according to concrete applied field Scape, is arranged on first terminal or at least one the second terminal by this graphical identification code, and this is all rational; Further, this graphical identification code can be Quick Response Code, three-dimension code etc., and existing figure can be utilized to know Other code generation technique, generates the graphical identification code connected for network in the second terminal, does not makees at this Repeat.
Further, in order to guarantee data security, first terminal and at least one second terminal are carried out Before network connects, can mutually carry out authentication, to ensure first terminal and this at least one the Two terminals are the equipment that both sides can trust.Wherein, concrete identification authentication mode can use existing Technology, does not repeats them here.
It will be appreciated by persons skilled in the art that what this first terminal above-mentioned and the second terminal were utilized Internetwork connection mode and set up network connect mode merely exemplary, should not constitute to this The restriction of inventive embodiments.
S202, responds this browsing instructions.
After in this second terminal, browser receives the browsing instructions that first terminal is sent by this network, Owing to the form of this browsing instructions can be by browser identification in this second terminal, therefore, this second end In end, browser can respond this browsing instructions.Wherein, in this first terminal, browser responds this and browses The web page contents of the required display of instruction is aobvious needed for responding this browser instructions with browser in this second terminal The web page contents shown is identical, it is, in this first terminal in the webpage of the current desired display of browser Hold identical with the web page contents of the current desired display of browser in this second terminal.
In embodiment provided by the present invention, the second terminal is connected by network with first terminal, and this is years old It is mounted on browser in two terminals and this first terminal;Wherein, in this second terminal, browser receives That sent to first terminal by this network, there is the form that browser in this second terminal is capable of identify that Browsing instructions after, respond this browsing instructions.Visible, in this programme, by browser in first terminal Browsing instructions be synchronized to network be connected at least one second terminal so that at least one second terminal After receiving this browsing instructions, respond this browsing instructions, solve in prior art must pass through with this User sends the problem that browsing instructions could respond to browser in terminal, and then improves making of user With experience.
Corresponding to above-mentioned from controlling the browser control method that end angle provides, the embodiment of the present invention also carries Having supplied a kind of terminal, described terminal is first terminal, is provided with browser in described first terminal, and Described first terminal is connected by network with at least one second terminal;Described terminal includes:
Browsing instructions detection module 310, for detecting the browsing instructions that user sends;
Browsing instructions judge module 320, for detecting user at described browsing instructions detection module 310 After the browsing instructions sent, it is judged that whether detected browsing instructions is that in preset instructions storehouse is clear Look at instruction, and in the case of judged result is for being, trigger browsing instructions processing module 330;
Described browsing instructions processing module 330, for by network, by described browsing instructions with described extremely The form that in few second terminal, browser is capable of identify that is respectively sent to corresponding second terminal, with Make at least one second terminal described after receiving described browsing instructions, respond described browsing instructions.
In embodiment provided by the present invention, browser, and this first terminal are installed in first terminal It is connected by network with at least one second terminal;Wherein, when in first terminal browser use detected After the browsing instructions that family sends, it is judged that whether detected browsing instructions is in preset instructions storehouse Browsing instructions, and in the case of judged result is for being, by network, by this browsing instructions with this extremely The form that in few second terminal, browser is capable of identify that is respectively sent to corresponding second terminal, with Make this at least one second terminal after receiving this browsing instructions, respond this browsing instructions.It is visible, In this programme, the browsing instructions of browser in first terminal is synchronized to that network is connected at least one the Two terminals so that at least one second terminal responds this browsing instructions after receiving this browsing instructions, Solve with this and prior art must send browsing instructions by user to browser in terminal could ring The problem answered, and then improve the experience of user.
Further, described browsing instructions judge module 320 judges that detected browsing instructions is During a browsing instructions in described preset instructions storehouse, also trigger browsing instructions respond module;
Described browsing instructions respond module, is used for responding described browsing instructions.
Wherein, the browsing instructions of described preset instructions library storage may include that
Page open instruction, page close instruction, DOM element is corresponding in the page click commands, receipts Hide network address instruction, refresh page instruction, advancement commands, retrogressing instruction and open homepage instruction.
Wherein, scan and resolve at least one second terminal described shown by described first terminal The mode of graphical identification code connected for network set up corresponding network and connect;Or, by institute State at least one second terminal scanning resolve in described first terminal shown to connect for network The mode of graphical identification code is set up corresponding network and is connected.
It should be noted that browser responds the required display of described browsing instructions in described first terminal Web page contents and browser at least one second terminal described respond the required display of described browser instructions Web page contents identical.
Corresponding to the above-mentioned browser control method provided from controlled terminal angle, the embodiment of the present invention is also Providing a kind of terminal, described terminal is the second terminal, is provided with browser in described second terminal, And described second terminal is connected by network with first terminal;As shown in Figure 4, described terminal may include that
Browsing instructions receiver module 410, browses finger for receiving described first terminal by what network sent Order;Wherein, described browsing instructions has the form that described browser is capable of identify that;
Browsing instructions respond module 420, is used for responding described browsing instructions.
Wherein, described browsing instructions may include that
Page open instruction, page close instruction, DOM element is corresponding in the page click commands, receipts Hide network address instruction, refresh page instruction, advancement commands, retrogressing instruction or open homepage instruction.
Wherein, scan and resolve at least one second terminal described shown by described first terminal The mode of graphical identification code connected for network set up corresponding network and connect;Or, by institute State at least one second terminal scanning resolve in described first terminal shown to connect for network The mode of graphical identification code is set up corresponding network and is connected.
It should be noted that browser responds the required display of described browsing instructions in described first terminal Web page contents and browser at least one second terminal described respond the required display of described browser instructions Web page contents identical.
In embodiment provided by the present invention, the second terminal is connected by network with first terminal, and this is years old It is mounted on browser in two terminals and this first terminal;Wherein, in this second terminal, browser receives That sent to first terminal by this network, there is the form that browser in this second terminal is capable of identify that Browsing instructions after, respond this browsing instructions.Visible, in this programme, by browser in first terminal Browsing instructions be synchronized to network be connected at least one second terminal so that at least one second terminal After receiving this browsing instructions, respond this browsing instructions, solve in prior art must pass through with this User sends the problem that browsing instructions could respond to browser in terminal, and then improves making of user With experience.
Further, the embodiment of the present invention additionally provides a kind of command synchronization system, as it is shown in figure 5, May include that
First terminal 510 and at least one second terminal 520, be provided with in described first terminal 510 and browse Device, is provided with browser, and described first terminal 510 and described at least in described second terminal 520 Individual second terminal 520 is connected by network;
Wherein, described first terminal 510 may include that
Browsing instructions detection module, for detecting the browsing instructions that user sends;
Browsing instructions judge module, for detecting what user sent at described browsing instructions detection module After browsing instructions, it is judged that whether detected browsing instructions is the browsing instructions in preset instructions storehouse, And in the case of judged result is for being, trigger browsing instructions processing module;
Described browsing instructions processing module, for by network, by described browsing instructions with described at least The form that in one the second terminal, browser is capable of identify that is respectively sent to corresponding second terminal;
Described second terminal 520 may include that
Browsing instructions receiver module, for receiving the browsing instructions that described first terminal is sent by network; Wherein, the form that in described browsing instructions has described second terminal, browser is capable of identify that;
Browsing instructions respond module, is used for responding described browsing instructions.
Wherein, the browsing instructions that described preset instructions storehouse is stored may include that
Page open instruction, page close instruction, DOM element is corresponding in the page click commands, receipts Hide network address instruction, refresh page instruction, advancement commands, retrogressing instruction and open homepage instruction.
Wherein, scan and resolve at least one second terminal described shown by described first terminal The mode of graphical identification code connected for network set up corresponding network and connect;Or, by institute State at least one second terminal scanning resolve in described first terminal shown to connect for network The mode of graphical identification code is set up corresponding network and is connected.
It should be noted that browser responds the required display of described browsing instructions in described first terminal Web page contents and browser at least one second terminal described respond the required display of described browser instructions Web page contents identical.
In embodiment provided by the present invention, browser, and this first terminal are installed in first terminal It is connected by network with at least one second terminal;Wherein, when in first terminal browser use detected After the browsing instructions that family sends, it is judged that whether detected browsing instructions is in preset instructions storehouse Browsing instructions, and in the case of judged result is for being, by network, by this browsing instructions with this extremely The form that in few second terminal, browser is capable of identify that is respectively sent to corresponding second terminal, with Make this at least one second terminal after receiving this browsing instructions, respond this browsing instructions.It is visible, In this programme, the browsing instructions of browser in first terminal is synchronized to that network is connected at least one the Two terminals so that at least one second terminal responds this browsing instructions after receiving this browsing instructions, Solve with this and prior art must send browsing instructions by user to browser in terminal could ring The problem answered, and then improve the experience of user.
For system embodiment, owing to it is substantially similar to embodiment of the method, so the ratio described Relatively simple, relevant part sees the part of embodiment of the method and illustrates.
It should be noted that in this article, the relational terms of such as first and second or the like is only used By an entity or operation separate with another entity or operating space, and not necessarily require or Imply relation or the order that there is any this reality between these entities or operation.And, term " include ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that Process, method, article or equipment including a series of key elements not only include those key elements, but also Including other key elements being not expressly set out, or also include for this process, method, article or The key element that person's equipment is intrinsic.In the case of there is no more restriction, by statement " including ... " The key element limited, it is not excluded that in including the process of described key element, method, article or equipment also There is other identical element.
One of ordinary skill in the art will appreciate that realize in said method embodiment all or part of Step can be by program and completes to instruct relevant hardware, and described program can be stored in meter In calculation machine read/write memory medium, storage medium designated herein, such as: ROM/RAM, magnetic disc, CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the protection of the present invention Scope.All any modification, equivalent substitution and improvement etc. made within the spirit and principles in the present invention, It is all contained in protection scope of the present invention.

Claims (8)

1. a command synchronization method, it is characterised in that be applied to first terminal, described first terminal Browser is inside installed, and described first terminal is connected by network with at least one second terminal, institute The method of stating includes:
The browsing instructions that browser detection user sends;
After the browsing instructions that user sends being detected, it is judged that whether detected browsing instructions is pre- If the browsing instructions in instruction database;Wherein, in described preset instructions storehouse, storage has and complete browses finger Order or mark data corresponding to browsing instructions;When in described preset instructions storehouse storage be complete clear Look at instruction time, the browsing instructions in detected browsing instructions and described preset instructions storehouse is carried out Join, whether be the browsing instructions in preset instructions storehouse with the browsing instructions detected by judging;Work as institute State in preset instructions storehouse storage be mark data corresponding to browsing instructions time, clear detected by extraction Look at the mark data of instruction, by the mark data in the mark data that extract and described preset instructions storehouse Mate, whether be the browsing instructions in preset instructions storehouse with the browsing instructions detected by judging;
When judging that detected browsing instructions is the browsing instructions in described preset instructions storehouse, By network, described browsing instructions is capable of identify that with browser at least one second terminal described Form is respectively sent to corresponding second terminal, so that at least one second terminal described is receiving After described browsing instructions, respond described browsing instructions;
Wherein, the network connection implementation of described first terminal and at least one the second terminal includes:
Socket mode, bluetooth approach, described first terminal scan and resolve described at least one second In terminal the shown graphical identification code connected for network mode or described at least one second Terminal scanning also resolves in described first terminal the side of the shown graphical identification code connected for network Formula.
Method the most according to claim 1, it is characterised in that detected clear when judging When instruction of looking at is the browsing instructions in described preset instructions storehouse, described method also includes:
In described first terminal, browser responds described browsing instructions.
Method the most according to claim 1 and 2, it is characterised in that described preset instructions library storage Browsing instructions include:
Page open instruction, page close instruction, DOM element is corresponding in the page click commands, receipts Hide network address instruction, refresh page instruction, advancement commands, retrogressing instruction and open homepage instruction.
Method the most according to claim 1 and 2, it is characterised in that browse in described first terminal Device responds the web page contents of the required display of described browsing instructions and browses at least one second terminal described The web page contents that device responds the required display of described browsing instructions is identical.
5. a terminal, it is characterised in that described terminal is first terminal, peace in described first terminal Equipped with browser, and described first terminal is connected by network with at least one second terminal;Described end End includes:
Browsing instructions detection module, for detecting the browsing instructions that user sends;
Browsing instructions judge module, for detecting what user sent at described browsing instructions detection module After browsing instructions, it is judged that whether detected browsing instructions is the browsing instructions in preset instructions storehouse, And in the case of judged result is for being, trigger browsing instructions processing module;Wherein, described default finger Storage is made in storehouse to have complete browsing instructions or mark data corresponding to browsing instructions;Preset when described In instruction database storage be complete browsing instructions time, by detected browsing instructions with described preset Whether the browsing instructions in instruction database is mated, be to preset to refer to the browsing instructions detected by judging Make the browsing instructions in storehouse;When in described preset instructions storehouse storage be mark corresponding to browsing instructions During data, the mark data of the browsing instructions detected by extraction, by the mark data extracted and institute Whether the mark data stated in preset instructions storehouse are mated, with the browsing instructions detected by judging be A browsing instructions in preset instructions storehouse;
Described browsing instructions processing module, for by network, by described browsing instructions with described at least The form that in one the second terminal, browser is capable of identify that is respectively sent to corresponding second terminal, so that Described in, at least one second terminal is after receiving described browsing instructions, responds described browsing instructions;
Wherein, the network connection implementation of described first terminal and at least one the second terminal includes:
Socket mode, bluetooth approach, described first terminal scan and resolve described at least one second In terminal the shown graphical identification code connected for network mode or described at least one second Terminal scanning also resolves in described first terminal the side of the shown graphical identification code connected for network Formula.
Terminal the most according to claim 5, it is characterised in that described browsing instructions judge module Judge, when detected browsing instructions is the browsing instructions in described preset instructions storehouse, also to trigger Browsing instructions respond module;
Described browsing instructions respond module, is used for responding described browsing instructions.
7. according to the terminal described in claim 5 or 6, it is characterised in that described preset instructions library storage Browsing instructions include:
Page open instruction, page close instruction, DOM element is corresponding in the page click commands, receipts Hide network address instruction, refresh page instruction, advancement commands, retrogressing instruction and open homepage instruction.
8. a command synchronization system, it is characterised in that including: first terminal and at least one second Terminal, is provided with browser, is provided with clear at least one second terminal described in described first terminal Look at device, and described first terminal is connected by network with at least one second terminal described;
Wherein, described first terminal includes:
Browsing instructions detection module, for detecting the browsing instructions that user sends;
Browsing instructions judge module, for detecting what user sent at described browsing instructions detection module After browsing instructions, it is judged that whether detected browsing instructions is the browsing instructions in preset instructions storehouse, And in the case of judged result is for being, trigger browsing instructions processing module;Wherein, described default finger Storage is made in storehouse to have complete browsing instructions or mark data corresponding to browsing instructions;Preset when described In instruction database storage be complete browsing instructions time, by detected browsing instructions with described preset Whether the browsing instructions in instruction database is mated, be to preset to refer to the browsing instructions detected by judging Make the browsing instructions in storehouse;When in described preset instructions storehouse storage be mark corresponding to browsing instructions During data, the mark data of the browsing instructions detected by extraction, by the mark data extracted and institute Whether the mark data stated in preset instructions storehouse are mated, with the browsing instructions detected by judging be A browsing instructions in preset instructions storehouse;
Described browsing instructions processing module, for by network, by described browsing instructions with described at least The form that in one the second terminal, browser is capable of identify that is respectively sent to corresponding second terminal;
Described second terminal includes:
Browsing instructions receiver module, for receiving the browsing instructions that described first terminal is sent by network; Wherein, the form that in described browsing instructions has described second terminal, browser is capable of identify that;
Browsing instructions respond module, is used for responding described browsing instructions;
Wherein, the network connection implementation of described first terminal and at least one the second terminal includes:
Socket mode, bluetooth approach, described first terminal scan and resolve described at least one second In terminal the shown graphical identification code connected for network mode or described at least one second Terminal scanning also resolves in described first terminal the side of the shown graphical identification code connected for network Formula.
CN201310298329.6A 2013-07-16 2013-07-16 instruction synchronization method, terminal and system Active CN103389797B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310298329.6A CN103389797B (en) 2013-07-16 2013-07-16 instruction synchronization method, terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310298329.6A CN103389797B (en) 2013-07-16 2013-07-16 instruction synchronization method, terminal and system

Publications (2)

Publication Number Publication Date
CN103389797A CN103389797A (en) 2013-11-13
CN103389797B true CN103389797B (en) 2016-08-31

Family

ID=49534090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310298329.6A Active CN103389797B (en) 2013-07-16 2013-07-16 instruction synchronization method, terminal and system

Country Status (1)

Country Link
CN (1) CN103389797B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106610763B (en) * 2015-10-26 2020-11-20 阿里巴巴集团控股有限公司 Method and device for synchronizing user operation across screens

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924779A (en) * 2009-06-15 2010-12-22 北京搜狗科技发展有限公司 Method equipment and system for sharing resources by browser clients
CN102542434A (en) * 2010-12-22 2012-07-04 上海杉达学院 Content synchronization method applied to office automation system
CN102970330A (en) * 2012-10-25 2013-03-13 浙江宇视科技有限公司 Browser interaction achievement method and device
CN102999491A (en) * 2011-09-08 2013-03-27 百度在线网络技术(北京)有限公司 Method and device for achieving synchronization of browser operation between user equipment
CN103024049A (en) * 2012-12-17 2013-04-03 北京奇虎科技有限公司 System capable of achieving browser data synchronization

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8499041B2 (en) * 2009-01-26 2013-07-30 The Boeing Company Collaborative browsing and related methods and systems
US20110191676A1 (en) * 2010-01-29 2011-08-04 Microsoft Corporation Cross-Browser Interactivity Recording, Playback, and Editing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924779A (en) * 2009-06-15 2010-12-22 北京搜狗科技发展有限公司 Method equipment and system for sharing resources by browser clients
CN102542434A (en) * 2010-12-22 2012-07-04 上海杉达学院 Content synchronization method applied to office automation system
CN102999491A (en) * 2011-09-08 2013-03-27 百度在线网络技术(北京)有限公司 Method and device for achieving synchronization of browser operation between user equipment
CN102970330A (en) * 2012-10-25 2013-03-13 浙江宇视科技有限公司 Browser interaction achievement method and device
CN103024049A (en) * 2012-12-17 2013-04-03 北京奇虎科技有限公司 System capable of achieving browser data synchronization

Also Published As

Publication number Publication date
CN103389797A (en) 2013-11-13

Similar Documents

Publication Publication Date Title
US10175852B2 (en) Information processing methods and electronic devices for classifying applications
CN103279278B (en) A kind of method and apparatus obtaining icon details in terminal interface
CN102077161A (en) Information processing device, display control method, and recording medium
CN108664663A (en) Recommendation information display methods, device and storage medium
CN104541239A (en) Text select and enter
CN102270133A (en) Method and equipment for showing status of page window
CN104636434A (en) Search result processing method and device
CN103309560A (en) Multi-interface information display method and terminal
CN102750003B (en) The method and apparatus of text input
CN105302458A (en) Message display method and apparatus
CN103324674A (en) Method and device for selecting webpage content
CN104899003A (en) Terminal control method and system
CN102681748B (en) Information processing equipment and information processing method
CN107180041A (en) Web page content review method and system
CN105487759A (en) Icon display control method, icon display control device and terminal
CN103116616A (en) Webpage collecting method and communication terminal
CN104516697A (en) Information processing method and electronic device
CN106648349B (en) Information display method and device
CN102799343A (en) Method and device for displaying index icon content
CN103389797B (en) instruction synchronization method, terminal and system
CN103376995A (en) Touch electronic device and page content storage method therefor
CN105550183A (en) Identifying method of identifying information in webpage and electronic device
CN103853347B (en) Information release method based on gravity sensing horizontal screen display of mobile terminal
KR20140030378A (en) Method for processing an input in portable device and portable device thereof
CN103885696A (en) Information processing method and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 100041 A-0071 2, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Co-patentee after: Beijing Cheetah Network Technology Co.,Ltd.

Patentee after: Beijing Cheetah Mobile Technology Co.,Ltd.

Co-patentee after: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

Co-patentee after: ZHUHAI JUNTIAN ELECTRONIC TECHNOLOGY Co.,Ltd.

Co-patentee after: CONEW NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

Address before: 100041 1100A 3, 3 West Road, Badachu high tech park, Shijingshan District, Beijing.

Co-patentee before: BEIJING KINGSOFT NETWORK TECHNOLOGY Co.,Ltd.

Patentee before: SHELL INTERNET (BEIJING) SECURITY TECHNOLOGY Co.,Ltd.

Co-patentee before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

Co-patentee before: ZHUHAI JUNTIAN ELECTRONIC TECHNOLOGY Co.,Ltd.

Co-patentee before: CONEW NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20181211

Address after: Room 105-53967, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province

Patentee after: Zhuhai Leopard Fun Technology Co.,Ltd.

Address before: 100041 A-0071 2, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Co-patentee before: Beijing Cheetah Network Technology Co.,Ltd.

Patentee before: Beijing Cheetah Mobile Technology Co.,Ltd.

Co-patentee before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

Co-patentee before: ZHUHAI JUNTIAN ELECTRONIC TECHNOLOGY Co.,Ltd.

Co-patentee before: CONEW NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

TR01 Transfer of patent right