CN104243429B - A kind of method, apparatus and system for realizing that browser bookmark is synchronous - Google Patents
A kind of method, apparatus and system for realizing that browser bookmark is synchronous Download PDFInfo
- Publication number
- CN104243429B CN104243429B CN201310245884.2A CN201310245884A CN104243429B CN 104243429 B CN104243429 B CN 104243429B CN 201310245884 A CN201310245884 A CN 201310245884A CN 104243429 B CN104243429 B CN 104243429B
- Authority
- CN
- China
- Prior art keywords
- bookmark
- offline
- network
- version number
- terminal
- 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
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The present invention relates to a kind of method for realizing that browser bookmark is synchronous, including:When browser is by a login account login service device, offline bookmark corresponding to the login account is obtained;The version number of the offline bookmark is inquired about, and inquires about the version number of network bookmark corresponding to the login account;Judge whether the offline bookmark needs to update according to the version number of the version number of the offline bookmark and the network bookmark;If the offline bookmark needs to update, the network bookmark is downloaded from server, the offline bookmark is updated to downloaded network bookmark.The present invention also provides a kind of apparatus and system for realizing that browser bookmark is synchronous.The offline bookmark and network bookmark synchronization under a login account can be realized using the present invention, and accelerates the display speed of browser bookmark.
Description
Technical field
The specific embodiment of the invention is related to browser technology field, more particularly to a kind of side for realizing that browser bookmark is synchronous
Method, apparatus and system.
Background technology
With the development of internet, information needed is obtained by internet and increasingly becomed in people's life and work not
The part that can or lack.User passes through URL using browser built-in in the terminal of access internet
(Uniform Resource Locators, abbreviation URL)Webpage is browsed, and the URL for the webpage that oneself is often accessed is added to
Browser bookmark, when accessing the URL in order to next time, directly invoke the page that browser bookmark corresponding to the URL enters the webpage
Face, it is quick and efficient.
The browser bookmark that usual user is set in a station terminal can only be stored in local, when the user is at other one
When browser access webpage is used in terminal, it is impossible to the browser bookmark set before checking and being invoked in terminal.In order to
The browser bookmark for facilitating user to be set in different terminals can synchronously be used between the browser of different terminals, network bookmark
Arise at the historic moment.
The scheme for realizing network bookmark at present is typically one login account of first to file, and the login account is inputted into an end
The browser at end, so as to login service device, and bookmark is added manually, by file import bookmarks or from other to the browser
Browser import bookmarks, then uploaded onto the server the browser bookmark as network bookmark.When user changes using terminal
Afterwards, the login account is inputted on the browser of institute's changes terminal, the network corresponding to the login account is downloaded from server
Bookmark, so as to realize Autonomic Migration Framework of the browser bookmark on more station terminals.
However, logged in such scheme whenever user changes a station terminal using after browser, being required for downloading from server
Network bookmark corresponding to account, then reload and show the network bookmark, thus display speed can be slow, and in network not
In the case of unimpeded, user will be unable to use network bookmark.
The content of the invention
In view of this, it is necessary to provide a kind of method, apparatus and system for realizing that browser bookmark is synchronous, it is possible to achieve one
Offline bookmark and network bookmark synchronization under individual login account, and accelerate the display speed of browser bookmark.
A kind of method for realizing that browser bookmark is synchronous, this method comprise the following steps:When browser logs in account by one
During number login service device, offline bookmark corresponding to the login account is obtained;The version number of the offline bookmark is inquired about, and inquiry should
The version number of network bookmark corresponding to login account;Judged according to the version number of the offline bookmark and the version number of the network bookmark
Whether the offline bookmark needs to update;If the offline bookmark needs to update, the network bookmark is downloaded from server, this is offline
Bookmark is updated to downloaded network bookmark.
A kind of device for realizing that browser bookmark is synchronous, the device include:Acquisition module, for being stepped on when browser by one
When recording account login service device, offline bookmark corresponding to the login account is obtained;Enquiry module, for inquiring about the offline bookmark
Version number, and inquire about the version number of network bookmark corresponding to the login account;First judge module, for according to the offline book
The version number of label and the version number of the network bookmark judge whether the offline bookmark needs to update;First update module, if for
The offline bookmark is needed to update, then downloads the network bookmark from server, and the offline bookmark is updated to downloaded network book
Label.
A kind of system for realizing that browser bookmark is synchronous, including terminal and server;The terminal is used for when browser leads to
When crossing a login account login service device, offline bookmark corresponding to the login account is obtained;The terminal is additionally operable to inquiry should be from
The version number of line bookmark, and send an inquiry request, network book corresponding to the requesting query login account to the server
The version number of label;The server is used to receive the inquiry request, and the version number of the network bookmark is returned to the terminal;It is described
Terminal is additionally operable to receive the version number of the network bookmark, and according to the version number and the version number of the network bookmark of the offline bookmark
Judge whether the offline bookmark needs to update, if so, then sending a download request to server, the network bookmark is downloaded in request;
The server is additionally operable to receive the download request, and sends the network bookmark to the terminal;The terminal is additionally operable to receive and is somebody's turn to do
Network bookmark, and the offline bookmark is updated to received network bookmark.
A kind of method for realizing that browser bookmark is synchronous, comprises the following steps:When browser is logged in by a login account
During server, terminal obtains offline bookmark corresponding to the login account;The version number of the terminal inquiry offline bookmark, and
An inquiry request, the version number of network bookmark corresponding to the requesting query login account are sent to server;The server connects
The inquiry request is received, and the version number of the network bookmark is returned to the terminal;The terminal receives the version of the network bookmark
Number, and judge whether the offline bookmark needs to update according to the version number of the offline bookmark and the version number of the network bookmark, if
It is then to send a download request to the server, the network bookmark is downloaded in request;The server receives the download request,
And send the network bookmark to the terminal;The terminal receives the network bookmark, and the offline bookmark is updated to be received
Network bookmark.
Compared to prior art, the present invention first loads offline bookmark corresponding to login account, according to the login in server
The version number of network bookmark corresponding to account and the version number of the offline bookmark judge whether the offline bookmark needs to update, if
It is to update the offline bookmark further according to the network bookmark, it is possible to achieve offline bookmark and network bookmark under a login account
It is synchronous, and accelerate the display speed of browser bookmark.
For the above and other objects, features and advantages of the present invention can be become apparent, preferred embodiment cited below particularly,
And coordinate institute's accompanying drawings, it is described in detail below.
Brief description of the drawings
Fig. 1 is a kind of structured flowchart of terminal.
Environment signal when Fig. 2 is the method for realizing that browser bookmark the is synchronous application that first embodiment of the invention provides
Figure.
Fig. 3 is the flow chart for the method for realizing that browser bookmark is synchronous that first embodiment of the invention provides.
Fig. 4 is the flow chart for the method for realizing that browser bookmark is synchronous that second embodiment of the invention provides.
Fig. 5 is the block diagram for the device for realizing that browser bookmark is synchronous that third embodiment of the invention provides.
Fig. 6 is the block diagram for the device for realizing that browser bookmark is synchronous that fourth embodiment of the invention provides.
Fig. 7 is the frame for the system for realizing that browser bookmark is synchronous that fifth embodiment of the invention and sixth embodiment provide
Figure.
Fig. 8 is the flow chart for the method for realizing that browser bookmark is synchronous that seventh embodiment of the invention provides.
Fig. 9 is the flow chart for the method for realizing that browser bookmark is synchronous that eighth embodiment of the invention provides.
Embodiment
Further to illustrate that the present invention is to realize technological means and effect that predetermined goal of the invention taken, below in conjunction with
Accompanying drawing and preferred embodiment, to embodiment, structure, feature and its effect according to the present invention, describe in detail as after.
Fig. 1 shows a kind of structured flowchart of terminal.As shown in figure 1, terminal 1 includes one or more(Only shown in figure
One)Processor 11, memory 12, communication module 13, input block 14, display unit 15 and power supply 16.The common skill in this area
Art personnel are appreciated that the structure shown in Fig. 1 is only to illustrate, and it does not cause to limit to the structure of terminal 1.For example, terminal 1 is also
It may include more either less components than shown in Fig. 1 or there is the configuration different from shown in Fig. 1.
It will appreciated by the skilled person that for processor 11, every other component belongs to outer
If it is coupled between processor 11 and these peripheral hardwares by multiple Peripheral Interfaces 111.Peripheral Interface 111 can be based on following standard
Realize:Universal Asynchronous Receive/dispensing device(Universal Asynchronous Receiver/Transmitter, UART)、
Universal input/output(General Purpose Input Output,GPIO), Serial Peripheral Interface (SPI)(Serial
Peripheral Interface,SPI), internal integrated circuit(Inter-Integrated Circuit, I2C), but not and limit
In above-mentioned standard.In some instances, Peripheral Interface 111 can only include bus;In other examples, Peripheral Interface 111 is also
May include other elements, such as one or more controller, such as connect liquid crystal display panel display controller or
For connecting the storage control of memory.In addition, these controllers can also spin off from Peripheral Interface 111, and collect
Into in processor 11 or in corresponding peripheral hardware.
Memory 12 can be used for storage software program and module, as realized browser bookmark synchronization in the embodiment of the present invention
Method, device/system corresponding to programmed instruction/module, processor 11 by operate in the software program in memory 12 with
And module, so as to perform various function application and data processing, the synchronous method of browser bookmark is realized described above.Storage
Device 12 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic storage device, dodge
Deposit or other non-volatile solid state memories.In some instances, memory 12 can further comprise relative to processor 11
Remotely located memory, these remote memories can pass through network connection to terminal 1.The example of above-mentioned network is included but not
It is limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Communication module 13 is used to be communicated with communication network or other equipment.Specifically, communication module 13 for example may be used
To be network interface card 131 or RF(Radio Frequency, radio frequency)Module 132.Network interface card 131 as connect in LAN computer and
The interface of transmission medium, matched for realizing with the physical connection between local network transport medium with electric signal, so as to foundation office
Domain net is simultaneously connected to internet(Internet), communicated with various networks such as LAN, Metropolitan Area Network (MAN), wide area network.Network interface card 131
It may include the various existing circuit elements for being used to perform above-mentioned function, such as processor and memory(Including ROM and RAM)
Deng.RF modules 132 are used to receiving and sending electromagnetic wave, realize the mutual conversion of electromagnetic wave and electric signal, so that and communication network
Network or other equipment are communicated.RF modules 132 may include the various existing circuit elements for being used to perform these functions, example
Such as, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module(SIM)Card, memory etc.
Deng.RF modules 132 can be communicated or be passed through with various networks such as internet, intranet, wireless network wireless network
Communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).It is above-mentioned
Wireless network can use various communication standards, agreement and technology, including but not limited to global system for mobile communications
(Global System for Mobile Communication,GSM), enhanced mobile communication technology(Enhanced Data
GSM Environment, EDGE), Wideband CDMA Technology(wideband code division multiple
access,W-CDMA), CDMA(Code division access,CDMA), TDMA(time
division multiple access,TDMA), adopting wireless fidelity technology(Wireless, Fidelity, WiFi)(Such as U.S.'s electricity
Gas and Electronic Engineering Association standard IEEE 802.11a, IEEE802.11b, IEEE802.11g and/or IEEE802.11n), net
Network phone(Voice over internet protocal,VoIP), worldwide interoperability for microwave accesses(Worldwide
Interoperability for Microwave Access, Wi-Max), other be used for mail, instant messaging and short message
Agreement, and any other suitable communication protocol, or even may include those agreements not being developed yet currently.
Input block 14 can be used for the character information for receiving input, and produce relevant with user's setting and function control
Keyboard, mouse, action bars, optics or trace ball signal input.Specifically, input block 14 may include button 141 and
Touch-control surface 142.Button 141 for example may include the character keys for inputting character, and for triggering the control of control function
Button processed.The example of control button includes " return main screen " button, on/off button, camera button etc..Touch-control surface 142
Collect touch operation of the user on or near it(For example user uses any suitable objects or annex such as finger, stylus
Operation in touch-control surface 142 or near touch-control surface 142), and connected accordingly according to driven by program set in advance
Device.Optionally, touch-control surface 142 may include both touch detecting apparatus and touch controller.Wherein, touch detection fills
The touch orientation of detection user is put, and detects the signal that touch operation is brought, transmits a signal to touch controller;Touch control
Device receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 11, and can receiving area
Manage the order that device 11 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch-control surface 142.Except touch-control surface 142, input block 14 can also include other input equipments.Above-mentioned
The one or more that other input equipments include but is not limited in physical keyboard, trace ball, mouse, action bars etc..
Display unit 15 is used for the various figures for showing the information inputted by user, the information for being supplied to user and terminal 1
Shape interface.These graphical user interface can be made up of figure, text, icon, video and its any combination.In an example
In, it for example can be a liquid crystal display panel (Liquid that display unit 15, which includes display panel 151. display panel 151,
Crystal Display, LCD), Organic Light Emitting Diode(Organic Light-Emitting Diode Display,
OLED)Display panel, electrophoretic display panel(Electro-Phoretic Display,EPD)Deng.Further, touch-control surface
142 may be disposed on display panel 151 so as to form an entirety with display panel 151.In further embodiments, display is single
Member 15 may also include other kinds of display device, such as including a projection display equipment 152.Compared in general display surface
Plate, projection display equipment 152 also need to include some be used for project part such as lens group.
Power supply 16 is used to provide supply of electric power to processor 11 and other each components.Specifically, power module 16 can wrap
Include power-supply management system, one or more power supplys(Such as battery or alternating current), charging circuit, power-fail detection circuit, inverse
Become device, indicator of the power supply status and the related component of other generation, management and distributions arbitrarily to electric power in terminal 1.
Although being not shown, terminal 1 can also include such as camera, bluetooth module, will not be repeated here.
First embodiment
First embodiment of the invention provides a kind of method for realizing that browser bookmark is synchronous, and it can be performed by above-mentioned terminal 1,
For realizing that terminal 1 is synchronous with the browser bookmark of other terminals.Other terminals can have to be configured with the identical of terminal 1.
The terminal 1 can include computer, smart mobile phone, tablet personal computer, personal digital assistant(Personal Digital
Assistant, PDA, also known as palm PC)Or other similar arithmetic units.It is as shown in fig.2, clear for above-mentioned realizing
Look at device bookmark synchronization method perform when environment schematic.Terminal 1 and the other-end(In Fig. 2 by taking terminal 3 as an example)
It is connected by network 10 with server 2.The network 10 can be arbitrary internetwork connection mode, such as internet(Internet)、
Mobile Internet(2G, the 3G network provided such as telecom operators), LAN(It is wired or wireless)Deng.
The above-mentioned method for realizing that browser bookmark is synchronous is described in detail as follows below in conjunction with specific embodiment:
Fig. 3 is the flow chart that first embodiment realizes the synchronous method of browser bookmark, and this realizes browser bookmark synchronization
Method comprise the following steps:
Step S101, when browser is by a login account login service device 2, obtain offline corresponding to the login account
Bookmark, the offline bookmark are stored in the terminal 1;
Step S102, inquires about the version number of the offline bookmark, and inquires about the version of network bookmark corresponding to the login account
This number, the network bookmark is stored in the server 2;
Step S103, whether the offline bookmark is judged according to the version number of the version number of the offline bookmark and the network bookmark
Need to update;
Step S104, if the offline bookmark needs to update, the network bookmark is downloaded from server, by the offline bookmark more
The new network bookmark to be downloaded.
According to the above-mentioned method for realizing that browser bookmark is synchronous, offline bookmark corresponding to login account is first loaded, according to
The version number of network bookmark corresponding to the login account and the version number of the offline bookmark judge that the offline bookmark is in server 2
It is no to need to update, if so, updating the offline bookmark further according to the network bookmark, it is possible to achieve the offline book under a login account
Label and network bookmark synchronization, and accelerate the display speed of browser bookmark.
In some instances, each step of the above method realizes that details is as follows:
Login account described in step S101 can be that user is applying for the use by being set during browser login service device 2
Name in an account book and password.User not only can input the login account so as to login service device 2 in the browser in terminal 1, can also
Same money browser in other terminals, such as terminal 3 inputs the login account so as to login service device 2.The reality of the present embodiment
The synchronous method of existing browser bookmark could only perform in the case where user is logged in by the login account.
The acquired offline bookmark is the last login account is logged off server by the browser in terminal 1
After the method for realizing that browser bookmark is synchronous that the present embodiment is performed before 2, the network bookmark corresponding with the login account of formation
Synchronous browser bookmark.The offline bookmark is stored in terminal 1, and the network bookmark is stored in the server 2.The synchronization
It is to instigate the content of the offline bookmark consistent with the content of the network bookmark.Step S101 can also show that acquired this is offline
Bookmark.It is not smooth in network 10 and in the case of subsequent step can not being carried out, first show that the offline bookmark can improve browser
The display speed of bookmark, avoids user from waiting.
Because the login account is logged off after server 2 by the browser of terminal 1, the offline bookmark in terminal 1
It will be unable to again synchronous with the network bookmark holding.Therefore, after the login account is logged off on the browser of terminal 1, directly
During the login account is logged on by the browser of terminal 1 next time, if the network bookmark in server 2 has
Renewal, also will be unable to synchronize renewal to the offline bookmark in terminal 1.
In the present embodiment, offline bookmark and network bookmark are all respectively equipped with corresponding version corresponding to the login account
Number, the version number can be represented with numeral, such as 1.1 editions, 1.2 editions ..., it can also be represented with letter, such as A versions, B
Version ..., can also be represented with renewal time, such as 201304200813 etc..Set version number has height
Divide, such as version number 1.1 will be less than version number 1.2, version number A will be less than version number B.Corresponding to the version number can be recorded in
In the configuration information of offline bookmark or network bookmark.
The version number is set by server 2, and the setting rule of the version number is:Whenever the network in server 2
Bookmark is updated once, then to version number's elevated by one step of the network bookmark, such as from version number A is upgraded to version number B.Whenever end
The offline bookmark in end 1 is updated once according to the network bookmark, and the version number of the offline bookmark of this in terminal 1 will also be updated
Into consistent with the version number of the network bookmark.But if the offline bookmark of this in terminal 1 is simply added by user, pulled, deleting
Changed after being operated except grade, then the version number of the offline bookmark in terminal 1 will keep constant.
Therefore, the renewal degree of corresponding offline bookmark or network bookmark can not be found out from the height of the version number, i.e.,
High offline bookmark or the network bookmark of version number is not necessarily on the basis of low offline bookmark or the network bookmark of version number
Renewal obtains, and the content of the offline bookmark of version number's identical or version number's identical offline bookmark and network bookmark also may not one
Cause.
In step S102, can with real-time query offline bookmark and the network bookmark version number.Preferably, can also timing
Inquire about the version number of offline bookmark and the network bookmark.For example, a timer can be set, the timer is at regular intervals
(Such as 3 seconds)It is triggered, when being triggered the timer, inquires about once the version number of offline bookmark and the network bookmark.
Specifically, the version number of the offline bookmark can read from the configuration information of the offline bookmark.In addition, the net
The version number of network bookmark can pass through procedure below and obtain:First an inquiry request, the requesting query network book are sent to server 2
The version number of label.After server 2 receives the inquiry request, it can also be obtained by inquiring about the configuration information of the network bookmark
The version number of the network bookmark, and return to the version number of the network bookmark.Then the network that the reception server 2 of terminal 1 returns
The version number of bookmark.
In step S103, whenever the version number for inquiring offline bookmark and the network bookmark, then according to the offline bookmark
Version number and the version number of the network bookmark judge whether the offline bookmark needs to update.Specifically, according to above-mentioned version number
Definition and setting rule understand, in the case where not being modifiable by the user after the offline bookmark is set respective version number,
If the version number of the offline bookmark is less than the version number of the network bookmark, illustrate that the network bookmark has relative to the offline bookmark
Renewal.Therefore, step S103 may determine that whether the version number of the offline bookmark is less than the version number of the network bookmark, if so,
Then judge that the offline bookmark needs to update.
In step S104, if the offline bookmark needs to update, the offline bookmark is updated according to the network bookmark.Specifically
For, a download request first is sent to server 2, the network bookmark is downloaded in request.After server 2 receives the download request,
The network bookmark is sent to terminal 1.After terminal 1 receives the network bookmark of the transmission of server 2, then the offline bookmark updated
For the network bookmark received, and the version number of the offline bookmark is also updated to the version number of received network bookmark.Pin
To offline bookmark shown in step S101, step S104 also need to it is shown according to the network bookmark renewal received from
Line bookmark.
Further, since browser bookmark is very important user data, in order to ensure the safety of user data, avoid counting
Occur according to loss, the situation of data entanglement, during step S101 obtains offline bookmark corresponding to the login account, it is also necessary to
Check whether acquired offline bookmark occurs error in data or loss of data, if so, then jumping to step S104 automatically, i.e., from clothes
Business device 2 downloads the network bookmark, and the offline bookmark is updated to downloaded network bookmark, and shows the offline book after renewal
Label.
So far, the feelings not being modifiable by the user after respective version number are set in offline bookmark corresponding to the login account
Under condition, if network bookmark has renewal corresponding to the login account, the mistake with the network bookmark synchronization is realized to the offline bookmark
Journey terminates.
Second embodiment
As shown in fig.4, second embodiment of the invention proposes a kind of method for realizing that browser bookmark is synchronous, it is first
On the basis of embodiment it is further proposed that in the case where being modifiable by the user after the offline bookmark is set respective version number,
The method for realizing the offline bookmark and network bookmark synchronization.The method for realizing that browser bookmark is synchronous of second embodiment of the invention
Compared to the method for realizing that browser bookmark is synchronous of first embodiment, further comprise after the step 101:
Step S201, receive the modification operation to shown offline bookmark;
Step S202, offline bookmark corresponding to changing the login account is operated according to the modification;
Step S203, judges whether the version number of the offline bookmark is less than the version number of the network bookmark, if it is not, then performing
Step S204, if so, then performing step S205;
Step S204, the amended offline bookmark is uploaded onto the server 2, so as to update the network bookmark;
Step S205, the network bookmark first is downloaded from server 2, the network bookmark downloaded is merged into amended be somebody's turn to do
Offline bookmark, the offline bookmark after merging is then uploaded onto the server 2, so as to update the network bookmark.
In some instances, each step of the above method realizes that details is as follows:
Modification described in step S201 is operated for example including adding one or more bookmark to shown offline bookmark, from
One or more bookmark is deleted in shown offline bookmark, changes each book in shown offline bookmark by modes such as draggings
Label put in order.
In step S202, the offline bookmark preserved in modification terminal 1 is operated according to the modification.In addition, in the step
Before S202, in order to avoid there is loss of data, first the offline bookmark can also be backed up, the offline bookmark backed up is simultaneously
It will not be operated according to the modification and be changed accordingly., can be with if repairing makes a mistake during changing into the offline bookmark
The offline bookmark that is backed up is re-read to cover the offline bookmark changed, and re-executes step S202.
Step S203 can be performed in real time during step S202 changes the offline bookmark.Preferably, due to user
Modification operation to shown offline bookmark may continue for some time, and step S203 can also be delayed one section of preset time
Perform again afterwards.
Specifically, understood according to the definition of above-mentioned version number and setting rule, in the situation that the offline bookmark is changed
Under, if the version number of the offline bookmark is not less than the version number of the network bookmark, before illustrating the network bookmark relative to being changed
The offline bookmark do not update.And the offline bookmark is changed, it is therefore desirable to after the network bookmark is updated to and changed
The offline bookmark synchronization, into step S204.
Step S204, the amended offline bookmark is uploaded onto the server 2.It is amended offline that server 2 receives this
Bookmark, the network bookmark is updated according to the amended offline bookmark, and reset the version of the network bookmark after renewal
Number, the version number of reset is then back to terminal 1.Step S204 also includes the version number for receiving the reset,
And the version number of the amended offline bookmark is updated to received version number.If the amended offline bookmark is uploaded to
The procedure failure of server 2, then to being marked by the amended offline bookmark.Inputted when next time in the browser of terminal 1
After the login account login service device 2, by reading the mark, it will carry out again above-mentioned by the amended offline bookmark
2 are uploaded onto the server, so as to update the process of the network bookmark.
In step S205, in the case where the offline bookmark is by modification, if the version number of the offline bookmark is less than the network
The version number of bookmark, illustrate that the network bookmark has updated relative to the offline bookmark before being changed.
For example, the login account is corresponding in the version number of offline bookmark, terminal 3 corresponding to the login account in terminal 1
Offline bookmark version number's network bookmark corresponding with the login account version number three it is consistent in the case of, in terminal 3
Browser on to offline bookmark is modified corresponding to the login account after, by terminal 3 by the amended offline bookmark
Upload onto the server 2.Server 2 will update the network bookmark according to the offline bookmark changed in terminal 3, and by the network
Version number's elevated by one step of bookmark.Now, the version number of the network bookmark will be above the version number of the offline bookmark of this in terminal 1,
If directly updating the network bookmark according to amended offline bookmark in terminal 1, will make in terminal 3 to the offline bookmark
Change partial loss.
Therefore, step S205 needs first to download the network bookmark from server 2, described in downloading process and first embodiment
Downloading process is consistent, and here is omitted.Then, the network bookmark downloaded is merged into amended in terminal 1 this is offline
Bookmark, and according to the version number of the offline bookmark after the renewal merging of the version number for the network bookmark downloaded.Afterwards, this is merged
Offline bookmark afterwards uploads onto the server 2, and so as to update the network bookmark, the upload procedure is the same as the upload procedure in step S204
Unanimously, here is omitted.After server 2 updates the network bookmark, the version of the network bookmark after updating will be reset
Number, and the version number of reset is back to terminal 1.The version number of the offline bookmark after merging is updated to by terminal 1
The version number reset, and shown offline bookmark is updated according to the offline bookmark after the merging.
It is worth noting that, if situations below occurs:The version of offline bookmark corresponding to the login account in terminal 1
Number, in terminal 3 version number's network bookmark corresponding with the login account of offline bookmark corresponding to the login account version number
In the case that three is consistent, the offline bookmark in terminal 1 is changed simultaneously with the offline bookmark in terminal 3, then simultaneously
Amended offline bookmark is uploaded onto the server 2.
, can only serial process because server 2 can not handle two offline bookmarks being uploaded simultaneously.If first by the net
Network bookmark is updated to amended offline bookmark in terminal 1, and the version of the offline bookmark in the network bookmark and terminal 1
Number all elevated by one step, now server 2 carry out amended offline bookmark in processing terminal 3 again, due to the now network bookmark
Version number and the version number of the amended offline bookmark in terminal 3 are inconsistent, it will clash, can not be by the network
Bookmark is updated to amended offline bookmark in terminal 3.Now, server 2 can return to error code to terminal 3, and terminal 3 will
The step S205 is performed according to the error code, i.e., first downloads the network bookmark from server 2, by the network bookmark downloaded and
Amended offline bookmark uploads onto the server 2 again after merging, so as to update the network bookmark.
In summary, the method for realizing that browser bookmark is synchronous of the present embodiment can be offline corresponding to the login account
Bookmark is set after respective version number be modifiable by the user in the case of, realize offline bookmark and net corresponding to the login account
Network bookmark synchronization.
3rd embodiment
As shown in fig.5, third embodiment of the invention provides a kind of device 100 for realizing that browser bookmark is synchronous, it is wrapped
Include acquisition module 101, enquiry module 102, the first judge module 103 and the first update module 104.It is appreciated that above-mentioned is each
Module refers to computer program or program segment, for performing certain one or more specific function.In addition, above-mentioned each module
It also must be separated that differentiation, which does not represent actual program code,.
Acquisition module 101, for when browser is by a login account login service device 2, obtaining the login account pair
The offline bookmark answered, the offline bookmark are stored in the terminal 1.Acquisition module 101 is additionally operable to show the acquired offline book
Label.
Enquiry module 102, for inquiring about the version number of the offline bookmark, and inquire about network book corresponding to the login account
The version number of label, the network bookmark are stored in the server 2.
First judge module 103, judging for the version number according to the offline bookmark and the version number of the network bookmark should
Whether offline bookmark needs to update.Specifically, whether the first judge module 103 judges the version number of the offline bookmark less than this
The version number of network bookmark, if so, then judging that the offline bookmark needs to update.
First update module 104, if needing to update for the offline bookmark, the network bookmark is downloaded from server 2, will
The offline bookmark is updated to downloaded network bookmark.First update module 104 is additionally operable to according to the network bookmark downloaded more
New shown offline bookmark, and the version number of the offline bookmark is also updated to the version number of received network bookmark.
In addition, acquisition module 101 is additionally operable to after offline bookmark corresponding to the login account is obtained, check it is acquired from
Whether line bookmark occurs error in data or loss of data, if so, then trigger the first update module 104 downloads the net from server 2
Network bookmark, the offline bookmark is updated to downloaded network bookmark, and shows the offline bookmark after renewal.
The specific work process of each module for more than, realizing for being provided with further reference to first embodiment of the invention are clear
Look at the method for device bookmark synchronization, be not repeated herein.
In summary, the device 100 for realizing that browser bookmark is synchronous of the present embodiment, first load corresponding to login account from
Line bookmark, if the version number of network bookmark corresponding to the login account is higher compared to the offline bookmark in server 2, further according to
The network bookmark updates the offline bookmark, it is possible to achieve offline bookmark and network bookmark synchronization under a login account, and
Accelerate the display speed of browser bookmark.
Fourth embodiment
As shown in fig.6, fourth embodiment of the invention provides a kind of device 200 for realizing that browser bookmark is synchronous, its phase
Than in the device 100 for realizing that browser bookmark is synchronous of 3rd embodiment, further comprising:
Receiving module 201, for receiving the modification operation to shown offline bookmark.
Modified module 202, for according to the modification operate change the login account corresponding to offline bookmark.Modified module
202 before the offline bookmark is changed, will also back up to the offline bookmark.
Second judge module 203, for judging whether the version number of the offline bookmark is less than the version number of the network bookmark.
Second update module 204, will if the version number for the offline bookmark is not less than the version number of the network bookmark
The amended offline bookmark uploads onto the server 2, so as to update the network bookmark.
3rd update module 205, if for the offline bookmark version number be less than the network bookmark version number, first from
Server 2 downloads the network bookmark, and the network bookmark downloaded is merged into the amended offline bookmark, after then merging
Offline bookmark upload onto the server 2, so as to update the network bookmark.3rd update module 205 is in the network book that will be downloaded
After label are merged into the amended offline bookmark, also shown offline bookmark will be updated according to the offline bookmark after the merging.
Second update module 204 or the 3rd update module 205 be additionally operable to the reception server 2 return to the net after renewal
The version number that network bookmark is reset, and the version number that the version number of the offline bookmark is updated to be received.
The specific work process of each module for more than, realizing for being provided with further reference to second embodiment of the invention are clear
Look at the method for device bookmark synchronization, be not repeated herein.
In summary, the device 200 for realizing that browser bookmark is synchronous of the present embodiment can be corresponding to the login account
Offline bookmark is set after respective version number be modifiable by the user in the case of, realize offline bookmark corresponding to the login account
With network bookmark synchronization.
5th embodiment
As shown in fig.7, fifth embodiment of the invention provides a kind of system 300 for realizing that browser bookmark is synchronous, the reality
The synchronous system 300 of existing browser bookmark includes terminal 1 and server 2.
The terminal 1 is used for when user is logged in by a login account, obtains offline bookmark corresponding to the login account,
And the offline bookmark is shown, the offline bookmark is stored in the terminal 1.
The terminal 1 is additionally operable to inquire about the version number of the offline bookmark, and sends an inquiry request to the server 2,
The version number of network bookmark corresponding to the requesting query login account, the network bookmark are stored in the server 2.
The server 2 is used to receive the inquiry request, and the version number of the network bookmark is returned to the terminal 1.
The terminal 1 is additionally operable to receive the version number of the network bookmark, and the version number according to the offline bookmark and the net
The version number of network bookmark judges whether the offline bookmark needs to update, if so, then sending a download request, request to server 2
Download the network bookmark.Specifically, terminal 1 judges whether the version number of the offline bookmark is less than the version of the network bookmark
Number, if so, then judging that the offline bookmark needs to update.
The server 2 is additionally operable to receive the download request, and sends the network bookmark to the terminal 1.
The terminal 1 is additionally operable to receive the network bookmark, and the offline bookmark is updated to received network bookmark, and root
According to the shown offline bookmark of the network bookmark renewal received, the version number of the offline bookmark is also updated to received net
The version number of network bookmark.
In addition, terminal 1 is additionally operable to after offline bookmark corresponding to the login account is obtained, the acquired offline book is checked
Whether label occur error in data or loss of data, if so, then downloading the network bookmark from server 2, the offline bookmark is updated
For the network bookmark downloaded, and show the offline bookmark after renewal.
For above terminal 1 and the specific work process of server 2, can be provided with further reference to first embodiment of the invention
The method for realizing that browser bookmark is synchronous, be not repeated herein.
Sixth embodiment
Sixth embodiment of the invention provides a kind of system 400 for realizing that browser bookmark is synchronous, and it equally includes the He of terminal 1
Server 2, compared to the system 300 for realizing that browser bookmark is synchronous of the 5th embodiment, the terminal 1 is additionally operable to receive pair for it
The modification operation of shown offline bookmark, and operated according to the modification and change the offline bookmark.Before the offline bookmark is changed,
The terminal 1 is additionally operable to back up the offline bookmark.
The terminal 1 is additionally operable to judge whether the version number of the offline bookmark is less than the version number of the network bookmark, if it is not,
Then the amended offline bookmark is sent to server 2.
The server 2 is additionally operable to receive the amended offline bookmark, and according to the amended offline bookmark renewal
The network bookmark.
If the version number of the offline bookmark is less than the version number of the network bookmark, the terminal 1 sends one to server
The network bookmark is downloaded in download request, request.
The server 2 is additionally operable to receive the download request, and sends the network bookmark to the terminal 1;
The terminal 1 is additionally operable to receive the network bookmark, and the network bookmark received is merged into amended this is offline
Bookmark, shown offline bookmark is updated according to the offline bookmark after merging, then sent the offline bookmark after merging
To server 2.
The server 2 is additionally operable to receive the offline bookmark after the merging, should according to the offline bookmark renewal after the merging
Network bookmark.
The server 2 is additionally operable to reset the version number of the network bookmark after updating, by the version of the reset
This number is back to the terminal 1.
The terminal 1 is additionally operable to receive the version number of the reset, and the version number of the offline bookmark is updated into institute
The version number of reception.
For above terminal 1 and the specific work process of server 2, can be provided with further reference to second embodiment of the invention
The method for realizing that browser bookmark is synchronous, be not repeated herein.
7th embodiment
As shown in fig.8, seventh embodiment of the invention provides a kind of method for realizing that browser bookmark is synchronous, it include with
Lower step:
Step S301, when user is logged in by a login account, terminal 1 obtains offline book corresponding to the login account
Label, and the offline bookmark is shown, the offline bookmark is stored in the terminal.
Terminal 1 checks whether the acquired offline bookmark occurs after offline bookmark corresponding to the login account is obtained
Error in data or loss of data, if so, then directly performing step S304, i.e., the network bookmark is downloaded from server 2, this is offline
Bookmark is updated to downloaded network bookmark, and shows the offline bookmark after renewal.
Step S302, the terminal 1 inquires about the version number of the offline bookmark, and sends an inquiry to the server 2 and ask
Ask, the version number of network bookmark corresponding to the requesting query login account, the network bookmark is stored in server 2.
Step S303, the server 2 receive the inquiry request, and the version of the network bookmark is returned to the terminal 1
Number.
Step S304, the terminal 1 receive the version number of the network bookmark, and according to the version number of the offline bookmark and this
The version number of network bookmark judges whether the offline bookmark needs to update, if so, then performing step S305.If it is not, then terminate to flow
Journey.Specifically, terminal 1 judges whether the version number of the offline bookmark is less than the version number of the network bookmark, if so, then judging
The offline bookmark needs to update.
Step S305, terminal 1 send a download request to the server 2, and the network bookmark is downloaded in request.
Step S306, the server 2 receives the download request, and sends the network bookmark to the terminal 1.
Step S307, the terminal 1 receive the network bookmark, the offline bookmark are updated to received network bookmark,
And shown offline bookmark is updated according to the network bookmark received, the version number of the offline bookmark is also updated to be received
Network bookmark version number.
8th embodiment
As shown in fig.9, eighth embodiment of the invention provides a kind of method for realizing that browser bookmark is synchronous, its compared to
The method for realizing that browser bookmark is synchronous of 7th embodiment, after the step S301, further comprises the steps:
Step S401, the terminal 1 receives the modification operation to shown offline bookmark, and is repaiied according to modification operation
Change the offline bookmark.Before the offline bookmark is changed, the terminal 1 is additionally operable to back up the offline bookmark.
Step S402, the terminal 1 judge whether the version number of the offline bookmark is less than the version number of the network bookmark, if
It is no, then step S403 is performed, if so, then performing step S405.
Step S403, the terminal 1 send the amended offline bookmark to server 2.
Step S404, the server 2 receive the amended offline bookmark, and according to the amended offline bookmark more
The new network bookmark, then performs step S409.
Step S405, the terminal 1 send a download request to server 2, and the network bookmark is downloaded in request.
Step S406, the server 2 receives the download request, and sends the network bookmark to the terminal 1.
Step S407, the terminal 1 receive the network bookmark, by the network bookmark received be merged into it is amended should be from
Line bookmark, shown offline bookmark is updated according to the offline bookmark after merging, then sent out the offline bookmark after merging
Deliver to server 2.
Step S408, the server 2 receive the offline bookmark after the merging, and according to the offline bookmark after the merging more
The new network bookmark, then performs step S409.
Step S409, the server 2 resets the version number of the network bookmark after renewal, by the reset
Version number is back to the terminal 1.
Step S410, the terminal 1 receive the version number of the reset, and the version number of the offline bookmark is updated to
The version number received.
In addition, the embodiment of the present invention also provides a kind of computer-readable recording medium, it is stored with computer and can perform
Instruction, above-mentioned computer-readable recording medium is, for example, nonvolatile memory such as CD, hard disk or flash memory.It is above-mentioned
Computer executable instructions be used to allowing computer or similar arithmetic unit to complete above-mentioned to realize browser bookmark synchronization
Method in various operations.
The above described is only a preferred embodiment of the present invention, any formal limitation not is made to the present invention, though
So the present invention is disclosed as above with preferred embodiment, but is not limited to the present invention, any those skilled in the art, not
Depart from the range of technical solution of the present invention, when the technology contents using the disclosure above make a little change or are modified to equivalent change
The equivalent embodiment of change, as long as being without departing from technical solution of the present invention content, the technical spirit according to the present invention is implemented to more than
Example any brief introduction modification, equivalent variations and the modification made, in the range of still falling within technical solution of the present invention.
Claims (40)
- A kind of 1. method for realizing that browser bookmark is synchronous, it is characterised in that this method comprises the following steps:Obtaining step:When browser is by a login account login service device, offline bookmark corresponding to the login account is obtained;Query steps:The version number of the offline bookmark is inquired about, and inquires about the version number of network bookmark corresponding to the login account, The network bookmark can be obtained and changed by same login account by multiple terminals;First judgment step:Whether the offline bookmark is judged according to the version number of the version number of the offline bookmark and the network bookmark Need to update;First renewal step:If the offline bookmark needs to update, the network bookmark is downloaded from server, by the offline bookmark more The new network bookmark to be downloaded;Receiving step:Receive the modification operation to shown offline bookmark;Amendment step:Offline bookmark corresponding to changing the login account is operated according to the modification;Second judgment step:Judge whether the version number of the offline bookmark is less than the version number of the network bookmark;3rd renewal step:If the version number of the offline bookmark is less than the version number of the network bookmark, first downloaded from server The network bookmark, the network bookmark downloaded is merged into the amended offline bookmark, then by the offline bookmark after merging Upload onto the server, so as to update the network bookmark;The setting rule of the version number is:Whenever the network bookmark in server is updated once, then to the network bookmark Version number's elevated by one step;Whenever offline bookmark is updated once according to the network bookmark, the version number of the offline bookmark is by more Newly into consistent with the version number of the network bookmark;It is after the offline bookmark is changed according to the modification operation, then described offline The version number of bookmark keeps constant.
- 2. the method as claimed in claim 1 for realizing that browser bookmark is synchronous, it is characterised in that the obtaining step also wraps Include:The acquired offline bookmark of display.
- 3. the method as claimed in claim 2 for realizing that browser bookmark is synchronous, it is characterised in that the first judgment step bag Include:Judge whether the version number of the offline bookmark is less than the version number of the network bookmark;If the version number of the offline bookmark is less than the version number of the network bookmark, judge that the offline bookmark needs to update.
- 4. the method as claimed in claim 3 for realizing that browser bookmark is synchronous, it is characterised in that the first renewal step is also Including:According to the shown offline bookmark of the network bookmark renewal downloaded.
- 5. the method as claimed in claim 1 for realizing that browser bookmark is synchronous, it is characterised in that in described acquisition login account Corresponding to number the step of offline bookmark in, in addition to:Check whether acquired offline bookmark occurs error in data or loss of data, if so, then downloading the network from server Bookmark, and the offline bookmark is updated to downloaded network bookmark;The offline bookmark after display renewal.
- 6. the method for realizing that browser bookmark is synchronous as described in claim 4 or 5, it is characterised in that the first renewal step Suddenly also include:The version number of the offline bookmark is updated to the version number of downloaded network bookmark.
- 7. the method for realizing that browser bookmark is synchronous as described in claim 2 or 4 or 5, it is characterised in that also include:Second renewal step:If the version number of the offline bookmark is not less than the version number of the network bookmark, it is somebody's turn to do amended Offline bookmark uploads onto the server, so as to update the network bookmark.
- 8. the method as claimed in claim 1 for realizing that browser bookmark is synchronous, it is characterised in that the 3rd renewal step is also Including:According to the shown offline bookmark of the offline bookmark renewal after the merging.
- 9. the as claimed in claim 7 method for realizing that browser bookmark is synchronous, it is characterised in that the second renewal step or 3rd renewal step also includes:The version number reset to the network bookmark after renewal that the reception server returns, and by the version of the offline bookmark Number it is updated to the version number received.
- 10. the method as claimed in claim 7 for realizing that browser bookmark is synchronous, it is characterised in that before the amendment step Also include:The offline bookmark is backed up.
- 11. a kind of device for realizing that browser bookmark is synchronous, it is characterised in that the device includes:Acquisition module, it is offline corresponding to the login account for when browser is by a login account login service device, obtaining Bookmark;Enquiry module, for inquiring about the version number of the offline bookmark, and inquire about the version of network bookmark corresponding to the login account This number, the network bookmark can be obtained and changed by same login account by multiple terminals;First judge module, the version number for the version number according to the offline bookmark and the network bookmark judge the offline bookmark Whether need to update;First update module, if needing to update for the offline bookmark, the network bookmark is downloaded from server, by the offline book Label are updated to downloaded network bookmark;Receiving module, for receiving the modification operation to shown offline bookmark;Modified module, for according to the modification operate change the login account corresponding to offline bookmark;Second update module, if the version number for the offline bookmark is not less than the version number of the network bookmark, after changing The offline bookmark upload onto the server, so as to update the network bookmark;3rd update module, if the version number for the offline bookmark is less than the version number of the network bookmark, first from server The network bookmark is downloaded, the network bookmark downloaded is merged into the amended offline bookmark, then will be offline after merging Bookmark uploads onto the server, so as to update the network bookmark;The setting rule of the version number is:Whenever the network bookmark in server is updated once, then to the network bookmark Version number's elevated by one step;Whenever offline bookmark is updated once according to the network bookmark, the version number of the offline bookmark is by more Newly into consistent with the version number of the network bookmark;It is after the offline bookmark is changed according to the modification operation, then described offline The version number of bookmark keeps constant.
- 12. the device as claimed in claim 11 for realizing that browser bookmark is synchronous, it is characterised in that the acquisition module is also For:The acquired offline bookmark of display.
- 13. the device as claimed in claim 12 for realizing that browser bookmark is synchronous, it is characterised in that first judge module For:Judge whether the version number of the offline bookmark is less than the version number of the network bookmark;If the version number of the offline bookmark is less than the version number of the network bookmark, judge that the offline bookmark needs to update.
- 14. the device as claimed in claim 13 for realizing that browser bookmark is synchronous, it is characterised in that first update module It is additionally operable to:According to the shown offline bookmark of the network bookmark renewal downloaded.
- 15. the device as claimed in claim 11 for realizing that browser bookmark is synchronous, it is characterised in that the acquisition module is also used In after offline bookmark corresponding to the login account is obtained, check whether acquired offline bookmark occurs error in data or data Lose, if so, then trigger the first update module downloads the network bookmark from server, the offline bookmark is updated to what is downloaded Network bookmark, and show the offline bookmark after renewal.
- 16. the device for realizing that browser bookmark is synchronous as described in claims 14 or 15, it is characterised in that first renewal Module is additionally operable to:The version number of the offline bookmark is updated to the version number of downloaded network bookmark.
- 17. the device for realizing that browser bookmark is synchronous as described in claim 12 or 14 or 15, it is characterised in that also include:Second update module, if the version number for the offline bookmark is not less than the version number of the network bookmark, after changing The offline bookmark upload onto the server, so as to update the network bookmark.
- 18. the device as claimed in claim 11 for realizing that browser bookmark is synchronous, it is characterised in that the 3rd update module It is additionally operable to:According to the shown offline bookmark of the offline bookmark renewal after the merging.
- 19. the device as claimed in claim 11 for realizing that browser bookmark is synchronous, it is characterised in that second update module Or the 3rd update module be additionally operable to:The version number reset to the network bookmark after renewal that the reception server returns, and by the version of the offline bookmark Number it is updated to the version number received.
- 20. the device as claimed in claim 17 for realizing that browser bookmark is synchronous, it is characterised in that the modified module is also used The offline bookmark is backed up in before offline bookmark corresponding to the login account is changed.
- 21. a kind of system for realizing that browser bookmark is synchronous, it is characterised in that the system includes terminal and server;The terminal is used for when browser is by a login account login service device, obtains offline book corresponding to the login account Label;The terminal is additionally operable to inquire about the version number of the offline bookmark, and sends an inquiry request, request to the server The version number of network bookmark corresponding to the login account is inquired about, the network bookmark can pass through same login account by multiple terminals Number obtain and modification;The server is used to receive the inquiry request, and the version number of the network bookmark is returned to the terminal;The terminal is additionally operable to receive the version number of the network bookmark, and the version number according to the offline bookmark and the network bookmark Version number judge whether the offline bookmark needs to update, if so, then to server send a download request, request download the net Network bookmark;The server is additionally operable to receive the download request, and sends the network bookmark to the terminal;The terminal is additionally operable to receive the network bookmark, and the offline bookmark is updated to received network bookmark;The terminal is additionally operable to receive the modification operation to shown offline bookmark, and this is offline according to modification operation modification Bookmark;The terminal is additionally operable to judge whether the version number of the offline bookmark is less than the version number of the network bookmark, if the offline book The version number of label is less than the version number of the network bookmark, then sends download request to server, and the network bookmark is downloaded in request;The server is additionally operable to receive the download request, and sends the network bookmark to the terminal;The terminal is additionally operable to receive the network bookmark, and the network bookmark received is merged into the amended offline bookmark, Then the offline bookmark after merging is sent to server;The server is additionally operable to receive the offline bookmark after the merging, and updates the network according to the offline bookmark after the merging Bookmark;The setting rule of the version number is:Whenever the network bookmark in server is updated once, then to the network bookmark Version number's elevated by one step;Whenever offline bookmark is updated once according to the network bookmark, the version number of the offline bookmark is by more Newly into consistent with the version number of the network bookmark;It is after the offline bookmark is changed according to the modification operation, then described offline The version number of bookmark keeps constant.
- 22. the system as claimed in claim 21 for realizing that browser bookmark is synchronous, it is characterised in that the terminal should in acquisition After offline bookmark corresponding to login account, it is additionally operable to:The acquired offline bookmark of display.
- 23. the system as claimed in claim 22 for realizing that browser bookmark is synchronous, it is characterised in that the terminal is used to judge Whether the version number of the offline bookmark is less than the version number of the network bookmark, if so, then judging that the offline bookmark needs to update.
- 24. the system as claimed in claim 23 for realizing that browser bookmark is synchronous, it is characterised in that the terminal is offline by this After bookmark is updated to received network bookmark, it is additionally operable to:According to the shown offline bookmark of the network bookmark renewal received.
- 25. the system as claimed in claim 21 for realizing that browser bookmark is synchronous, it is characterised in that the terminal should in acquisition After offline bookmark corresponding to login account, it is additionally operable to check whether acquired offline bookmark occurs error in data or data are lost Lose, if so, then sending download request to server, the network bookmark is downloaded in request;The server is additionally operable to receive the download request, and sends the network bookmark to the terminal;The terminal is additionally operable to receive the network bookmark, the offline bookmark is updated to received network bookmark, and show more The offline bookmark after new.
- 26. the system for realizing that browser bookmark is synchronous as described in claim 24 or 25, it is characterised in that the terminal should After offline bookmark is updated to received network bookmark, it is additionally operable to:The version number of the offline bookmark is updated to the version number of received network bookmark.
- 27. the system for realizing that browser bookmark is synchronous as described in claim 22 or 24 or 25, it is characterised in that if offline book The version number of label is not less than the version number of the network bookmark, then sends the amended offline bookmark to server;The server is additionally operable to receive the amended offline bookmark, and updates the network according to the amended offline bookmark Bookmark.
- 28. the system as claimed in claim 21 for realizing that browser bookmark is synchronous, it is characterised in that the terminal will be received Network bookmark be merged into the amended offline bookmark after, updated always according to the offline bookmark after the merging shown offline Bookmark.
- 29. the system as claimed in claim 21 for realizing that browser bookmark is synchronous, it is characterised in that the server is additionally operable to After the network bookmark is updated, the version number of the network bookmark after renewal is reset, and by the version number of the reset It is back to the terminal;The terminal is additionally operable to receive the version number of the reset, and the version number of the offline bookmark is updated into what is received Version number.
- 30. the system as claimed in claim 27 for realizing that browser bookmark is synchronous, it is characterised in that the terminal should in modification Before offline bookmark, also the offline bookmark is backed up.
- A kind of 31. method for realizing that browser bookmark is synchronous, it is characterised in that this method comprises the following steps:When browser is by a login account login service device, terminal obtains offline bookmark corresponding to the login account;The version number of the terminal inquiry offline bookmark, and send an inquiry request, the requesting query login to server The version number of network bookmark corresponding to account, the network bookmark can be obtained and repaiied by same login account by multiple terminals Change;The server receives the inquiry request, and the version number of the network bookmark is returned to the terminal;The terminal receives the version number of the network bookmark, according to the version number of the offline bookmark and the version number of the network bookmark Judge whether the offline bookmark needs to update, if so, then sending a download request to the server, the network book is downloaded in request Label;The server receives the download request, and sends the network bookmark to the terminal;The terminal receives the network bookmark, and the offline bookmark is updated to received network bookmark;The terminal receives the modification operation to shown offline bookmark, and is operated according to the modification and change the offline bookmark;The terminal judges whether the version number of the offline bookmark is less than the version number of the network bookmark, if the version of the offline bookmark The network bookmark is downloaded in this number version number for being less than the network bookmark, then the terminal to server transmission download request, request;The server receives the download request, and sends the network bookmark to the terminal;The terminal receives the network bookmark, and the network bookmark received is merged into the amended offline bookmark, then will Offline bookmark after merging is sent to server;The server receives the offline bookmark after the merging, and updates the network bookmark according to the offline bookmark after the merging;The setting rule of the version number is:Whenever the network bookmark in server is updated once, then to the network bookmark Version number's elevated by one step;Whenever offline bookmark is updated once according to the network bookmark, the version number of the offline bookmark is by more Newly into consistent with the version number of the network bookmark;It is after the offline bookmark is changed according to the modification operation, then described offline The version number of bookmark keeps constant.
- 32. the method as claimed in claim 31 for realizing that browser bookmark is synchronous, it is characterised in that being obtained in the terminal should Corresponding to login account the step of offline bookmark after, in addition to:The terminal shows acquired offline bookmark.
- 33. the as claimed in claim 32 method for realizing that browser bookmark is synchronous, it is characterised in that the terminal according to this from The version number of line bookmark and the version number of the network bookmark judge that the step of whether offline bookmark needs renewal includes:The terminal judges whether the version number of the offline bookmark is less than the version number of the network bookmark, if so, then judge should be from Line bookmark needs to update.
- 34. the as claimed in claim 33 method for realizing that browser bookmark is synchronous, it is characterised in that should be from the terminal After line bookmark is updated to the step of received network bookmark, in addition to:The terminal updates shown offline bookmark according to the network bookmark received.
- 35. the method as claimed in claim 31 for realizing that browser bookmark is synchronous, it is characterised in that being obtained in the terminal should Corresponding to login account the step of offline bookmark after, in addition to:Whether the offline bookmark acquired in the terminal inspection occurs error in data or loss of data, if so, then being sent out to server Download request is sent, the network bookmark is downloaded in request;The server receives the download request, and sends the network bookmark to the terminal;The terminal receives the network bookmark, and the offline bookmark is updated to received network bookmark, and show renewal after The offline bookmark.
- 36. the method for realizing that browser bookmark is synchronous as described in claim 34 or 35, it is characterised in that will in the terminal After the offline bookmark is updated to the step of received network bookmark, in addition to:The version number of the offline bookmark is updated to the version number of received network bookmark by the terminal.
- 37. the method for realizing that browser bookmark is synchronous as described in claim 32 or 34 or 35, it is characterised in that also include:If the version number of offline bookmark is not less than the version number of the network bookmark, the amended offline bookmark is sent to clothes Business device;The server receives the amended offline bookmark, and updates the network bookmark according to the amended offline bookmark.
- 38. the method as claimed in claim 31 for realizing that browser bookmark is synchronous, it is characterised in that will be connect in the terminal After the step of network bookmark of receipts is merged into the amended offline bookmark, in addition to:The terminal updates shown offline bookmark according to the offline bookmark after the merging.
- 39. the method as claimed in claim 31 for realizing that browser bookmark is synchronous, it is characterised in that the server update should After network bookmark, the version number of the network bookmark after renewal is also reset, and the version number of the reset is back to The terminal;The terminal receives the version number of the reset, and the version number of the offline bookmark is updated to received version Number.
- 40. the method as claimed in claim 37 for realizing that browser bookmark is synchronous, it is characterised in that the terminal should in modification Before offline bookmark, also the offline bookmark is backed up.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310245884.2A CN104243429B (en) | 2013-06-20 | 2013-06-20 | A kind of method, apparatus and system for realizing that browser bookmark is synchronous |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310245884.2A CN104243429B (en) | 2013-06-20 | 2013-06-20 | A kind of method, apparatus and system for realizing that browser bookmark is synchronous |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104243429A CN104243429A (en) | 2014-12-24 |
CN104243429B true CN104243429B (en) | 2018-01-30 |
Family
ID=52230786
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310245884.2A Active CN104243429B (en) | 2013-06-20 | 2013-06-20 | A kind of method, apparatus and system for realizing that browser bookmark is synchronous |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104243429B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105426403B (en) * | 2015-10-30 | 2020-06-23 | 北京数科网维技术有限责任公司 | Bookmark synchronization method and device |
CN105915572A (en) * | 2015-12-12 | 2016-08-31 | 乐视移动智能信息技术(北京)有限公司 | Mobile terminal data conflict processing method and device |
CN105991770B (en) * | 2016-05-05 | 2018-01-30 | 广州阿里巴巴文学信息技术有限公司 | Data-updating method, client and server |
CN109086304B (en) * | 2018-06-21 | 2023-10-27 | 腾讯科技(武汉)有限公司 | Electronic bookmark updating method, device and storage medium |
CN111046104B (en) * | 2019-12-11 | 2023-05-19 | 北京中网易企秀科技有限公司 | Method and device for synchronizing data and method and device for retrieving synchronous data |
CN112199612B (en) * | 2020-10-10 | 2024-04-19 | Vidaa美国公司 | Bookmark adding and combining method and display equipment |
CN112685664A (en) * | 2020-12-30 | 2021-04-20 | 惠州Tcl移动通信有限公司 | Method and system for updating default bookmark by browser and intelligent terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101969636A (en) * | 2009-12-31 | 2011-02-09 | 优视科技有限公司 | Bookmark management system for mobile communication user terminal and application method thereof |
CN102347966A (en) * | 2010-08-03 | 2012-02-08 | 环达电脑(上海)有限公司 | Webpage bookmark synchronization method for portable equipment and computer |
CN102571688A (en) * | 2010-12-08 | 2012-07-11 | 腾讯科技(深圳)有限公司 | Device, system and method for synchronizing browser bookmark |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1154933C (en) * | 1998-04-07 | 2004-06-23 | 英业达股份有限公司 | Synchronization method of internetwork browsing-device book-mark on different computers |
US20070282802A1 (en) * | 2006-05-09 | 2007-12-06 | International Business Machines Corporation | System, method and program to manage alternate bookmarks |
US7739410B2 (en) * | 2007-01-07 | 2010-06-15 | Apple Inc. | Synchronization methods and systems |
US8171109B2 (en) * | 2007-05-30 | 2012-05-01 | Red Hat, Inc. | Mobile bookmarks |
CN102664932A (en) * | 2012-04-09 | 2012-09-12 | 青岛百灵信息科技有限公司 | Cross-terminal network browser tag page synchronizing method based on cloud computing |
-
2013
- 2013-06-20 CN CN201310245884.2A patent/CN104243429B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101969636A (en) * | 2009-12-31 | 2011-02-09 | 优视科技有限公司 | Bookmark management system for mobile communication user terminal and application method thereof |
CN102347966A (en) * | 2010-08-03 | 2012-02-08 | 环达电脑(上海)有限公司 | Webpage bookmark synchronization method for portable equipment and computer |
CN102571688A (en) * | 2010-12-08 | 2012-07-11 | 腾讯科技(深圳)有限公司 | Device, system and method for synchronizing browser bookmark |
Also Published As
Publication number | Publication date |
---|---|
CN104243429A (en) | 2014-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104243429B (en) | A kind of method, apparatus and system for realizing that browser bookmark is synchronous | |
CN103729765B (en) | A kind of authentication control method, terminal, server, terminal device and system | |
JP6362761B2 (en) | Roaming network access method and apparatus | |
CN103455582A (en) | Display method of navigation page of browser and mobile terminal | |
CN104980455A (en) | Multi-terminal data synchronization method based on cloud storage, device and system thereof | |
CN104539571B (en) | Information interacting method, identification authentication method, server and terminal | |
CN104954233A (en) | Information push method, device and system | |
CN103491525A (en) | Method for achieving card-free mobile phone, mobile phone and server | |
CN104901991A (en) | Methods, devices and system for transferring virtual resource | |
CN103607431B (en) | Mobile terminal resource processing method, device and equipment | |
CN105530222B (en) | Connection method for building up between multiple terminals, device and system | |
CN104426960B (en) | A kind of trial method and device of payment applications | |
CN115801699A (en) | CDN scheduling method, device and system | |
CN105227598A (en) | A kind of resource sharing method, device and system stored based on cloud | |
CN104391629B (en) | The method of directive sending message, the method for display message, server and terminal | |
CN103347029A (en) | Method, terminal, server and system for service data interaction | |
CN104123210A (en) | Method, device and system for testing performance of browser | |
CN104049998B (en) | The processing method of upgrade package, device and equipment in a kind of android system | |
CN104426848A (en) | Method and system for logging in web application | |
CN111177612B (en) | Page login authentication method and related device | |
CN104506616A (en) | Method, device and system for sending information by browser client side | |
CN110430252B (en) | Resource data processing method and device, equipment and readable storage medium | |
CN104702643A (en) | A webpage access method, device and system | |
CN104866288A (en) | Method, device and terminal for accessing application program | |
CN103631621A (en) | Method and device for prompting information |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221114 Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518100 Patentee after: Shenzhen Yayue Technology Co.,Ltd. Address before: 2, 518044, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |