[go: up one dir, main page]

CN111046104A - Data synchronization method and device and synchronous data retrieval method and device - Google Patents

Data synchronization method and device and synchronous data retrieval method and device Download PDF

Info

Publication number
CN111046104A
CN111046104A CN201911267487.9A CN201911267487A CN111046104A CN 111046104 A CN111046104 A CN 111046104A CN 201911267487 A CN201911267487 A CN 201911267487A CN 111046104 A CN111046104 A CN 111046104A
Authority
CN
China
Prior art keywords
data
server
extended
page
expansion
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
CN201911267487.9A
Other languages
Chinese (zh)
Other versions
CN111046104B (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 Knet Eqxiu Technology Co ltd
Original Assignee
Beijing Knet Eqxiu Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Knet Eqxiu Technology Co ltd filed Critical Beijing Knet Eqxiu Technology Co ltd
Priority to CN201911267487.9A priority Critical patent/CN111046104B/en
Publication of CN111046104A publication Critical patent/CN111046104A/en
Application granted granted Critical
Publication of CN111046104B publication Critical patent/CN111046104B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and a device for synchronizing data and a method and a device for searching synchronous data. The data of the extended function page can be saved in the local folder, and meanwhile, the data of the extended function page is sent to the self-defined extended server. And saving the data of the extended function page to a database of the extended server by using the extended server. And previously synchronized data can be retrieved by accessing the extension server. Therefore, the data content needing to be stored can be stored in the bookmark, and simultaneously, the data content can be stored under the account number of the expansion server, so that real-time synchronization is realized, and the previously stored data content can be retrieved and viewed on other equipment.

Description

Data synchronization method and device and synchronous data retrieval method and device
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method and an apparatus for data synchronization and a method and an apparatus for retrieving synchronized data.
Background
With the development of internet technology, the internet is closely related to the life of people, and especially practitioners in the internet industry often need to go online to search for data in the working and learning processes at ordinary times, so that many technical problems can be encountered every day. The problems can be trivial and some problems can be encountered for many times, and some searched data or a section of code is required to be stored and then synchronized under the account number of the user, so that the user can conveniently check the data at any time and any place.
In the prior art, when the data is searched on the internet, the content needing to be stored can be stored in the bookmark of the browser, but the bookmark data of the browser cannot be synchronized in real time. This results in that, for example, some content is stored in the bookmark of the browser on one device, but when another device is used, the bookmark column of the browser is opened, and the previously stored bookmark data is found not to be synchronized, so that the previously stored content must be searched again, which is time-consuming and labor-consuming, and affects the efficiency of learning and work.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for data synchronization, and a method and an apparatus for retrieving synchronized data, which can store data contents to be stored in a bookmark, and simultaneously store the contents in an account of an extension server, so as to implement real-time synchronization, and also can retrieve and view the previously stored data contents on another device.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
the first aspect of the invention discloses a data synchronization method, which comprises the following steps:
responding to user operation, and adding data needing synchronization to the extended page; the expansion page is a self-defined expansion function page;
storing the data of the extended page to a local folder, and sending the data of the extended page to an extended server to trigger the extended server to store the data of the extended page to a database of the extended server; the extension server is a self-defined third-party server.
Optionally, in the method, the sending the data of the extended page to the extended server includes:
and sending the data of the extended page to the extended server by using an object method of the browser.
Optionally, the method further includes:
judging whether the extended page data stored in the local folder is deleted or not;
and if the extended page data stored in the local folder is judged to be deleted, sending a data deleting instruction to the extended server to trigger the extended server to delete the data content corresponding to the data deleting instruction from the database.
The second aspect of the present invention discloses a method for retrieving synchronous data, which includes:
responding to user operation, and accessing the expansion server;
receiving a data retrieval instruction input by a user, and sending the data retrieval instruction to the expansion server to trigger the expansion server to match result data corresponding to the data retrieval instruction from the database and return the result data;
and receiving and displaying the data returned by the expansion server.
Optionally, in the foregoing method, the accessing the extension server in response to a user operation includes:
responding to user operation, and accessing a universal server;
receiving key query features input by a user on a search page of the general server, and sending a search instruction to the general server to trigger the general server to search by using the key query features to obtain and display a search result;
and responding to user operation, and jumping to the extended server by using the link address selected by the user in the display page of the general server.
Optionally, in the above method, the sending the data retrieval instruction to the extension server to trigger the extension server to match result data corresponding to the data retrieval instruction from the database and return the result data, includes:
formatting the data retrieval instruction of the user;
sending the formatted data retrieval instruction to the extension server to trigger the extension server to carry out logic calculation on the formatted data retrieval instruction and the data in the database, and obtaining and returning result data corresponding to the data retrieval instruction.
Optionally, in the foregoing method, the closeness between the link address of the extension server and the key query feature meets a high standard requirement.
The third aspect of the present invention discloses a data synchronization apparatus, comprising:
the data adding unit is used for responding to user operation and adding data needing to be synchronized into the extended page; the expansion page is a self-defined expansion function page;
the storage unit is used for storing the data of the extended page to a local folder and sending the data of the extended page to an extended server so as to trigger the extended server to store the data of the extended page to a database of the extended server; the extension server is a self-defined third-party server.
The fourth aspect of the present invention discloses a device for retrieving synchronous data, comprising:
the access unit is used for responding to user operation and accessing the expansion server;
the transmission unit is used for receiving a data retrieval instruction input by a user and sending the data retrieval instruction to the expansion server so as to trigger the expansion server to match result data corresponding to the data retrieval instruction from the database and return the result data;
and the receiving unit is used for receiving and displaying the data returned by the expansion server.
Optionally, in the foregoing apparatus, the access unit includes:
an access subunit, configured to access a general-purpose server in response to a user operation;
the transmission subunit is used for receiving the key query features input by the user on the search page of the general server and sending a search instruction to the general server so as to trigger the general server to search by using the key query features, obtain a search result and display the search result;
and the switching subunit is used for responding to user operation and jumping to the extended server by using the link address selected by the user in the display page of the general server.
According to the technical scheme, the data synchronization method adds the data to be synchronized into the extended function page by adding a self-defined extended function. The data of the extended function page can be saved in the local folder, and meanwhile, the data of the extended function page is sent to the self-defined extended server. And saving the data of the extended function page to a database of the extended server by using the extended server. Therefore, the data content needing to be stored can be stored in the bookmark, and simultaneously, the data content can be stored under the account number of the expansion server, so that real-time synchronization is realized, and the previously stored data content can be retrieved and viewed on other equipment.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flowchart of a method for data synchronization according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a method for data synchronization according to another embodiment of the present invention;
FIG. 3 is a flowchart of a method for retrieving synchronous data according to another embodiment of the present invention;
FIG. 4 is a flowchart of accessing an extension server according to another embodiment of the disclosure;
FIG. 5 is a schematic diagram illustrating an operation of a method for retrieving synchronous data according to another embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating an operation of a method for retrieving synchronous data according to another embodiment of the present invention;
FIG. 7 is a diagram of an apparatus for data synchronization according to another embodiment of the present disclosure;
fig. 8 is a schematic diagram of a device for retrieving synchronous data according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
It is known from the background art that, in the prior art, when content needing to be stored is encountered in the process of searching for data on the internet, the content can be stored in a bookmark of a browser, but the bookmark data of the browser cannot be synchronized in real time. This results in that, for example, some content is stored in the bookmark of the browser on one device, but when another device is used, the bookmark column of the browser is opened, and the previously stored bookmark data is found not to be synchronized, so that the previously stored content must be searched again, which is time-consuming and labor-consuming, and affects the efficiency of learning and work.
Based on this, the embodiment of the invention discloses a method and a device for data synchronization and a method and a device for retrieving synchronized data, which can store data contents to be stored in a bookmark, simultaneously store the contents under the own account number on an expansion server, realize real-time synchronization, and also can retrieve and view the previously stored data contents on other equipment.
An embodiment of the present invention provides a method for data synchronization, which is shown in fig. 1 and specifically includes:
s101, responding to user operation, and adding data needing to be synchronized into an extended page; the expansion page is a self-defined expansion function page.
It should be noted that the present invention provides an extended function of browser bookmarks, as shown in fig. 2, a user may click the "my bookmark" extended function on a browser when encountering data that the user wants to save during daily browsing. At this time, an extension page is popped up, and some article-related tags, content summaries and other contents can be added on the extension page.
S102, storing the data of the extended page into a local folder, and sending the data of the extended page to an extended server to trigger the extended server to store the data of the extended page into a database of the extended server; the extension server is a self-defined third-party server.
It should be noted that, after the user adds the data that is desired to be saved on the extended page, and then clicks to save, the data content that is added before can be saved under the "my bookmark" folder directory, and the data that is added before is sent to the extended server. And saving the data content added before into a database of the extension server by using the extension server. The extension server is a self-defined third-party server.
It should be further noted that, in order to implement technical support for the "my bookmark" extension function, the present invention creates a self-defined third-party server for performing data connection with the "my bookmark" extension function. Meanwhile, the third-party server creates a database which can store the data which are sent by the user from the client and need to be synchronized, and can respond to the operation of the user to transmit the data back to the client, thereby realizing the real-time synchronization of the data.
Optionally, in another embodiment of the present invention, an implementation manner of step S102 may include:
and sending the data of the extended page to the extended server by using an object method of the browser.
When the user adds the data to be saved to the extended page and then saves the data, the data content added before is saved in the directory of the my bookmark folder, and meanwhile, the data added before is sent to the extended server by using the sendBeacom method of the navigator object of the browser.
Optionally, in another embodiment of the present invention, the method for data synchronization may further include:
and judging whether the extended page data stored in the local folder is deleted or not.
And if the extended page data stored in the local folder is judged to be deleted, sending a data deleting instruction to the extended server to trigger the extended server to delete the data content corresponding to the data deleting instruction from the database.
It should be noted that the client browser may determine in real time whether the extended page data stored in the local folder is deleted. And if the user is judged to execute the deletion operation of the extended page data, sending a data deletion instruction to the extended server to trigger the extended server to delete the data content corresponding to the data deletion instruction from the database, namely the data of the user executing the deletion operation.
According to the data synchronization method, the data needing to be synchronized is added to the extended function page by adding a self-defined extended function. The data of the extended function page can be saved in the local folder, and meanwhile, the data of the extended function page is sent to the self-defined extended server. And saving the data of the extended function page to a database of the extended server by using the extended server. Therefore, the data content needing to be stored can be stored in the bookmark, and simultaneously, the data content can be stored under the account number of the expansion server, so that real-time synchronization is realized, and the previously stored data content can be retrieved and viewed on other equipment.
The embodiment of the present invention further provides a method for retrieving synchronous data, which specifically includes, referring to fig. 3:
s301, responding to user operation, and accessing the extension server.
Before searching synchronous data, a user needs to access the expansion server first to search the data stored in the expansion server.
Optionally, in another embodiment of the present invention, as shown in fig. 4, another implementation manner of step S301 is as follows:
s401, responding to user operation, and accessing a universal server.
Before accessing the extended server, the user needs to access a currently general server, such as a website of a server like google, hundredth, etc.
S402, receiving key query features input by a user on a search page of the general server, and sending a search instruction to the general server to trigger the general server to search by using the key query features, so as to obtain and display a search result.
It should be noted that, when the user opens the interfaces of the search engines such as google and boudouard, the user may input the key query features related to the expansion server website, search on the interfaces of the search engines such as google and boudouard, and obtain and display the search results of the key query features related to the expansion server website.
S403, responding to the user operation, and jumping to the expansion server by using the link address selected by the user in the display page of the general server.
After the interface of the search engine such as Google, Baidu and the like shows the search results of key query features relevant to the expansion server website, the user finds the link address of the expansion server website from the search results, clicks the link address, and then jumps to the expansion server website.
Optionally, in another implementation manner of the embodiment of the present invention, another implementation manner of step S301 may further include:
in response to a user operation, a general-purpose server is accessed.
And inputting the website of the expansion server on the general server, and jumping to the expansion server.
It should be noted that, before accessing the extension server, the user needs to access a currently general server, such as a website of a server like google, hundredth, etc. And then directly inputting the website http:// so. hohode. com of the extension server on the address bar of the website to access the extension server.
S302, receiving a data retrieval instruction input by a user, and sending the data retrieval instruction to the expansion server to trigger the expansion server to match result data corresponding to the data retrieval instruction from the database and return the result data.
It should be noted that, a data retrieval instruction about the synchronous data input by the user on the client is received, and the data retrieval instruction is sent to the extension server. After the expansion server receives the data retrieval instruction, matching result data corresponding to the data retrieval instruction from the database according to the content of the data retrieval instruction, and returning the result data to the client.
Optionally, in another embodiment of the present invention, another implementation manner of step S302 may include:
and formatting the data retrieval instruction of the user.
Sending the formatted data retrieval instruction to the extension server to trigger the extension server to carry out logic calculation on the formatted data retrieval instruction and the data in the database, and obtaining and returning result data corresponding to the data retrieval instruction.
After receiving a data retrieval instruction about synchronous data input by a user on a client, the data retrieval instruction can be correspondingly formatted according to a designed search algorithm, so that data which the user wants to retrieve can be retrieved more efficiently. And then sending the formatted data retrieval instruction to the expansion server, and carrying out logic calculation on the formatted data retrieval instruction and the data in the database by the expansion server by using a preset search algorithm to obtain result data corresponding to the data retrieval instruction and returning the result data to the client.
And S303, receiving and displaying the data returned by the expansion server.
It should be noted that, as shown in fig. 5, after receiving the data returned by the expansion server, the client displays the returned data content.
Optionally, in another embodiment of the present invention, the closeness between the link address of the extension server and the key query feature meets the requirement of a high standard.
It should be noted that the closeness between the link address of the expansion server and the key query feature meets the high standard requirement, so that when a user inputs the key query feature related to the expansion server by using a search engine such as google and Baidu, the link address of the expansion server can be arranged in the front of the search result as much as possible, and the user can find the link address of the expansion server more easily.
Optionally, in another embodiment of the present invention, as shown in fig. 6, when the user queries the data stored in the local "my bookmark" directory, the user may directly search in the address bar of the browser.
According to the synchronous data retrieval method, the expansion server is accessed, then a data retrieval instruction input by a user is received, and the data retrieval instruction is sent to the expansion server, so that the expansion server is triggered to match result data corresponding to the data retrieval instruction from a database and return the result data to the client. And the client receives and displays the data returned by the expansion server. Therefore, after the data needing to be stored is synchronized to the expansion server, the user can search the data needing to be stored at any time and any place when needing to check the data stored before, so that the convenience of data searching is improved, and the learning and working efficiency is improved.
Another embodiment of the present invention further provides a data synchronization apparatus, as shown in fig. 7, including:
a data adding unit 701, configured to add, in response to a user operation, data to be synchronized to an extended page; the expansion page is a self-defined expansion function page;
a storage unit 702, configured to store the data of the extended page in a local folder, and send the data of the extended page to an extended server, so as to trigger the extended server to store the data of the extended page in a database of the extended server; the extension server is a self-defined third-party server.
In the data synchronization device provided by the application, by adding a self-defined extended function, the data adding unit 701 adds data to be synchronized to an extended function page. The storage unit 702 may store the data of the extended function page in the local folder and transmit the data of the extended function page to the customized extended server. And saving the data of the extended function page to a database of the extended server by using the extended server. Therefore, the data content needing to be stored can be stored in the bookmark, and simultaneously, the data content can be stored under the account number of the expansion server, so that real-time synchronization is realized, and the previously stored data content can be retrieved and viewed on other equipment.
In this embodiment, the specific implementation processes of the data adding unit 701 and the storage unit 702 can refer to the contents of the method embodiment corresponding to fig. 1, and are not described herein again.
Optionally, in another embodiment of the present invention, the storage unit 702 includes:
and the first sending subunit is used for sending the data of the extended page to the extended server by using an object method of the browser.
In this embodiment, for the specific execution process of the first sending subunit, reference may be made to the content of the corresponding method embodiment described above, and details are not described here again.
Optionally, in another embodiment of the present invention, the apparatus for data synchronization may further include:
a judging subunit, configured to judge whether the extended page data stored in the local folder is deleted;
and the second sending subunit is configured to send a data deletion instruction to the extension server if it is determined that the extension page data stored in the local folder is deleted, so as to trigger the extension server to delete the data content corresponding to the data deletion instruction from the database.
In this embodiment, for the specific execution processes of the determining subunit and the second sending subunit, reference may be made to the contents of the above corresponding method embodiments, which are not described herein again.
Another embodiment of the present invention further provides a device for retrieving synchronous data, as shown in fig. 8, including:
an access unit 801 for accessing the extension server in response to a user operation;
a transmission unit 802, configured to receive a data retrieval instruction input by a user, and send the data retrieval instruction to the extension server, so as to trigger the extension server to match result data corresponding to the data retrieval instruction from the database and return the result data;
a receiving unit 803, configured to receive and display the data returned by the extension server.
In the synchronous data retrieval device provided by the application, the access unit 801 accesses the extension server, the transmission unit 802 receives a data retrieval instruction input by a user and sends the data retrieval instruction to the extension server, so that the extension server is triggered to match result data corresponding to the data retrieval instruction from a database and return the result data to a client. The receiving unit 803 receives and displays the data returned by the expansion server. Therefore, after the data needing to be stored is synchronized to the expansion server, the user can search the data needing to be stored at any time and any place when needing to check the data stored before, so that the convenience of data searching is improved, and the learning and working efficiency is improved.
In this embodiment, for specific implementation processes of the access unit 801, the transmission unit 802, and the receiving unit 803, reference may be made to the contents of the method embodiment in fig. 3, which are not described herein again.
Optionally, in another embodiment of the present invention, the access unit 801 includes:
an access subunit, configured to access a general-purpose server in response to a user operation;
the transmission subunit is used for receiving key query features input by a user on a search page of the general server and sending a search instruction to the general server so as to trigger the general server to search by using the key parameters, obtain a search result and display the search result;
and the switching subunit is used for responding to user operation and jumping to the extended server by using the link address selected by the user in the display page of the general server.
In this embodiment, the specific execution processes of the access subunit, the transmission subunit and the switching subunit may refer to the content of the method embodiment corresponding to fig. 4, which is not described herein again.
Optionally, in another embodiment of the present invention, the accessing unit 802 includes:
the processing subunit is used for formatting the data retrieval instruction of the user;
and the transmission subunit is used for sending the formatted data retrieval instruction to the extension server so as to trigger the extension server to perform logic calculation on the formatted data retrieval instruction and the data in the database, obtain result data corresponding to the data retrieval instruction and return the result data.
In this embodiment, the specific execution processes of the processing subunit and the transmitting subunit can refer to the contents of the above corresponding method embodiments, and are not described herein again.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of data synchronization, comprising:
responding to user operation, and adding data needing synchronization to the extended page; the expansion page is a self-defined expansion function page;
storing the data of the extended page to a local folder, and sending the data of the extended page to an extended server to trigger the extended server to store the data of the extended page to a database of the extended server; the extension server is a self-defined third-party server.
2. The method of claim 1, wherein sending the data of the extension page to an extension server comprises:
and sending the data of the extended page to the extended server by using an object method of the browser.
3. The method of claim 1, further comprising:
judging whether the extended page data stored in the local folder is deleted or not;
and if the extended page data stored in the local folder is judged to be deleted, sending a data deleting instruction to the extended server to trigger the extended server to delete the data content corresponding to the data deleting instruction from the database.
4. A method for retrieving synchronized data, comprising:
responding to user operation, and accessing the expansion server;
receiving a data retrieval instruction input by a user, and sending the data retrieval instruction to the expansion server to trigger the expansion server to match result data corresponding to the data retrieval instruction from the database and return the result data;
and receiving and displaying the data returned by the expansion server.
5. The method of claim 4, wherein accessing the extension server in response to the user action comprises:
responding to user operation, and accessing a universal server;
receiving key query features input by a user on a search page of the general server, and sending a search instruction to the general server to trigger the general server to search by using the key query features to obtain and display a search result;
and responding to user operation, and jumping to the extended server by using the link address selected by the user in the display page of the general server.
6. The method according to claim 4, wherein the sending the data retrieval instruction to the extension server to trigger the extension server to match out result data corresponding to the data retrieval instruction from the database and return the result data comprises:
formatting the data retrieval instruction of the user;
sending the formatted data retrieval instruction to the extension server to trigger the extension server to carry out logic calculation on the formatted data retrieval instruction and the data in the database, and obtaining and returning result data corresponding to the data retrieval instruction.
7. The method according to any one of claims 4 to 6, wherein the closeness of the link address of the extension server and the key query feature meets the requirement of a high standard.
8. An apparatus for data synchronization, comprising:
the data adding unit is used for responding to user operation and adding data needing to be synchronized into the extended page; the expansion page is a self-defined expansion function page;
the storage unit is used for storing the data of the extended page to a local folder and sending the data of the extended page to an extended server so as to trigger the extended server to store the data of the extended page to a database of the extended server; the extension server is a self-defined third-party server.
9. An apparatus for retrieving synchronous data, comprising:
the access unit is used for responding to user operation and accessing the expansion server;
the transmission unit is used for receiving a data retrieval instruction input by a user and sending the data retrieval instruction to the expansion server so as to trigger the expansion server to match result data corresponding to the data retrieval instruction from the database and return the result data;
and the receiving unit is used for receiving and displaying the data returned by the expansion server.
10. The apparatus of claim 9, wherein the access unit comprises:
an access subunit, configured to access a general-purpose server in response to a user operation;
the transmission subunit is used for receiving the key query features input by the user on the search page of the general server and sending a search instruction to the general server so as to trigger the general server to search by using the key query features, obtain a search result and display the search result;
and the switching subunit is used for responding to user operation and jumping to the extended server by using the link address selected by the user in the display page of the general server.
CN201911267487.9A 2019-12-11 2019-12-11 Method and device for synchronizing data and method and device for retrieving synchronous data Active CN111046104B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911267487.9A CN111046104B (en) 2019-12-11 2019-12-11 Method and device for synchronizing data and method and device for retrieving synchronous data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911267487.9A CN111046104B (en) 2019-12-11 2019-12-11 Method and device for synchronizing data and method and device for retrieving synchronous data

Publications (2)

Publication Number Publication Date
CN111046104A true CN111046104A (en) 2020-04-21
CN111046104B CN111046104B (en) 2023-05-19

Family

ID=70235694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911267487.9A Active CN111046104B (en) 2019-12-11 2019-12-11 Method and device for synchronizing data and method and device for retrieving synchronous data

Country Status (1)

Country Link
CN (1) CN111046104B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090187622A1 (en) * 2006-09-30 2009-07-23 Huawei Technologies Co., Ltd. Method, system and apparatus for data synchronization
CN102333112A (en) * 2011-07-22 2012-01-25 深圳市财富万方信息技术有限公司 Method and system for sharing personal information on internet
US20120209957A1 (en) * 2007-05-30 2012-08-16 James Paul Schneider Mobile bookmarks
CN102902738A (en) * 2004-07-29 2013-01-30 雅虎公司 Search systems and methods using in-line contextual queries
CN103546435A (en) * 2012-07-13 2014-01-29 中兴通讯股份有限公司 Data synchronizing method and server
CN104243533A (en) * 2013-06-21 2014-12-24 英华达(上海)科技有限公司 Method for performing data sharing and data synchronization in local area network
CN104243429A (en) * 2013-06-20 2014-12-24 腾讯科技(深圳)有限公司 Method, device and system for achieving browser bookmark synchronization
CN105426403A (en) * 2015-10-30 2016-03-23 努比亚技术有限公司 Bookmark synchronization method and apparatus
CN106681596A (en) * 2017-01-03 2017-05-17 北京百度网讯科技有限公司 Information display method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902738A (en) * 2004-07-29 2013-01-30 雅虎公司 Search systems and methods using in-line contextual queries
US20090187622A1 (en) * 2006-09-30 2009-07-23 Huawei Technologies Co., Ltd. Method, system and apparatus for data synchronization
US20120209957A1 (en) * 2007-05-30 2012-08-16 James Paul Schneider Mobile bookmarks
CN102333112A (en) * 2011-07-22 2012-01-25 深圳市财富万方信息技术有限公司 Method and system for sharing personal information on internet
CN103546435A (en) * 2012-07-13 2014-01-29 中兴通讯股份有限公司 Data synchronizing method and server
CN104243429A (en) * 2013-06-20 2014-12-24 腾讯科技(深圳)有限公司 Method, device and system for achieving browser bookmark synchronization
CN104243533A (en) * 2013-06-21 2014-12-24 英华达(上海)科技有限公司 Method for performing data sharing and data synchronization in local area network
CN105426403A (en) * 2015-10-30 2016-03-23 努比亚技术有限公司 Bookmark synchronization method and apparatus
CN106681596A (en) * 2017-01-03 2017-05-17 北京百度网讯科技有限公司 Information display method and device

Also Published As

Publication number Publication date
CN111046104B (en) 2023-05-19

Similar Documents

Publication Publication Date Title
US6460060B1 (en) Method and system for searching web browser history
US8392446B2 (en) System and method for providing vector terms related to a search query
EP2521050A2 (en) Handheld electronic device and method for accessing bookmark
JP5084858B2 (en) Summary creation device, summary creation method and program
JP2006510123A (en) Intelligent host-based results related to character streams
JP2010508579A (en) Personalized search using macros
US9779139B1 (en) Context-based filtering of search results
US7814083B2 (en) Method and system for supporting information access and record media therefor
CN102541853A (en) A method and device for obtaining application information by using browser address bar
US8589421B1 (en) System and method for navigating documents
CN102937975B (en) A kind of Webpage search equipment and method
WO2014012465A1 (en) Method and system for searching on mobile terminal
CN100504877C (en) Method and device for web page action collection
CN106033433B (en) Information searching method and device
KR101637016B1 (en) Method for providing user reaction web page
US10255362B2 (en) Method for performing a search, and computer program product and user interface for same
CN105653712A (en) A web page push method, device and mobile terminal
US7970758B2 (en) Automatic completion with LDAP
CN113268184A (en) Browser tab switching method and device, electronic equipment and readable medium
JP5997738B2 (en) Information providing system, information providing server, information providing method and program
CN105243073A (en) Bookmark access method and device and terminal
CN111046104B (en) Method and device for synchronizing data and method and device for retrieving synchronous data
CN105701231A (en) Network resource search system and method
WO2016176932A1 (en) Method for searching for keyword on information display page
KR100463483B1 (en) Real time telephone number information retrieval system using a telephone number retrieval program and method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant