CN102984278A - System and method for realizing browser data synchronization - Google Patents

System and method for realizing browser data synchronization Download PDF

Info

Publication number
CN102984278A
CN102984278A CN2012105486568A CN201210548656A CN102984278A CN 102984278 A CN102984278 A CN 102984278A CN 2012105486568 A CN2012105486568 A CN 2012105486568A CN 201210548656 A CN201210548656 A CN 201210548656A CN 102984278 A CN102984278 A CN 102984278A
Authority
CN
China
Prior art keywords
information
browser
client
server
socket
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.)
Granted
Application number
CN2012105486568A
Other languages
Chinese (zh)
Other versions
CN102984278B (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 Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210548656.8A priority Critical patent/CN102984278B/en
Publication of CN102984278A publication Critical patent/CN102984278A/en
Priority to PCT/CN2013/083624 priority patent/WO2014094468A1/en
Priority to US14/652,844 priority patent/US10187445B2/en
Application granted granted Critical
Publication of CN102984278B publication Critical patent/CN102984278B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a system and method for realizing browser data synchronization. The system comprises a cloud storage server side, a pushing server and a plurality of browser client sides, wherein the cloud storage server side is used for issuing condition information and command information to the pushing server when data is updated; the pushing server is used for ascertaining a target client side in the browser client sides according to the condition information, and sends the command information to the target client side; and the target client side is used for realizing the data synchronization between the target client side and the cloud storage server side according to the command information. According to the system and the method, when the data content stored in the cloud storage server side is updated, the command information is sent to the target client side through the pushing server immediately, so that the real-time synchronization between the cloud storage server side and the browser client sides are realized simply and efficiently.

Description

Realize the synchronous system and method for browser data
Technical field
The present invention relates to the information technology data field of synchronization, relate in particular to a kind of system and method for realizing that browser data is synchronous.
Background technology
At present, along with the development of network technology, the Internet is as huge information resources, becomes the most convenient of people's obtaining information, approach efficiently.At present, the user uses personal computer access internet (Internet) usually, and browser (Browser) accessed web page by installing in the personal computer, obtains the information that needs.Along with the development of mobile communication technology, the user can also access internet by the portable terminal of supporting browser function, for example mobile phone, personal digital assistant (PersonalDigital Assistant is called for short PDA).
Yet, no matter be browser on the personal computer or the browser on the portable terminal, Push Service generally is not provided, server end depends on being connected of client initiation with the information interaction of client, server end can't send to client with information on one's own initiative, thereby can't realize the real-time synchronization of the information between server end and the browser client.
In the prior art, the synchronous mode of the most frequently used realization browser client and server end browser data is that browser client sends request with certain frequency to server end, as once in a week or per month once, if having the renewal of relevant information, service end obtains these information.Yet the applicant finds that there is following technological deficiency in this kind data method of synchronization: efficient is lower, take resource real real-time synchronizations many, that can not accomplish content upgrades.
Summary of the invention
In view of the above problems, the present invention has been proposed in order to a kind of synchronous system and method for realization browser data that overcomes the problems referred to above or address the above problem at least in part is provided.
According to an aspect of the present invention, a kind of system that realizes that browser data is synchronous is provided, this system comprises: cloud storage server end, push server and a plurality of browser client, wherein: described cloud storage server end is used for issuing conditional information and command information to described push server when Data Update is arranged; Described push server is used for determining the destination client according to this conditional information at described a plurality of browser clients, and described command information is sent to described destination client; And described destination client, be used for realizing that according to described command information the data of itself and cloud storage server end are synchronous.
According to another aspect of the present invention, a kind of method that realizes that browser data is synchronous also is provided, be applied to the above-mentioned synchronous system of realization browser data, the method comprises: described cloud storage server end issues conditional information and command information to described push server when Data Update is arranged; Described push server is determined the destination client according to this conditional information in described a plurality of browser clients, and this command information is sent to described destination client; And described destination client realizes that according to described command information the data of itself and cloud storage server end are synchronous.
Can find out that from technique scheme the present invention realizes that the synchronous system and method for browser data has following beneficial effect:
(1) independent push server is set, under news occurs more in the data content of cloud storage server end storage, in time command information is sent to the destination client by push server, thereby has realized simply, efficiently the real time data synchronization of cloud storage server end and browser client;
(2) cloud storage server end, destination client and starting client are existing in the existing browser, and therefore adding on this basis push server can effectively utilize original system architecture, reduces the cost of realizing the real-time synchronization system;
(3) by increasing socket server, distributor and distributing information database, realized that smoothly cloud storage server end, push server be connected connection with the destination client;
(4) command information that pushes to the destination client by push server is notification message, behind the notification message that receives the push server propelling movement, the data content that renewal occurs is downloaded in the destination client from cloud storage server end, according to downloading contents carry out the local data content synchronously, thereby further conserve system resources.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of specification, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
Fig. 1 is for realizing according to an embodiment of the invention the structural representation of the system that browser data is synchronous;
Fig. 2 is for realizing in accordance with another embodiment of the present invention the structural representation of the system that browser data is synchronous;
Fig. 3 is the schematic diagram of the process that browser client and socket server connect in the synchronous system of realization browser data shown in Figure 2;
Fig. 4 is the schematic diagram that carries out the process of information pushing in the synchronous system of realization browser data shown in Figure 2 under first kind scene to the destination client;
Fig. 5 is the schematic diagram that carries out the process of information pushing in the synchronous system of realization browser data shown in Figure 2 under the Equations of The Second Kind scene to the destination client;
Fig. 6 is the schematic diagram that carries out the process of information pushing in the synchronous system of realization browser data shown in Figure 2 under the 3rd class scene to the destination client;
Fig. 7 is the flow chart according to the synchronous method of the realization browser data of the embodiment of the invention;
Fig. 8 is the structural representation according to the synchronous browser client of the realization browser data of the embodiment of the invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
In one exemplary embodiment of the present invention, provide a kind of system that realizes that browser data is synchronous.As shown in Figure 1, the synchronous system of this realization browser data comprises: cloud storage server end 1, push server 2 and a plurality of browser client 3,4.Wherein, cloud storage server end 1 is used for issuing conditional information and command information to push server when Data Update is arranged; Push server 2 is used for determining the destination client according to conditional information at a plurality of browser clients, and this command information is pushed to destination client 3; Destination client 3 is used for synchronous according to the data of this command information realize target client and cloud storage server end.
In the embodiment shown in fig. 1, by independent push server 2 is set, under news occurs more in the data content of cloud storage server end storage, in time command information is sent to the destination client by push server, thereby has realized simply, efficiently service end information and client real-time synchronization.
As shown in Figure 1, include starting client 4 and destination client 3 in a plurality of browser clients.Wherein, starting client 4 is used for the data that are stored in cloud storage server end 1 are upgraded.This starting client 4 and destination client 3 can belong to same user, also can belong to different users.This starting client 4 is with the main application scenarios of situation that destination client 3 belongs to same user: same user uses different equipment (for example mobile phone and PC) login browser, one of them (for example PC) changes collection, needs so this renewal is synchronized to another equipment (mobile phone) of same user.The application scenarios that this starting client 4 and destination client 3 do not belong to same user's situation for example is the information communication between the different browsers client.
Certainly, the present invention also can be by the renewal of cloud storage server end self initiation to the data content, and in this case, 4 of the initiation browser clients among Fig. 1 can not exist.The scene of this situation for example is: system pushes news messages or weather forecast to all browser clients; Or system initiates to upgrade indication to the browser client of all certain versions.
Because the dotted line frame is existing in the existing browser with interior cloud storage server end 1, destination client 3 and starting client 4 among Fig. 1, therefore adding on this basis push server can effectively utilize original system architecture, reduces and realizes cost of the present invention.
For the connection that realizes that cloud storage server end 1, push server 2 are connected with the destination client, as shown in Figure 2, the synchronous system of browser client and cloud storage server end data that realizes can also comprise a plurality of socket servers, distributor.
Distributor is used for after receiving the connection request of client, for it distributes corresponding socket server and connection identifier (CID, and user totem information and connection identifier (CID is stored to the distributing information database.Detailed connection is set up process as shown in Figure 3, comprising:
Step S301, browser client is submitted connection request to distributor, at least comprise user totem information in this connection request, for login user, its user totem information can comprise user name, and for non-login user, its user totem information can comprise user's machine hardware sign.
For login user, this user totem information can be a character string.Wherein, this character string also comprises the information such as login time and checking character except the user name of login user.User's unique sign of user by name number, namely a numeral is used for representing a user.The checking character generates according to user name, can judge whether user totem information is modified by the checking character.
For non-login user, this user totem information can comprise the machine hardware sign of non-login user, and wherein machine hardware is designated the machine unique identification, for client generates by Hash such as subscriber set hardware, system configuration.
In addition, for the screening of follow-up destination client, this connection request can also comprise user's characteristic information, for example: IP address information, browser version information, or the user's characteristic information such as user's classified information.Wherein, browser version number, user's classified information, or the user's characteristic information such as IP address information can be used for follow-up client Select to use.
Step S302, distributor uses preset algorithm to calculate a numerical value based on this user totem information, distributes socket server according to this numerical value for the browser client of submitting connection request to; This numerical value is that the overall situation is unique, i.e. connection identifier (CID; Distributor is sent to the browser client of submitting request to the link information such as the IP address of this socket server, port and connection identifier (CID;
In this step, use default algorithm to calculate above-mentioned numerical value according to the user name of login user.For non-login user, directly adopt the machine hardware sign of non-login user to calculate above-mentioned numerical value, this algorithm can be cyclic redundancy check (CRC) (CRC) 32 algorithms.
Step S303, browser client connects with corresponding socket server according to the IP address of the socket server that receives and port numbers, and this connection can be transmission control protocol TCP (Transmission Control Protocol) connection.When browser client and socket server connected, this socket server obtained identifying the resource identifier of this socket server and browser client annexation.The connection that the browser client utilization has been set up transmits the connection identifier (CID that it receives to this socket server.
Step S304 after socket server receives connection identifier (CID, verifies this connection identifier (CID to distributor, if be proved to be successful, then keep with browser client between set up be connected, if verify unsuccessfully, then disconnect the connection of having set up.
Step S305, distributor is stored in user totem information (user name of login user or the machine hardware of non-login user sign), user's characteristic information (if any) and connection identifier (CID in the distributing information database, and socket server also is stored in resulting resource identifier in this distributing information database.
Need to prove that chaotic in order to prevent that server end from changing the distribution cause, browser client need to connect re-executing step S301-step S304 after a period of time.
In addition, for each socket server, in the distributing information database, all there is corresponding independent tables of data, to reduce the scale of tables of data, accelerates to push stage, the inquiry velocity of socket server at follow-up.
By increasing distributor and socket server, and the distributing information database is set in distributor, make it possible in the stage of connecting user totem information, resource identifier and user's characteristic information etc. are stored in the distributing information database, thereby realized the propelling movement of push server to the data content of goal-selling client.
In the information pushing stage: push server is used for conditional information and command information are sent to socket server; Socket server is used for the information that push server pushes is forwarded to corresponding destination client.The following minute three class scenes of detailed information pushing process are elaborated.
(1) initiated by starting client when this real-time synchronization, and starting client and when receiving client and belonging to same user, comprise user totem information in the conditional information.By way of example, as shown in Figure 4, this information pushing process comprises:
Step S401, starting client initiate the data that are stored in the storage of cloud storage server end are upgraded;
In this step, it is one of following that the data of cloud storage server end storage comprise: other possible information of collection information, history information, browser configuration information, note information, login house keeper information, prompting message information, key information etc.
Step S402, cloud storage server end sends conditional information and command information to push server, this conditional information comprises user totem information, the for example user name of login user or not the machine hardware sign of login user, and also comprise the resource identifier of the connection of the socket server that this starting client of sign is corresponding with it in this conditional information;
Step S403, push server by with distributor in same algorithm calculate a numerical value according to user totem information, this numerical value is connection identifier (CID, thereby obtain the socket server into the destination client distribution, and conditional information and command information are sent to the socket server that this is the destination client distribution;
Step S404, socket server is according to the distributing information database in the inquiry of the user totem information in the conditional information distributor, determine the resource identifier corresponding with the destination client, wherein got rid of the resource identifier of the connection that identifies the starting client socket server corresponding with it;
Step S405, socket server according to this resource identifier with being connected of this destination client (one or more) in send this command information to this client.
(2) initiated by starting client when this real-time synchronization, and starting client namely comprises user totem information in the conditional information when receiving client and belong to different login user that as shown in Figure 5, this information pushing process comprises:
Step S501, starting client initiate the data that are stored in the storage of cloud storage server end are upgraded;
In this step, it is one of following that the data of cloud storage server end storage comprise: information that collection information, history information, browser configuration information, note information, login house keeper information, prompting message information, key information, news information and/or user generate etc.
Step S502, cloud storage server end sends conditional information and command information to push server, and wherein this conditional information can comprise user totem information, for example user name of login user or not the machine hardware sign of login user;
Step S503, push server by with distributor in same algorithm calculate a numerical value according to user totem information, this numerical value is connection identifier (CID, thereby obtain the socket server into the destination client distribution, and conditional information and command information are sent to the socket server that this is the destination client distribution;
Step S504, socket server determine the resource identifier of destination client according to the distributing information database in the inquiry of the user totem information in the conditional information distributor;
Step S505, corresponding socket server be according to this resource identifier, with being connected of destination client (one or more) in send this notification message to this client, so far, the information pushing process finishes.
(3) initiatively initiated by cloud storage server end when this real-time synchronization, and comprise the Feature Selection information of destination client in the conditional information, and do not comprise user totem information, wherein Feature Selection information also can be sky,
In this case, connecting establishment stage, submitted in the connection request to distributor by browser client also to comprise Feature Selection information, it is with corresponding such as the front user's characteristic information of preserving in the distributing information database.
As shown in Figure 6, this information pushing process comprises:
Step S601, cloud storage server end issues in conditional information and the command information to push server, the Feature Selection information (for example version number of certain browser) that comprises the destination client in the conditional information, this command information for example are the instructions of notice customer upgrade;
Step S602, push server is pushed to all socket servers with conditional information and command information;
Step S603, each socket server submit query requests to the distributing information database of distributor respectively, comprise Feature Selection information in this query requests; The distributing information database root is according to the user's characteristic information of each browser client in the Feature Selection condition query distributing information database, determine to satisfy the resource identifier of the destination client of this Feature Selection condition, and this resource identifier is back to each socket server of initiating inquiry;
Step S604, each socket server sends command information according to the resource identifier that receives to corresponding client, and so far, the information pushing process finishes.
For further conserve system resources, the command information that is pushed to browser client 3 by push server 2 is notification message.In this case, browser client also is used for connecting with cloud storage server end behind the notification message that receives the push server propelling movement, download the data content that renewal occurs from cloud storage server end, carry out the synchronous of local data content according to the data content of downloading.Can reduce the transmission data volume by transmitting notification message, reduce system resource and take.
Certainly, the command information that is pushed to the destination client by push server also can be content-message, namely comprise the data content that renewal occurs in this content-message, in this case, the destination client is behind the content-message that receives the push server propelling movement, from this content-message, extract the data content that renewal occurs, carry out the synchronous of local data content according to the data content that extracts.Can directly content-message be pushed to client by transmitting content-message, the information transmission is quick, and step is simple.
In order to realize calling to multilingual support, easily text, adopt the HTTP interface between push server and the cloud storage server end.
Based on the synchronous system of the realization browser data of Figure 1 and Figure 2, the present invention provides again a kind of method that realizes that browser data is synchronous.As shown in Figure 7, the synchronous method of this realization browser data comprises:
Step S710, cloud storage server end issues conditional information and command information to push server when Data Update is arranged;
Step S720, push server is determined the destination client according to this conditional information in a plurality of browser clients, and this command information is sent to the destination client;
Step S730, the destination client realizes that according to command information the data of itself and cloud storage server end are synchronous.
Further, also comprise that setting up socket between browser client and the socket server is connected before the step S710, this establishment of connection process just repeats no more as shown in Figure 3 here.
Further, step S710 cloud storage server end issues in the step of conditional information and command information to push server when Data Update is arranged, if comprise the login user user name of destination client or the machine hardware sign of login user not in the conditional information, comprise following two kinds of situations:
Situation one: starting client and reception client belong to same user, this user uses different equipment (for example mobile phone and PC) login browser, one of them (for example PC) changes collection, needs so this renewal is synchronized to another equipment (mobile phone) of same user;
In this situation, starting client is at first initiated being stored in relevant configuration, function or the information of collection or the modification of other information in the cloud storage server end.Then cloud storage server end sends conditional information and command information to push server, this command information comprises content-message and notification message, push server will send to the destination client with this command information according to conditional information by socket server, and wherein starting client has been got rid of in this destination client.Information pushing process in this kind situation also repeats no more as shown in Figure 4 here.
Situation two: starting client and receive client and do not belong to same user, thus realize between the different user information interaction by client.
Specifically, a user's client is sent to cloud storage server end with conditional information and content-message, it is sent to pusher to cloud storage server end with conditional information and related notification message, pusher is sent to the purpose client according to conditional information with notification message, and then the purpose client can be accessed cloud storage server end to obtain content.Information pushing process in this case also repeats no more as shown in Figure 5 here.
In addition, if do not comprise the user totem information of destination client in the conditional information, and can comprise Feature Selection information, then also comprise following situation:
Situation three: cloud storage server end self has Data Update, and it is synchronous to need browser client and cloud storage server end to carry out data, and cloud storage server end initiatively issues conditional information and command information to push server, for example:
1, cloud storage server end initiates to upgrade indication to all browser clients of certain version, so that all browser clients of this version upgrade to redaction, wherein, command information is the notification message that upgrades to redaction, condition is the client of certain version browser, and namely wherein Feature Selection information is the version number of browser client.Then push server comprises the destination client that this command information sends in a plurality of browser clients according to this conditional information: the notification message that push server will upgrade to redaction sends to all browser clients of certain version.
2, cloud storage server end pushes news messages to all browser clients, and its conditional is all browser clients, and namely Feature Selection information is empty, and command information is the content-message that comprises news messages; Then push server comprises the destination client that this command information sends in a plurality of browser clients according to this conditional information: the content-message that push server will comprise news messages sends to all browser clients.Should be appreciated that, transmission also can be notification message.
3, cloud storage server end pushes weather forecast to the browser client of different regions, and its conditional is the browser client in a certain area, and namely Feature Selection information is this IP section corresponding to a certain area, and command information is the content-message that comprises weather forecast; Then push server comprises the destination client that this command information sends in a plurality of browser clients according to this conditional information: the content-message that push server will comprise weather forecast sends to the browser client in a certain area.Should be appreciated that, transmission also can be notification message.
Information pushing process in this case also repeats no more as shown in Figure 6 here.
Based on the synchronous system of the realization browser data of Figure 1 and Figure 2, the present invention provides again a kind of browser client of realizing that browser data is synchronous.As shown in Figure 8, this browser client comprises: link block is used for establishing a connection by distributor and socket server, and receives command information from corresponding socket server; Application module is used for according to this command information, carries out its corresponding application operating.Wherein, described command information is notification message or content-message.
As shown in Figure 8, link block comprises again: distributor connexon module, be used for submitting connection request to described distributor, comprise at least user totem information in this connection request, and receive link information and the connection identifier (CID of the socket server that is assigned with that is returned by distributor; Socket connexon module is used for setting up the socket connection according to link information and the described connection identifier (CID of the socket server that receives with corresponding socket server, and receives command information by this socket connection from corresponding socket server.Wherein, described user totem information is the user name of login user or the machine hardware sign of non-login user.
As shown in Figure 8, can also comprise in the above-mentioned browser client: cloud storing communication module, the application operating for the response application module communicates with cloud storage server end.
In sum, the synchronous system and method for this realization browser data provided by the invention, by independent push server is set, under news occurs more in the browser related content of cloud storage server end storage, can be in time command information be sent to destination client in a plurality of browser clients by this push server, solved can't be simply and effectively with the problem of browser client and cloud storage server end data real-time synchronization, thereby the data that realized simply, efficiently browser client and cloud storage server end are synchronous.Thus, can make on the basis of original framework browser client can be efficiently, on one's own initiative, resources conservation ground is information and cloud storage server end real-time synchronization.This system and method can also be realized on the basis of original system framework, effectively utilizes original framework, realizes that cost is effective.
Intrinsic not relevant with any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can be with using based on the teaching at this.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the specification that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be put into practice in the situation of these details not having.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate clearly thus this embodiment into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different from this embodiment the module in the equipment among the embodiment.Can be combined into a module or unit or assembly to the module among the embodiment or unit or assembly, and can be divided into a plurality of submodules or subelement or sub-component to them in addition.In such feature and/or process or unit at least some are mutually repelling, and can adopt any combination to disclosed all features in this specification (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless in addition clearly statement, disclosed each feature can be by providing identical, being equal to or the alternative features of similar purpose replaces in this specification (comprising claim, summary and the accompanying drawing followed).
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included among other embodiment, the combination of the feature of different embodiment means and is within the scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with compound mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving at one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use in practice microprocessor or digital signal processor (DSP) to realize according to some or all some or repertoire of parts in the relevant device of the embodiment of the invention.The present invention can also be embodied as be used to part or all equipment or the device program (for example, computer program and computer program) of carrying out method as described herein.Such realization program of the present invention can be stored on the computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides at carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation of the scope that does not break away from claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or step in the claim.Being positioned at word " " before the element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computer of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title with these word explanations.
Herein disclosed is A1, a kind of system that realizes that browser data is synchronous, this system comprises: cloud storage server end, push server and a plurality of browser client, wherein: described cloud storage server end is used for issuing conditional information and command information to described push server when Data Update is arranged; Described push server is used for determining the destination client according to this conditional information at described a plurality of browser clients, and described command information is sent to described destination client; And described destination client, be used for realizing that according to described command information the data of itself and cloud storage server end are synchronous.A2, according to the synchronous system of the described realization browser data of A1, this system also has a plurality of socket servers between described push server and described a plurality of browser client; Before described push server sent to command information according to conditional information destination client in a plurality of browser clients, described a plurality of browser clients were set up socket with corresponding socket server respectively and are connected; When described push server sent to command information according to conditional information destination client in a plurality of browser clients, described push server sent to destination client in described a plurality of browser client by corresponding socket server with described command information.A3, according to the synchronous system of the described realization browser data of A2, this system also comprises: distributor, described a plurality of browser clients are set up socket with described a plurality of socket servers by this distributor and are connected.A4, according to the synchronous system of the described realization browser data of A3, setting up socket by distributor between browser client and the socket server is connected and comprises: described browser client is submitted connection request to described distributor, comprises at least user totem information in this connection request; Described distributor uses preset algorithm to calculate the unique connection identifier (CID of the overall situation by user totem information, distributes socket server according to this connection identifier (CID for the browser client of submitting connection request to; Described distributor is sent to the browser client of submitting request to link information and the described connection identifier (CID of this socket server; The browser client of submitting request to connects with corresponding socket server according to the link information of the socket server that receives and described connection identifier (CID.A5, according to the synchronous system of the described realization browser data of A4, the browser client of described submission request connects according to the link information of the socket server that receives and corresponding socket server and comprises: the browser client that submission is asked transmits the connection identifier (CID that it receives to corresponding socket server; After described socket server receives connection identifier (CID from the browser client of described submission request, to described distributor this connection identifier (CID is verified, after being proved to be successful, what keep having set up between described socket server and the described browser client is connected, authentication failed then disconnects the connection of having set up; When wherein being connected between described socket server and described browser client set up, socket server obtained the resource identifier of sign socket server and browser client annexation.A6, according to the synchronous system of the described realization browser data of A5, described user totem information comprises: the user name of login user, the machine hardware of non-login user sign.A7, according to the synchronous system of the described realization browser data of A5, this distributor also comprises: the distributing information database is used for storing described user totem information, connection identifier (CID and resource identifier.A8, according to the synchronous system of the described realization browser data of A7, described cloud storage server end sends in conditional information and the command information to push server, comprises the user totem information of destination client in the described conditional information; Described push server comprises the destination client that this command information sends in a plurality of browser clients according to this conditional information: push server adopts the preset algorithm identical with distributor that the user totem information of destination client is calculated connection identifier (CID, thereby obtain the socket server into the destination client distribution, push server sends to the socket server that this is the destination client distribution with described conditional information and described command information; This socket server is determined the resource identifier corresponding with the destination client, and according to this resource identifier this command information is sent to this destination client according to the distributing information database in the inquiry of the user totem information in the described conditional information distributor.A9, according to the synchronous system of the described realization browser data of A5, this distributor also comprises the distributing information database; Described distributor also obtains user's characteristic information from browser client, this user's characteristic information comprise following information one of them: IP address information, browser version information and user's classified information; Described distributing information database is used for storing described user's characteristic information, connection identifier (CID and resource identifier.A10, according to the synchronous system of the described realization browser data of A9, described cloud storage server end issues in conditional information and the command information to described push server, comprises the Feature Selection information of destination client in the described conditional information; Described push server comprises the destination client that this command information sends in a plurality of browser clients according to this conditional information: push server sends to all socket servers with this conditional information and this command information; Each socket server is according to the Feature Selection information inquiry distributing information database in this conditional information, determine to satisfy the resource identifier of the destination client of this Feature Selection information, and send command information according to this resource identifier to corresponding destination client.A11, according to each synchronous system of described realization browser data among the A1 to A10, described command information is notification message or content-message.
Herein disclosed is B12, a kind of method that realizes that browser data is synchronous, the method comprises: cloud storage server end issues conditional information and command information to push server when Data Update is arranged; Described push server is determined the destination client according to this conditional information in a plurality of browser clients, and this command information is sent to described destination client; And described destination client realizes that according to described command information the data of itself and cloud storage server end are synchronous.B13, according to the synchronous method of the described realization browser data of B12, described push server also comprises before according to conditional information command information being sent to the step of the destination client in a plurality of browser clients: described a plurality of browser clients are set up socket and are connected respectively with between the corresponding socket server; Described push server comprises the step that this command information sends to the destination client in a plurality of browser clients according to this conditional information: described push server sends to destination client in these a plurality of browser clients by corresponding socket server with described command information.B14, according to the synchronous method of the described realization browser data of B13, described a plurality of browser clients are connected by setting up socket between distributor and the corresponding socket server.B15, according to the synchronous method of the described realization browser data of B14, described browser client is connected and comprises by setting up socket between distributor and the socket server: described browser client is submitted connection request to described distributor, comprises at least user totem information in this connection request; Described distributor uses preset algorithm to calculate the unique connection identifier (CID of the overall situation by described user totem information, distributes socket server according to this connection identifier (CID for the browser client of submitting connection request to; Described distributor is sent to the browser client of submitting request to link information and the described connection identifier (CID of this socket server; The browser client of submitting request to connects with corresponding socket server according to the link information of the socket server that receives and described connection identifier (CID.B16, according to the synchronous method of the described realization browser data of B15, the browser client of described submission request comprises according to the step that the link information of the socket server that receives and corresponding socket server connect: the browser client root that submission is asked transmits the connection identifier (CID that it receives to corresponding socket server; After described socket server receives connection identifier (CID from the browser client of described submission request, to described distributor this connection identifier (CID is verified, after being proved to be successful, what keep having set up between described socket server and the described browser client is connected, authentication failed then disconnects the connection of having set up; When wherein being connected between described socket server and described browser client set up, socket server obtained the resource identifier of sign socket server and browser client annexation.B17, according to the synchronous method of the described realization browser data of B16, described user totem information comprises: the user name of login user, the machine hardware of non-login user sign.B18, according to the synchronous method of the described realization browser data of B16, also comprise: described user totem information, connection identifier (CID and resource identifier are stored in the distributing information database that described distributor comprises.B19, according to the synchronous method of the described realization browser data of B18, described cloud storage server end sends in the step of conditional information and command information to push server, comprises the user totem information of destination client in the described conditional information; Described push server comprises the step that this command information sends to the destination client in a plurality of browser clients according to this conditional information: push server adopts the preset algorithm identical with distributor that the user totem information of destination client is calculated connection identifier (CID, thereby obtains the socket server into the destination client distribution; Push server sends to the socket server that this distributes for the destination client with described conditional information and described command information; Described socket server is determined the resource identifier corresponding with the destination client, and according to this resource identifier this command information is sent to this destination client according to the inquiry of the user totem information in described conditional information distributing information database.B20, according to the synchronous method of the described realization browser data of B19, also comprise: described distributor also obtains user's characteristic information from browser client, this user's characteristic information comprise following information one of them: IP address information, browser version information and user's classified information; Described user's characteristic information, connection identifier (CID and resource identifier are stored in the distributing information database that described distributor comprises.B21, according to the synchronous method of the described realization browser data of B20, described cloud storage server end issues in conditional information and the command information to push server, comprises the Feature Selection information of destination client in the described conditional information; Described push server comprises the step that this command information sends to the destination client in a plurality of browser clients according to this conditional information: described push server sends to all socket servers with this conditional information and this command information; Each socket server is according to the Feature Selection information inquiry distributing information database in this conditional information, determine to satisfy the resource identifier of the destination client of this Feature Selection information, and send command information according to this resource identifier to the destination client of determining.B22, according to the synchronous method of each described realization browser data among the B12 to B21, described command information is notification message or content-message.

Claims (20)

1. system that realizes that browser data is synchronous, this system comprises: cloud storage server end, push server and a plurality of browser client, wherein:
Described cloud storage server end is used for issuing conditional information and command information to described push server when Data Update is arranged;
Described push server is used for determining the destination client according to this conditional information at described a plurality of browser clients, and described command information is sent to described destination client; And
Described destination client is used for realizing that according to described command information the data of itself and cloud storage server end are synchronous.
2. the synchronous system of realization browser data according to claim 1, this system also has a plurality of socket servers between described push server and described a plurality of browser client;
Before described push server sent to command information according to conditional information destination client in a plurality of browser clients, described a plurality of browser clients were set up socket with corresponding socket server respectively and are connected;
When described push server sent to command information according to conditional information destination client in a plurality of browser clients, described push server sent to destination client in described a plurality of browser client by corresponding socket server with described command information.
3. the synchronous system of realization browser data according to claim 2, this system also comprises: distributor, described a plurality of browser clients are set up socket with described a plurality of socket servers by this distributor and are connected.
4. the synchronous system of realization browser data according to claim 3, set up socket by distributor between browser client and the socket server and be connected and comprise:
Described browser client is submitted connection request to described distributor, comprises at least user totem information in this connection request;
Described distributor uses preset algorithm to calculate the unique connection identifier (CID of the overall situation by user totem information, distributes socket server according to this connection identifier (CID for the browser client of submitting connection request to;
Described distributor is sent to the browser client of submitting request to link information and the described connection identifier (CID of this socket server;
The browser client of submitting request to connects with corresponding socket server according to the link information of the socket server that receives and described connection identifier (CID.
5. the synchronous system of realization browser data according to claim 4, the browser client of described submission request connects according to the link information of the socket server that receives and corresponding socket server and comprises:
Submit to the browser client of request to transmit the connection identifier (CID that it receives to corresponding socket server;
After described socket server receives connection identifier (CID from the browser client of described submission request, to described distributor this connection identifier (CID is verified, after being proved to be successful, what keep having set up between described socket server and the described browser client is connected, authentication failed then disconnects the connection of having set up;
When wherein being connected between described socket server and described browser client set up, socket server obtained the resource identifier of sign socket server and browser client annexation.
6. the synchronous system of realization browser data according to claim 5, described user totem information comprises: the user name of login user, the machine hardware of non-login user sign.
7. the synchronous system of realization browser data according to claim 5, this distributor also comprises: the distributing information database is used for storing described user totem information, connection identifier (CID and resource identifier.
8. the synchronous system of realization browser data according to claim 7,
Described cloud storage server end sends in conditional information and the command information to push server, comprises the user totem information of destination client in the described conditional information;
Described push server comprises the destination client that this command information sends in a plurality of browser clients according to this conditional information:
Push server adopts the preset algorithm identical with distributor that the user totem information of destination client is calculated connection identifier (CID, thereby obtains the socket server into the destination client distribution,
Push server sends to the socket server that this distributes for the destination client with described conditional information and described command information;
This socket server is determined the resource identifier corresponding with the destination client, and according to this resource identifier this command information is sent to this destination client according to the distributing information database in the inquiry of the user totem information in the described conditional information distributor.
9. the synchronous system of realization browser data according to claim 5, this distributor also comprises the distributing information database;
Described distributor also obtains user's characteristic information from browser client, this user's characteristic information comprise following information one of them: IP address information, browser version information and user's classified information;
Described distributing information database is used for storing described user's characteristic information, connection identifier (CID and resource identifier.
10. the synchronous system of realization browser data according to claim 9, described cloud storage server end issues in conditional information and the command information to described push server, comprises the Feature Selection information of destination client in the described conditional information;
Described push server comprises the destination client that this command information sends in a plurality of browser clients according to this conditional information:
Push server sends to all socket servers with this conditional information and this command information;
Each socket server is according to the Feature Selection information inquiry distributing information database in this conditional information, determine to satisfy the resource identifier of the destination client of this Feature Selection information, and send command information according to this resource identifier to corresponding destination client.
11. each synchronous system of described realization browser data in 10 according to claim 1, described command information is notification message or content-message.
12. a method that realizes that browser data is synchronous, the method comprises:
Cloud storage server end issues conditional information and command information to push server when Data Update is arranged;
Described push server is determined the destination client according to this conditional information in a plurality of browser clients, and this command information is sent to described destination client; And
Described destination client realizes that according to described command information the data of itself and cloud storage server end are synchronous.
13. the synchronous method of realization browser data according to claim 12,
Described push server also comprises before according to conditional information command information being sent to the step of the destination client in a plurality of browser clients: described a plurality of browser clients are set up socket and are connected respectively with between the corresponding socket server;
Described push server comprises the step that this command information sends to the destination client in a plurality of browser clients according to this conditional information: described push server sends to destination client in these a plurality of browser clients by corresponding socket server with described command information.
14. the synchronous method of realization browser data according to claim 13, described a plurality of browser clients are connected by setting up socket between distributor and the corresponding socket server.
15. the synchronous method of realization browser data according to claim 14, described browser client is connected and comprises by setting up socket between distributor and the socket server:
Described browser client is submitted connection request to described distributor, comprises at least user totem information in this connection request;
Described distributor uses preset algorithm to calculate the unique connection identifier (CID of the overall situation by described user totem information, distributes socket server according to this connection identifier (CID for the browser client of submitting connection request to;
Described distributor is sent to the browser client of submitting request to link information and the described connection identifier (CID of this socket server;
The browser client of submitting request to connects with corresponding socket server according to the link information of the socket server that receives and described connection identifier (CID.
16. the synchronous method of realization browser data according to claim 15, the link information of the socket server that the browser client basis of described submission request receives comprises with the step that corresponding socket server connects:
Submit to the browser client root of request to transmit the connection identifier (CID that it receives to corresponding socket server;
After described socket server receives connection identifier (CID from the browser client of described submission request, to described distributor this connection identifier (CID is verified, after being proved to be successful, what keep having set up between described socket server and the described browser client is connected, authentication failed then disconnects the connection of having set up;
When wherein being connected between described socket server and described browser client set up, socket server obtained the resource identifier of sign socket server and browser client annexation.
17. the synchronous method of realization browser data according to claim 16, described user totem information comprises: the user name of login user, the machine hardware of non-login user sign.
18. the synchronous method of realization browser data according to claim 16 also comprises:
Described user totem information, connection identifier (CID and resource identifier are stored in the distributing information database that described distributor comprises.
19. the synchronous method of realization browser data according to claim 18,
Described cloud storage server end sends in the step of conditional information and command information to push server, comprises the user totem information of destination client in the described conditional information;
Described push server comprises the step that this command information sends to the destination client in a plurality of browser clients according to this conditional information:
Push server adopts the preset algorithm identical with distributor that the user totem information of destination client is calculated connection identifier (CID, thereby obtains the socket server into the destination client distribution;
Push server sends to the socket server that this distributes for the destination client with described conditional information and described command information;
Described socket server is determined the resource identifier corresponding with the destination client, and according to this resource identifier this command information is sent to this destination client according to the inquiry of the user totem information in described conditional information distributing information database.
20. the synchronous method of realization browser data according to claim 19 also comprises:
Described distributor also obtains user's characteristic information from browser client, this user's characteristic information comprise following information one of them: IP address information, browser version information and user's classified information;
Described user's characteristic information, connection identifier (CID and resource identifier are stored in the distributing information database that described distributor comprises.
CN201210548656.8A 2012-12-17 2012-12-17 Realize the system and method that browser data synchronizes Expired - Fee Related CN102984278B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201210548656.8A CN102984278B (en) 2012-12-17 2012-12-17 Realize the system and method that browser data synchronizes
PCT/CN2013/083624 WO2014094468A1 (en) 2012-12-17 2013-09-17 System, method and browser client for enabling browser data synchronization
US14/652,844 US10187445B2 (en) 2012-12-17 2013-09-17 System, method and browser client for enabling browser data synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210548656.8A CN102984278B (en) 2012-12-17 2012-12-17 Realize the system and method that browser data synchronizes

Publications (2)

Publication Number Publication Date
CN102984278A true CN102984278A (en) 2013-03-20
CN102984278B CN102984278B (en) 2016-06-22

Family

ID=47858011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210548656.8A Expired - Fee Related CN102984278B (en) 2012-12-17 2012-12-17 Realize the system and method that browser data synchronizes

Country Status (1)

Country Link
CN (1) CN102984278B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064899A (en) * 2012-12-17 2013-04-24 北京奇虎科技有限公司 Issued information database
CN103731507A (en) * 2013-05-02 2014-04-16 乐视网信息技术(北京)股份有限公司 Data processing method and device of distributed data storage device
WO2014094468A1 (en) * 2012-12-17 2014-06-26 北京奇虎科技有限公司 System, method and browser client for enabling browser data synchronization
CN104346479A (en) * 2014-11-26 2015-02-11 北京奇虎科技有限公司 Database synchronization method and database synchronization device
CN104423975A (en) * 2013-08-21 2015-03-18 华为技术有限公司 Data processing method and device
CN104580093A (en) * 2013-10-21 2015-04-29 腾讯科技(深圳)有限公司 Processing method, device and system for notification messages of websites
CN105740418A (en) * 2016-01-29 2016-07-06 杭州亿方云网络科技有限公司 File monitoring and message pushing based real-time synchronization system
CN111291296A (en) * 2020-02-24 2020-06-16 游艺星际(北京)科技有限公司 Content issuing method and device
CN112988162A (en) * 2021-03-30 2021-06-18 深圳软牛科技有限公司 Data extraction method, device, equipment and storage medium of Chrome browser
CN114637944A (en) * 2022-02-23 2022-06-17 南方电网数字电网研究院有限公司 Synchronous updating method for network safety browsing data based on big data application
CN114722060A (en) * 2022-04-02 2022-07-08 奇安信科技集团股份有限公司 Data synchronization method, device, equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1305161A (en) * 1999-11-24 2001-07-25 三星电子株式会社 Propelling tenique of common universal net browser
US6421781B1 (en) * 1998-04-30 2002-07-16 Openwave Systems Inc. Method and apparatus for maintaining security in a push server
CN1620012A (en) * 2003-11-19 2005-05-25 国际商业机器公司 Method and system for updating/reloading the content of pages browsed over a network
CN101247349A (en) * 2008-03-13 2008-08-20 华耀环宇科技(北京)有限公司 Network flux fast distribution method
CN101350741A (en) * 2007-07-20 2009-01-21 华为技术有限公司 Method, apparatus and system for notifying real time stream protocol event

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6421781B1 (en) * 1998-04-30 2002-07-16 Openwave Systems Inc. Method and apparatus for maintaining security in a push server
CN1305161A (en) * 1999-11-24 2001-07-25 三星电子株式会社 Propelling tenique of common universal net browser
CN1620012A (en) * 2003-11-19 2005-05-25 国际商业机器公司 Method and system for updating/reloading the content of pages browsed over a network
CN101350741A (en) * 2007-07-20 2009-01-21 华为技术有限公司 Method, apparatus and system for notifying real time stream protocol event
CN101247349A (en) * 2008-03-13 2008-08-20 华耀环宇科技(北京)有限公司 Network flux fast distribution method

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014094468A1 (en) * 2012-12-17 2014-06-26 北京奇虎科技有限公司 System, method and browser client for enabling browser data synchronization
CN103064899A (en) * 2012-12-17 2013-04-24 北京奇虎科技有限公司 Issued information database
CN103064899B (en) * 2012-12-17 2016-06-22 北京奇虎科技有限公司 A kind of distribution information database system
CN103731507A (en) * 2013-05-02 2014-04-16 乐视网信息技术(北京)股份有限公司 Data processing method and device of distributed data storage device
CN104423975B (en) * 2013-08-21 2017-10-10 华为技术有限公司 The method and apparatus of data processing
CN104423975A (en) * 2013-08-21 2015-03-18 华为技术有限公司 Data processing method and device
CN104580093A (en) * 2013-10-21 2015-04-29 腾讯科技(深圳)有限公司 Processing method, device and system for notification messages of websites
CN104346479A (en) * 2014-11-26 2015-02-11 北京奇虎科技有限公司 Database synchronization method and database synchronization device
CN105740418A (en) * 2016-01-29 2016-07-06 杭州亿方云网络科技有限公司 File monitoring and message pushing based real-time synchronization system
CN111291296A (en) * 2020-02-24 2020-06-16 游艺星际(北京)科技有限公司 Content issuing method and device
CN111291296B (en) * 2020-02-24 2023-11-28 游艺星际(北京)科技有限公司 Content issuing method and device
CN112988162A (en) * 2021-03-30 2021-06-18 深圳软牛科技有限公司 Data extraction method, device, equipment and storage medium of Chrome browser
CN112988162B (en) * 2021-03-30 2022-09-27 深圳软牛科技有限公司 Data extraction method, device, equipment and storage medium of Chrome browser
CN114637944A (en) * 2022-02-23 2022-06-17 南方电网数字电网研究院有限公司 Synchronous updating method for network safety browsing data based on big data application
CN114722060A (en) * 2022-04-02 2022-07-08 奇安信科技集团股份有限公司 Data synchronization method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN102984278B (en) 2016-06-22

Similar Documents

Publication Publication Date Title
CN102984278B (en) Realize the system and method that browser data synchronizes
CN103024052A (en) System and method for achieving browser data synchronization
CN109522330B (en) Cloud platform data processing method, device, equipment and medium based on block chain
CN103024050B (en) Distributor and the method that multiple server is distributed
CN102984277B (en) Prevent the system and method that malice connects
CN104333599A (en) Application sharing method and system and application service platform
CN103986752A (en) Method, device and system for inputting information on input interface of smart television set
CN103973461A (en) Notification message pushing method and message server
CN104092792A (en) Method, system and client-side for achieving flow optimization based on domain name resolution request
CN103024049B (en) Realize the system that browser data is synchronous
CN102289480A (en) Method and system for updating data
CN110851468A (en) Method and device for making simulation response to test request of client
CN103118355A (en) Display method of mobile terminal user information, mobile terminals and service system
CN103139761A (en) Information real-time show method and mobile communication terminal
CN102347847A (en) Contact state releasing method and system
CN102984276B (en) For the distributor distributed multiple socket server and distribution method
CN103024051B (en) A kind of device, method and corresponding system carrying out server distribution
CN102185701A (en) Method and system for realizing group information interaction
CN104023073A (en) Resource pushing method, system and device
CN103064899B (en) A kind of distribution information database system
CN103036989B (en) Socket server and sockets services method
CN101989989A (en) Method and system for synchronizing data of enterprise address book and personal address book
CN115496544A (en) Data processing method and device
CN103036990A (en) Browser client
CN112949326B (en) Information query method, device, equipment and computer readable medium

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160622

Termination date: 20211217