CN102968345B - Note real-time synchronization method and device - Google Patents

Note real-time synchronization method and device Download PDF

Info

Publication number
CN102968345B
CN102968345B CN201210421479.7A CN201210421479A CN102968345B CN 102968345 B CN102968345 B CN 102968345B CN 201210421479 A CN201210421479 A CN 201210421479A CN 102968345 B CN102968345 B CN 102968345B
Authority
CN
China
Prior art keywords
note
real
browser
module
data
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
CN201210421479.7A
Other languages
Chinese (zh)
Other versions
CN102968345A (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
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 CN201210421479.7A priority Critical patent/CN102968345B/en
Publication of CN102968345A publication Critical patent/CN102968345A/en
Application granted granted Critical
Publication of CN102968345B publication Critical patent/CN102968345B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention discloses a kind of note real-time synchronization method and device, and described device comprises connect unit and synchronous operation unit, wherein, synchronous operation unit is also for the local note data that produce when browser does not sign in described note synchronization server, sign in note synchronization server by the browser at note module place and set up real-time synchronization connect after, these local note data are carried out arranging the note Data Comparison with this user on note synchronization server by instruction note module, list the local note data be synchronized on described note synchronization server needing to upload, and whether prompting uploads, after described note module receives and uploads indication information, note module is then indicated will synchronous local note data upload to be needed in the note data of this user of note synchronization server by browser.Present invention achieves the problem of synchronizing process without the need to just carrying out on the web webpage of browser end of note information, make the synchronous more convenient of note information.

Description

Note real-time synchronization method and device
Technical field
The present invention relates to internet arena, specifically, relate to a kind of note real-time synchronization method and device.
Background technology
Browser refers to can the HTML(HyperTextMark-upLanguage of display web page server or file system, HTML (Hypertext Markup Language) or HTML) file content, and allow a kind of software of user and these file interactions.Web browser is mainly through HTTP(hypertexttransportprotocol, HTTP) agreement and web page server are alternately and obtain webpage, these webpages are by URL(Uniform/UniversalResourceLocator, web page address) specify, file layout is generally HTML, and by MIME(MultipurposeInternetMailExtensions, multi-functional internet mail extensions) indicate in http protocol.
Can comprise multiple document in a webpage, each document obtains from server respectively.Form widely in addition to html supported by most browser itself, the picture formats such as such as JPEG, PNG, GIF, and can expand the numerous plug-in unit (plug-ins) of support.
In addition, many browsers also support other URL type and corresponding agreement thereof, the encryption version as FTP, Gopher, HTTPS(HTTP agreement).HTTP content type and URL protocol specification allow Web page maker embedded images, animation, video, sound, Streaming Media etc. in webpage.
Web browser common in PC, comprise the Firefox(red fox browser of InternetExplorer, Mozilla of Microsoft), Apple(apple) Safari, Opera, GoogleChrome, GreenBrowser browser, 360 secure browsers, search dog high speed browser, everyday browser, Tengxun TT, proud trip browser, Baidu's browser, Tencent QQ browser etc., therefore, browser is the client-side program the most often used.
So-called two or more time dependent amounts of synchronously finger keep certain relativeness in change procedure.Cloud synchronously refers on cloud computing platform, has the data syn-chronization between the terminal device of cloud computing function and server, or data sharing between distinct device centered by individual, is all based on cloud computing here.
Have based on the synchronous note programmatic client of cloud at present, it to run on mobile terminals and on web webpage, thus realize the real-time synchronization of the note information between mobile terminal and web webpage; But the synchronous of note is all carry out based on the web webpage on browser in prior art; Show this block also to carry out based on web web service.The service on backstage can receive the note information that mobile terminal is uploaded, and after user clicks web webpage, enters corresponding website just the note information uploaded can be presented in web webpage in real time.Here user must access corresponding station address and can obtain above-mentioned synchronous note information.
Therefore, how to make the synchronous more convenient of note information, break through and on the web webpage of browser end, just can must just become technical matters urgently to be resolved hurrily.
Summary of the invention
In view of this, technical matters to be solved by this invention there is provided a kind of note real-time synchronization method and device, the problem just can must carried out on the web webpage of browser end with the synchronizing process solving note information.
In order to solve the problems of the technologies described above, the invention discloses a kind of note real-time synchronization method, comprising:
Load note module in browser side, and sign in note synchronization server by browser;
After logining successfully, described note module is set up real-time synchronization by browser with described note synchronization server and is connected;
The note incremental data of generation uploads to on described note synchronization server by described note module in real time, and/or described note module is from the unrecorded note incremental data in Real-time Obtaining browser side described note synchronization server to browser side;
The local note data that described browser produces when not signing in described note synchronization server, sign in described note synchronization server in described note module by browser and set up after real-time synchronization connects, these local note data can be carried out arranging the note Data Comparison with this user on described note synchronization server by described note module, list the local note data be synchronized on described note synchronization server needing to upload, and whether prompting uploads, after described note module receives and uploads indication information, then described note module will need synchronous local note data upload in the note data of described this user of note synchronization server by browser.
The method of the invention, wherein, also comprises: described browser side loads the note incremental data of described real-time synchronization, and is undertaken showing or being shown by the straight row in the interface in described browser by the interface of the described note module of described browser side.
The method of the invention, wherein, described interface is window or the view frame of browser ejection.
The method of the invention, wherein, described in browser side loading note module, and sign in note synchronization server by browser, comprising: described browser side loads note module, and signs in note synchronization server by the username and password of browser.
The method of the invention, wherein, the note incremental data of generation uploads to on described note synchronization server by described note module in real time, is further:
When user is newly-built in described note module, delete, amendment, recover or extract note data after, described note module in real time by above-mentioned newly-built, delete, amendment, recover or generate descriptive operational order and send to described note synchronization server, to upgrade the note data of this user that described note synchronization server is preserved after the note data preparation extracted.
The method of the invention, wherein, described note module from the unrecorded note incremental data in Real-time Obtaining browser side described note synchronization server, to browser side, is further:
Described note module send request from described note synchronization server obtain by unrecorded newly-built, delete, amendment, the descriptive operational order of note data genaration that recovers or extract, carry out after described note module receives resolving the note data that rear real-time synchronization upgrades browser side.
The method of the invention, wherein, further comprise: whether synchronized update downloads the unrecorded note incremental data in Real-time Obtaining browser side on described note synchronization server to described note module prompts, and the instruction carrying out synchronized update received from user starts the renewal of above-mentioned real-time synchronization.
The method of the invention, wherein, further comprises:
After same user uses the described note module of different browsers side to sign in described note synchronization server and sets up real-time synchronization connection, the described note module of described different browsers side by this user thereon newly-built, delete, amendment, recover or generate descriptive operational order after the note data preparation extracted to send to described note synchronization server, upgrade the note data of this user that described note synchronization server is preserved according to described descriptive operational order.
The method of the invention, wherein, described descriptive operational order, is made up of note name, state and time three part further, and wherein, described note name comprises position and item design; Described state comprises: newly-built, delete, amendment, recover or extract.
The method of the invention, wherein, described descriptive operational order is the descriptive operational order with identifier further.
The method of the invention, wherein, described real-time synchronization connects for the connection based on ICP/IP protocol.
The method of the invention, wherein, described note module is one of plug-in unit loaded in described browser side.
The method of the invention, wherein, described browser is web browser or network reading and browsing device.
In order to solve the problems of the technologies described above, the invention also discloses a kind of note real-time synchronization device, comprising: connect unit and synchronous operation unit; Wherein,
The described unit that connects, for loading note module, and signs in note synchronization server; After logining successfully, described note module is set up real-time synchronization by it with described note synchronization server and is connected;
Described synchronous operation unit, for the note incremental data that described note module produces is uploaded to and described note synchronization server in real time, and/or by described note module from the unrecorded note incremental data of this browser of Real-time Obtaining described note synchronization server;
Described synchronous operation unit, further also for:
The local note data produced when described browser does not sign in described note synchronization server, sign in described note synchronization server by the browser at described note module place and set up real-time synchronization connect after, described note module is indicated to carry out these local note data to arrange the note Data Comparison with this user on described note synchronization server, list the local note data be synchronized on described note synchronization server needing to upload, and whether prompting uploads, after described note module receives and uploads indication information, described note module is then indicated will synchronous local note data upload to be needed in the note data of described this user of note synchronization server by browser.
Device of the present invention, wherein, described synchronous operation unit, also for the note incremental data loading described real-time synchronization being undertaken showing or directly being shown by the interface of described browser by the interface that arranges of described note module.
Device of the present invention, wherein, described interface is window or the view frame of browser ejection.
Device of the present invention, wherein, described in connect unit, further also for loading note module, and sign in note synchronization server by the username and password on this browser.
Device of the present invention, wherein, described synchronous operation unit, further also for:
When after the note data that user is newly-built in described note module, delete, revise, recover or extract, by described note module in real time by above-mentioned newly-built, delete, amendment, recover or generate descriptive operational order and send to described note synchronization server after the note data preparation extracted, upgrade the note data of this user that described note synchronization server is preserved;
Described note module send request from described note synchronization server obtain by unrecorded newly-built, delete, amendment, the descriptive operational order of note data genaration that recovers or extract, and carry out resolving rear real-time synchronization after being received by described note module and upgrade.
Device of the present invention, wherein, described note module send request from described note synchronization server obtain by unrecorded newly-built, delete, amendment, the descriptive operational order of note data genaration that recovers or extract, and carry out after being received by described note module resolving the renewal of rear real-time synchronization, further comprise:
When described note module prompts, whether synchronized update downloads the unrecorded note incremental data of this browser of Real-time Obtaining on described note synchronization server, and the instruction carrying out synchronized update received from user starts the renewal of above-mentioned real-time synchronization.
Device of the present invention, wherein, described descriptive operational order, is made up of note name, state and time three part further, and wherein, described note name comprises position and item design; Described state comprises: newly-built, delete, amendment, recover or extract.
Device of the present invention, wherein, described descriptive operational order is the descriptive operational order with identifier.
Device of the present invention, wherein, described real-time synchronization connects for the connection based on ICP/IP protocol.
Device of the present invention, wherein, described note module is one of plug-in unit loaded in described browser side.
Device of the present invention, wherein, described browser is web browser or network reading and browsing device.
Compared with prior art, the technique effect that obtains of the present invention:
1, realize uploading between the note information of carrying out based on this tool bar of note module of browser side (i.e. browser client) and note synchronization server to operate with real-time synchronization; Make the synchronous more convenient of note information, break through the problem just can must carried out on the web webpage of browser side.
2, make note information, especially the bookkeeping such as newly-built, deletion, amendment, recovery, extraction of note data, Fast synchronization can be realized easily between the note module and note synchronization server of browser side.
By using the generation of descriptive operational order and resolve data message in the process of 3, synchronous transmission, accelerate transmission speed, and improve transmission stability.
4, in descriptive operational order, by using identifier (GUID) to distinguish, this descriptive operational order makes to belong to from what client sends.
Certainly, implement arbitrary product of the present invention must not necessarily need to reach above-described all technique effects simultaneously.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms a part of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of note real-time synchronization method process flow diagram described in the embodiment of the present invention one;
Fig. 2 is a kind of note real-time synchronization apparatus structure block diagram described in the embodiment of the present invention two;
Fig. 3 is the particular flow sheet of step 101 in the method described in the embodiment of the present invention one;
Fig. 4 is the process flow diagram of first set scheme in step 102 in the method described in the embodiment of the present invention one;
Fig. 5 is the process flow diagram of the second sets of plan in step 102 in the method described in the embodiment of the present invention one;
Fig. 6 is a kind of note real-time synchronization method flowchart 2 described in the embodiment of the present invention one;
Fig. 7 be note module described in the embodiment of the present invention two show schematic diagram on the table;
Fig. 8 is the embodiment process flow diagram after the present invention adopts method described in embodiment one.
Embodiment
Some vocabulary is employed to censure specific components in the middle of instructions and claim.Those skilled in the art should understand, and hardware manufacturer may call same assembly with different noun.This specification and claims are not used as with the difference of title the mode distinguishing assembly, but are used as the criterion of differentiation with assembly difference functionally." comprising " mentioned in the middle of instructions and claim is in the whole text an open language, therefore should be construed to " comprise but be not limited to "." roughly " refer to that in acceptable error range, those skilled in the art can solve the technical problem within the scope of certain error, reach described technique effect substantially.In addition, " couple " word comprise directly any at this and be indirectly electrically connected means.Therefore, if describe a first device in literary composition to be coupled to one second device, then represent described first device and directly can be electrically connected at described second device, or be indirectly electrically connected to described second device by other devices or connection means.Instructions subsequent descriptions is for implementing better embodiment of the present invention, and right described description is to illustrate for the purpose of rule of the present invention, and is not used to limit scope of the present invention.Protection scope of the present invention is when being as the criterion depending on the claims person of defining.
Graphic and embodiment below will be coordinated to describe embodiments of the present invention in detail, by this to the present invention how application technology means solve technical matters and the implementation procedure reaching technology effect can fully understand and implement according to this.
As shown in Figure 1, be a kind of note real-time synchronization method process flow diagram described in the embodiment of the present invention one, the method specifically comprises:
Step 101, loads note module in browser side, and signs in note synchronization server by browser; After logining successfully, described note module is set up real-time synchronization by browser with described note synchronization server and is connected;
Step 102, the note incremental data of generation uploads to on described note synchronization server by described note module in real time, and/or described note module is from the unrecorded note incremental data in Real-time Obtaining browser side described note synchronization server to browser side.
Can also include after step 102: described browser side loads the note incremental data of described real-time synchronization, and be undertaken showing or directly being shown by the interface of described browser by the interface that arranges of the described note module of described browser side.Be such as show in the mode ejecting form mode or view frame on the interface of browser, certainly concrete display mode is not limited thereto, and can adopt any one mode in prior art, be not specifically limited here.
As shown in Figure 3, for above-mentioned steps 101, comprise particularly in the present embodiment:
Step 1011, described browser side loads note module, and signs in note synchronization server (user name can be mailbox or the pet name) by the username and password on browser;
Step 1012, described note module is set up real-time synchronization by browser with described note synchronization server and is connected; Real-time synchronization described here connects for the connection based on ICP/IP protocol, but is not restricted to this.
Described note module is an application plug-in in client or applying unit, note data in this note module, comprise: described note module comprises the note record data of user's input, it is as a part for the personal information of browser client, also will carry out synchronous when browser client information carries out cloud preservation.Such as: in note data, include multiple note data such as note 1, note 2, note 3.The personal information of the browser client at this place can also be the information etc. of the collection information of browser client, browser configuration information, browser side, the personal information of these browser clients browser side be can by predetermined interface in carry out the setting (being exactly synchronous to carrying out after the choosing of each note data items in the present embodiment) of synchronizing content, or being shown by the reduction of synchronous data of different place'ss lock in time.
Note data in the embodiment of the present invention are preserved in browser side and are all preserved with versioned, such as, note versions of data 1, note versions of data 2, note versions of data 3, it is the new note versions of data generated further based on the note versions of data generated above with time order and function order, just only there are some different pieces of informations between in such different editions, other data portion branch is identical.In the embodiment of the present invention, note incremental data is called to the different pieces of information existed between in above-mentioned different editions.And, carry out being all synchronously use described note incremental data to carry out real-time synchronization, to reduce every hyposynchronous data volume at every turn.
For the note incremental data existed between in aforesaid different editions, the record of its particular content records with descriptive operational order the incremental data that the incremental processing for note data produces.Here incremental data be only for different editions data between the description of variance data, being not limited to is the increase of data, also be can be deletion or the minimizing of data, this point be known those skilled in the art, repeats explanation incremental data here with regard to not carrying out.
With a detailed embodiment, lower so-called descriptive operational order is described below, here for " newly-built " " deletion ", the generation of the descriptive operational order of the incremental data based on note versions of data 1 is described, wherein said note versions of data 1 has preserved the note data of 4 projects;
As in the item4 of note versions of data 1, last column increases ABC, at this moment descriptive operational order is:
Note versions of data 2:ABC(lastline, item4) (add) (time), wherein time is the time that this place's autoincrementing operation occurs;
As deleted DEFG in the first row of the item2 of note versions of data 1, at this moment descriptive operational order is:
Note versions of data 3:DEFG(firstline, item2) (delete) (time) wherein time be the time that this place autoincrementing operation occurs;
For above-mentioned steps 102, comprise two sets of plan (during execution in no particular order, determining according to actual conditions) particularly respectively in the present embodiment:
As shown in Figure 4, first set scheme is:
Step 1021, when user is newly-built in described note module, deletes, amendment, to recover or after the note data that extract, described note module in real time by above-mentioned newly-built, delete, amendment, recover or generate descriptive operational order after the note data preparation extracted to send to described note synchronization server;
Step 1023, upgrades the note data of this user that described note synchronization server is preserved.
First set scheme can also be same user when logging in the note module of different browser sides particularly, and concrete steps are:
After same user uses the described note module of different browsers side to sign in described note synchronization server and sets up real-time synchronization connection, the described note module of described different browsers side by this user thereon newly-built, delete, amendment, to recover or after the note data preparation extracted, the descriptive operational order generated with identifier sends to described note synchronization server, according to the note data under this user name that the described note synchronization server of the renewal of described identifier is preserved.
As shown in Figure 5, the second sets of plan is:
Step 1022, whether synchronized update downloads the unrecorded note incremental data in Real-time Obtaining browser side on described note synchronization server (also can be total data) to described note module prompts, and receive and start after above-mentioned real-time synchronization upgrades from the instruction carrying out synchronized update of user, described note module send request from described note synchronization server obtain by unrecorded newly-built, delete, amendment, the descriptive operational order of note data genaration that recovers or extract;
Step 1024, carries out resolving rear real-time synchronization and upgrades after described note module receives.
As shown in Figure 6, described in the embodiment of the present invention one, scheme also comprises:
Step 103, the local note data that described browser produces when not signing in described note synchronization server, sign in described note synchronization server in described note module by browser and set up after real-time synchronization connects, these local note data can be carried out arranging the note Data Comparison with this user on described note synchronization server by described note module, list the local note data be synchronized on described note synchronization server needing to upload, and whether prompting uploads, after described note module receives and uploads indication information, then described note module will need synchronous local note data upload in the note data of described this user of note synchronization server by browser.
Wherein, in above-mentioned two sets of plan preferably, identifier (GUID, GloballyUniqueIdentifier) can also be included further in described descriptive operational order.This identifier is a unique identifier, and it may be used for the mark of the appointment note incremental data shown for same user, also can be shown to be the note incremental data generation that this user carries out on multiple browser terminal.
Such as: browser client A has browser 1 and browser 2, the note incremental data 1 wherein produced in browser 1 is wherein with GUID-1 identifier, just can indicate it is the note incremental data produced in browser 1, after this note incremental data is synchronized to server side, when note data synchronization request initiated by browser 2, wherein can report the GUID information in this browser 2, can judge that the GUID-1 of server side is different from the GUID information in browser 2 according to the GUID information in browser 2 at server side, and directly judge that needs carry out synchronously, and directly the note disposal data version (being wherein the descriptive operational order with GUID information) of the GUID do not had in browser 2 is synchronized in browser 2, so just can realize the real-time synchronization of the note data between browser 1 and browser 2.
The descriptive operational order form generally with identifier is: identifier+note name (position, project)+state (newly-built, increase add, delete delete, amendment amend, recover recovery or extract extraction)+the time.
With a detailed embodiment, lower so-called descriptive operational order is described below, the generation of the descriptive operational order of the note incremental data based on note versions of data 1 is described for " newly-built " " deletion " here, and wherein said note versions of data 1 has preserved the note data of 4 projects;
As in the item4 of note versions of data 1, last column increases ABCDE, at this moment descriptive operational order is:
Note versions of data 2:GUID1ABCDE(lastline, item4) (add) (time), wherein time is the time that this place's autoincrementing operation occurs;
As deleted FEDEFG in the first row of the item2 of note versions of data 1, at this moment descriptive operational order is:
Note versions of data 3:GUID2FEDEFG(firstline, item2) (delete) (time) wherein time be the time that this place autoincrementing operation occurs.
In addition browser described in such scheme is web browser or network reading and browsing device, but is not limited to above-mentioned browser.
As shown in Figure 2, it is a kind of note real-time synchronization apparatus structure block diagram described in the embodiment of the present invention two, this system is applied between the note module of browser side and note synchronization server, it is characterized in that, this system comprises: connect unit 201 and synchronous operation unit 202; Wherein,
The described unit 201 that connects, couples mutually with described synchronous operation unit 202, for loading note module, and signs in note synchronization server; After logining successfully, described note module is set up real-time synchronization by it with described note synchronization server and is connected;
Described synchronous operation unit 202, couple mutually with the described unit 201 that connects, for the note incremental data that described note module produces is uploaded to and described note synchronization server in real time, and/or by described note module from the unrecorded note incremental data of this browser of Real-time Obtaining described note synchronization server.
In addition, described synchronous operation unit 202, the note incremental data also for described browser side being loaded described real-time synchronization is undertaken showing or directly being shown by the interface of described browser by the interface that arranges of the described note module of described browser side.
In addition, described in connect unit 201, concrete operations are:
Load note module in described browser side, and sign in note synchronization server (user name can be mailbox or the pet name) by the username and password on browser; Set up real-time synchronization in browser side with described note synchronization server by described note module to be connected; Real-time synchronization described here connects for the connection based on ICP/IP protocol.
For above-mentioned synchronous operation unit 202, the different scheme of two covers (during execution in no particular order, determining according to actual conditions) can be performed respectively particularly in the present embodiment:
The function of the first set scheme of described synchronous operation unit 202 is:
Described synchronous operation unit 202, when after the note data that user is newly-built in described note module, delete, revise, recover or extract, by described note module in real time by above-mentioned newly-built, delete, amendment, recover or generate descriptive operational order and send to described note synchronization server after the note data preparation extracted, upgrade the note data under this user name that described note synchronization server is preserved.
First set scheme can also be specifically same user when logging in the note module of different browser sides, is specially:
Described descriptive operational order is the descriptive operational order with identifier.
The function of the second sets of plan of described synchronous operation unit 202 is:
Described synchronous operation unit 202, when described note module prompts, whether synchronized update downloads the unrecorded note incremental data in Real-time Obtaining browser side on described note synchronization server, and receive and start after above-mentioned real-time synchronization upgrades from the instruction carrying out synchronized update of user, by described note module send request from described note synchronization server obtain by unrecorded newly-built, delete, amendment, the descriptive operational order of note data genaration that recovers or extract, and carry out resolving rear real-time synchronization after being received by described note module and upgrade.
Wherein, the descriptive operational order described in above-mentioned two sets of plan is for having the descriptive operational order of identifier (GUID, GloballyUniqueIdentifier).
In addition, explanation and the explanation of the described note module related in said system embodiment two are consistent with the content defined inside preceding method, are no longer described in detail here.
Be described the effect adopting said system of the present invention to realize below by a concrete Application Example, concrete steps are:
Current have the note module of two browser sides to be respectively C1 and C2(as shown in Figure 7, the display schematic diagram for C1 or C2), also have a note synchronization server S1 corresponded.
The described unit 201 that connects, couples mutually with described synchronous operation unit 202, for loading note module C1 and/or C2, and signs in note synchronization server S1; After logining successfully, described note module C1 and/or C2 sets up real-time synchronization by it with described note synchronization server S1 and is connected;
Described synchronous operation unit 202, couple mutually with the described unit 201 that connects, for the note incremental data that described note module C1 and/or C2 produces is generated descriptive operational order, upload in real time with on described note synchronization server S1, and/or by described note module from unrecorded note incremental data on the note module C1 and/or C2 of this browser side of Real-time Obtaining described note synchronization server.
In addition, described synchronous operation unit 202, the note incremental data also for described browser side being loaded described real-time synchronization is undertaken showing or directly being shown by the interface of described browser by the interface that arranges of the described note module C1 and/or C2 of described browser side.
Be described by another concrete Application Example the effect (as shown in Figure 8) adopting said method of the present invention to realize again below, concrete steps are:
Step 801, loads note module in browser side;
Step 802, signs in note synchronization server by browser; After logining successfully, described note module is set up real-time synchronization by browser with described note synchronization server and is connected;
Step 803, when the version of the note data in described note module has the note incremental data had more compared with the version of note data on described note synchronization server;
Step 804, the note incremental data of generation uploads to on described note synchronization server by described note module in real time;
Step 805, described note synchronization server obtains note incremental data, and resolves the preservation data upgraded on described note synchronization server;
Step 806, when the version of note data on described note synchronization server has the note incremental data had more compared with the version of the note data in described note module;
Step 807, described note module is from the unrecorded note incremental data in Real-time Obtaining browser side described note synchronization server to browser side;
Step 808, described note module is resolved note incremental data and is upgraded the note data of preserving.
Compared with prior art, the technique effect that obtains of the present invention:
1, realize uploading between the note information of carrying out based on this tool bar of note module of browser side (i.e. browser client) and note synchronization server to operate with real-time synchronization; Make the synchronous more convenient of note information, break through the problem just can must carried out on the web webpage of browser side.
2, make note information, especially the bookkeeping such as newly-built, deletion, amendment, recovery, extraction of note data, Fast synchronization can be realized easily between the note module and note synchronization server of browser side.
By using the generation of descriptive operational order and resolve data message in the process of 3, synchronous transmission, accelerate transmission speed, and improve transmission stability.
4, in descriptive operational order, by using identifier (GUID) to distinguish, this descriptive operational order makes to belong to from what client sends.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.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 in each inventive aspect one or more, in the description above 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.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in equipment according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of 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 does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
Disclosed herein is A1, a kind of note real-time synchronization method, comprising: load note module in browser side, and sign in note synchronization server by browser, after logining successfully, described note module is set up real-time synchronization by browser with described note synchronization server and is connected, the note incremental data of generation uploads to on described note synchronization server by described note module in real time, and/or described note module is from the unrecorded note incremental data in Real-time Obtaining browser side described note synchronization server to browser side, the local note data that described browser produces when not signing in described note synchronization server, sign in described note synchronization server in described note module by browser and set up after real-time synchronization connects, these local note data can be carried out arranging the note Data Comparison with this user on described note synchronization server by described note module, list the local note data be synchronized on described note synchronization server needing to upload, and whether prompting uploads, after described note module receives and uploads indication information, then described note module will need synchronous local note data upload in the note data of described this user of note synchronization server by browser.A2, note real-time synchronization method as described in A1, it is characterized in that, also comprise: described browser side loads the note incremental data of described real-time synchronization, and undertaken showing or being shown by the straight row in the interface in described browser by the interface of the described note module of described browser side.A3, note real-time synchronization method as described in A2, is characterized in that, described interface is the window that ejects of browser or view frame.A4, note real-time synchronization method as described in A1, it is characterized in that, described in browser side loading note module, and sign in note synchronization server by browser, comprise: described browser side loads note module, and signs in note synchronization server by the username and password of browser.A5, note real-time synchronization method as described in A4, it is characterized in that, the note incremental data of generation uploads to on described note synchronization server by described note module in real time, be further: when user is newly-built in described note module, delete, amendment, recover or extract note data after, described note module in real time by above-mentioned newly-built, delete, amendment, recover or generate descriptive operational order and send to described note synchronization server, to upgrade the note data of this user that described note synchronization server is preserved after the note data preparation extracted.A6, note real-time synchronization method as described in A3, it is characterized in that, described note module is from the unrecorded note incremental data in Real-time Obtaining browser side described note synchronization server to browser side, be further: described note module send request from described note synchronization server obtain by unrecorded newly-built, delete, amendment, the descriptive operational order of note data genaration that recovers or extract, carry out after described note module receives resolving the note data that rear real-time synchronization upgrades browser side.A7, note real-time synchronization method as described in A6, it is characterized in that, further comprise: whether synchronized update downloads the unrecorded note incremental data in Real-time Obtaining browser side on described note synchronization server to described note module prompts, and the instruction carrying out synchronized update received from user starts the renewal of above-mentioned real-time synchronization.A8, note real-time synchronization method as described in A6, it is characterized in that, further comprise: after same user uses the described note module of different browsers side to sign in described note synchronization server and sets up real-time synchronization connection, the described note module of described different browsers side by this user thereon newly-built, delete, amendment, recover or generate descriptive operational order after the note data preparation extracted to send to described note synchronization server, upgrade the note data of this user that described note synchronization server is preserved according to described descriptive operational order.A9, note real-time synchronization method as described in A5, A6 or A8, it is characterized in that, described descriptive operational order, be made up of note name, state and time three part further, wherein, described note name comprises position and item design; Described state comprises: newly-built, delete, amendment, recover or extract.A10, note real-time synchronization method as described in A9, it is characterized in that, described descriptive operational order is the descriptive operational order with identifier further.The method of A11, browser note real-time synchronization as described in A1, is characterized in that, described real-time synchronization connects for the connection based on ICP/IP protocol.A12, note real-time synchronization method as described in A1, is characterized in that, described note module is one of plug-in unit loaded in described browser side.A13, note real-time synchronization method as described in A1, it is characterized in that, described browser is web browser or network reading and browsing device.
Disclosed herein is B14, a kind of note real-time synchronization device, comprising: connect unit and synchronous operation unit, wherein, described in connect unit, for loading note module, and sign in note synchronization server, after logining successfully, described note module is set up real-time synchronization by it with described note synchronization server and is connected, described synchronous operation unit, for the note incremental data that described note module produces is uploaded to and described note synchronization server in real time, and/or by described note module from the unrecorded note incremental data of this browser of Real-time Obtaining described note synchronization server, described synchronous operation unit, further also for the local note data that produce when described browser does not sign in described note synchronization server, sign in described note synchronization server by the browser at described note module place and set up real-time synchronization connect after, described note module is indicated to carry out these local note data to arrange the note Data Comparison with this user on described note synchronization server, list the local note data be synchronized on described note synchronization server needing to upload, and whether prompting uploads, after described note module receives and uploads indication information, described note module is then indicated will synchronous local note data upload to be needed in the note data of described this user of note synchronization server by browser.B15, note real-time synchronization device as described in B14, it is characterized in that, described synchronous operation unit, also for the note incremental data loading described real-time synchronization being undertaken showing or directly being shown by the interface of described browser by the interface that arranges of described note module.B16, note real-time synchronization device as described in B15, is characterized in that, described interface is the window that ejects of browser or view frame.B17, note real-time synchronization device as described in B14, is characterized in that, described in connect unit, further also for loading note module, and sign in note synchronization server by the username and password on this browser.B18, as asked the note real-time synchronization device as described in B17, it is characterized in that, described synchronous operation unit, further also for: when user is newly-built in described note module, deletes, amendment, to recover or after the note data that extract, by described note module in real time by above-mentioned newly-built, delete, amendment, recover or generate descriptive operational order and send to described note synchronization server after the note data preparation extracted, upgrade the note data of this user that described note synchronization server is preserved; Described note module send request from described note synchronization server obtain by unrecorded newly-built, delete, amendment, the descriptive operational order of note data genaration that recovers or extract, and carry out resolving rear real-time synchronization after being received by described note module and upgrade.B19, note real-time synchronization device as described in B18, it is characterized in that, described note module sends request and obtains by unrecorded newly-built from described note synchronization server, delete, amendment, the descriptive operational order of the note data genaration recovered or extract, and carry out after being received by described note module resolving the renewal of rear real-time synchronization, further comprise: when described note module prompts, whether synchronized update downloads the unrecorded note incremental data of this browser of Real-time Obtaining on described note synchronization server, and the instruction carrying out synchronized update received from user starts the renewal of above-mentioned real-time synchronization.B20, note real-time synchronization device as described in B19, it is characterized in that, described descriptive operational order, be made up of note name, state and time three part further, wherein, described note name comprises position and item design; Described state comprises: newly-built, delete, amendment, recover or extract.B21, note real-time synchronization device as described in B20, it is characterized in that, described descriptive operational order is the descriptive operational order with identifier.B22, note real-time synchronization device as described in B14, is characterized in that, described real-time synchronization connects for the connection based on ICP/IP protocol.B23, note real-time synchronization device as described in B14, is characterized in that, described note module is one of plug-in unit loaded in described browser side.B24, the browser realizing note real-time synchronization as described in B14, it is characterized in that, described browser is web browser or network reading and browsing device.

Claims (24)

1. a note real-time synchronization method, comprising:
Load note module in browser side, and sign in note synchronization server by browser;
After logining successfully, described note module is set up real-time synchronization by browser with described note synchronization server and is connected;
When there is note increment, the note incremental data of generation uploads on described note synchronization server by described note module in real time, and/or described note module is from the unrecorded note incremental data in Real-time Obtaining browser side described note synchronization server to browser side;
The local note data that described browser produces when not signing in described note synchronization server, sign in described note synchronization server in described note module by browser and set up after real-time synchronization connects, these local note data can be carried out arranging the note Data Comparison with this browser client on described note synchronization server by described note module, list the local note data be synchronized on described note synchronization server needing to upload, and whether prompting uploads, after described note module receives and uploads indication information, then described note module will need synchronous local note data upload in the note data of described this user of note synchronization server by browser.
2. note real-time synchronization method as claimed in claim 1, is characterized in that, also comprise:
Described browser side loads the note incremental data of described real-time synchronization, and is undertaken showing or being shown by the straight row in the interface in described browser by the interface of the described note module of described browser side.
3. note real-time synchronization method as claimed in claim 2, is characterized in that, described interface is window or the view frame of browser ejection.
4. note real-time synchronization method as claimed in claim 1, it is characterized in that, described in browser side loading note module, and sign in note synchronization server by browser, comprise: described browser side loads note module, and signs in note synchronization server by the username and password of browser.
5. note real-time synchronization method as claimed in claim 4, it is characterized in that, the note incremental data of generation uploads to on described note synchronization server by described note module in real time, is further:
When user is newly-built in described note module, delete, amendment, recover or extract note data after, described note module in real time by above-mentioned newly-built, delete, amendment, recover or generate descriptive operational order and send to described note synchronization server, to upgrade the note data of this user that described note synchronization server is preserved after the note data preparation extracted.
6. note real-time synchronization method as claimed in claim 3, it is characterized in that, described note module from the unrecorded note incremental data in Real-time Obtaining browser side described note synchronization server, to browser side, is further:
Described note module send request from described note synchronization server obtain by unrecorded newly-built, delete, amendment, the descriptive operational order of note data genaration that recovers or extract, carry out after described note module receives resolving the note data that rear real-time synchronization upgrades browser side.
7. note real-time synchronization method as claimed in claim 6, it is characterized in that, further comprise: whether synchronized update downloads the unrecorded note incremental data in Real-time Obtaining browser side on described note synchronization server to described note module prompts, and the instruction carrying out synchronized update received from user starts the renewal of above-mentioned real-time synchronization.
8. note real-time synchronization method as claimed in claim 6, is characterized in that, further comprise:
After same user uses the described note module of different browsers side to sign in described note synchronization server and sets up real-time synchronization connection, the described note module of described different browsers side by this user thereon newly-built, delete, amendment, recover or generate descriptive operational order after the note data preparation extracted to send to described note synchronization server, upgrade the note data of this user that described note synchronization server is preserved according to described descriptive operational order.
9. the note real-time synchronization method according to any one of claim 5,6,8, is characterized in that, described descriptive operational order, is made up of further note name, state and time three part, and wherein, described note name comprises position and item design; Described state comprises: newly-built, delete, amendment, recover or extract.
10. note real-time synchronization method as claimed in claim 9, it is characterized in that, described descriptive operational order is the descriptive operational order with identifier further.
11. note real-time synchronization methods as claimed in claim 1, is characterized in that, described real-time synchronization connects for the connection based on ICP/IP protocol.
12. note real-time synchronization methods as claimed in claim 1, is characterized in that, described note module is one of plug-in unit loaded in described browser side.
13. note real-time synchronization methods as claimed in claim 1, is characterized in that, described browser is web browser or network reading and browsing device.
14. 1 kinds of note real-time synchronization devices, comprising: connect unit and synchronous operation unit; Wherein,
The described unit that connects, for loading note module, and signs in note synchronization server; After logining successfully, described note module is set up real-time synchronization by it with described note synchronization server and is connected;
Described synchronous operation unit, for when there is note increment, the note incremental data that described note module produces is uploaded in real time with on described note synchronization server, and/or by described note module from the unrecorded note incremental data of Real-time Obtaining browser described note synchronization server;
Described synchronous operation unit, further also for the local note data that produce when described browser does not sign in described note synchronization server, sign in described note synchronization server by the browser at described note module place and set up real-time synchronization connect after, described note module is indicated to carry out these local note data to arrange the note Data Comparison with this browser client on described note synchronization server, list the local note data be synchronized on described note synchronization server needing to upload, and whether prompting uploads, after described note module receives and uploads indication information, described note module is then indicated will synchronous local note data upload to be needed in the note data of described this user of note synchronization server by browser.
15. note real-time synchronization devices as claimed in claim 14, it is characterized in that, described synchronous operation unit, also for the note incremental data loading described real-time synchronization being undertaken showing or directly being shown by the interface of described browser by the interface that arranges of described note module.
16. note real-time synchronization devices as claimed in claim 15, is characterized in that, described interface is window or the view frame of browser ejection.
17. note real-time synchronization devices as claimed in claim 14, is characterized in that, described in connect unit, further also for loading note module, and sign in note synchronization server by the username and password on this browser.
18. note real-time synchronization devices as claimed in claim 17, is characterized in that, described synchronous operation unit, further also for:
When after the note data that user is newly-built in described note module, delete, revise, recover or extract, by described note module in real time by above-mentioned newly-built, delete, amendment, recover or generate descriptive operational order and send to described note synchronization server after the note data preparation extracted, upgrade the note data of this user that described note synchronization server is preserved; Described note module send request from described note synchronization server obtain by unrecorded newly-built, delete, amendment, the descriptive operational order of note data genaration that recovers or extract, and carry out resolving rear real-time synchronization after being received by described note module and upgrade.
19. note real-time synchronization devices as claimed in claim 18, it is characterized in that, described note module sends request and obtains by unrecorded newly-built from described note synchronization server, delete, amendment, the descriptive operational order of the note data genaration recovered or extract, and carry out after being received by described note module resolving the renewal of rear real-time synchronization, further comprise: when described note module prompts, whether synchronized update downloads the unrecorded note incremental data of this browser of Real-time Obtaining on described note synchronization server, and the instruction carrying out synchronized update received from user starts the renewal of above-mentioned real-time synchronization.
20. note real-time synchronization devices as claimed in claim 19, is characterized in that, described descriptive operational order, are made up of further note name, state and time three part, and wherein, described note name comprises position and item design; Described state comprises: newly-built, delete, amendment, recover or extract.
21. note real-time synchronization devices as claimed in claim 20, is characterized in that, described descriptive operational order is the descriptive operational order with identifier.
22. note real-time synchronization devices as claimed in claim 14, is characterized in that, described real-time synchronization connects for the connection based on ICP/IP protocol.
23. note real-time synchronization devices as claimed in claim 14, is characterized in that, described note module is one of plug-in unit loaded in described browser side.
24. note real-time synchronization devices as claimed in claim 14, is characterized in that, described browser is web browser or network reading and browsing device.
CN201210421479.7A 2012-10-29 2012-10-29 Note real-time synchronization method and device Active CN102968345B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210421479.7A CN102968345B (en) 2012-10-29 2012-10-29 Note real-time synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210421479.7A CN102968345B (en) 2012-10-29 2012-10-29 Note real-time synchronization method and device

Publications (2)

Publication Number Publication Date
CN102968345A CN102968345A (en) 2013-03-13
CN102968345B true CN102968345B (en) 2015-11-25

Family

ID=47798499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210421479.7A Active CN102968345B (en) 2012-10-29 2012-10-29 Note real-time synchronization method and device

Country Status (1)

Country Link
CN (1) CN102968345B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699630B (en) * 2013-12-20 2017-05-03 北京奇虎科技有限公司 Method and device for recommending information in browser
CN104852933B (en) * 2014-02-13 2019-03-29 腾讯科技(深圳)有限公司 A kind of mthods, systems and devices of synchronized explorer bookmark data
CN104361007B (en) * 2014-10-11 2018-03-23 北京奇虎科技有限公司 The processing method of browser and its collection
CN105871970A (en) * 2015-11-09 2016-08-17 乐视致新电子科技(天津)有限公司 Note update method and device
CN107844485B (en) * 2016-09-18 2020-09-18 平安科技(深圳)有限公司 Test script file updating method and device
CN106533910B (en) * 2016-11-17 2019-11-15 北京小米移动软件有限公司 Note display methods and device
CN106713613B (en) * 2016-11-17 2019-08-06 北京小米移动软件有限公司 Note display methods and device
CN109246237A (en) * 2018-10-10 2019-01-18 珠海格力电器股份有限公司 Electronic note based on network
CN117714473B (en) * 2024-02-04 2024-05-17 运易通科技有限公司 Data synchronous updating method and system based on block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852137A (en) * 2005-07-20 2006-10-25 华为技术有限公司 Method for realizing synchronization of client end data and server end data
CN101202754A (en) * 2007-12-04 2008-06-18 腾讯科技(深圳)有限公司 Method and system for storing network information
CN102347966A (en) * 2010-08-03 2012-02-08 环达电脑(上海)有限公司 Webpage bookmark synchronization method for portable equipment and computer
CN102664932A (en) * 2012-04-09 2012-09-12 青岛百灵信息科技有限公司 Cross-terminal network browser tag page synchronizing method based on cloud computing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852137A (en) * 2005-07-20 2006-10-25 华为技术有限公司 Method for realizing synchronization of client end data and server end data
CN101202754A (en) * 2007-12-04 2008-06-18 腾讯科技(深圳)有限公司 Method and system for storing network information
CN102347966A (en) * 2010-08-03 2012-02-08 环达电脑(上海)有限公司 Webpage bookmark synchronization method for portable equipment and computer
CN102664932A (en) * 2012-04-09 2012-09-12 青岛百灵信息科技有限公司 Cross-terminal network browser tag page synchronizing method based on cloud computing

Also Published As

Publication number Publication date
CN102968345A (en) 2013-03-13

Similar Documents

Publication Publication Date Title
CN102968345B (en) Note real-time synchronization method and device
CN104063460B (en) A kind of method and apparatus loading webpage in a browser
CN104216700B (en) System of cloud-computing-based HTML5 application packaging, installation, unloading and operation method
CN102646135B (en) Webpage collecting method, device and system
CN107528718B (en) Method, device and system for acquiring resources
CN103020160B (en) The using method of the shopping at network information of browser client, device and browser
US10284686B2 (en) Server, client, system and method for preloading browsed page in browser
CN111488148B (en) Webpage source code generation method and device
CN103268319A (en) Cloud browser based on webpages
CN102968347B (en) The method of browser note real-time synchronization and the browser realizing note real-time synchronization
CN110213113B (en) WEB configuration management method of base station and base station
CN104331369A (en) Browser-based webpage detection method and device, and server
CN105956136B (en) Method and device for acquiring login information
CN104615700A (en) Method for collecting webpage objects in browser, browser client side and system
CN110737853B (en) Multi-platform display static page data synchronization method and B2B system
CN113382083B (en) Webpage screenshot method and device
CN102932471B (en) Browser logon server and realize browser log in method and system
CA2824123A1 (en) Method and apparatus for processing micro web log messages
CN106487662B (en) Information sharing method and device
CN108737252B (en) Information pushing method and device based on block chain
CN111177623A (en) Information processing method and device
CN104361007B (en) The processing method of browser and its collection
CN104283865A (en) Download processing method and device, server and client device
WO2013137982A1 (en) Method and apparatus for intelligent capture of document object model events
CN103902534A (en) Method and device for triggering local operations through webpage program

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.