CN102968347A - Method for synchronizing browser memo in real time and browser realizing memo real-time synchronization - Google Patents

Method for synchronizing browser memo in real time and browser realizing memo real-time synchronization Download PDF

Info

Publication number
CN102968347A
CN102968347A CN201210423311XA CN201210423311A CN102968347A CN 102968347 A CN102968347 A CN 102968347A CN 201210423311X A CN201210423311X A CN 201210423311XA CN 201210423311 A CN201210423311 A CN 201210423311A CN 102968347 A CN102968347 A CN 102968347A
Authority
CN
China
Prior art keywords
note
browser
real
synchronization
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.)
Granted
Application number
CN201210423311XA
Other languages
Chinese (zh)
Other versions
CN102968347B (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 CN201210423311.XA priority Critical patent/CN102968347B/en
Publication of CN102968347A publication Critical patent/CN102968347A/en
Application granted granted Critical
Publication of CN102968347B publication Critical patent/CN102968347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for synchronizing a browser memo in real time and a browser realizing the memo real-time synchronization. The method comprises the following steps of loading a memo module at a browser side, and logging in a memo synchronization server through the browser; establishing real-time synchronization connection between the browser and the memo synchronization server by the memo module after successfully logging in the memo synchronization server; and uploading generated memo incremental data to the memo synchronization server in real time, and/or obtaining no-reported memo incremental data at the browser side from the memo synchronization server to the browser side in real time by the memo module. According to the method and the browser, disclosed by the invention, the problem that a synchronization process of the memo information needs to be carried out in a web page of a browser end is overcome, and thus the synchronization of the memo information is more convenient.

Description

Method for synchronizing scratchpad of browser in real time and browser for realizing real-time scratchpad synchronization
Technical Field
The invention relates to the field of internet, in particular to a method for synchronizing notes of a browser in real time and a browser for realizing real-time note synchronization.
Background
A browser refers to a software that can display the contents of HTML (hypertext markup Language) files of a web server or a file system and allow a user to interact with the files. The web browser interacts with the web server mainly through an HTTP (hypertext transfer protocol) protocol and obtains web pages, where the web pages are specified by a URL (Uniform/Universal Resource Locator), the file format is usually HTML, and the file format is specified in the HTTP protocol by MIME (multimedia Internet Mail Extensions).
A web page may include a plurality of documents, each document being obtained from a server. Most browsers themselves support a wide range of formats other than HTML, such as image formats like JPEG, PNG, GIF, etc., and are capable of expanding to support numerous plug-ins (plug-ins).
In addition, many browsers also support other URL types and their corresponding protocols, such as FTP, Gopher, HTTPS (encrypted versions of the HTTP protocol). The HTTP content type and URL protocol specifications allow web page designers to embed images, animations, video, sound, streaming media, etc. in web pages.
Common web browsers on personal computers include Internet Explorer by microsoft, Firefox by Mozilla, Safari by Apple, Opera, Google Chrome, GreenBrowser, 360 security browser, dog search high speed browser, sky browser, Tencent TT, Praole browser, Baidu browser, Tencent QQ browser, etc., and thus, browsers are the most frequently used client programs.
By synchronous it is meant that two or more time-varying quantities maintain a certain relative relationship during the course of the variation. Cloud synchronization refers to data synchronization between a terminal device with a cloud computing function and a server on a cloud computing platform, or data sharing between different devices with individuals as centers, and all the data synchronization is based on cloud computing.
At present, a note program client based on cloud synchronization runs on a mobile terminal and a web page, so that note information between the mobile terminal and the web page is synchronized in real time; however, in the prior art, the notes are synchronized based on web pages on a browser; displaying this block is also based on a web page service. The background service receives the note information uploaded by the mobile terminal, and the uploaded note information can be displayed in the web page in real time only when the user enters a corresponding website after clicking the web page. Here, the user must visit the corresponding website address to obtain the synchronized note information.
Therefore, how to synchronize the note information more conveniently breaks through the technical problem that the note information can only be synchronized on the web page of the browser end, which is an urgent need to be solved.
Disclosure of Invention
In view of the above, the technical problem to be solved by the present invention is to provide a method for synchronizing a memo of a browser in real time and a browser for implementing the real-time synchronization of the memo, so as to solve the problem that the synchronization process of the memo information must be performed on a web page of the browser.
In order to solve the technical problem, the invention discloses a method for synchronizing notes of a browser in real time, which comprises the following steps:
loading a note module on a browser side, and logging in a note synchronization server through the browser;
after login is successful, the note module establishes real-time synchronous connection with the note synchronous server through a browser;
the note module uploads the generated note increment data to the note synchronization server in real time, and/or the note module acquires note increment data which is not recorded by the browser side from the note synchronization server in real time to the browser side.
The method of the invention further comprises the following steps: and the browser side loads the real-time synchronous note incremental data and displays the note incremental data through an interface of the note module on the browser side or an interface in the browser.
The method of the invention, wherein the interface is a window or a view frame popped up by a browser.
The method of the present invention, wherein the loading a note module on the browser side and logging in to a note synchronization server through the browser comprises: and the browser side loads a note module and logs in the note synchronization server through the user name and the password of the browser.
The method of the present invention, wherein the note module uploads the generated note incremental data to the note synchronization server in real time, and further comprises:
when a user creates, deletes, modifies, restores or extracts note data in the note module, the note module generates a descriptive operation instruction after collating the created, deleted, modified, restored or extracted note data in real time and sends the descriptive operation instruction to the note synchronization server so as to update the note data of the user stored on the note synchronization server.
The method of the present invention, wherein the note module obtains note incremental data that is not recorded by the browser side from the note synchronization server in real time to the browser side, and further comprises:
the note module sends a request to acquire a descriptive operation instruction generated by the note data which is newly created, deleted, modified, recovered or extracted without record from the note synchronous server, and the note module analyzes the descriptive operation instruction and then synchronously updates the note data at the browser side in real time.
The method of the invention further comprises the following steps: and the note module prompts whether to synchronously update and download note incremental data which are not recorded at the browser side on the note synchronous server in real time, and receives a synchronous updating instruction from a user to start the real-time synchronous updating.
The method of the invention further comprises the following steps:
when the same user logs in the note synchronization server by using the note modules on different browser sides and establishes real-time synchronization connection, the note modules on different browser sides arrange the note data newly created, deleted, modified, restored or extracted on the note modules by the user to generate descriptive operation instructions and send the descriptive operation instructions to the note synchronization server, and the note data of the user stored on the note synchronization server is updated according to the descriptive operation instructions.
The method of the invention, wherein the descriptive operation instruction is composed of a note data item, a state and a time.
The method of the invention, wherein the descriptive operation instruction is a descriptive operation instruction with an identifier.
The method of the invention, wherein the real-time synchronous connection is a connection based on a TCP/IP protocol.
The method of the invention, wherein the note module is a plug-in loaded on the browser side
The method of the invention, wherein the browser is a web browser or a web-based reading browser.
The method of the invention further comprises the following steps:
after the note module logs in the note synchronization server through the browser and establishes real-time synchronization connection, the note module will arrange the local note data to be compared with the note data of the user on the note synchronization server, list the local note data which needs to be uploaded and are synchronized to the note synchronization server, and prompt whether to upload the local note data, and after the note module receives the uploading indication information, the note module uploads the local note data which needs to be synchronized to the note synchronization server through the browser.
In order to solve the technical problem, the invention discloses a browser for realizing real-time note synchronization, which comprises: establishing a connection unit and a synchronous operation unit; wherein,
the connection establishing unit is used for loading the note module and logging in the note synchronization server; after the login is successful, the note module establishes real-time synchronous connection with the note synchronous server through the note module;
the synchronous operation unit is used for uploading the note increment data generated on the note module to the note synchronous server in real time, and/or acquiring note increment data which is not recorded by the browser from the note synchronous server by the note module in real time.
The browser is provided with a synchronous operation unit, wherein the synchronous operation unit is further used for displaying the note incremental data loaded with the real-time synchronization through a setting interface of the note module or displaying the note incremental data through an interface of the browser.
The browser disclosed by the invention is characterized in that the interface is a window or a view frame popped up by the browser.
The browser of the present invention, wherein the connection establishing unit is further configured to load a note module, and log in to a note synchronization server through a user name and a password on the browser.
The browser of the present invention, wherein the synchronization operation unit is further configured to:
after a user creates, deletes, modifies, restores or extracts note data in the note module, the note module collates the created, deleted, modified, restored or extracted note data in real time to generate a descriptive operation instruction and sends the descriptive operation instruction to the note synchronization server, and the note data of the user stored in the note synchronization server is updated;
the note module sends a request to acquire a descriptive operation instruction generated by the note data which is newly created, deleted, modified, recovered or extracted without record from the note synchronous server, and the descriptive operation instruction is analyzed and then synchronously updated in real time after being received by the note module.
In the browser of the present invention, the note module sends a request to obtain a descriptive operation instruction generated from the note data created, deleted, modified, restored, or extracted without record from the note synchronization server, and the descriptive operation instruction is received by the note module, analyzed, and then updated synchronously in real time, further comprising:
and when the note module prompts whether to synchronously update and download note incremental data which are not recorded by the browser on the note synchronous server, the note module acquires note incremental data in real time, and receives a synchronous updating instruction from a user to start the real-time synchronous updating.
The browser comprises a description operation instruction and a display instruction, wherein the description operation instruction comprises a note data item, a state and time.
The browser comprises a browser body, a browser module and a display module, wherein the browser body is used for displaying the browser body, and the browser body is used for displaying the browser body.
The browser of the invention, wherein the real-time synchronous connection is a connection based on TCP/IP protocol.
The browser comprises a note module, a note module and a note processing module, wherein the note module is one of plug-ins loaded on the browser side.
The browser is a web browser or a web-based reading browser.
The browser of the present invention, wherein the synchronization operation unit is further configured to:
when the browser does not log in the note synchronization server, local note data generated when the browser does not log in the note synchronization server is logged in the note synchronization server through the browser where the note module is located and real-time synchronization connection is established, the note module is instructed to arrange the local note data to be compared with the note data of the user on the note synchronization server, list the local note data which are required to be uploaded and are synchronized to the note synchronization server, and prompt whether the local note data are uploaded or not is given, and when the note module receives uploading indication information, the note module is instructed to upload the local note data which are required to be synchronized to the note data of the user on the note synchronization server through the browser.
Compared with the prior art, the invention has the following technical effects:
1. the method realizes the uploading and real-time synchronous operation between the note information and the note synchronous server based on a note module at the browser side (namely a browser user); the note information can be synchronized more conveniently, and the problem that the note information can be synchronized only on a web page of a browser side is solved.
2. The note information, particularly the management operations of creating, deleting, modifying, recovering, extracting and the like of the note data can be conveniently and quickly synchronized between the note module at the browser side and the note synchronization server.
3. The data information is generated and analyzed by using the descriptive operation instruction in the synchronous transmission process, so that the transmission speed is increased, and the transmission stability is improved.
4. The identifier (GUID) can be used in the descriptive operation instruction to distinguish the client from which the descriptive operation instruction is sent.
Of course, it is not necessary for any one product in which the invention is practiced to achieve all of the above-described technical effects simultaneously.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of a method for real-time synchronization of a browser note according to a first embodiment of the present invention;
FIG. 2 is a block diagram of a browser structure for implementing real-time note synchronization according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a step 101 of a method according to an embodiment of the present invention;
FIG. 4 is a flow chart of a first set of aspects of step 102 of a method according to a first embodiment of the present invention;
FIG. 5 is a flow chart of a second set of aspects of step 102 of the method according to one embodiment of the present invention;
FIG. 6 is a flowchart of a method for real-time synchronization of notes in a browser according to a first embodiment of the present invention;
FIG. 7 is a schematic diagram of a note module according to a second embodiment of the present invention shown on a desktop;
FIG. 8 is a flowchart of an embodiment of the present invention after the method described in example one is used.
Detailed Description
Certain terms are used throughout the description and claims to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This specification and claims do not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms "include" and "comprise" are used in an open-ended fashion, and thus should be interpreted to mean "include, but not limited to. "substantially" means within an acceptable error range, within which a person skilled in the art can solve the technical problem to substantially achieve the technical result. Furthermore, the term "coupled" is intended to include any direct or indirect electrical connection. Thus, if a first device couples to a second device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections. The following description is of the preferred embodiment for carrying out the invention, and is made for the purpose of illustrating the general principles of the invention and not for the purpose of limiting the scope of the invention. The scope of the present invention is defined by the appended claims.
The following detailed description of the embodiments of the present invention will be provided in conjunction with the drawings and examples, so that how to implement the technical means for solving the technical problems and achieving the technical effects of the present invention can be fully understood and implemented.
As shown in fig. 1, which is a flowchart of a method for real-time synchronizing a browser note according to a first embodiment of the present invention, the method specifically includes:
step 101, loading a note module on a browser side, and logging in a note synchronization server through the browser; after login is successful, the note module establishes real-time synchronous connection with the note synchronous server through a browser;
and 102, uploading the generated note increment data to a note synchronization server in real time by the note module, and/or acquiring note increment data which is not recorded by a browser side from the note synchronization server by the note module in real time to the browser side.
Step 102 may be followed by: and the browser side loads the real-time synchronous note incremental data and displays the note incremental data through a setting interface of the note module on the browser side or directly displays the note incremental data through the interface of the browser. For example, the display is performed in a pop-up window manner or a view box manner on the interface of the browser, but the specific display manner is not limited thereto, and any manner in the prior art may be adopted, and is not specifically limited herein.
As shown in fig. 3, for the step 101, the method specifically includes:
step 1011, the browser side loads a note module, and logs in to a note synchronization server through a user name and a password on the browser (the user name may be a mailbox or a nickname);
step 1012, the note module establishes a real-time synchronous connection with the note synchronization server through a browser; the real-time synchronous connection is a connection based on the TCP/IP protocol, but is not limited thereto.
The note module is an application plug-in or application unit on the client, and the note data in the note module comprises: the note module comprises note recording data input by a user, wherein the note recording data are used as a part of personal information of a browser user and are also required to be synchronized when the browser user information is stored in a cloud mode. For example: note data includes a plurality of note data such as note 1, note 2, note 3, and the like. The personal information of the browser user at this point may also be favorite information of the browser user, browser configuration information, message information of the browser side, and the like, and the personal information of the browser user at the browser side may be set through a predetermined interface for synchronizing contents (in this embodiment, synchronizing is performed after selecting each note data item), or restored and displayed by synchronized data at different synchronization times.
The note data in the embodiment of the invention is stored in version mode on the browser side, for example, note data version 1, note data version 2 and note data version 3 are new note data versions further generated based on the previously generated note data versions in time sequence, so that only some different data exist among different versions, and other data parts are the same. In the embodiment of the present invention, different data existing between different versions is referred to as note increment data. And each time of synchronization, the note incremental data is used for real-time synchronization so as to reduce the data volume of each synchronization.
The specific content of the note incremental data existing between the different versions is described by recording the incremental data generated by the incremental processing of the note data by a descriptive operation instruction. The incremental data is only a description of difference data between different versions of data, and is not limited to an increase of data, but also may be a deletion or a decrease of data, which is known to those skilled in the art, and the incremental data is not explained in detail here.
The following so-called descriptive operating instructions are explained in a detailed embodiment. The general descriptive operation instruction format is: note data item (location, note item) + State (New, Add, delete, modify amend, resume, or extract) + time. Taking "new" and "delete" as examples, the generation of a descriptive operation instruction based on the incremental data of note data version 1 is described, wherein the note data version 1 already holds note data of 4 items;
if ABC is added to the last line in item4 of note data version 1, then the descriptive operation instruction is:
memo data version 2 ABC (last line, item 4) (add) (time), where time is the time at which the incremental operation occurs;
if DEFG is deleted in the first line of item2 of note data version 1, then the descriptive operation instruction is:
memo data version 3: DEFG (first line, item 2) (delete) (time) where time is the time at which the incremental operation occurred;
for the step 102, in this embodiment, two sets of schemes are specifically included (the execution is not sequential, and is determined according to the actual situation):
as shown in fig. 4, the first scheme is:
step 1021, after the user creates, deletes, modifies, restores or extracts the note data in the note module, the note module generates a descriptive operation instruction to the note synchronization server after collating the created, deleted, modified, restored or extracted note data in real time;
step 1023, the note data of the user stored on the note synchronization server is updated.
Specifically, the first set of solution may also be that when the same user logs in on note modules on different browser sides, the specific steps are as follows:
when the same user logs in the note synchronization server by using the note modules on different browser sides and establishes real-time synchronization connection, the note modules on different browser sides arrange note data newly created, deleted, modified, restored or extracted on the user by the user to generate descriptive operation instructions with identifiers, and send the descriptive operation instructions to the note synchronization server, and the note data under the user name stored on the note synchronization server is updated according to the identifiers.
As shown in fig. 5, the second set of solutions is:
step 1022, the note module prompts whether to synchronously update and download note incremental data (or all data) that is not recorded on the browser side on the note synchronization server in real time, and after receiving a command for performing synchronous update from a user to start the real-time synchronous update, the note module sends a request to acquire a descriptive operation command generated by the note data that is newly created, deleted, modified, restored or extracted without recording from the note synchronization server;
and 1024, analyzing and updating in real time synchronously after the note module receives the information.
As shown in fig. 6, the first solution of the embodiment of the present invention further includes:
103, after the note module logs in the note synchronization server through the browser and establishes real-time synchronization connection, the note module will collate the local note data and compare the local note data with the note data of the user on the note synchronization server, list the local note data which needs to be uploaded and are synchronized to the note synchronization server, and prompt whether to upload, and after the note module receives the uploading indication information, the note module uploads the local note data which needs to be synchronized to the note synchronization server through the browser.
In the above two schemes, preferably, the descriptive operation instruction may further include an Identifier (GUID) therein. The identifier is a unique identifier that may be used to indicate the identity of the specified note delta data for the same user, and may also indicate the note delta data generation that the user has performed on a variety of browser terminals.
For example: the browser user A is provided with a browser 1 and a browser 2, wherein the note incremental data 1 generated in the browser 1 is provided with a GUID-1 identifier and can be marked as note incremental data generated in the browser 1, after the note incremental data is synchronized to a server side, when the browser 2 initiates a note data synchronization request, the GUID information in the browser 2 is reported, the GUID-1 on the server side is judged to be different from the GUID information in the browser 2 according to the GUID information in the browser 2 on the server side, and the need of synchronization is directly judged, and a note arranging data version (wherein the descriptive operation instruction is provided with the GUID information) without the GUID in the browser 2 is directly synchronized into the browser 2, so that the note data between the browser 1 and the browser 2 can be synchronized in real time.
The descriptive operation instruction format, which typically has an identifier, is: identifier + note data item (location, note item) + status (new, add, delete, modify amend, resume or extract) + time.
The following describes a detailed embodiment of a so-called descriptive operation instruction, which takes "new" and "delete" as examples to illustrate the generation of a descriptive operation instruction based on note incremental data of note data version 1, wherein the note data version 1 already holds note data of 4 items;
if ABCDE is added to the last line in item4 of note data version 1, then the descriptive operation instructions are:
note data version 2 GUID1 ABCDE (last line, item 4) (add) (time), where time is the time at which the incremental operation occurred;
if FEDEFG is deleted in the first line of item2 of note data version 1, then the descriptive operation instruction is:
memo data version 3: GUID2 FEDEFG (first line, item 2) (delete) (time) where the time is the time at which the incremental operation occurred.
In addition, in the above solution, the browser is a web browser or a web-based reading browser, but is not limited to the above browser.
Fig. 2 is a structural block diagram of a browser for implementing note real-time synchronization according to a second embodiment of the present invention, where the system is applied between a note module on a browser side and a note synchronization server, and is characterized in that the system includes: a connection establishing unit 201 and a synchronization operation unit 202; wherein,
the connection establishing unit 201 is coupled to the synchronization operation unit 202, and is configured to load a note module and log in to a note synchronization server; after the login is successful, the note module establishes real-time synchronous connection with the note synchronous server through the note module;
the synchronous operation unit 202 is coupled to the connection establishing unit 201, and is configured to upload the note incremental data generated on the note module to the note synchronization server in real time, and/or obtain the note incremental data that is not recorded by the browser from the note synchronization server by the note module in real time.
In addition, the synchronous operation unit 202 is further configured to display the memo incremental data loaded by the browser side in real time and synchronized through a setting interface of the memo module on the browser side or directly display the memo incremental data through an interface of the browser.
In addition, the connection establishing unit 201 specifically operates as follows:
loading a note module on the browser side, and logging in a note synchronization server through a user name and a password on the browser (the user name can be a mailbox or a nickname); establishing real-time synchronous connection with the note synchronous server at the browser side through the note module; the real-time synchronization connection is here a connection based on the TCP/IP protocol.
For the above synchronous operation unit 202, in this embodiment, two different schemes may be specifically and respectively executed (the execution is not sequential, and is determined according to the actual situation):
the first set of solutions of the synchronization operation unit 202 functions as:
after the user creates, deletes, modifies, restores or extracts the note data in the note module, the synchronization operation unit 202 organizes the created, deleted, modified, restored or extracted note data in real time through the note module to generate a descriptive operation instruction, and sends the descriptive operation instruction to the note synchronization server, so as to update the note data under the user name stored in the note synchronization server.
The first set of solution may specifically be that when the same user logs in on the note modules on different browser sides, the first set of solution specifically includes:
the descriptive operation instruction is a descriptive operation instruction with an identifier.
The second set of aspects of the synchronization unit 202 function as:
the synchronous operation unit 202, when the note module prompts whether to synchronously update and download note incremental data that is not recorded on the browser side on the note synchronization server in real time, and receives an instruction from a user for performing synchronous update to start the real-time synchronous update, sends a request to obtain a descriptive operation instruction generated by note data that is newly created, deleted, modified, restored or extracted without being recorded from the note synchronization server through the note module, and performs real-time synchronous update after receiving the descriptive operation instruction through the note module and analyzing the descriptive operation instruction.
The descriptive operation instructions in the two schemes are descriptive operation instructions with identifiers (GUIDs, global Unique identifiers).
In addition, the explanation and the description of the note module related to the second embodiment of the system are consistent with the content defined in the foregoing method, and are not repeated herein.
The effect to be achieved by using the above system of the present invention is described below by a specific application embodiment, and the specific steps are as follows:
currently, there are two browser-side note modules, namely C1 and C2 (shown in fig. 7 as a schematic display diagram of C1 or C2), and a note synchronization server S1 corresponding to the two browser-side note modules.
The connection establishing unit 201 is coupled with the synchronization operation unit 202, and is used for loading the note module C1 and/or C2 and logging in the note synchronization server S1; after the login is successful, the note module C1 and/or C2 establishes a real-time synchronous connection with the note synchronization server S1 through the note module C1 and/or C2;
the synchronization operation unit 202 is coupled to the connection establishing unit 201, and configured to generate descriptive operation instructions from the note incremental data generated by the note module C1 and/or C2, upload the descriptive operation instructions to the note synchronization server S1 in real time, and/or obtain the note incremental data that is not recorded in the note module C1 and/or C2 of the browser side from the note synchronization server by the note module in real time.
In addition, the synchronous operation unit 202 is further configured to display the note incremental data loaded with the real-time synchronization by the browser side through a setting interface of the note module C1 and/or C2 on the browser side or directly through an interface of the browser.
The effect achieved by the above method of the present invention is illustrated by another specific application example (as shown in fig. 8), and the specific steps are as follows:
step 801, loading a note module on the browser side;
step 802, logging in a note synchronization server through a browser; after login is successful, the note module establishes real-time synchronous connection with the note synchronous server through a browser;
step 803, when the version of the note data on the note module has more note increment data than the version of the note data on the note synchronization server;
step 804, the note module uploads the generated note incremental data to the note synchronization server in real time;
step 805, the note synchronization server obtains note incremental data and analyzes and updates the saved data on the note synchronization server;
step 806, when the version of the note data on the note synchronization server has more note increment data than the version of the note data on the note module;
step 807, the note module acquires note incremental data which is not recorded by the browser side from the note synchronization server in real time to the browser side;
and 808, analyzing the note incremental data and updating the saved note data by the note module.
Compared with the prior art, the invention has the following technical effects:
1. the method realizes the uploading and real-time synchronous operation between the note information and the note synchronous server based on a note module at the browser side (namely a browser user); the note information can be synchronized more conveniently, and the problem that the note information can be synchronized only on a web page of a browser side is solved.
2. The note information, particularly the management operations of creating, deleting, modifying, recovering, extracting and the like of the note data can be conveniently and quickly synchronized between the note module at the browser side and the note synchronization server.
3. The data information is generated and analyzed by using the descriptive operation instruction in the synchronous transmission process, so that the transmission speed is increased, and the transmission stability is improved.
4. The identifier (GUID) can be used in the descriptive operation instruction to distinguish the client from which the descriptive operation instruction is sent.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the apparatus according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
A1, a method for real-time synchronization of browser notes, comprising: loading a note module on a browser side, and logging in a note synchronization server through the browser; after login is successful, the note module establishes real-time synchronous connection with the note synchronous server through a browser; the note module uploads the generated note increment data to the note synchronization server in real time, and/or the note module acquires note increment data which is not recorded by the browser side from the note synchronization server in real time to the browser side. A2, the method for synchronizing the notes of the browser in real time according to the A1, further comprising: and the browser side loads the real-time synchronous note incremental data and displays the note incremental data through an interface of the note module on the browser side or an interface in the browser. A3, the method for synchronizing the notes of the browser in real time as in A2, wherein the interface is a window or a view box popped up by the browser. A4, the method for synchronizing notes of a browser in real time according to a1, wherein the loading a note module on the browser side and logging in to a note synchronization server through the browser comprises: and the browser side loads a note module and logs in the note synchronization server through the user name and the password of the browser. A5, the method for synchronizing notes of a browser in real time as in a4, wherein the note module uploads the generated note incremental data to the note synchronization server in real time, and further comprises: when a user creates, deletes, modifies, restores or extracts note data in the note module, the note module generates a descriptive operation instruction after collating the created, deleted, modified, restored or extracted note data in real time and sends the descriptive operation instruction to the note synchronization server so as to update the note data of the user stored on the note synchronization server. A6, the method for synchronizing browser notes in real time as in A3, wherein the note module obtains note incremental data that is not recorded at the browser side from the note synchronization server in real time to the browser side, and further comprising: the note module sends a request to acquire a descriptive operation instruction generated by the note data which is newly created, deleted, modified, recovered or extracted without record from the note synchronous server, and the note module analyzes the descriptive operation instruction and then synchronously updates the note data at the browser side in real time. A7, the method for synchronizing the notes of the browser in real time according to the A6, further comprising: and the note module prompts whether to synchronously update and download note incremental data which are not recorded at the browser side on the note synchronous server in real time, and receives a synchronous updating instruction from a user to start the real-time synchronous updating. A8, the method for synchronizing the notes of the browser in real time according to the A6, further comprising: when the same user logs in the note synchronization server by using the note modules on different browser sides and establishes real-time synchronization connection, the note modules on different browser sides arrange the note data newly created, deleted, modified, restored or extracted on the note modules by the user to generate descriptive operation instructions and send the descriptive operation instructions to the note synchronization server, and the note data of the user stored on the note synchronization server is updated according to the descriptive operation instructions. A9, method for browser note real-time synchronization as described in A5, A6 or A8, wherein the descriptive operation command is composed of note data item, status and time. A10, the method for synchronizing the notes of the browser in real time according to the A9, wherein the descriptive operation instructions are descriptive operation instructions with identifiers. A11, the method for browser notes real-time synchronization as in A1, wherein the real-time synchronization connection is a TCP/IP protocol based connection. A12, the method for synchronizing browser notes in real time according to A1, wherein the note module is one of the plug-ins loaded on the browser side. A13, the method for synchronizing scratchpad of browser in real time as A1, wherein said browser is web browser or web-based reading browser. A14, the method for synchronizing the notes of the browser in real time according to the A1, further comprising: after the note module logs in the note synchronization server through the browser and establishes real-time synchronization connection, the note module will arrange the local note data to be compared with the note data of the user on the note synchronization server, list the local note data which needs to be uploaded and are synchronized to the note synchronization server, and prompt whether to upload the local note data, and after the note module receives the uploading indication information, the note module uploads the local note data which needs to be synchronized to the note synchronization server through the browser.
The utility model discloses B15, a browser that realizes notes real-time synchronization includes: establishing a connection unit and a synchronous operation unit; the connection establishing unit is used for loading the note module and logging in the note synchronization server; after the login is successful, the note module establishes real-time synchronous connection with the note synchronous server through the note module; the synchronous operation unit is used for uploading the note increment data generated on the note module to the note synchronous server in real time, and/or acquiring note increment data which is not recorded by the browser from the note synchronous server by the note module in real time. The browser capable of realizing real-time note synchronization according to B16 and B15 is further configured to display the note incremental data loaded with the real-time synchronization through a setting interface of the note module or through an interface of the browser. B17, the browser for realizing the real-time note synchronization as described in B16, wherein the interface is a window or a view box popped up by the browser. B18, the browser for realizing real-time note synchronization according to B15, wherein the connection establishing unit is further configured to load a note module and log in to the note synchronization server through a user name and a password on the browser. B19, the browser for realizing real-time note synchronization according to B18, wherein the synchronization operation unit is further configured to: after a user creates, deletes, modifies, restores or extracts note data in the note module, the note module collates the created, deleted, modified, restored or extracted note data in real time to generate a descriptive operation instruction and sends the descriptive operation instruction to the note synchronization server, and the note data of the user stored in the note synchronization server is updated; the note module sends a request to acquire a descriptive operation instruction generated by the note data which is newly created, deleted, modified, recovered or extracted without record from the note synchronous server, and the descriptive operation instruction is analyzed and then synchronously updated in real time after being received by the note module. B20, the browser for realizing real-time note synchronization according to B19, wherein the note module sends a request to obtain a descriptive operation command generated from the note data that is created, deleted, modified, restored, or extracted without record from the note synchronization server, and the descriptive operation command is analyzed and then updated in real-time synchronization after being received by the note module, further comprising: and when the note module prompts whether to synchronously update and download note incremental data which are not recorded by the browser on the note synchronous server, the note module acquires note incremental data in real time, and receives a synchronous updating instruction from a user to start the real-time synchronous updating. B21, the browser for realizing real-time note synchronization according to B20, wherein the descriptive operation instructions are composed of note data items, states and time. B22, the browser for realizing real-time note synchronization according to the B21, wherein the descriptive operation instructions are descriptive operation instructions with identifiers. B23, the browser for realizing real-time note synchronization according to B15, wherein the real-time synchronization connection is a connection based on TCP/IP protocol. B24, the browser for realizing real-time note synchronization according to B15, wherein the note module is one of the plug-ins loaded on the browser side. B25, the browser for realizing real-time note synchronization according to B15, wherein the browser is a web browser or a web-based reading browser. B26, the browser for realizing real-time note synchronization according to B15, wherein the synchronization operation unit is further configured to: when the browser does not log in the note synchronization server, local note data generated when the browser does not log in the note synchronization server is logged in the note synchronization server through the browser where the note module is located and real-time synchronization connection is established, the note module is instructed to arrange the local note data to be compared with the note data of the user on the note synchronization server, list the local note data which are required to be uploaded and are synchronized to the note synchronization server, and prompt whether the local note data are uploaded or not is given, and when the note module receives uploading indication information, the note module is instructed to upload the local note data which are required to be synchronized to the note data of the user on the note synchronization server through the browser.

Claims (20)

1. A method for real-time synchronization of browser notes, comprising:
loading a note module on a browser side, and logging in a note synchronization server through the browser;
after login is successful, the note module establishes real-time synchronous connection with the note synchronous server through a browser;
the note module uploads the generated note increment data to the note synchronization server in real time, and/or the note module acquires note increment data which is not recorded by the browser side from the note synchronization server in real time to the browser side.
2. The method for real-time synchronization of browser notes, as recited in claim 1, further comprising: and the browser side loads the real-time synchronous note incremental data and displays the note incremental data through an interface of the note module on the browser side or an interface in the browser.
3. The method for real-time synchronization of browser notes according to claim 2, wherein the interface is a browser pop-up window or view box.
4. The method for real-time synchronization of browser notes according to claim 1, wherein the loading of the note module on the browser side and logging in to the note synchronization server through the browser comprises: and the browser side loads a note module and logs in the note synchronization server through the user name and the password of the browser.
5. The method for real-time synchronization of browser notes according to claim 4, wherein said note module uploads the generated note incremental data to said note synchronization server in real-time, further comprising:
when a user creates, deletes, modifies, restores or extracts note data in the note module, the note module generates a descriptive operation instruction after collating the created, deleted, modified, restored or extracted note data in real time and sends the descriptive operation instruction to the note synchronization server so as to update the note data of the user stored on the note synchronization server.
6. The method for synchronizing notes of a browser in real time according to claim 3, wherein the note module obtains note incremental data that is not recorded by the browser side from the note synchronization server in real time to the browser side, and further comprises:
the note module sends a request to acquire a descriptive operation instruction generated by the note data which is newly created, deleted, modified, recovered or extracted without record from the note synchronous server, and the note module analyzes the descriptive operation instruction and then synchronously updates the note data at the browser side in real time.
7. The method for real-time synchronization of browser notes as recited in claim 6, further comprising: and the note module prompts whether to synchronously update and download note incremental data which are not recorded at the browser side on the note synchronous server in real time, and receives a synchronous updating instruction from a user to start the real-time synchronous updating.
8. The method for real-time synchronization of browser notes as recited in claim 6, further comprising:
when the same user logs in the note synchronization server by using the note modules on different browser sides and establishes real-time synchronization connection, the note modules on different browser sides arrange the note data newly created, deleted, modified, restored or extracted on the note modules by the user to generate descriptive operation instructions and send the descriptive operation instructions to the note synchronization server, and the note data of the user stored on the note synchronization server is updated according to the descriptive operation instructions.
9. The method of real-time synchronization of browser notes according to claim 5, 6 or 8, wherein the descriptive operation instructions consist of a note data item, a status and a time.
10. The method for real-time synchronization of browser notes as recited in claim 1, further comprising:
after the note module logs in the note synchronization server through the browser and establishes real-time synchronization connection, the note module will arrange the local note data to be compared with the note data of the user on the note synchronization server, list the local note data which needs to be uploaded and are synchronized to the note synchronization server, and prompt whether to upload the local note data, and after the note module receives the uploading indication information, the note module uploads the local note data which needs to be synchronized to the note synchronization server through the browser.
11. A browser for realizing real-time note synchronization comprises: establishing a connection unit and a synchronous operation unit; wherein,
the connection establishing unit is used for loading the note module and logging in the note synchronization server; after the login is successful, the note module establishes real-time synchronous connection with the note synchronous server through the note module;
the synchronous operation unit is used for uploading the note increment data generated on the note module to the note synchronous server in real time, and/or acquiring note increment data which is not recorded by the browser from the note synchronous server by the note module in real time.
12. The browser for realizing real-time note synchronization according to claim 11, wherein the synchronization operation unit is further configured to display the note incremental data loaded with the real-time synchronization through a setting interface of the note module or through an interface of the browser.
13. The browser for realizing real-time note synchronization according to claim 12, wherein the interface is a window or a view box popped up by the browser.
14. The browser for facilitating note real-time synchronization of claim 11,
the connection establishing unit is further used for loading a note module and logging in the note synchronization server through a user name and a password on the browser.
15. The browser for realizing real-time note synchronization according to claim 14, wherein the synchronization operation unit is further configured to:
after a user creates, deletes, modifies, restores or extracts note data in the note module, the note module collates the created, deleted, modified, restored or extracted note data in real time to generate a descriptive operation instruction and sends the descriptive operation instruction to the note synchronization server, and the note data of the user stored in the note synchronization server is updated;
the note module sends a request to acquire a descriptive operation instruction generated by the note data which is newly created, deleted, modified, recovered or extracted without record from the note synchronous server, and the descriptive operation instruction is analyzed and then synchronously updated in real time after being received by the note module.
16. The browser for realizing real-time note synchronization according to claim 15, wherein the note module sends a request to obtain a descriptive operation command generated from the note data that is created, deleted, modified, restored or extracted without record from the note synchronization server, and the descriptive operation command is received by the note module and then analyzed for real-time synchronization update, further comprising:
and when the note module prompts whether to synchronously update and download note incremental data which are not recorded by the browser on the note synchronous server, the note module acquires note incremental data in real time, and receives a synchronous updating instruction from a user to start the real-time synchronous updating.
17. The browser for implementing note real-time synchronization of claim 16, wherein the descriptive operation instructions are comprised of note data items, states, and times.
18. The browser for realizing real-time note synchronization according to claim 17, wherein the descriptive operation instruction is a descriptive operation instruction with an identifier.
19. The browser implementing note real-time synchronization of claim 11, wherein the real-time synchronization connection is a TCP/IP protocol based connection.
20. The browser for realizing real-time note synchronization according to claim 11, wherein the synchronization operation unit is further configured to:
when the browser does not log in the note synchronization server, local note data generated when the browser does not log in the note synchronization server is logged in the note synchronization server through the browser where the note module is located and real-time synchronization connection is established, the note module is instructed to arrange the local note data to be compared with the note data of the user on the note synchronization server, list the local note data which are required to be uploaded and are synchronized to the note synchronization server, and prompt whether the local note data are uploaded or not is given, and when the note module receives uploading indication information, the note module is instructed to upload the local note data which are required to be synchronized to the note data of the user on the note synchronization server through the browser.
CN201210423311.XA 2012-10-29 2012-10-29 The method of browser note real-time synchronization and the browser realizing note real-time synchronization Active CN102968347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210423311.XA CN102968347B (en) 2012-10-29 2012-10-29 The method of browser note real-time synchronization and the browser realizing note real-time synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210423311.XA CN102968347B (en) 2012-10-29 2012-10-29 The method of browser note real-time synchronization and the browser realizing note real-time synchronization

Publications (2)

Publication Number Publication Date
CN102968347A true CN102968347A (en) 2013-03-13
CN102968347B CN102968347B (en) 2017-03-08

Family

ID=47798501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210423311.XA Active CN102968347B (en) 2012-10-29 2012-10-29 The method of browser note real-time synchronization and the browser realizing note real-time synchronization

Country Status (1)

Country Link
CN (1) CN102968347B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486397A (en) * 2014-12-10 2015-04-01 北京奇虎科技有限公司 Method for carrying out data transmission in browser, client and mobile terminal
CN104852933A (en) * 2014-02-13 2015-08-19 腾讯科技(深圳)有限公司 Method for synchronizing browser bookmark data, system and device thereof
WO2017080198A1 (en) * 2015-11-09 2017-05-18 乐视控股(北京)有限公司 Memo update method and device
CN107395770A (en) * 2017-09-06 2017-11-24 武汉斗鱼网络科技有限公司 Method of data synchronization and device
CN109582431A (en) * 2018-12-25 2019-04-05 杭州达现科技有限公司 A kind of the catalogue update method and device of display interface

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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CBSI中国·PCHOME: "可比Chrome 傲游十个功能提高工作效率", 《HTTP://ARTICLE.PCHOME.NET/CONTENT-1119516-ALL.HTML》, 13 May 2010 (2010-05-13) *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104852933A (en) * 2014-02-13 2015-08-19 腾讯科技(深圳)有限公司 Method for synchronizing browser bookmark data, system and device thereof
CN104852933B (en) * 2014-02-13 2019-03-29 腾讯科技(深圳)有限公司 A kind of mthods, systems and devices of synchronized explorer bookmark data
CN104486397A (en) * 2014-12-10 2015-04-01 北京奇虎科技有限公司 Method for carrying out data transmission in browser, client and mobile terminal
WO2017080198A1 (en) * 2015-11-09 2017-05-18 乐视控股(北京)有限公司 Memo update method and device
CN107395770A (en) * 2017-09-06 2017-11-24 武汉斗鱼网络科技有限公司 Method of data synchronization and device
CN109582431A (en) * 2018-12-25 2019-04-05 杭州达现科技有限公司 A kind of the catalogue update method and device of display interface

Also Published As

Publication number Publication date
CN102968347B (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN102968345B (en) Note real-time synchronization method and device
CN104333531B (en) The sharing of Internet resources and acquisition methods, device, terminal
CN102968347B (en) The method of browser note real-time synchronization and the browser realizing note real-time synchronization
CN104348919B (en) Carry out the method, apparatus and browser of file download
CN102999636B (en) Pop-up in webpage is carried out method and the browser of intercept process
US10572546B2 (en) Information processing apparatus, document display method, document display system, and medium
US9912747B2 (en) Browser and system for download and download method
CN110020329B (en) Method, device and system for generating webpage
CN104063460A (en) Method and device for loading webpage in browser
CN107040584B (en) Method and device for downloading picture by client
JP2016517108A (en) Creating a page snapshot
CN108416021B (en) Browser webpage content processing method and device, electronic equipment and readable medium
CN103034727A (en) System for intercepting pop-up window in webpage
WO2015085785A1 (en) Method and apparatus for automatic page graying
WO2014108040A1 (en) Method and apparatus for presenting content on electronic device
CN106055575A (en) Method and device for optimized loading of website page
CN111224880A (en) Interface data acquisition method and device for single-page application and storage medium
CN113382083A (en) Webpage screenshot method and device
CN104361007B (en) The processing method of browser and its collection
CN116150513A (en) Data processing method, device, electronic equipment and computer readable storage medium
WO2019056797A1 (en) Network picture capturing method, program and application server
CN110020242A (en) A kind of document reading progress synchronous method and device based on Web
CN104348893A (en) Data synchronization method and device
US9258311B2 (en) Virtual federation of remote portals
CN108234620A (en) Cross-platform data transmission method, apparatus and system

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

Effective date of registration: 20220727

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.

TR01 Transfer of patent right