CN104796442B - Webpage access information synchronization method, device and system - Google Patents

Webpage access information synchronization method, device and system Download PDF

Info

Publication number
CN104796442B
CN104796442B CN201410022913.3A CN201410022913A CN104796442B CN 104796442 B CN104796442 B CN 104796442B CN 201410022913 A CN201410022913 A CN 201410022913A CN 104796442 B CN104796442 B CN 104796442B
Authority
CN
China
Prior art keywords
access information
webpage access
terminal
storage space
server
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
CN201410022913.3A
Other languages
Chinese (zh)
Other versions
CN104796442A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410022913.3A priority Critical patent/CN104796442B/en
Publication of CN104796442A publication Critical patent/CN104796442A/en
Application granted granted Critical
Publication of CN104796442B publication Critical patent/CN104796442B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a method, a device and a system for synchronizing webpage access information, wherein the method comprises the following steps: receiving login request information sent by a terminal, wherein the login request information corresponds to an internet application identification number; judging whether the login record corresponding to the Internet application identification number is the first login; and if the login is not the first login, sending second webpage access information to the terminal, receiving synchronous difference data from the terminal, and storing the synchronous difference data into the first storage space, wherein the synchronous difference data is obtained by comparing the first webpage access information with the second webpage access information by the terminal. The embodiment of the invention can keep the webpage access information in the terminal and the server synchronous.

Description

Webpage access information synchronization method, device and system
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of computers, in particular to a method, a device and a system for synchronizing webpage access information.
[ background of the invention ]
When a user accesses a web page, a conventional browser records information of the user accessing the web page, for example, a login ID (Identification number) and a password input by the user, a record of the page accessed by the user, and the like.
The information is stored in the local storage space corresponding to the browser.
In practice, the inventors found that the prior art has at least the following problems:
when the user changes another browser to access the web page or uses another terminal (e.g., a computer, a smart phone) to access the web page, the information of the web page accessed by the user is lost, and thus the user cannot use the information again.
Therefore, a new technical solution is needed to solve the above technical problems.
[ summary of the invention ]
The invention aims to provide a method, a device and a system for synchronizing webpage access information, which can keep the webpage access information in a terminal and a server synchronous.
In order to solve the above problems, the technical solution of the embodiment of the present invention is as follows:
a method for synchronizing webpage access information, the method comprising: receiving login request information sent by a terminal, wherein the login request information corresponds to an Internet application identification number; judging whether the login record corresponding to the Internet application identification number is the first login or not, and generating a judgment result; and if the login record is the non-first-time login according to the judgment result, sending second webpage access information to the terminal, receiving synchronous difference data from the terminal, and storing the synchronous difference data into the first storage space, wherein the synchronous difference data is obtained by comparing the first webpage access information with the second webpage access information by the terminal.
An apparatus for synchronizing web page access information, the apparatus comprising: the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving login request information sent by a terminal, and the login request information corresponds to an Internet application identification number; the judging module is used for judging whether the login record corresponding to the Internet application identification number is the first login and generating a judging result; the device also comprises a first sending module and a first storage module; if the login record is the non-initial login according to the judgment result, the first sending module is used for sending second webpage access information to the terminal, the first receiving module is used for receiving synchronous difference data from the terminal, and the first storage module is used for storing the synchronous difference data into the first storage space, wherein the synchronous difference data is obtained by comparing the first webpage access information with the second webpage access information through the terminal.
A method for synchronizing webpage access information, the method comprising: sending login request information to a server, wherein the login request information corresponds to an internet application identification number; receiving a judgment result sent by the server, wherein the judgment result is related to whether the login record corresponding to the Internet application identification number is the first login; and if the login record is the non-first-time login according to the judgment result, receiving second webpage access information from the server, comparing the first webpage access information with the second webpage access information to obtain synchronous difference data, and sending the synchronous difference data to the server, wherein the synchronous difference data is used for being provided for the server to be stored in a first storage space corresponding to the Internet application identification number.
An apparatus for synchronizing web page access information, the apparatus comprising: the second sending module is used for sending login request information to the server, wherein the login request information corresponds to the Internet application identification number; the second receiving module is used for receiving a judgment result sent by the server, wherein the judgment result is related to whether the login record corresponding to the Internet application identification number is the first login; the device further comprises a comparison module; if the login record is the non-initial login according to the judgment result, the second receiving module is further configured to receive second webpage access information from the server, the comparison module is configured to compare the first webpage access information with the second webpage access information to obtain synchronous difference data, and the second sending module is further configured to send the synchronous difference data to the server, where the synchronous difference data is used to be provided to the server and stored in a first storage space corresponding to the internet application identification number.
A method for synchronizing webpage access information, the method comprising: the method comprises the steps that a terminal sends login request information to a server, wherein the login request information corresponds to an internet application identification number; the server receives login request information sent by the terminal; the server judges whether the login record corresponding to the Internet application identification number is the first login or not and generates a judgment result; the terminal receives a judgment result sent by the server; if the login record is not the first login according to the judgment result, the server sends second webpage access information to the terminal, the terminal receives the second webpage access information from the server, the terminal compares the first webpage access information with the second webpage access information to obtain synchronous difference data and sends the synchronous difference data to the server, and the server receives the synchronous difference data from the terminal and stores the synchronous difference data into the first storage space.
A webpage access information synchronization system comprises a server and a terminal; the server includes: a first receiving module; a judgment module; a first sending module; and a first storage module; the terminal includes: a second sending module; a second receiving module; a comparison module; and a second storage module; the second sending module of the terminal is used for sending login request information to the server, wherein the login request information corresponds to an internet application identification number; the first receiving module of the server is used for receiving login request information sent by the terminal; the judging module of the server is used for judging whether the login record corresponding to the Internet application identification number is the first login and generating a judging result; the second receiving module of the terminal is used for receiving the judgment result sent by the server; if the login record is the non-initial login according to the judgment result, the first sending module of the server is used for sending second webpage access information to the terminal, the second receiving module of the terminal is further used for receiving the second webpage access information from the server, the comparison module of the terminal is used for comparing the first webpage access information with the second webpage access information to obtain synchronous difference data, the second sending module is further used for sending the synchronous difference data to the server, the first receiving module of the server is further used for receiving the synchronous difference data from the terminal, and the first storage module is further used for storing the synchronous difference data into the first storage space.
Compared with the prior art, the embodiment of the invention can keep the webpage access information in the terminal and the server synchronous, and avoids the condition that a user cannot use the previous webpage access data record after replacing another browser, using another device, refreshing and uninstalling the reinstalled software.
In order to make the aforementioned and other objects of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below:
[ description of the drawings ]
Fig. 1 is a schematic diagram of the working modes of a method, an apparatus and a system for synchronizing webpage access information according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an operating environment of the server or the terminal of FIG. 1;
FIG. 3 is a block diagram of a first embodiment of a server of the present invention;
FIG. 4 is a flowchart of a first embodiment of a method for a server to perform synchronization of web page access information in accordance with the present invention;
fig. 5 is a block diagram of a first embodiment of the terminal of the present invention;
fig. 6 is a flowchart of a first embodiment of a method for a terminal to perform synchronization of web page access information according to the present invention;
fig. 7 to 9 are schematic diagrams of a flow of synchronizing web page access information between a server and a terminal by the web page access information synchronizing system of the present invention.
[ detailed description ] embodiments
The following description of the embodiments refers to the accompanying drawings for illustrating the specific embodiments in which the invention may be practiced.
The term "web page access information" refers to data (usually encrypted) stored on a local Terminal (Client Terminal) of a user for identifying the user identity of some websites, and may include a small text file, and the small text file corresponds to a Cookie in english.
The term "internet application identification number" refers to an identification number of an internet application, wherein the internet application may be a web browser (e.g., QQ browser), an instant messaging tool (e.g., QQ), an email application (e.g., QQ mailbox), and the like, and the identification number may be an account number of the internet application, e.g., QQ number, a micro-signal, a cell phone number, an email address, and the like.
The term "terminal" refers to a client of the above-mentioned internet application, and the operation of the client is implemented by certain hardware devices, and the hardware devices may have an operation environment as shown in fig. 2.
The terms "component," "module," "system," "interface," and the like generally refer to: hardware, a combination of hardware and software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a controller and the controller can be a component. One or more components can reside within a process and/or thread of execution and a component can be localized on one computer and/or distributed between two or more computers.
The word "embodiment" is used herein to mean serving as an example, instance, or illustration. In addition, the articles "a" and "an" as used in this specification and the appended claims may generally be construed to mean "one or more" unless specified otherwise or clear from context to be directed to a singular form.
The claimed subject matter may be implemented as a method, apparatus, or article of manufacture using standard programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof to control a computer to implement the disclosed subject matter. The term "article of manufacture" as used herein is intended to encompass a computer program accessible from any computer-readable device, carrier, or media. Of course, those skilled in the art will recognize many modifications may be made to this configuration without departing from the scope or spirit of the claimed subject matter.
Fig. 1, 2, and the following discussion provide descriptions of modes of operation, operating environments to implement one or more embodiments set forth herein. The operating mode, operating environment shown in FIG. 1 is only one example of a suitable operating mode, operating environment and is not intended to suggest any limitation as to the scope of use or functionality of the operating mode, operating environment.
The method, the device and the system for synchronizing the webpage access information can be applied to the following equipment: including, but not limited to, Personal computers, server computers, hand-held or laptop devices, mobile devices (such as mobile phones, Personal Digital Assistants (PDAs), media players, and the like), multiprocessor systems, consumer electronics, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
Fig. 1 shows an operation mode of an apparatus or system according to one or more embodiments provided in the present specification, wherein the web page access information synchronization system of the present invention can be regarded as a combination of a server 100 and a client device (terminal) 200, wherein the server 100 and the client device (terminal) 200 communicate via a network 300. The server 100 may be provided with a database and a cloud processor, and the database and the cloud processor in the server 100 may provide data storage and data processing functions for data in the client device 200. The server 100 and the client device (terminal) 200 interact and exchange data through the network 300.
Referring to fig. 2, fig. 2 is a schematic view of an operating environment of a method and an apparatus for synchronizing webpage access information according to an embodiment of the present invention.
The method and the device for synchronizing the webpage access information can be operated in client equipment (terminal) 200 or a server 100 which is provided with a computer operating system, and the client equipment (terminal) 200 or the server 100 can be one or a system formed by combining more than one of a desktop computer, a notebook computer, a smart phone and the like. The client device (terminal) 200 or the server 100 may include any combination 100 of the processor 1001, the memory 1002, the sensor 1004, the clock signal generator 1006, the communication interface 1005, the input/output device 1003, and the like, and any combination 100 of the processor 1001, the memory 1002, the sensor 1004, the input/output device 1003, the communication interface 1005, the clock signal generator 1006, and the like in the client device (terminal) 200 is used to implement the steps in the web page access information synchronization method and the functions in the web page access information synchronization apparatus (terminal 200/server 100) according to the embodiment of the present invention.
Referring to fig. 3, fig. 3 is a block diagram of a first embodiment of the server 100 of the present invention.
The web page access information synchronization apparatus (server 100) of the present embodiment includes a first receiving module 301, a determining module 303, a first transmitting module 304, and a first storing module 302.
The first receiving module 301 is configured to receive login request information sent by the terminal 200, where the login request information corresponds to an internet application identification number.
The judging module 303 is configured to judge whether the login record corresponding to the internet application identification number is a first login, and generate a judgment result. For example, the determining module 303 determines whether the cloud account corresponding to the current internet application identification number is first logged in (first access to the server 100), and generates the determination result.
If the login record is the first login according to the determination result, the first receiving module 301 is further configured to receive first webpage access information sent by the terminal 200, and the first storing module 302 is configured to store the first webpage access information in a first storage space corresponding to the internet application identification number, where the first webpage access information is stored in a second storage space of the terminal 200.
If the login record is a non-initial login according to the determination result, the first sending module 304 is configured to send second webpage access information to the terminal 200, the first receiving module 301 is configured to receive synchronous difference data from the terminal 200, and the first storage module 302 is configured to store the synchronous difference data in the first storage space, where the synchronous difference data is obtained by comparing the first webpage access information with the second webpage access information by the terminal 200. For example, if the first web page access information is A, C, D, E four data records and the second web page access information is A, B, C three data records, the synchronization difference data between the first web page access information and the second web page access information is B, D, E three data records.
Through the technical scheme, the webpage access information in the terminal 200 and the server 100 can be kept synchronous in the embodiment, and the situation that a user cannot use the previous webpage access data record after replacing another browser, using another device, refreshing and uninstalling reinstalled software is avoided.
The second embodiment of the web page access information synchronization apparatus of the present invention is similar to the first embodiment described above, except that:
the first storage module 302 is further configured to update the second webpage access information in the first storage space according to the synchronization difference data.
In this embodiment, as described in the example of the first embodiment, the synchronous difference data is three data records of B, D, E, and the second webpage access information is three data records of A, B, C, then the first storage module 302 updates the synchronous difference data (three data records of B, D, E) to the second webpage access information to obtain five data records of A, B, C, D, E, and at this time, the second webpage access information is five data records of A, B, C, D, E.
The third embodiment of the web page access information synchronizing device of the present invention is similar to the first or second embodiment described above, except that:
the first receiving module 301 is further configured to receive change result data sent by the terminal 200, where the change result data is obtained by changing, by the terminal 200, the first webpage access information or third webpage access information, and the third webpage access information is obtained by updating, by the terminal 200, the first webpage access information according to the synchronization difference data.
The first storage module 302 is further configured to store the change result data in the first storage space.
In this embodiment, it is assumed that after the terminal 200 and the server 100 perform the synchronization operation of the web access information, the first web access information and the second web access information are both A, B, C, D, E pieces of data records. At this time, if the data record of F is newly added to the first webpage access information of the terminal 200, the change result data is "newly added F data record"; if the data record of a is deleted from the first webpage access information of the terminal 200, the change result data is "delete a data record"; if the first web page access information of the terminal 200 modifies the data record B, the modification result data is "modify B data record". The first storage module 302 stores the three types of change result data, i.e., "add F data record", "delete a data record", and "modify B data record", in the first storage space.
A fourth embodiment of the web page access information synchronizing device of the present invention is similar to any of the first to third embodiments described above, except that:
the first storage module 302 is further configured to update the second webpage access information in the first storage space according to the change result data.
In this embodiment, as described in the example of the third embodiment, the first storage module 302 updates the second web access information in the first storage space with the "new F data record" so that the second web access information is A, B, C, D, E, F of six data records; or, the first storage module 302 updates the second webpage access information in the first storage space by using the "delete a data record" so that the second webpage access information is B, C, D, E four data records; or, the first storage module 302 updates the second webpage access information in the first storage space by using the "delete a data record" so that the second webpage access information is A, B, C, D, E five data records.
Referring to fig. 4, fig. 4 is a flowchart of a first embodiment of the method for the server 100 to perform synchronization of web page access information according to the present invention.
The webpage access information synchronization method of the embodiment comprises the following steps:
in step 401, the receiving module 301 receives login request information sent by the terminal 200, where the login request information corresponds to an internet application identification number.
In step 402, the determining module 303 determines whether the login record corresponding to the internet application identification number is a first login, and generates a determination result. For example, the determining module 303 determines whether the cloud account corresponding to the current internet application identification number is first logged in (first access to the server 100), and generates the determination result.
If the judgment result is that the login record is the first login, the step 403 is entered; if the determination result is that the login record is not the first login, go to step 404.
In step 403, the first receiving module 301 receives the first webpage access information sent by the terminal 200.
Step 405, the first storage module 302 stores the first webpage access information into a first storage space corresponding to the internet application identification number, wherein the first webpage access information is stored in a second storage space of the terminal 200.
In step 404, the first sending module 304 sends the second webpage access information to the terminal 200.
In step 406, the first receiving module 301 receives synchronization difference data from the terminal 200.
Step 407, the first storage module 302 stores the synchronous difference data in the first storage space, where the synchronous difference data is obtained by comparing the first webpage access information and the second webpage access information by the terminal 200. For example, if the first web page access information is A, C, D, E four data records and the second web page access information is A, B, C three data records, the synchronization difference data between the first web page access information and the second web page access information is B, D, E three data records.
Through the technical scheme, the webpage access information in the terminal 200 and the server 100 can be kept synchronous in the embodiment, and the situation that a user cannot use the previous webpage access data record after replacing another browser, using another device, refreshing and uninstalling reinstalled software is avoided.
The second embodiment of the method for synchronizing webpage access information of the present invention is similar to the first embodiment, and is different in that:
the step of storing the synchronization difference data into the first storage space (step 407) is:
the first storage module 302 updates the second webpage access information in the first storage space according to the synchronization difference data.
In this embodiment, as described in the example of the first embodiment, the synchronous difference data is three data records of B, D, E, and the second webpage access information is three data records of A, B, C, then the first storage module 302 updates the synchronous difference data (three data records of B, D, E) to the second webpage access information to obtain five data records of A, B, C, D, E, and at this time, the second webpage access information is five data records of A, B, C, D, E.
The third embodiment of the method for synchronizing webpage access information of the present invention is similar to the first or second embodiment, and is different in that:
the method further comprises the following steps:
the first receiving module 301 receives change result data sent by the terminal 200, where the change result data is obtained by changing the first webpage access information or third webpage access information by the terminal 200, and the third webpage access information is obtained by updating the first webpage access information by the terminal 200 according to the synchronization difference data.
The first storage module 302 stores the change result data in the first storage space.
In this embodiment, it is assumed that after the terminal 200 and the server 100 perform the synchronization operation of the web access information, the first web access information and the second web access information are both A, B, C, D, E pieces of data records. At this time, if the data record of F is newly added to the first webpage access information of the terminal 200, the change result data is "newly added F data record"; if the data record of a is deleted from the first webpage access information of the terminal 200, the change result data is "delete a data record"; if the first web page access information of the terminal 200 modifies the data record B, the modification result data is "modify B data record". The first storage module 302 stores the three types of change result data, i.e., "add F data record", "delete a data record", and "modify B data record", in the first storage space.
The fourth embodiment of the method for synchronizing web page access information according to the present invention is similar to any of the first to third embodiments described above, and is different therefrom in that:
the step of storing the change result data in the first storage space is:
the first storage module 302 updates the second webpage access information in the first storage space according to the change result data.
In this embodiment, as described in the example of the third embodiment, the first storage module 302 updates the second web access information in the first storage space with the "new F data record" so that the second web access information is A, B, C, D, E, F of six data records; or, the first storage module 302 updates the second webpage access information in the first storage space by using the "delete a data record" so that the second webpage access information is B, C, D, E four data records; or, the first storage module 302 updates the second webpage access information in the first storage space by using the "delete a data record" so that the second webpage access information is A, B, C, D, E five data records.
Referring to fig. 5, fig. 5 is a block diagram of a first embodiment of a terminal 200 of the present invention.
The web page access information synchronization apparatus (terminal 200) of the present embodiment includes a second sending module 501, a second receiving module 502, and a comparing module 503.
The second sending module 501 is configured to send login request information to the server 100, where the login request information corresponds to an internet application identification number.
The second receiving module 502 is configured to receive a determination result sent by the server 100, where the determination result is related to whether the login record corresponding to the internet application identifier is a first login record.
If the determination result is that the login record is the first login, the second sending module 501 is further configured to send first webpage access information to the server 100, where the first webpage access information is stored in a second storage space for storing webpage access information.
If the login record is a non-initial login according to the determination result, the second receiving module 502 is further configured to receive second webpage access information from the server 100, and the comparing module 503 is configured to compare the first webpage access information with the second webpage access information to obtain the synchronization difference data. For example, if the first webpage access information is A, C, D, E four data records, and the second webpage access information is A, B, C three data records, the comparing module 503 can obtain three data records after comparison, where the synchronous difference data of the first webpage access information and the second webpage access information is B, D, E.
The second sending module 501 is further configured to send the synchronization difference data to the server 100, where the synchronization difference data is provided to the server 100 and stored in the first storage space corresponding to the internet application identification number.
Through the technical scheme, the webpage access information in the terminal 200 and the server 100 can be kept synchronous in the embodiment, and the situation that a user cannot use the previous webpage access data record after replacing another browser, using another device, refreshing and uninstalling reinstalled software is avoided.
The second embodiment of the web page access information synchronization apparatus of the present invention is similar to the first embodiment described above, except that:
the synchronization difference data is used for providing the server 100 with an update of the second webpage access information in the first storage space. In this embodiment, it is assumed that the synchronization difference data is B, D, E three data records, and the second web access information is A, B, C three data records, the synchronization difference data (B, D, E three data records) is used to be provided to the first storage module 302 of the server 100 to update the second web access information to obtain A, B, C, D, E five data records, at this time, the second web access information is A, B, C, D, E five data records.
The third embodiment of the web page access information synchronizing device of the present invention is similar to the first or second embodiment described above, except that:
the apparatus also includes a second storage module.
And the second storage module is used for updating the first webpage access information in the second storage space according to the synchronous difference data to obtain third webpage access information under the condition that the login record is not the first login according to the judgment result.
Wherein the third webpage access information is stored in the second storage space.
In this embodiment, the second storage module updates the first webpage access information by using the synchronization difference data (B, D, E, which are three data records), so as to obtain A, B, C, D, E, where the first webpage access information is A, B, C, D, E, which is five data records.
A fourth embodiment of the web page access information synchronizing device of the present invention is similar to any of the first to third embodiments described above, except that:
the apparatus also includes a change module.
The change module is used for changing the first webpage access information or the third webpage access information to obtain change result data.
The second sending module 501 is further configured to send the change result data to the server 100, where the change result data is provided to the server 100 and stored in the first storage space.
In this embodiment, it is assumed that after the terminal 200 and the server 100 perform the synchronization operation of the web access information, the first web access information and the second web access information are both A, B, C, D, E pieces of data records. At this time, if the data record of F is newly added to the first webpage access information of the terminal 200, the change result data is "newly added F data record"; if the data record of a is deleted from the first webpage access information of the terminal 200, the change result data is "delete a data record"; if the first web page access information of the terminal 200 modifies the data record B, the modification result data is "modify B data record". The three types of change result data, i.e., "add F data record", "delete a data record", and "modify B data record", are provided to the first storage module 302 of the server 100 to be stored in the first storage space.
A fifth embodiment of the web page access information synchronizing device of the present invention is similar to any of the first to fourth embodiments described above, except that:
and the second storage module is further used for updating the data in the second storage space according to the data corresponding to the first webpage access information after the internet application corresponding to the internet application identification number exits the login.
In this embodiment, assuming that the first web page access information is A, B, C, D, E data records before logging out, the second storage module restores the first web page access information to A, C, D, E data records after logging out.
Referring to fig. 6, fig. 6 is a flowchart of a first embodiment of the terminal 200 of the present invention performing a web access information synchronization method.
The webpage access information synchronization method of the embodiment comprises the following steps:
step 601, the second sending module 501 sends login request information to the server 100, where the login request information corresponds to an internet application identification number.
In step 602, the second receiving module 502 receives a determination result sent by the server 100, where the determination result is related to whether the login record corresponding to the internet application identifier is a first login record.
Step 603, if the judgment result is that the login record is the first login, step 604 is entered; if the determination result is that the log-in record is not the first log-in, step 605 is entered.
In step 604, the second sending module 501 sends first webpage access information to the server 100, where the first webpage access information is stored in a second storage space for storing webpage access information.
In step 605, the second receiving module 502 receives second webpage access information from the server 100.
In step 606, the comparing module 503 compares the first webpage access information with the second webpage access information to obtain synchronous difference data. For example, if the first webpage access information is A, C, D, E four data records, and the second webpage access information is A, B, C three data records, the comparing module 503 can obtain three data records after comparison, where the synchronous difference data of the first webpage access information and the second webpage access information is B, D, E.
Step 607, the second sending module 501 sends the synchronization difference data to the server 100, where the synchronization difference data is used for being provided to the server 100 and stored in the first storage space corresponding to the internet application identification number.
Through the technical scheme, the webpage access information in the terminal 200 and the server 100 can be kept synchronous in the embodiment, and the situation that a user cannot use the previous webpage access data record after replacing another browser, using another device, refreshing and uninstalling reinstalled software is avoided.
The second embodiment of the method for synchronizing webpage access information of the present invention is similar to the first embodiment, and is different in that:
the synchronization difference data is used for providing the server 100 with an update of the second webpage access information in the first storage space. In this embodiment, it is assumed that the synchronization difference data is B, D, E three data records, and the second web access information is A, B, C three data records, the synchronization difference data (B, D, E three data records) is used to be provided to the first storage module 302 of the server 100 to update the second web access information to obtain A, B, C, D, E five data records, at this time, the second web access information is A, B, C, D, E five data records.
The third embodiment of the method for synchronizing webpage access information of the present invention is similar to the first or second embodiment, and is different in that:
the method further comprises the following steps:
and the second storage module updates the first webpage access information in the second storage space according to the synchronous difference data to obtain third webpage access information under the condition that the judgment result is that the login record is not the first login.
Wherein the third webpage access information is stored in the second storage space.
In this embodiment, the second storage module updates the first webpage access information by using the synchronization difference data (B, D, E, which are three data records), so as to obtain A, B, C, D, E, where the first webpage access information is A, B, C, D, E, which is five data records.
The fourth embodiment of the method for synchronizing web page access information according to the present invention is similar to any of the first to third embodiments described above, and is different therefrom in that:
the method further comprises the following steps:
and the change module changes the first webpage access information or the third webpage access information to obtain change result data.
The second sending module 501 sends the change result data to the server 100, where the change result data is provided to the server 100 and stored in the first storage space.
In this embodiment, it is assumed that after the terminal 200 and the server 100 perform the synchronization operation of the web access information, the first web access information and the second web access information are both A, B, C, D, E pieces of data records. At this time, if the data record of F is newly added to the first webpage access information of the terminal 200, the change result data is "newly added F data record"; if the data record of a is deleted from the first webpage access information of the terminal 200, the change result data is "delete a data record"; if the first web page access information of the terminal 200 modifies the data record B, the modification result data is "modify B data record". The three types of change result data, i.e., "add F data record", "delete a data record", and "modify B data record", are provided to the first storage module 302 of the server 100 to be stored in the first storage space.
A fifth embodiment of the method for synchronizing web page access information according to the present invention is similar to any of the first to fourth embodiments described above, and is different therefrom in that:
the method further comprises the following steps:
and after the internet application corresponding to the internet application identification number exits the login, the second storage module updates the data in the second storage space according to the data corresponding to the first webpage access information.
In this embodiment, assuming that the first web page access information is A, B, C, D, E data records before logging out, the second storage module restores the first web page access information to A, C, D, E data records after logging out.
The first embodiment of the web page access information synchronization system of the present invention includes a server 100 and a terminal 200, as shown in fig. 1. The server 100 includes a first receiving module 301, a determining module 303, a first sending module 304, and a first storing module 302. The terminal 200 includes a second sending module 501, a second receiving module 502, a comparing module 503, a second storing module, and a changing module.
The second sending module 501 of the terminal 200 is configured to send login request information to the server 100, where the login request information corresponds to an internet application identification number.
The first receiving module 301 of the server 100 is configured to receive login request information sent by the terminal 200.
The determining module 303 of the server 100 is configured to determine whether the login record corresponding to the internet application identification number is a first login, and generate a determination result. For example, the determining module 303 determines whether the cloud account corresponding to the current internet application identification number is first logged in (first access to the server 100), and generates the determination result.
The second receiving module 502 of the terminal 200 is configured to receive the determination result sent by the server 100.
If the login record is the first login according to the determination result, the second sending module 501 of the terminal 200 is further configured to send first web page access information to the server 100, where the first web page access information is stored in a second storage space of the terminal 200, the second storage space is used to store the web page access information, the first receiving module 301 of the server 100 is further configured to receive the first web page access information sent by the terminal 200, and the first storage module 302 is configured to store the first web page access information in a first storage space of the server 100, where the first storage space corresponds to the internet application identification number.
If the login record is a non-initial login according to the determination result, the first sending module 304 of the server 100 is configured to send second webpage access information to the terminal 200, the second receiving module 502 of the terminal 200 is further configured to receive the second webpage access information from the server 100, and the comparing module 503 of the terminal 200 is configured to compare the first webpage access information with the second webpage access information to obtain the synchronization difference data. For example, if the first webpage access information is A, C, D, E four data records, and the second webpage access information is A, B, C three data records, the comparing module 503 can obtain three data records after comparison, where the synchronous difference data of the first webpage access information and the second webpage access information is B, D, E.
The second sending module 501 is further configured to send the synchronization difference data to the server 100, the first receiving module 301 of the server 100 is further configured to receive the synchronization difference data from the terminal 200, and the first storing module 302 is further configured to store the synchronization difference data in the first storage space.
Through the technical scheme, the webpage access information in the terminal 200 and the server 100 can be kept synchronous in the embodiment, and the situation that a user cannot use the previous webpage access data record after replacing another browser, using another device, refreshing and uninstalling reinstalled software is avoided.
The second embodiment of the web page access information synchronization system of the present invention is similar to the first embodiment described above, except that:
the first storage module 302 of the server 100 is configured to update the second webpage access information in the first storage space according to the synchronization difference data.
In this embodiment, as described in the example of the first embodiment, the synchronous difference data is three data records of B, D, E, and the second webpage access information is three data records of A, B, C, then the first storage module 302 updates the synchronous difference data (three data records of B, D, E) to the second webpage access information to obtain five data records of A, B, C, D, E, and at this time, the second webpage access information is five data records of A, B, C, D, E.
The third embodiment of the web page access information synchronization system of the present invention is similar to the first or second embodiment described above, except that:
and when the login record is the non-initial login according to the judgment result, the second storage module of the terminal 200 is configured to update the first webpage access information in the second storage space according to the synchronization difference data to obtain third webpage access information.
Wherein the third webpage access information is stored in the second storage space.
In this embodiment, the second storage module updates the first webpage access information by using the synchronization difference data (B, D, E, which are three data records), so as to obtain A, B, C, D, E, where the first webpage access information is A, B, C, D, E, which is five data records.
The fourth embodiment of the web page access information synchronization system of the present invention is similar to any of the first to third embodiments described above, except that:
the changing module of the terminal 200 is configured to change the first webpage access information or the third webpage access information to obtain change result data.
The second sending module 501 of the terminal 200 is further configured to send the change result data to the server 100.
The first receiving module 301 of the server 100 is further configured to receive change result data sent by the terminal 200, where the third webpage access information is obtained by updating the first webpage access information by the terminal 200 according to the synchronization difference data.
The first storage module 302 of the server 100 is further configured to store the change result data in the first storage space.
In this embodiment, it is assumed that after the terminal 200 and the server 100 perform the synchronization operation of the web access information, the first web access information and the second web access information are both A, B, C, D, E pieces of data records. At this time, if the data record of F is newly added to the first webpage access information of the terminal 200, the change result data is "newly added F data record"; if the data record of a is deleted from the first webpage access information of the terminal 200, the change result data is "delete a data record"; if the first web page access information of the terminal 200 modifies the data record B, the modification result data is "modify B data record". The first storage module 302 stores the three types of change result data, i.e., "add F data record", "delete a data record", and "modify B data record", in the first storage space.
A fifth embodiment of the web page access information synchronization system of the present invention is similar to any of the first to fourth embodiments described above, except that:
the first storage module 302 of the server 100 is further configured to update the second webpage access information in the first storage space according to the change result data.
In this embodiment, as described in the example of the third embodiment, the first storage module 302 updates the second web access information in the first storage space with the "new F data record" so that the second web access information is A, B, C, D, E, F of six data records; or, the first storage module 302 updates the second webpage access information in the first storage space by using the "delete a data record" so that the second webpage access information is B, C, D, E four data records; or, the first storage module 302 updates the second webpage access information in the first storage space by using the "delete a data record" so that the second webpage access information is A, B, C, D, E five data records.
A sixth embodiment of the web page access information synchronization system of the present invention is similar to any of the first to fifth embodiments described above, except that:
the second storage module of the terminal 200 is further configured to update the data in the second storage space according to the data corresponding to the first webpage access information after the internet application corresponding to the internet application identification number logs out.
In this embodiment, assuming that the first web page access information is A, B, C, D, E data records before logging out, the second storage module restores the first web page access information to A, C, D, E data records after logging out.
The first embodiment of the method for executing the synchronization of the webpage access information by the webpage access information synchronization system comprises the following steps:
the second sending module 501 of the terminal 200 sends login request information to the server 100, where the login request information corresponds to an internet application identification number.
The first receiving module 301 of the server 100 receives the login request information sent by the terminal 200.
The determining module 303 of the server 100 determines whether the login record corresponding to the internet application identification number is a first login, and generates a determination result. For example, the determining module 303 determines whether the cloud account corresponding to the current internet application identification number is first logged in (first access to the server 100), and generates the determination result.
The second receiving module 502 of the terminal 200 receives the determination result sent by the server 100.
If the login record is the first login according to the determination result, the second sending module 501 of the terminal 200 sends first web page access information to the server 100, where the first web page access information is stored in a second storage space of the terminal 200, the second storage space is used for storing the web page access information, the first receiving module 301 of the server 100 receives the first web page access information sent by the terminal 200, and the first storage module 302 stores the first web page access information in a first storage space of the server 100, where the first storage space corresponds to the internet application identification number.
If the login record is a non-initial login according to the determination result, the first sending module 304 of the server 100 sends second webpage access information to the terminal 200, the second receiving module 502 of the terminal 200 receives the second webpage access information from the server 100, and the comparing module 503 of the terminal 200 compares the first webpage access information with the second webpage access information to obtain the synchronization difference data. For example, if the first webpage access information is A, C, D, E four data records, and the second webpage access information is A, B, C three data records, the comparing module 503 can obtain three data records after comparison, where the synchronous difference data of the first webpage access information and the second webpage access information is B, D, E.
The second sending module 501 sends the synchronization difference data to the server 100, the first receiving module 301 of the server 100 receives the synchronization difference data from the terminal 200, and the first storing module 302 stores the synchronization difference data in the first storage space.
Through the technical scheme, the webpage access information in the terminal 200 and the server 100 can be kept synchronous in the embodiment, and the situation that a user cannot use the previous webpage access data record after replacing another browser, using another device, refreshing and uninstalling reinstalled software is avoided.
The second embodiment of the web access information synchronization system of the present invention for executing the web access information synchronization method is similar to the first embodiment described above, but is different in that:
the step of storing the synchronization difference data into the first storage space is:
the first storage module 302 of the server 100 updates the second webpage access information in the first storage space according to the synchronization difference data.
In this embodiment, as described in the example of the first embodiment, the synchronous difference data is three data records of B, D, E, and the second webpage access information is three data records of A, B, C, then the first storage module 302 updates the synchronous difference data (three data records of B, D, E) to the second webpage access information to obtain five data records of A, B, C, D, E, and at this time, the second webpage access information is five data records of A, B, C, D, E.
A third embodiment of the web access information synchronization system of the present invention, which executes a web access information synchronization method, is similar to the first or second embodiment described above, except that:
the method further comprises the following steps:
and if the login record is the non-initial login according to the judgment result, updating the first webpage access information in the second storage space by the second storage module of the terminal 200 according to the synchronous difference data to obtain third webpage access information.
Wherein the third webpage access information is stored in the second storage space.
In this embodiment, the second storage module updates the first webpage access information by using the synchronization difference data (B, D, E, which are three data records), so as to obtain A, B, C, D, E, where the first webpage access information is A, B, C, D, E, which is five data records.
A fourth embodiment of the web access information synchronization system according to the present invention, which executes the web access information synchronization method, is similar to any of the first to third embodiments described above, except that:
the method further comprises the following steps:
the change module of the terminal 200 changes the first webpage access information or the third webpage access information to obtain change result data.
The second sending module 501 of the terminal 200 sends the change result data to the server 100.
The first receiving module 301 of the server 100 receives the change result data sent by the terminal 200, where the third webpage access information is obtained by updating the first webpage access information by the terminal 200 according to the synchronization difference data.
The first storage module 302 of the server 100 stores the change result data in the first storage space.
In this embodiment, it is assumed that after the terminal 200 and the server 100 perform the synchronization operation of the web access information, the first web access information and the second web access information are both A, B, C, D, E pieces of data records. At this time, if the data record of F is newly added to the first webpage access information of the terminal 200, the change result data is "newly added F data record"; if the data record of a is deleted from the first webpage access information of the terminal 200, the change result data is "delete a data record"; if the first web page access information of the terminal 200 modifies the data record B, the modification result data is "modify B data record". The first storage module 302 stores the three types of change result data, i.e., "add F data record", "delete a data record", and "modify B data record", in the first storage space.
A fifth embodiment of the web access information synchronization system of the present invention, which executes the web access information synchronization method, is similar to any one of the first to fourth embodiments described above, except that:
the step of storing the change result data in the first storage space by the server 100 is:
the first storage module 302 of the server 100 updates the second webpage access information in the first storage space according to the change result data.
In this embodiment, as described in the example of the third embodiment, the first storage module 302 updates the second web access information in the first storage space with the "new F data record" so that the second web access information is A, B, C, D, E, F of six data records; or, the first storage module 302 updates the second webpage access information in the first storage space by using the "delete a data record" so that the second webpage access information is B, C, D, E four data records; or, the first storage module 302 updates the second webpage access information in the first storage space by using the "delete a data record" so that the second webpage access information is A, B, C, D, E five data records.
A sixth embodiment of the web access information synchronization system of the present invention, which executes the web access information synchronization method, is similar to any one of the first to fifth embodiments described above, except that:
the method further comprises the following steps:
and after the internet application corresponding to the internet application identification number logs out, the second storage module of the terminal 200 updates the data in the second storage space according to the data corresponding to the first webpage access information.
In this embodiment, assuming that the first web page access information is A, B, C, D, E data records before logging out, the second storage module restores the first web page access information to A, C, D, E data records after logging out.
Referring to fig. 7 to 9, fig. 7 to 9 are schematic views of a flow of synchronizing web page access information between a server and a terminal by the web page access information synchronizing system of the present invention.
The cookie (web page access information) synchronization mechanism based on the account number proposed by the scheme is as follows: browser clients (terminals 200) of mobile phones and Personal Computers (PCs) provide a function of synchronizing contents of forms (web access information) in pages based on cloud accounts, and a user can select whether to synchronize according to Personal requirements.
The procedure of the form password (webpage access information) synchronization mode based on the account number is as follows: the user turns on this function, and each time a cookie (web page access information) filled in the page is recorded locally in the browser (since the cookie relates to the user's private information, its content is encrypted and cannot be easily stolen). Step 701, when a user logs in a cloud account (such as a QQ number); step 702, detecting whether the current QQ number appears at the server for the first time, if it is in the initialization state (i.e. the account appears at the server for the first time), then synchronizing the history cookie (web page access information) information existing locally to the network (step 703). If the mobile phone is in a non-initialized state (namely, the account appears on the server side and cookie data stored in the cloud exists), the cookie data corresponding to the account is downloaded to the local mobile phone (step 704), and then is compared with the cookie data stored locally (step 705), and then the form data with local difference is merged (step 706) and synchronized to the network (step 707). The local cookie (web page access information) information is changed later, for example, in step 801, it is detected whether there is any change operation (new web page access or new login information) in the local cookie (web page access information), and if so, it can be synchronized to the network in an automatic manner (step 803). After the browser client of the mobile phone or the PC logs out of the cloud account, the browser client is restored to form data (web access information) stored locally before logging in the QQ.
The cookie (webpage access information) synchronization function among multiple devices based on the cloud account can realize that a user can share the same cookie (webpage access information) data in a single device or multiple devices, so that the cookie (webpage access information) is not lost due to software reinstallation and terminal replacement, and multi-terminal seamless transition and sharing of user data can be realized.
In the present invention, computer readable instructions to implement one or more embodiments provided by the present specification can be in memory 1002. The memory 1002 may also store other computer readable instructions to implement an operating system, an application program, and the like. Computer readable instructions may be loaded in memory 1002 for execution by processor 1001.
Computer readable media includes computer storage media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions or other data. Memory 1002 is an example of computer storage media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact disk Read-Only Memory), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices.
Computer readable instructions may be implemented as program modules, such as functions, objects, Application Programming Interfaces (APIs), data structures, etc. that perform particular tasks or implement particular abstract data types. Typically, the functionality of the computer readable instructions may be combined or distributed as desired in various environments.
Although the invention has been shown and described with respect to one or more implementations, equivalent alterations and modifications will occur to others skilled in the art based upon a reading and understanding of this specification and the annexed drawings. The present invention includes all such modifications and variations, and is limited only by the scope of the following claims. In particular regard to the various functions performed by the above described components (e.g., elements, resources, etc.), the terms used to describe such components are intended to correspond, unless otherwise indicated, to any component which performs the specified function of the described component (e.g., that is functionally equivalent), even though not structurally equivalent to the disclosed structure which performs the function in the herein illustrated exemplary implementations of the specification. In addition, while a particular feature of the specification may have been disclosed with respect to only one of several implementations, such feature may be combined with one or more other features of the other implementations as may be desired and advantageous for a given or particular application. Furthermore, to the extent that the terms "includes," has, "" contains, "or variants thereof are used in either the detailed description or the claims, such terms are intended to be inclusive in a manner similar to the term" comprising.
The present description provides various operations of the embodiments. The order in which some or all of the operations are described should not be construed as to imply that these operations are necessarily order dependent. Those skilled in the art will appreciate alternative orderings having the benefit of this description. Moreover, it should be understood that not all operations are necessarily present in each embodiment provided by the present description.
In summary, although the present invention has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, therefore, the scope of the present invention shall be determined by the appended claims.

Claims (25)

1. A method for synchronizing webpage access information is characterized by comprising the following steps:
receiving login request information sent by a terminal, wherein the login request information corresponds to an Internet application identification number;
judging whether the login record corresponding to the Internet application identification number is the first login or not, and generating a judgment result;
if the login record is the non-initial login, sending second webpage access information to the terminal, receiving synchronous difference data from the terminal, and storing the synchronous difference data into a first storage space, wherein the synchronous difference data is obtained by comparing first webpage access information with second webpage access information by the terminal, the synchronous difference data comprises information which belongs to the second webpage access information and does not belong to the first webpage access information, and information which belongs to the first webpage access information and does not belong to the second webpage access information, the first webpage access information is stored in a second storage space of the terminal for storing the webpage access information, and the data corresponding to the first webpage access information is the data corresponding to the terminal after the terminal logs out of the internet application corresponding to the internet application identification number, restoring the data in the second storage space to the data before the second webpage access information is received; the second webpage access information is also used for triggering the terminal to update the first webpage access information in the second storage space according to the synchronous difference data so as to obtain third webpage access information, and the third webpage access information is stored in the second storage space;
and updating the second webpage access information in the first storage space according to the synchronous difference data, and enabling the updated second webpage access information to comprise the synchronous difference data.
2. The method for synchronizing webpage access information according to claim 1, wherein if the login record is a first login as a result of the determination, receiving first webpage access information sent by the terminal, and storing the first webpage access information in a first storage space corresponding to the internet application identification number, wherein the first webpage access information is stored in a second storage space of the terminal.
3. The method for synchronizing webpage access information according to any one of claims 1 to 2, wherein the method further comprises:
receiving change result data sent by the terminal, wherein the change result data is obtained after the terminal changes the first webpage access information or third webpage access information, and the third webpage access information is obtained by updating the first webpage access information by the terminal according to the synchronous difference data;
and storing the change result data into the first storage space.
4. The method for synchronizing webpage access information according to claim 3, wherein the step of storing the change result data in the first storage space is:
and updating the second webpage access information in the first storage space according to the change result data.
5. An apparatus for synchronizing web page access information, the apparatus comprising:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving login request information sent by a terminal, and the login request information corresponds to an Internet application identification number;
the judging module is used for judging whether the login record corresponding to the Internet application identification number is the first login and generating a judging result; the device also comprises a first sending module and a first storage module;
if the login record is the non-initial login according to the judgment result, the first sending module is used for sending second webpage access information to the terminal, the first receiving module is used for receiving synchronous difference data from the terminal, the first storage module is used for storing the synchronous difference data into a first storage space, the synchronous difference data is obtained by comparing first webpage access information of the terminal with second webpage access information, the synchronous difference data comprises information which belongs to the second webpage access information and does not belong to the first webpage access information, and information which belongs to the first webpage access information and does not belong to the second webpage access information, the first webpage access information is stored in a second storage space of the terminal for storing webpage access information, and the data corresponding to the first webpage access information is the identification number of the terminal in the internet application After the corresponding internet application quits logging in, restoring the data in the second storage space to the data before the second webpage access information is received; the second webpage access information is also used for triggering the terminal to update the first webpage access information in the second storage space according to the synchronous difference data so as to obtain third webpage access information, and the third webpage access information is stored in the second storage space;
the first storage module is further configured to update the second webpage access information in the first storage space according to the synchronization difference data, and enable the updated second webpage access information to include the synchronization difference data.
6. The apparatus according to claim 5, wherein if the login record is a first login, the first receiving module is further configured to receive first webpage access information sent by the terminal, and the first storage module is configured to store the first webpage access information in a first storage space corresponding to the internet application identifier, where the first webpage access information is stored in a second storage space of the terminal.
7. The device for synchronizing webpage access information according to any one of claims 5 to 6, wherein the first receiving module is further configured to receive change result data sent by the terminal, where the change result data is obtained by the terminal after changing the first webpage access information or third webpage access information, and the third webpage access information is obtained by the terminal updating the first webpage access information according to the synchronization difference data;
the first storage module is further used for storing the change result data into the first storage space.
8. The apparatus for synchronizing webpage access information according to claim 7, wherein the first storage module is further configured to update the second webpage access information in the first storage space according to the change result data.
9. A method for synchronizing webpage access information is characterized by comprising the following steps:
sending login request information to a server, wherein the login request information corresponds to an internet application identification number;
receiving a judgment result sent by the server, wherein the judgment result is related to whether the login record corresponding to the Internet application identification number is the first login; if the login record is the non-first login according to the judgment result, receiving second webpage access information from the server, comparing the first webpage access information with the second webpage access information to obtain synchronous difference data, and sending the synchronous difference data to the server, wherein the synchronous difference data comprise information which belongs to the second webpage access information and does not belong to the first webpage access information and information which belongs to the first webpage access information and does not belong to the second webpage access information, the synchronous difference data are used for being provided for the server to be stored in a first storage space corresponding to the Internet application identification number, updating the second webpage access information in the first storage space, and enabling the updated second webpage access information to comprise the synchronous difference data, the first webpage access information is stored in a second storage space of the terminal, wherein the second storage space is used for storing the webpage access information; updating the first webpage access information in the second storage space according to the synchronous difference data to obtain third webpage access information, wherein the third webpage access information is stored in the second storage space;
and after the internet application corresponding to the internet application identification number exits the login, restoring the data in the second storage space to the data before the second webpage access information is received according to the data corresponding to the first webpage access information.
10. The method for synchronizing webpage access information according to claim 9, wherein if the determination result is that the log-in record is a first log-in, the first webpage access information is sent to the server.
11. The method for synchronizing webpage access information according to claim 9, wherein the method further comprises:
changing the first webpage access information or the third webpage access information to obtain changed result data;
and sending the change result data to the server, wherein the change result data is used for being provided to the server and stored in the first storage space.
12. An apparatus for synchronizing web page access information, the apparatus comprising:
the second sending module is used for sending login request information to the server, wherein the login request information corresponds to the Internet application identification number;
the second receiving module is used for receiving a judgment result sent by the server, wherein the judgment result is related to whether the login record corresponding to the Internet application identification number is the first login;
the device further comprises a comparison module;
if the login record is the non-initial login according to the judgment result, the second receiving module is further configured to receive second webpage access information from the server, the comparison module is configured to compare the first webpage access information with the second webpage access information to obtain synchronous difference data, the second sending module is further configured to send the synchronous difference data to the server, where the synchronous difference data includes information that belongs to the second webpage access information and does not belong to the first webpage access information, and information that belongs to the first webpage access information and does not belong to the second webpage access information, the synchronous difference data is used for being provided to the server to be stored in a first storage space corresponding to the internet application identification number, and updating the second webpage access information in the first storage space, and enabling the updated second webpage access information to comprise the synchronous difference data, wherein the first webpage access information is stored in a second storage space of the terminal, wherein the second storage space is used for storing the webpage access information;
the apparatus also includes a second storage module;
after the internet application corresponding to the internet application identification number exits the login, the second storage module is further configured to restore the data in the second storage space to the data before the second webpage access information is received according to the data corresponding to the first webpage access information; and the second storage module is further configured to update the first webpage access information in the second storage space according to the synchronous difference data to obtain third webpage access information when the login record is not the first login according to the judgment result, wherein the third webpage access information is stored in the second storage space.
13. The apparatus for synchronizing webpage access information according to claim 12, wherein the second sending module is further configured to send the first webpage access information to the server if the login record is a first login as a result of the determination.
14. The apparatus for synchronizing webpage access information according to claim 12, wherein the apparatus further comprises:
the change module is used for changing the first webpage access information or the third webpage access information to obtain change result data;
the second sending module is further configured to send the change result data to the server, where the change result data is provided to the server and stored in the first storage space.
15. A method for synchronizing webpage access information is characterized by comprising the following steps:
the method comprises the steps that a terminal sends login request information to a server, wherein the login request information corresponds to an internet application identification number;
the server receives login request information sent by the terminal;
the server judges whether the login record corresponding to the Internet application identification number is the first login or not and generates a judgment result;
the terminal receives a judgment result sent by the server;
if the login record is not the first login according to the judgment result, the server sends second webpage access information to the terminal, the terminal receives the second webpage access information from the server, the terminal compares first webpage access information with the second webpage access information to obtain synchronous difference data, the synchronous difference data comprise information which belongs to the second webpage access information and does not belong to the first webpage access information and information which belongs to the first webpage access information and does not belong to the second webpage access information, the synchronous difference data are sent to the server, the server receives the synchronous difference data from the terminal, stores the synchronous difference data into a first storage space, and updates the second webpage access information in the first storage space, and causing the updated second web page access information to include the synchronization difference data; the first webpage access information is stored in a second storage space of the terminal, wherein the second storage space is used for storing the webpage access information; the terminal updates the first webpage access information in the second storage space according to the synchronous difference data to obtain third webpage access information, wherein the third webpage access information is stored in the second storage space;
and after the internet application corresponding to the internet application identification number exits the login, the terminal restores the data in the second storage space to the data before the second webpage access information is received according to the data corresponding to the first webpage access information.
16. The method for synchronizing webpage access information according to claim 15, wherein if the login record is a first login as a result of the determination, the terminal sends first webpage access information to the server, wherein the second storage space is used for storing webpage access information, the server receives the first webpage access information sent by the terminal and stores the first webpage access information into a first storage space of the server, and the first storage space corresponds to the internet application identification number.
17. The method for synchronizing webpage access information according to claim 15, wherein the method further comprises:
the terminal changes the first webpage access information or the third webpage access information to obtain changed result data;
the terminal sends the change result data to the server;
the server receives change result data sent by the terminal, wherein the third webpage access information is obtained by updating the first webpage access information by the terminal according to the synchronous difference data;
and the server stores the change result data into the first storage space.
18. The method for synchronizing webpage access information according to claim 17, wherein the step of the server storing the change result data in the first storage space is:
and the server updates the second webpage access information in the first storage space according to the change result data.
19. The system for synchronizing the webpage access information is characterized by comprising a server and a terminal;
the server includes:
a first receiving module;
a judgment module;
a first sending module; and
a first storage module;
the terminal includes:
a second sending module;
a second receiving module;
a comparison module; and
a second storage module;
the second sending module of the terminal is used for sending login request information to the server, wherein the login request information corresponds to an internet application identification number;
the first receiving module of the server is used for receiving login request information sent by the terminal;
the judging module of the server is used for judging whether the login record corresponding to the Internet application identification number is the first login and generating a judging result;
the second receiving module of the terminal is used for receiving the judgment result sent by the server;
if the login record is a non-initial login according to the determination result, the first sending module of the server is configured to send second webpage access information to the terminal, the second receiving module of the terminal is further configured to receive the second webpage access information from the server, the comparison module of the terminal is configured to compare the first webpage access information with the second webpage access information to obtain synchronization difference data, the synchronization difference data includes information that belongs to the second webpage access information and does not belong to the first webpage access information, and information that belongs to the first webpage access information and does not belong to the second webpage access information, the second sending module is further configured to send the synchronization difference data to the server, and the first receiving module of the server is further configured to receive the synchronization difference data from the terminal, the first storage module is further configured to store the synchronous difference data in a first storage space, update the second webpage access information in the first storage space, and enable the updated second webpage access information to include the synchronous difference data; the first webpage access information is stored in a second storage space of the terminal, wherein the second storage space is used for storing the webpage access information; the second storage module of the terminal is used for updating the first webpage access information in the second storage space according to the synchronous difference data to obtain third webpage access information, wherein the third webpage access information is stored in the second storage space;
and the second storage module of the terminal is further configured to restore the data in the second storage space to the data before the second webpage access information is received according to the data corresponding to the first webpage access information after the internet application corresponding to the internet application identification number logs out.
20. The system for synchronizing webpage access information of claim 19, wherein if the login record is a first login according to the determination result, the second sending module of the terminal is further configured to send first webpage access information to the server, wherein the second storage space is used to store the webpage access information, the first receiving module of the server is further configured to receive the first webpage access information sent by the terminal, the first storage module is configured to store the first webpage access information in a first storage space of the server, and the first storage space corresponds to the internet application identification number.
21. The system for synchronizing webpage access information according to claim 19, wherein the terminal further comprises:
the change module is used for changing the first webpage access information or the third webpage access information to obtain change result data;
the second sending module of the terminal is further configured to send the change result data to the server;
the first receiving module of the server is further configured to receive change result data sent by the terminal, where the third webpage access information is obtained by updating, by the terminal, the first webpage access information according to the synchronous difference data;
the first storage module of the server is further configured to store the change result data in the first storage space.
22. The system for synchronizing webpage access information of claim 21, wherein the first storage module of the server is further configured to update the second webpage access information in the first storage space according to the change result data.
23. A server comprising a memory and a processor, the memory having stored thereon computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the method of any one of claims 1 to 4.
24. A terminal comprising a memory and a processor, the memory having stored thereon computer readable instructions which, when executed by the processor, cause the processor to carry out the steps of the method according to any one of claims 9 to 11.
25. A computer readable storage medium storing instructions adapted to be loaded by a processor to perform the steps of the method according to any one of claims 1 to 4, or the steps of the method according to any one of claims 9 to 11, or the steps of the method according to any one of claims 15 to 18.
CN201410022913.3A 2014-01-17 2014-01-17 Webpage access information synchronization method, device and system Active CN104796442B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410022913.3A CN104796442B (en) 2014-01-17 2014-01-17 Webpage access information synchronization method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410022913.3A CN104796442B (en) 2014-01-17 2014-01-17 Webpage access information synchronization method, device and system

Publications (2)

Publication Number Publication Date
CN104796442A CN104796442A (en) 2015-07-22
CN104796442B true CN104796442B (en) 2020-08-07

Family

ID=53560953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410022913.3A Active CN104796442B (en) 2014-01-17 2014-01-17 Webpage access information synchronization method, device and system

Country Status (1)

Country Link
CN (1) CN104796442B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017156939A (en) * 2016-03-01 2017-09-07 ヤンマー株式会社 Terminal device and software rewriting program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404338A (en) * 2011-12-13 2012-04-04 华为技术有限公司 File synchronization method and device
CN102638581A (en) * 2012-03-31 2012-08-15 奇智软件(北京)有限公司 Cookie information storage method and cookie information storage system
CN102664932A (en) * 2012-04-09 2012-09-12 青岛百灵信息科技有限公司 Cross-terminal network browser tag page synchronizing method based on cloud computing
CN102821150A (en) * 2012-08-03 2012-12-12 东莞宇龙通信科技有限公司 Cloud server and application managing method based on same
CN103379160A (en) * 2012-04-25 2013-10-30 上海咏云信息技术有限公司 Difference synchronizing method for oversized file

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101847150A (en) * 2009-03-26 2010-09-29 北京搜狗科技发展有限公司 Browser status synchronization method and device
US8725205B2 (en) * 2010-04-20 2014-05-13 Communications Enhancement Products, Inc. Computing device with removable processing unit
CN103152376A (en) * 2012-12-07 2013-06-12 傲游国际有限公司 Method and device for managing resources with browsers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404338A (en) * 2011-12-13 2012-04-04 华为技术有限公司 File synchronization method and device
CN102638581A (en) * 2012-03-31 2012-08-15 奇智软件(北京)有限公司 Cookie information storage method and cookie information storage system
CN102664932A (en) * 2012-04-09 2012-09-12 青岛百灵信息科技有限公司 Cross-terminal network browser tag page synchronizing method based on cloud computing
CN103379160A (en) * 2012-04-25 2013-10-30 上海咏云信息技术有限公司 Difference synchronizing method for oversized file
CN102821150A (en) * 2012-08-03 2012-12-12 东莞宇龙通信科技有限公司 Cloud server and application managing method based on same

Also Published As

Publication number Publication date
CN104796442A (en) 2015-07-22

Similar Documents

Publication Publication Date Title
CN106874389B (en) Data migration method and device
US20180365254A1 (en) Method and apparatus for processing information flow data
US20160070431A1 (en) Sync based on navigation history
US10180945B2 (en) Data replication from a cloud-based storage resource
US10354082B2 (en) Document state interface
EP3491808B1 (en) Interchangeable retrieval of content
WO2015101320A1 (en) Account number generation method, terminal and background server
US11018860B2 (en) Highly available and reliable secret distribution infrastructure
CN109542862B (en) Method, device and system for controlling mounting of file system
CN107580032B (en) Data processing method, device and equipment
US8892639B2 (en) Method and system for processing file stored in cloud storage and computer readable storage medium storing the method
US9081633B2 (en) Remote application connection sharing
US11366466B1 (en) Predictive maintenance techniques and analytics in hybrid cloud systems
CN109145053B (en) Data processing method and device, client and server
EP3935811A1 (en) Automated generation and deployment of honey tokens in provisioned resources on a remote computer resource platform
CN110633046A (en) Storage method and device of distributed system, storage equipment and storage medium
CN110740155A (en) Request processing method and device in distributed system
CN108829497A (en) The bearing calibration of affairs causal ordering and device, electronic equipment
CN109062602B (en) Data processing method and device for application program and electronic equipment
CN111209061A (en) Method and device for filling in user information, computer equipment and storage medium
CN104796442B (en) Webpage access information synchronization method, device and system
US11372904B2 (en) Automatic feature extraction from unstructured log data utilizing term frequency scores
US20230205619A1 (en) Common platform for fulfilling different actions
US20140181502A1 (en) Dynamically manipulating rules for adding new devices
CN107203915B (en) Data storage method and device

Legal Events

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