CN111046104B - Method and device for synchronizing data and method and device for retrieving synchronous data - Google Patents

Method and device for synchronizing data and method and device for retrieving synchronous data Download PDF

Info

Publication number
CN111046104B
CN111046104B CN201911267487.9A CN201911267487A CN111046104B CN 111046104 B CN111046104 B CN 111046104B CN 201911267487 A CN201911267487 A CN 201911267487A CN 111046104 B CN111046104 B CN 111046104B
Authority
CN
China
Prior art keywords
data
server
expansion
page
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911267487.9A
Other languages
Chinese (zh)
Other versions
CN111046104A (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; CALCULATING OR 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; CALCULATING OR 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; CALCULATING OR 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; CALCULATING OR 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 Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a data synchronization method and device and a synchronous data retrieval method and device. The data of the extended function pages can be saved to the local folder and simultaneously sent 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. And the previously synchronized data may be retrieved by accessing the extension server. Therefore, the data contents to be saved can be saved in the bookmark, and can be saved under the account number of the expansion server, so that real-time synchronization is realized, and the data contents saved before can be retrieved and checked on other devices.

Description

Method and device for synchronizing data and method and device for retrieving synchronous data
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method and an apparatus for synchronizing data, and a method and an apparatus for retrieving synchronized data.
Background
With the development of internet technology, the internet has been closely related to people's life, especially practitioners in the internet industry, often need to search data on the internet in the course of work and study at ordinary times, and many technical problems may be encountered every day. These problems can be trivial, some can be encountered for many times, at this time, some materials or a code is stored, and then the materials or a code is synchronized to the account number of the user, so that the user can conveniently check at any time and any place.
In the prior art, when the content to be saved is encountered in the process of searching the data on the internet, the content to be saved can be saved in the bookmark of the browser, but the bookmark data of the browser cannot realize real-time synchronization. This results in, for example, some content being saved in the browser's bookmark on one device, but when another device is used, the browser's bookmark bar is opened, and the previously saved bookmark data is found to be out of sync, so that the previously saved content is retrieved again, which is time-consuming and laborious, and affects the learning and working efficiency.
Disclosure of Invention
In view of this, the embodiments of the present invention provide a method and apparatus for synchronizing data, and a method and apparatus for retrieving synchronized data, which can save data contents to be saved in a bookmark, and save the contents under an account of the user on an extension server, so as to realize real-time synchronization, and also can retrieve and view the previously saved data contents on other devices.
In order to achieve the above object, the embodiment of the present invention provides 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 to be synchronized into an expansion page; the expansion page is a self-defined expansion function page;
storing the data of the expansion page to a local folder, and sending the data of the expansion page to an expansion server to trigger the expansion server to store the data of the expansion page to a database of the expansion server; the extension server is a customized third-party server.
Optionally, in the above method, the sending the data of the expansion page to an expansion server includes:
and sending the data of the expansion page to the expansion server by using an object method of a browser.
Optionally, the method further comprises:
judging whether the expansion page data stored in the local folder are deleted or not;
and if the expansion page data stored in the local folder are deleted, sending a data deleting instruction to the expansion server so as to trigger the expansion server to delete the data content corresponding to the data deleting instruction from the database.
The second aspect of the invention discloses a method for searching synchronous data, which comprises the following steps:
responding to user operation, and accessing an 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 above method, the responding to the user operation accesses the extension server, including:
responding to user operation, and accessing a general server;
receiving key query features input by a user on a search page of the universal server, and sending a search instruction to the universal server to trigger the universal server to search by utilizing the key query features, so as to obtain search results and display the search results;
and responding to the operation of the user, and utilizing the link address selected by the user in the display page of the universal server to jump to the expansion server.
Optionally, in the above method, the sending the data retrieval instruction to the extension server, so as to trigger the extension server to match and return result data corresponding to the data retrieval instruction from the database, includes:
formatting the data retrieval instruction of the user;
and sending the formatted data retrieval instruction to the expansion server to trigger the expansion server to perform logic calculation on the formatted data retrieval instruction and the data in the database, so as to obtain result data corresponding to the data retrieval instruction and return the result data.
Optionally, in the method, the compactness between the link address of the extension server and the key query feature meets the requirement of a high standard.
The third aspect of the present invention discloses a device for data synchronization, comprising:
the data adding unit is used for responding to the user operation and adding the data to be synchronized into the expansion page; the expansion page is a self-defined expansion function page;
the storage unit is used for storing the data of the expansion page into a local folder and sending the data of the expansion page to an expansion server so as to trigger the expansion server to store the data of the expansion page into a database of the expansion server; the extension server is a customized third-party server.
The fourth aspect of the present invention discloses a synchronous data retrieval device, comprising:
the access unit is used for responding to the 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 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 universal server, and sending a search instruction to the universal server so as to trigger the universal server to search by utilizing the key query features, so as to obtain search results and display the search results;
and the switching subunit is used for responding to the operation of the user, and utilizing the link address selected by the user in the display page of the universal server to jump to the expansion server.
According to the technical scheme, the data synchronization method adds the data to be synchronized into the expansion function page by adding a customized expansion function. The data of the extended function pages can be saved to the local folder and simultaneously sent 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 contents to be saved can be saved in the bookmark, and can be saved under the account number of the expansion server, so that real-time synchronization is realized, and the data contents saved before can be retrieved and checked on other devices.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for synchronizing data according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a method for data synchronization according to another embodiment of the present invention;
FIG. 3 is a flowchart of a method for searching synchronous data according to another embodiment of the present invention;
FIG. 4 is a flow chart of an access extension server disclosed in another embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating an operation of a method for searching synchronous data according to another embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating an operation of a method for searching synchronous data according to another embodiment of the present invention;
FIG. 7 is a schematic diagram of an apparatus for data synchronization according to another embodiment of the present invention;
fig. 8 is a schematic diagram of a synchronous data retrieving apparatus according to another embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As known from the background art, in the prior art, when the content to be saved is encountered in the process of searching the data on the internet, the content can be saved into the bookmark of the browser, but the bookmark data of the browser cannot realize real-time synchronization. This results in, for example, some content being saved in the browser's bookmark on one device, but when another device is used, the browser's bookmark bar is opened, and the previously saved bookmark data is found to be out of sync, so that the previously saved content is retrieved again, which is time-consuming and laborious, and affects the learning and working efficiency.
Based on the above, the embodiment of the invention discloses a method and a device for synchronizing data and a method and a device for searching synchronized data, which can save the data contents to be saved in a bookmark, save the contents under the account number of the expansion server at the same time, realize real-time synchronization, and search and view the data contents saved before on other devices.
The embodiment of the invention provides a data synchronization method, referring to fig. 1, specifically including:
s101, responding to user operation, and adding data to be synchronized into an expansion page; the expansion page is a self-defined expansion function page.
It should be noted that the present invention provides an expansion function of a browser bookmark, as shown in fig. 2, a user encounters data to be saved during daily browsing, and may click on the expansion function of my bookmark on the browser. At this time, an expansion page is popped up, and some content such as labels, content summaries and the like related to articles can be added on the expansion page.
S102, saving the data of the expansion page to a local folder, and sending the data of the expansion page to an expansion server to trigger the expansion server to save the data of the expansion page to a database of the expansion server; the expansion server is a self-defined third-party server.
It should be noted that, after the user adds the data to be saved on the expansion page, the user clicks to save, so that the data content added before can be saved under the directory of the my bookmark folder, and the data added before can be sent to the expansion server. The data content added before is saved into a database of the expansion server by the expansion server. The extension server is a custom third party server.
It should also be noted that, in order to implement technical support for the my bookmark extension function, the present invention creates a custom third party server for data connection with the my bookmark extension function. Meanwhile, the third party server creates a database, can store data which are sent by a user from a client and need to be synchronized, and also can respond to the operation of the user and return the data to the client so as to realize the real-time synchronization of the data.
Alternatively, in another embodiment of the present invention, an implementation of step S102 may include:
and sending the data of the expansion page to the expansion server by using an object method of a browser.
When the user saves the data which is needed to save after adding the data on the expansion page, the data content which is added before is saved under the directory of the 'My bookmark' folder, and meanwhile, the data which is added before is sent to the expansion server by using the sendBuacom method of the navigator object of the browser.
Optionally, in another embodiment of the present invention, the method for synchronizing data may further include:
and judging whether the expansion page data stored in the local folder is deleted or not.
And if the expansion page data stored in the local folder are deleted, sending a data deleting instruction to the expansion server so as to trigger the expansion 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. If the user is judged to execute the deletion operation of the expanded page data, a data deleting instruction is sent to the expansion server so as to trigger the expansion server to delete the data content corresponding to the data deleting instruction from the database, namely the data of which the user executes the deletion operation.
In the method for synchronizing data, the data needing to be synchronized is added into the page of the expansion function by adding the customized expansion function. The data of the extended function pages can be saved to the local folder and simultaneously sent 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 contents to be saved can be saved in the bookmark, and can be saved under the account number of the expansion server, so that real-time synchronization is realized, and the data contents saved before can be retrieved and checked on other devices.
The embodiment of the invention also provides a method for searching the synchronous data, which is shown in fig. 3 and specifically comprises the following steps:
s301, responding to user operation, and accessing an expansion server.
Before searching the synchronous data, the user needs to access the expansion server to search the data stored on the expansion server.
Alternatively, in another embodiment of the present invention, another implementation of step S301 is shown in fig. 4:
s401, responding to user operation, and accessing a general server.
Before accessing the extension server, the user needs to access a currently universal server, such as a website of google, hundred degrees and the like.
S402, key query features input by a user on a search page of the universal server are received, and a search instruction is sent to the universal server to trigger the universal server to search by utilizing the key query features, so that search results are obtained and displayed.
When the user opens the interface of the google, hundred degrees and other search engines, the user can input the key query features related to the extended server website, search on the interface of the google, hundred degrees and other search engines, obtain the search results of the key query features related to the extended server website and display the search results.
S403, responding to the user operation, and utilizing the link address selected by the user in the display page of the universal server to jump to the expansion server.
After google, hundred degrees and other search engine interfaces show the search results of the key query features related 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 generic server is accessed.
Inputting the website of the expansion server on the universal server, and jumping to the expansion server.
It should be noted that, before accessing the extension server, the user needs to access a website of a server commonly used at present, such as google, hundred degrees, and the like. And then directly inputting the website http:// so.
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.
The data retrieval instruction about the synchronous data input by the user on the client is received and sent to the expansion server. After the expansion server receives the data retrieval instruction, the result data corresponding to the data retrieval instruction are matched from the database according to the content of the data retrieval instruction, and the result data are transmitted back to the client.
Alternatively, in another embodiment of the present invention, another implementation of step S302 may include:
formatting the data retrieval instruction of the user.
And sending the formatted data retrieval instruction to the expansion server to trigger the expansion server to perform logic calculation on the formatted data retrieval instruction and the data in the database, so as to obtain result data corresponding to the data retrieval instruction and return the result data.
After receiving a data retrieval instruction about synchronous data input by a user on a client, the data retrieval instruction can be 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 utilizing a preset search algorithm to obtain result data corresponding to the data retrieval instruction and transmitting the result data back to the client.
S303, receiving and displaying the data returned by the expansion server.
It should be noted that, as shown in fig. 5, after the client receives the data returned by the extension server, the returned data content is displayed.
Optionally, in another embodiment of the present invention, the link address of the extension server and the compactness of the key query feature meet the requirement of high standards.
It should be noted that, the compactness of the link address of the extension server and the key query feature meets the requirement of high standard, so that when the user inputs the key query feature about the extension server by using the google, hundred degrees and other search engines, the link address of the extension 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 extension server more easily.
Alternatively, 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 transmit the result data back to a client. And the client receives and displays the data returned by the expansion server. Therefore, after the user synchronizes the data to be saved to the expansion server, the user can search the data stored before the user needs to view the data anytime and anywhere, 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 device for data synchronization, as shown in fig. 7, including:
a data adding unit 701, configured to respond to a user operation and add data to be synchronized to an expansion page; the expansion page is a self-defined expansion function page;
the storage unit 702 is 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 customized third-party server.
In the data synchronization device provided by the application, the data adding unit 701 adds the data to be synchronized to the extended function page by adding a customized extended function. The storage unit 702 can save the data of the extended function page to the local folder, and simultaneously send 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 contents to be saved can be saved in the bookmark, and can be saved under the account number of the expansion server, so that real-time synchronization is realized, and the data contents saved before can be retrieved and checked on other devices.
In this embodiment, the specific execution of the data adding unit 701 and the storage unit 702 may refer to the content of the method embodiment corresponding to fig. 1, and will not be described herein.
Alternatively, 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 expansion page to the expansion server by using an object method of the browser.
In this embodiment, the specific execution process of the first transmitting subunit may refer to the content of the corresponding method embodiment, which is not described herein.
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 used for sending a data deleting instruction to the expansion server if the expansion page data stored in the local folder are deleted, so as to trigger the expansion server to delete the data content corresponding to the data deleting instruction from the database.
In this embodiment, the specific execution process of the judging subunit and the second sending subunit may refer to the content of the corresponding method embodiment, which is not described herein.
Another embodiment of the present invention further provides a device for searching 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;
and the receiving unit 803 is used for receiving and displaying the data returned by the expansion server.
In the synchronous data retrieval device provided by the application, the access unit 801 accesses the expansion server, the transmission unit 802 receives the data retrieval instruction input by the user, and sends the data retrieval instruction to the expansion server, so as to trigger the expansion server to match the result data corresponding to the data retrieval instruction from the database and transmit the result data back to the client. The receiving unit 803 receives and displays the data returned by the extension server. Therefore, after the user synchronizes the data to be saved to the expansion server, the user can search the data stored before the user needs to view the data anytime and anywhere, so that the convenience of data searching is improved, and the learning and working efficiency is improved.
In this embodiment, the specific execution of the access unit 801, the transmission unit 802, and the receiving unit 803 can be referred to as the method embodiment corresponding to fig. 3, and will not be described herein.
Optionally, in another embodiment of the present invention, the access unit 801 includes:
an access subunit, configured to access a general server in response to a user operation;
the transmission subunit is used for receiving key query characteristics input by a user on a search page of the universal server, and sending a search instruction to the universal server so as to trigger the universal server to search by utilizing the key parameters, so as to obtain search results and display the search results;
and the switching subunit is used for responding to the operation of the user, and utilizing the link address selected by the user in the display page of the universal server to jump to the expansion server.
In this embodiment, the specific execution process 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 access unit 802 includes:
a processing subunit, configured to format a data retrieval instruction of the user;
and the transmission subunit is used for sending the formatted data retrieval instruction to the expansion server so as to trigger the expansion 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 transmit the result data back.
In this embodiment, the specific execution process of the processing subunit and the transmitting subunit may refer to the content of the corresponding method embodiment, which is not described herein.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for a system or system embodiment, since it is substantially similar to a method embodiment, the description is relatively simple, with reference to the description of the method embodiment being made in part. The systems and system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
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 elements and steps are described above generally in terms of functionality in order to clearly illustrate the 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 solution. 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 (6)

1. A method of data synchronization, comprising:
responding to user operation, and adding data to be synchronized into an expansion page; the expansion page is a self-defined expansion function page;
storing the data of the expansion page to a local folder, and sending the data of the expansion page to an expansion server to trigger the expansion server to store the data of the expansion page to a database of the expansion server; the extension server is a customized third-party server; the expansion server is used for carrying out data connection with the expansion function;
the method further comprises the steps of:
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; receiving and displaying the data returned by the expansion server;
the responding to the user operation, accessing the expansion server, comprises the following steps:
responding to user operation, and accessing a general server; receiving key query features input by a user on a search page of the universal server, and sending a search instruction to the universal server to trigger the universal server to search by utilizing the key query features, so as to obtain search results and display the search results; and responding to the operation of the user, and utilizing the link address selected by the user in the display page of the universal server to jump to the expansion server.
2. The method of claim 1, the sending the data of the expansion page to an expansion server, comprising:
and sending the data of the expansion page to the expansion server by using an object method of a browser.
3. The method of claim 1, further comprising:
judging whether the expansion page data stored in the local folder are deleted or not;
and if the expansion page data stored in the local folder are deleted, sending a data deleting instruction to the expansion server so as to trigger the expansion server to delete the data content corresponding to the data deleting instruction from the database.
4. The method of claim 1, wherein the sending the data retrieval instruction to the extension server to trigger the extension server to match the result data corresponding to the data retrieval instruction from the database and return, comprises:
formatting the data retrieval instruction of the user;
and sending the formatted data retrieval instruction to the expansion server to trigger the expansion server to perform logic calculation on the formatted data retrieval instruction and the data in the database, so as to obtain result data corresponding to the data retrieval instruction and return the result data.
5. The method of claim 1, wherein the closeness of the link address of the extension server to the key query feature meets high-standard requirements.
6. An apparatus for data synchronization, comprising:
the data adding unit is used for responding to the user operation and adding the data to be synchronized into the expansion page; the expansion page is a self-defined expansion function page;
the storage unit is used for storing the data of the expansion page into a local folder and sending the data of the expansion page to an expansion server so as to trigger the expansion server to store the data of the expansion page into a database of the expansion server; the extension server is a customized third-party server; the expansion server is used for carrying out data connection with the expansion function;
the apparatus further comprises:
the access unit is used for responding to the 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;
the receiving unit is used for receiving and displaying the data returned by the expansion server;
the access unit includes: an access subunit, configured to access a general 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 universal server, and sending a search instruction to the universal server so as to trigger the universal server to search by utilizing the key query features, so as to obtain search results and display the search results; and the switching subunit is used for responding to the operation of the user, and utilizing the link address selected by the user in the display page of the universal server to jump to the expansion 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 CN111046104A (en) 2020-04-21
CN111046104B true 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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333112A (en) * 2011-07-22 2012-01-25 深圳市财富万方信息技术有限公司 Method and system for sharing personal information on internet
CN102902738A (en) * 2004-07-29 2013-01-30 雅虎公司 Search systems and methods using in-line contextual queries
CN104243533A (en) * 2013-06-21 2014-12-24 英华达(上海)科技有限公司 Method for performing data sharing and data synchronization in local area network
CN106681596A (en) * 2017-01-03 2017-05-17 北京百度网讯科技有限公司 Information display method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155022A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Data synchronization method, system and device
US8171109B2 (en) * 2007-05-30 2012-05-01 Red Hat, Inc. Mobile bookmarks
CN103546435A (en) * 2012-07-13 2014-01-29 中兴通讯股份有限公司 Data synchronizing method and server
CN104243429B (en) * 2013-06-20 2018-01-30 腾讯科技(深圳)有限公司 A kind of method, apparatus and system for realizing that browser bookmark is synchronous
CN105426403B (en) * 2015-10-30 2020-06-23 北京数科网维技术有限责任公司 Bookmark synchronization method and device

Patent Citations (4)

* 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
CN102333112A (en) * 2011-07-22 2012-01-25 深圳市财富万方信息技术有限公司 Method and system for sharing personal information on internet
CN104243533A (en) * 2013-06-21 2014-12-24 英华达(上海)科技有限公司 Method for performing data sharing and data synchronization in local area network
CN106681596A (en) * 2017-01-03 2017-05-17 北京百度网讯科技有限公司 Information display method and device

Also Published As

Publication number Publication date
CN111046104A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
US9852126B2 (en) Host-based intelligent results related to a character stream
US7540051B2 (en) Mapping web sites based on significance of contact and category
JP3664917B2 (en) Network information display method, storage medium storing the method as a program, and computer executing the program
US7814083B2 (en) Method and system for supporting information access and record media therefor
JP2010508579A (en) Personalized search using macros
US20060026173A1 (en) System and method for searching websites associated with bookmarks
JP2010146332A (en) Information processing apparatus, system, method and program for providing information and recording medium
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
CN111046104B (en) Method and device for synchronizing data and method and device for retrieving synchronous data
EP3338201B1 (en) Dialer application
US20110208718A1 (en) Method and system for adding anchor identifiers to search results
US20020091735A1 (en) Method and apparatus for locating geographically classified establishment information
CA2656338C (en) Enhanced browser navigation
KR20040048199A (en) Method and system for altering web page using detail information correspond to retrieval result
EP2725501A1 (en) System for interactively searching for and displaying information

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