CN105099686A - Data synchronization method, server, terminal and system - Google Patents

Data synchronization method, server, terminal and system Download PDF

Info

Publication number
CN105099686A
CN105099686A CN201410201581.5A CN201410201581A CN105099686A CN 105099686 A CN105099686 A CN 105099686A CN 201410201581 A CN201410201581 A CN 201410201581A CN 105099686 A CN105099686 A CN 105099686A
Authority
CN
China
Prior art keywords
log
message
terminal
server
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410201581.5A
Other languages
Chinese (zh)
Other versions
CN105099686B (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 CN201410201581.5A priority Critical patent/CN105099686B/en
Publication of CN105099686A publication Critical patent/CN105099686A/en
Application granted granted Critical
Publication of CN105099686B publication Critical patent/CN105099686B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a data synchronization method, server, terminal and system. The invention relates to the field of information technology, and solves the problem of easy loss of user data when a user ID is lost in the prior art. The method comprises the steps of receiving a data synchronization request transmitted by a terminal, the data synchronization request carrying a terminal identifier of the terminal and being used for synchronizing login information stored in a server into the terminal; determining whether the login information corresponding to the terminal identifier is saved in a database of the server; and if so, synchronizing the login information to the terminal, the login information including identification information of different websites, login information corresponding to different websites and correspondence between the different websites and the corresponding login information. The invention is mainly applied to the process of data synchronization.

Description

The method of data syn-chronization, server, terminal and system
Technical field
The present invention relates to areas of information technology, particularly a kind of method of data syn-chronization, server, terminal and system.
Background technology
Along with the development of network technology, use the user number of the Internet also to get more and more, share as carried out website login information by the Internet and recover.
The shared mechanism of current employing is as follows: survey as each user ID creates corresponding memory space at server.User, by logging in legal user ID in the client, uploads website login information by legal user ID in server.When needs are shared or recover website login information, user logs in this legal user ID by any station terminal, can download the website login information uploaded from network, realizes sharing of website login information.
State in realization in the process of capacity prompt, inventor finds after hacker learns the user ID that user uses, and by another device downloads website login information, steals user privacy information user data and easily loses.
Summary of the invention
The method of the data syn-chronization that the embodiment of the present invention provides, server, terminal and system, for solving in prior art after user ID is lost, the problem that user data is easily lost.
First aspect, the invention provides a kind of method of data syn-chronization, and described method is applied to server, and described method comprises:
The data synchronization request that receiving terminal sends, carries the terminal iidentification of described terminal in described data synchronization request, described data synchronization request is used for the log-on message stored in described server to be synchronized in described terminal;
Judge in server database, whether to preserve log-on message corresponding to described terminal iidentification;
If preserve the log-on message that the terminal iidentification of described terminal is corresponding in server database, then described log-on message is synchronized to described terminal, described log-on message comprises identification information, the different web sites log-on message of correspondence and the corresponding relation between different web sites with log-on message corresponding respectively respectively of different web sites.
Second aspect, present invention also offers a kind of method of data syn-chronization, and described method is applied to terminal, and described method comprises:
Obtain log-on message according to register, described log-on message comprises identification information, the different web sites log-on message of correspondence and the corresponding relation between different web sites with log-on message corresponding respectively respectively of different web sites;
The log-on message of acquisition is sent to server upgrade;
When needs carry out synchronous to log-on message, data synchronization request is sent to server, carry the terminal iidentification of described terminal in described data synchronization request, described data synchronization request is used for the log-on message stored in described server to be synchronized in described terminal.
The third aspect, present invention also offers a kind of server, and described server comprises:
First receiving element, for the data synchronization request that receiving terminal sends, carries the terminal iidentification of described terminal in described data synchronization request, described data synchronization request is used for the log-on message stored in described server to be synchronized in described terminal;
First judging unit, for judging whether to preserve in server database log-on message corresponding to described terminal iidentification that described first receiving element receives;
Lock unit, during for log-on message that the terminal iidentification obtaining preserving in server database described terminal when described first judging unit is corresponding, described log-on message is synchronized to described terminal, and described log-on message comprises identification information, the different web sites log-on message of correspondence and the corresponding relation between different web sites with log-on message corresponding respectively respectively of different web sites.
Fourth aspect, present invention also offers a kind of terminal, and described terminal comprises:
Acquiring unit, for obtaining log-on message according to register, described log-on message comprises identification information, the different web sites log-on message of correspondence and the corresponding relation between different web sites with log-on message corresponding respectively respectively of different web sites;
First transmitting element, the log-on message for being obtained by described acquiring unit is sent to server and upgrades;
Second transmitting element, for when needs carry out synchronous to log-on message, send data synchronization request to server, carry the terminal iidentification of described terminal in described data synchronization request, described data synchronization request is used for the log-on message stored in described server to be synchronized in described terminal.
5th aspect, present invention also offers a kind of system of data syn-chronization, and described system comprises the server described in the third aspect and the terminal described in fourth aspect.
The method of the data syn-chronization that the embodiment of the present invention provides, server, terminal and system, can receiving terminal send data synchronization request, carry the terminal iidentification of described terminal in described data synchronization request, described data synchronization request is used for the log-on message stored in described server to be synchronized in described terminal; Judge in server database, whether to preserve log-on message corresponding to described terminal iidentification; If preserve the log-on message that the terminal iidentification of described terminal is corresponding in server database, then described log-on message is synchronized to described terminal, described log-on message comprises identification information, the different web sites log-on message of correspondence and the corresponding relation between different web sites with log-on message corresponding respectively respectively of different web sites.Prior art only compares user ID, and therefore there is hacker can the log-on message of download user according to user ID after user ID by stealing, and user privacy information is easily stolen.According to terminal iidentification, the present invention, when carrying out data syn-chronization, determines whether the synchronous terminal of request is legal terminal, if legal terminal, sends synchrodata to terminal.Even if now hacker has stolen user ID, but owing to not preserving log-on message corresponding to described terminal iidentification (equipment that hacker uses is illegal terminal) in server database, therefore hacker cannot realize data syn-chronization in illegal terminal, and then avoid the privacy information of user to be stolen, improve the fail safe of user privacy information.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The flow chart of the method for first data syn-chronization of Fig. 1 for providing in the embodiment of the present invention;
The flow chart of the method for second data syn-chronization of Fig. 2 for providing in the embodiment of the present invention;
The flow chart of the method for three data syn-chronization of Fig. 3 for providing in the embodiment of the present invention;
The structural representation of a corresponding relation of Fig. 4 for providing in the embodiment of the present invention;
The flow chart of the method for four data syn-chronization of Fig. 5 for providing in the embodiment of the present invention;
The flow chart of the method for five data syn-chronization of Fig. 6 for providing in the embodiment of the present invention;
The flow chart of the method for six data syn-chronization of Fig. 7 for providing in the embodiment of the present invention;
The flow chart of the method for seven data syn-chronization of Fig. 8 for providing in the embodiment of the present invention;
The structural representation of first server of Fig. 9 for providing in the embodiment of the present invention;
The structural representation of second server of Figure 10 for providing in the embodiment of the present invention;
The structural representation of three server of Figure 11 for providing in the embodiment of the present invention;
The structural representation of four server of Figure 12 for providing in the embodiment of the present invention;
The structural representation of first terminal of Figure 13 for providing in the embodiment of the present invention;
The structural representation of second terminal of Figure 14 for providing in the embodiment of the present invention;
The structural representation of three terminal of Figure 15 for providing in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
For making the advantage of technical solution of the present invention clearly, below in conjunction with drawings and Examples, the present invention is elaborated.
Embodiments provide a kind of method of data syn-chronization, described method is applied to server, and as shown in Figure 1, described method comprises:
The data synchronization request that step 101, receiving terminal send.
Wherein, carry the terminal iidentification of terminal in described data synchronization request, data synchronization request is used for the log-on message stored in server to be synchronized in terminal.
Terminal iidentification is the hardware identifier of terminal, for unique identification terminal.Optionally, adopt terminal mainboard numbering as terminal iidentification.Optionally, adopt the physical address of terminal network interface card as terminal iidentification.Data synchronization request is terminal request to server transmission when needing to carry out data syn-chronization, for the synchronous flow process of log-on data.
Step 102, judge in server database, whether to preserve log-on message corresponding to terminal iidentification.
Server database be in server for storing the database of information, preserve the corresponding relation of the terminal iidentification that user ID and user use in this database.Described log-on message comprises the username and password that the logged website of user uses.Such as: user log in mailbox time, the user name of input and login password.Or, user log in social network sites time, the username and password of input.Or, user log in shopping website time, the user name of input and password.Or, user log in forum time, the username and password of input.
If preserve the log-on message that the terminal iidentification of terminal is corresponding in step 103a server database, then log-on message is synchronized to terminal.
Log-on message comprises identification information, the different web sites log-on message of correspondence and the corresponding relation between different web sites with log-on message corresponding respectively respectively of different web sites.The identification information of website is as the network address of website or web site name or URL address, website etc.The username and password of input is needed when log-on message corresponding to website is Website login.
If do not preserve the log-on message that the terminal iidentification of terminal is corresponding in step 103b server database, then send information to terminal.
The authority of described information for pointing out the terminal of the current use of user not have shared log-on message.
The method of the data syn-chronization that the embodiment of the present invention provides, server, terminal and system, can receiving terminal send data synchronization request, carry the terminal iidentification of described terminal in described data synchronization request, described data synchronization request is used for the log-on message stored in described server to be synchronized in described terminal; Judge in server database, whether to preserve log-on message corresponding to described terminal iidentification; If preserve the log-on message that the terminal iidentification of described terminal is corresponding in server database, then described log-on message is synchronized to described terminal, described log-on message comprises identification information, the different web sites log-on message of correspondence and the corresponding relation between different web sites with log-on message corresponding respectively respectively of different web sites.Prior art only compares user ID, and therefore there is hacker can the log-on message of download user according to user ID after user ID by stealing, and user privacy information is easily stolen.According to terminal iidentification, the present invention, when carrying out data syn-chronization, determines whether the synchronous terminal of request is legal terminal, if legal terminal, sends synchrodata to terminal.Even if now hacker has stolen user ID, but owing to not preserving log-on message corresponding to described terminal iidentification (equipment that hacker uses is illegal terminal) in server database, therefore hacker cannot realize data syn-chronization in illegal terminal, and then avoid the privacy information of user to be stolen, improve the fail safe of user privacy information.
The embodiment of the present invention additionally provides a kind of method of data syn-chronization, and as further illustrating method shown in Fig. 1, as shown in Figure 2, before the data synchronization request that step 101, receiving terminal send, described method also comprises:
Step 201, reception user log in instruction, and user logs in instruction and carries authentication information.
In data synchronization request, carry user log in instruction.Or, before the data synchronization request that receiving terminal sends, receive user log in instruction, to determine whether user has Share Permissions.Authentication information comprises user name and password, and this user name and password are user for the user name logged in and password.
Step 202, judge that whether authentication information is identical with preset authentication information.
Preset authentication information is that user is in advance at user name and the password of registration.Authentication information is used for the authority whether authentication of users has shared log-on message, if authentication information is identical with preset authentication confidence, then uses authentication information legal, and user has the authority initiated log-on message and share.
If step 203a authentication information is identical with preset authentication information, then send confirmation to terminal, confirmation is used for representing passes through authentication.
The terminal that user uses, after receiving the confirmation information, enters shared interface, so that user initiates data synchronization request.
If step 203b authentication information is different from preset authentication information, then send login failure information to user.
Described login failure information is for pointing out the authentication information of the current use of user invalid.
The method of the data syn-chronization that the embodiment of the present invention provides, can verify the legitimacy of user identity before carrying out data syn-chronization, improved the fail safe of data syn-chronization further.
The embodiment of the present invention also provides the method for age a kind of data syn-chronization, and as further illustrating method shown in Fig. 1, as shown in Figure 3, before the data synchronization request that step 101, receiving terminal send, described method also comprises:
Step 301, receive the terminal iidentification of log-on message that user uploaded by terminal and terminal.
The terminal iidentification of log-on message to be synchronized and current use terminal, after logging in first, is sent to server by user.
Step 302, set up the corresponding relation of user, terminal iidentification and log-on message.
As shown in Figure 4, a user ID may correspond to multiple terminal iidentification, an a user ID only corresponding log-on message.As shown in Figure 4, being exemplified as of one group of corresponding relation: { user 1, terminal A, terminal B, terminal C, log-on message }.When setting up the corresponding relation of user ID and each terminal iidentification, in order to fail safe, from setting up the corresponding relation of second user ID and terminal iidentification, user need provide at least one terminal iidentification preserved as authorization information.If the terminal iidentification that user provides stores, then set up and new corresponding relation is set up.
Step 303, the user ID of preserving user in server database, terminal iidentification, log-on message and corresponding relation.
The method of the data syn-chronization that the embodiment of the present invention provides, can set up the corresponding relation of user ID, multiple terminal iidentification and log-on message, realizes multiple terminals and logs in and share.
The embodiment of the present invention additionally provides a kind of method of data syn-chronization, and as illustrating method described in Fig. 3, as shown in Figure 5, step 303, the user ID of preserving user in server database, terminal iidentification, log-on message and corresponding relation, comprising:
Step 501, the user ID of user, terminal iidentification, log-on message and corresponding relation to be encrypted.
Be encrypted by MD5 (MessageDigestAlgorithm, Message Digest 5) cipher mode.
Step 502, by encryption after data be kept in server database.
If preserve the login record that the terminal iidentification of terminal is corresponding in step 103 server database, then log-on message is synchronized to terminal, comprises:
If preserve the log-on message that the terminal iidentification of terminal is corresponding in step 503 server database, then log-on message is decrypted.
Step 504, by deciphering after log-on message be synchronized to terminal.
The method of the data syn-chronization that the embodiment of the present invention provides, can being encrypted the login record preserved, being decrypted when sending described log-on message to terminal by decipherment algorithm, the log-on message after deciphering is sent to terminal in server database.Server database is encrypted data in this locality, can improve the fail safe of data.
The embodiment of the present invention additionally provides a kind of method of data syn-chronization, and described method is applied to terminal, and as shown in Figure 6, described method comprises:
Step 601, according to register obtain log-on message.
Described log-on message comprises identification information, the different web sites log-on message of correspondence and the corresponding relation between different web sites with log-on message corresponding respectively respectively of different web sites.
When user's Successful login, obtain the log-on message that user inputs in input frame.Input frame comprises: the input frame of the input frame of mailbox login interface, the input frame of shopping website login interface, social network sites login interface or the social input frame applied in login interface.
Step 602, the log-on message of acquisition is sent to server upgrades.
When user inputs new log-on message (log-on message that terminal is not preserved), the log-on message of acquisition is sent to server and upgrades.Or after user inputs the user name stored, have input again new password and login successfully, then this user name and password being replaced in this locality.
Step 603, when needs carry out synchronous to log-on message, to server send data synchronization request.
Wherein, carry the terminal iidentification of described terminal in described data synchronization request, described data synchronization request is used for the log-on message stored in described server to be synchronized in described terminal.
After terminal (computer) is installed again, the log-on message that terminal local stores is all deleted, now needs to carry out synchronously log-on message.Or after the log-on message in terminal is artificially deleted, user wishes to recover original log-on message, now needs to carry out the synchronous of log-on message.
The method of the data syn-chronization that the embodiment of the present invention provides, can realize the synchronous of terminal browsing information according to terminal iidentification.Prior art only compares user ID, and therefore there is hacker can the log-on message of download user according to user ID after user ID by stealing, and user privacy information is easily stolen.The present invention is when carrying out data syn-chronization, and when carrying out data syn-chronization, carried terminal mark in data synchronization request, makes server determine whether the synchronous terminal of request is legal terminal according to terminal iidentification, if legal terminal, send synchrodata to terminal.Even if now hacker has stolen user ID, but owing to not preserving log-on message corresponding to described terminal iidentification (equipment that hacker uses is illegal terminal) in server database, therefore hacker cannot realize data syn-chronization in illegal terminal, and then avoid the privacy information of user to be stolen, improve the fail safe of user privacy information.
The embodiment of the present invention additionally provides a kind of method of data syn-chronization, and as further describing method shown in Fig. 6, as shown in Figure 7, before sending data synchronization request in step 603, to server, described method also comprises:
Step 701, send user to described server and log in instruction.
Described user logs in instruction and carries authentication information.
Step 702, receive described server send confirmation, described confirmation be used for represent passes through authentication.
The method of the data syn-chronization that the embodiment of the present invention provides, can verify the legitimacy of user identity before carrying out data syn-chronization, improved the fail safe of data syn-chronization further.
The embodiment of the present invention additionally provides a kind of method of data syn-chronization, as illustrating method shown in Fig. 6, step 601, according to register obtain log-on message, comprising:
1, automatic acquisition log-on message in the login interface of described different web sites.
Automatic acquisition be when the log-on message of user's input is identical from the user name of preserving but password is different and login successfully time, obtain the log-on message that user inputs, and the log-on message of having preserved replaced with the log-on message of acquisition.
2, described log-on message is obtained according to the log-on message edit instruction of user's input.
Terminal demonstration log-on message editing interface, for user provides the interface manually arranged.Show whole log-on messages of having preserved in this editing interface, this log-on message comprises website, username and password.User carries out manual editing by editing interface.
The method of the data syn-chronization that the embodiment of the present invention provides, can input two kinds of modes by automatic acquisition and user and obtain log-on message, make operation easier.
The embodiment of the present invention additionally provides a kind of method of data syn-chronization, and as further illustrating method shown in Fig. 6, as shown in Figure 8, after obtaining log-on message in step 601, according to register, described method also comprises:
Step 801, to obtain log-on message be encrypted.
Be encrypted by MD5 (MessageDigestAlgorithm, Message Digest 5) cipher mode.
Step 602, the log-on message of acquisition be sent to server upgrade, comprising:
Step 802, the log-on message after encryption is sent to server and upgrades.
The method of the data syn-chronization that the embodiment of the present invention provides, can ensure the safety of browsing information in the data transmission, avoids expressly being learnt by hacker, improves the fail safe of browsing information in transmitting procedure.
The embodiment of the present invention additionally provides a kind of server 9, and as shown in Figure 9, described server 9 comprises:
First receiving element 91, for the data synchronization request that receiving terminal sends, carries the terminal iidentification of described terminal in described data synchronization request, described data synchronization request is used for the log-on message stored in described server 9 to be synchronized in described terminal;
First judging unit 92, for judging whether to preserve in server database log-on message corresponding to described terminal iidentification that described first receiving element 91 receives;
Lock unit 93, during for the log-on message corresponding when the terminal iidentification that described first judging unit 92 obtains preserving in server database described terminal, described log-on message is synchronized to described terminal, and described log-on message comprises identification information, the different web sites log-on message of correspondence and the corresponding relation between different web sites with log-on message corresponding respectively respectively of different web sites.
The server 9 that the embodiment of the present invention provides, can receiving terminal send data synchronization request, carry the terminal iidentification of described terminal in described data synchronization request, described data synchronization request is used for the log-on message stored in described server 9 to be synchronized in described terminal; Judge in server database, whether to preserve log-on message corresponding to described terminal iidentification; If preserve the log-on message that the terminal iidentification of described terminal is corresponding in server database, then described log-on message is synchronized to described terminal, described log-on message comprises identification information, the different web sites log-on message of correspondence and the corresponding relation between different web sites with log-on message corresponding respectively respectively of different web sites.Prior art only compares user ID, and therefore there is hacker can the log-on message of download user according to user ID after user ID by stealing, and user privacy information is easily stolen.According to terminal iidentification, the present invention, when carrying out data syn-chronization, determines whether the synchronous terminal of request is legal terminal, if legal terminal, sends synchrodata to terminal.Even if now hacker has stolen user ID, but owing to not preserving log-on message corresponding to described terminal iidentification (equipment that hacker uses is illegal terminal) in server database, therefore hacker cannot realize data syn-chronization in illegal terminal, and then avoid the privacy information of user to be stolen, improve the fail safe of user privacy information.
Further, as shown in Figure 10, described server 9 also comprises:
Second receiving element 1001, log in instruction for receiving user, described user logs in instruction and carries authentication information;
Whether the second judging unit 1002 is identical with preset authentication information for judging the described authentication information that described second receiving element 1001 receives;
First transmitting element 1003, for obtain when described second judging unit 1002 described authentication information identical with described preset authentication information time, send confirmation to described terminal, described confirmation is used for representing passes through authentication.
The server 9 that the embodiment of the present invention provides, can verify the legitimacy of user identity before carrying out data syn-chronization, improved the fail safe of data syn-chronization further.
Further, as shown in figure 11, described server 9 also comprises:
3rd receiving element 1101, for receiving the terminal iidentification of log-on message that user uploaded by described terminal and described terminal;
Set up unit 1102, for setting up the corresponding relation of the described user that described 3rd receiving element 1101 receives, described terminal iidentification and described log-on message;
Memory cell 1103, for preserving the user ID of described user, described terminal iidentification, described log-on message and the described described corresponding relation set up unit 1102 and set up in server database.
The server 9 that the embodiment of the present invention provides, can set up the corresponding relation of user ID, multiple terminal iidentification and log-on message, realizes multiple terminals and logs in and share.
Further, as shown in figure 12, described memory cell 1103 comprises:
Encryption sub-unit operable 1201, for being encrypted the user ID of described user, described terminal iidentification, described log-on message and described corresponding relation;
Storing sub-units 1202, is kept in described server database for the data after being encrypted by described encryption sub-unit operable 1201;
Further, described lock unit 93 comprises:
Deposit deciphering subelement 1203, during for the log-on message corresponding when the terminal iidentification preserving described terminal in server database, described log-on message is decrypted;
Synchronous subelement 1204, for by described deposit deciphering subelement 1203 decipher after described log-on message be synchronized to described terminal.
The server 9 that the embodiment of the present invention provides, can being encrypted the login record preserved, being decrypted when sending described log-on message to terminal by decipherment algorithm, the log-on message after deciphering is sent to terminal in server database.Server database is encrypted data in this locality, can improve the fail safe of data.
The embodiment of the present invention additionally provides a kind of terminal 14, and as shown in figure 13, described terminal 14 comprises:
Acquiring unit 1301, for obtaining log-on message according to register, described log-on message comprises identification information, the different web sites log-on message of correspondence and the corresponding relation between different web sites with log-on message corresponding respectively respectively of different web sites;
First transmitting element 1302, the log-on message for being obtained by described acquiring unit 1301 is sent to server and upgrades;
Second transmitting element 1303, for when needs carry out synchronous to log-on message, data synchronization request is sent to server, the terminal 14 carrying described terminal 14 in described data synchronization request identifies, and described data synchronization request is used for the log-on message stored in described server to be synchronized in described terminal 14.
The terminal 14 that the embodiment of the present invention provides, can realize the synchronous of terminal 14 browsing information according to terminal 14 mark.Prior art only compares user ID, and therefore there is hacker can the log-on message of download user according to user ID after user ID by stealing, and user privacy information is easily stolen.The present invention is when carrying out data syn-chronization, when carrying out data syn-chronization, in data synchronization request, carried terminal 14 identifies, and makes server determine whether the synchronous terminal 14 of request is legal terminal according to terminal 14 mark, if legal terminal, send synchrodata to terminal 14.Even if now hacker has stolen user ID, but identify corresponding log-on message (equipment that hacker uses is illegal terminal) owing to not preserving described terminal 14 in server database, therefore hacker cannot realize data syn-chronization in illegal terminal, and then avoid the privacy information of user to be stolen, improve the fail safe of user privacy information.
Further, as shown in figure 14, described terminal 14 also comprises:
3rd transmitting element 1401, log in instruction for sending user to described server, described user logs in instruction and carries authentication information;
First receiving element 1402, for receiving the confirmation that described server sends, described confirmation is used for representing passes through authentication.
The terminal 14 that the embodiment of the present invention provides, can verify the legitimacy of user identity before carrying out data syn-chronization, improved the fail safe of data syn-chronization further.
Further, described acquiring unit 1301 also for:
Automatic acquisition log-on message in the login interface of described different web sites;
Or the log-on message edit instruction according to user's input obtains described log-on message.
The terminal 14 that the embodiment of the present invention provides, can input two kinds of modes by automatic acquisition and user and obtain log-on message, make operation easier.
Further, as shown in figure 15, described terminal 14 also comprises:
Ciphering unit 1501, for being encrypted the described log-on message obtaining single acquisition;
Described first transmitting element 1502 also for, the log-on message after encryption is sent to server and upgrades.
The terminal 14 that the embodiment of the present invention provides, can ensure the safety of browsing information in the data transmission, avoids expressly being learnt by hacker, improves the fail safe of browsing information in transmitting procedure.
The embodiment of the present invention additionally provides a kind of system of data syn-chronization, and described system comprises the terminal in server in Fig. 9 to Figure 12 described in arbitrary width and Figure 13 to Figure 15 described in arbitrary width.
The system of the server that the embodiment of the present invention provides, terminal and data syn-chronization can realize the above-mentioned embodiment of the method provided, and concrete function realizes the explanation referred in embodiment of the method, does not repeat them here.The method of the data syn-chronization that the embodiment of the present invention provides, server, terminal and system go for areas of information technology, but are not limited only to this.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (17)

1. a method for data syn-chronization, is characterized in that, described method is applied to server, and described method comprises:
The data synchronization request that receiving terminal sends, carries the terminal iidentification of described terminal in described data synchronization request, described data synchronization request is used for the log-on message stored in described server to be synchronized in described terminal;
Judge in server database, whether to preserve log-on message corresponding to described terminal iidentification;
If preserve the log-on message that the terminal iidentification of described terminal is corresponding in server database, then described log-on message is synchronized to described terminal, described log-on message comprises identification information, the different web sites log-on message of correspondence and the corresponding relation between different web sites with log-on message corresponding respectively respectively of different web sites.
2. the method for data syn-chronization according to claim 1, is characterized in that, before the step of the data synchronization request sent at described receiving terminal, described method also comprises:
Receive user and log in instruction, described user logs in instruction and carries authentication information;
Judge that whether described authentication information is identical with preset authentication information;
If described authentication information is identical with described preset authentication information, then send confirmation to described terminal, described confirmation is used for representing passes through authentication.
3. the method for data syn-chronization according to claim 1, is characterized in that, before the step of the data synchronization request of receiving terminal transmission, described method also comprises:
Receive the terminal iidentification of log-on message that user uploaded by described terminal and described terminal;
Set up the corresponding relation of described user, described terminal iidentification and described log-on message;
The user ID of described user, described terminal iidentification, described log-on message and described corresponding relation is preserved in server database.
4. the method for data syn-chronization according to claim 3, is characterized in that, described step of preserving the user ID of described user, described terminal iidentification, described log-on message and described corresponding relation in server database, comprising:
The user ID of described user, described terminal iidentification, described log-on message and described corresponding relation are encrypted;
Data after encryption are kept in described server database;
If preserve the login record that the terminal iidentification of described terminal is corresponding in described server database, then described log-on message is synchronized to the step of described terminal, comprises:
If preserve the log-on message that the terminal iidentification of described terminal is corresponding in described server database, then described log-on message is decrypted;
Described log-on message after deciphering is synchronized to described terminal.
5. a method for data syn-chronization, is characterized in that, described method is applied to terminal, and described method comprises:
Obtain log-on message according to register, described log-on message comprises identification information, the different web sites log-on message of correspondence and the corresponding relation between different web sites with log-on message corresponding respectively respectively of different web sites;
The log-on message of acquisition is sent to server upgrade;
When needs carry out synchronous to log-on message, data synchronization request is sent to server, carry the terminal iidentification of described terminal in described data synchronization request, described data synchronization request is used for the log-on message stored in described server to be synchronized in described terminal.
6. the method for data syn-chronization according to claim 5, is characterized in that, before the step sending data synchronization request to server, described method also comprises:
Send user to described server and log in instruction, described user logs in instruction and carries authentication information;
Receive the confirmation that described server sends, described confirmation is used for representing passes through authentication.
7. the method for data syn-chronization according to claim 5, is characterized in that, the described step obtaining log-on message according to register, comprising:
Automatic acquisition log-on message in the login interface of described different web sites;
Or the log-on message edit instruction according to user's input obtains described log-on message.
8. the method for the data syn-chronization according to any one of claim 5 to 7, is characterized in that, after the step obtaining log-on message according to register, described method also comprises:
The log-on message obtained is encrypted;
The described log-on message by acquisition is sent to the step that server carries out upgrading and comprises:
Log-on message after encryption is sent to server upgrade.
9. a server, is characterized in that, described server comprises:
First receiving element, for the data synchronization request that receiving terminal sends, carries the terminal iidentification of described terminal in described data synchronization request, described data synchronization request is used for the log-on message stored in described server to be synchronized in described terminal;
First judging unit, for judging whether to preserve in server database log-on message corresponding to described terminal iidentification that described first receiving element receives;
Lock unit, during for log-on message that the terminal iidentification obtaining preserving in server database described terminal when described first judging unit is corresponding, described log-on message is synchronized to described terminal, and described log-on message comprises identification information, the different web sites log-on message of correspondence and the corresponding relation between different web sites with log-on message corresponding respectively respectively of different web sites.
10. server according to claim 9, is characterized in that, described server also comprises:
Second receiving element, log in instruction for receiving user, described user logs in instruction and carries authentication information;
Whether the second judging unit is identical with preset authentication information for judging the described authentication information that described second receiving element receives;
First transmitting element, for obtain when described second judging unit described authentication information identical with described preset authentication information time, send confirmation to described terminal, described confirmation is used for representing passes through authentication.
11. servers according to claim 10, is characterized in that, described server also comprises:
3rd receiving element, for receiving the terminal iidentification of log-on message that user uploaded by described terminal and described terminal;
Set up unit, for setting up the corresponding relation of the described user that described 3rd receiving element receives, described terminal iidentification and described log-on message;
Memory cell, for preserving the user ID of described user, described terminal iidentification, described log-on message and the described described corresponding relation set up unit and set up in server database.
12. servers according to claim 11, is characterized in that, described memory cell comprises:
Encryption sub-unit operable, for being encrypted the user ID of described user, described terminal iidentification, described log-on message and described corresponding relation;
Storing sub-units, for being kept in described server database by the data after described encryption sub-unit operable encryption;
Described lock unit comprises:
Deciphering subelement, during for the log-on message corresponding when the terminal iidentification preserving described terminal in server database, is decrypted described log-on message;
Synchronous subelement, for being synchronized to described terminal by the described log-on message after described deciphering subelement deciphering.
13. 1 kinds of terminals, is characterized in that, described terminal comprises:
Acquiring unit, for obtaining log-on message according to register, described log-on message comprises identification information, the different web sites log-on message of correspondence and the corresponding relation between different web sites with log-on message corresponding respectively respectively of different web sites;
First transmitting element, the log-on message for being obtained by described acquiring unit is sent to server and upgrades;
Second transmitting element, for when needs carry out synchronous to log-on message, send data synchronization request to server, carry the terminal iidentification of described terminal in described data synchronization request, described data synchronization request is used for the log-on message stored in described server to be synchronized in described terminal.
14. terminals according to claim 13, is characterized in that, described terminal also comprises:
3rd transmitting element, log in instruction for sending user to described server, described user logs in instruction and carries authentication information;
First receiving element, for receiving the confirmation that described server sends, described confirmation is used for representing passes through authentication.
15. terminals according to claim 13, is characterized in that, described acquiring unit also for:
Automatic acquisition log-on message in the login interface of described different web sites;
Or the log-on message edit instruction according to user's input obtains described log-on message.
16. according to claim 13 to the terminal according to any one of 15, it is characterized in that described terminal also comprises:
Ciphering unit, for being encrypted the described log-on message obtaining single acquisition;
Described first transmitting element also for, the log-on message after encryption is sent to server and upgrades.
The system of 17. 1 kinds of data syn-chronization, is characterized in that, described system comprises the server according to any one of claim 9 to 12 and the terminal according to any one of claim 13 to 16.
CN201410201581.5A 2014-05-13 2014-05-13 Data synchronous method, server, terminal and system Active CN105099686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410201581.5A CN105099686B (en) 2014-05-13 2014-05-13 Data synchronous method, server, terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410201581.5A CN105099686B (en) 2014-05-13 2014-05-13 Data synchronous method, server, terminal and system

Publications (2)

Publication Number Publication Date
CN105099686A true CN105099686A (en) 2015-11-25
CN105099686B CN105099686B (en) 2019-08-23

Family

ID=54579325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410201581.5A Active CN105099686B (en) 2014-05-13 2014-05-13 Data synchronous method, server, terminal and system

Country Status (1)

Country Link
CN (1) CN105099686B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106096343A (en) * 2016-05-27 2016-11-09 腾讯科技(深圳)有限公司 Message access control method and equipment
CN107124457A (en) * 2017-04-27 2017-09-01 广东欧珀移动通信有限公司 Application data synchronous method, application data sychronisation and server
CN108924144A (en) * 2018-07-13 2018-11-30 Oppo广东移动通信有限公司 Data capture method, data-acquisition system, terminal and diagnostic tool
CN110557412A (en) * 2018-05-30 2019-12-10 杭州海康威视数字技术股份有限公司 data synchronization method and device
CN113918266A (en) * 2021-11-23 2022-01-11 成都泰盟软件有限公司 Multi-terminal data synchronous response method based on local area network

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130918A (en) * 2011-04-01 2011-07-20 张仁平 Account binding system for network logon authentication
CN102497635A (en) * 2011-11-28 2012-06-13 宇龙计算机通信科技(深圳)有限公司 Server, terminal and account password acquisition method
CN102724310A (en) * 2012-06-18 2012-10-10 惠州Tcl移动通信有限公司 Method using mobile terminal to implement cloud searching
CN102780708A (en) * 2012-08-17 2012-11-14 广东利为网络科技有限公司 Remote assistant login method and system
CN102868732A (en) * 2012-08-27 2013-01-09 北京小米科技有限责任公司 Account password-based login implementation method, system and device
CN103095659A (en) * 2011-11-03 2013-05-08 北京神州泰岳软件股份有限公司 Account login method and system in internet
CN103401907A (en) * 2013-07-23 2013-11-20 惠州Tcl移动通信有限公司 Synchronous processing method and system for login information of application program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130918A (en) * 2011-04-01 2011-07-20 张仁平 Account binding system for network logon authentication
CN103095659A (en) * 2011-11-03 2013-05-08 北京神州泰岳软件股份有限公司 Account login method and system in internet
CN102497635A (en) * 2011-11-28 2012-06-13 宇龙计算机通信科技(深圳)有限公司 Server, terminal and account password acquisition method
CN102724310A (en) * 2012-06-18 2012-10-10 惠州Tcl移动通信有限公司 Method using mobile terminal to implement cloud searching
CN102780708A (en) * 2012-08-17 2012-11-14 广东利为网络科技有限公司 Remote assistant login method and system
CN102868732A (en) * 2012-08-27 2013-01-09 北京小米科技有限责任公司 Account password-based login implementation method, system and device
CN103401907A (en) * 2013-07-23 2013-11-20 惠州Tcl移动通信有限公司 Synchronous processing method and system for login information of application program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106096343A (en) * 2016-05-27 2016-11-09 腾讯科技(深圳)有限公司 Message access control method and equipment
CN106096343B (en) * 2016-05-27 2019-09-13 腾讯科技(深圳)有限公司 Message access control method and equipment
US10791112B2 (en) 2016-05-27 2020-09-29 Tencent Technology (Shenzhen) Company Limited Message right management method, device and storage medium
US11539687B2 (en) 2016-05-27 2022-12-27 Tencent Technology (Shenzhen) Company Limited Message right management method, device and storage medium
CN107124457A (en) * 2017-04-27 2017-09-01 广东欧珀移动通信有限公司 Application data synchronous method, application data sychronisation and server
CN110557412A (en) * 2018-05-30 2019-12-10 杭州海康威视数字技术股份有限公司 data synchronization method and device
CN108924144A (en) * 2018-07-13 2018-11-30 Oppo广东移动通信有限公司 Data capture method, data-acquisition system, terminal and diagnostic tool
CN113918266A (en) * 2021-11-23 2022-01-11 成都泰盟软件有限公司 Multi-terminal data synchronous response method based on local area network

Also Published As

Publication number Publication date
CN105099686B (en) 2019-08-23

Similar Documents

Publication Publication Date Title
CN108768970B (en) Binding method of intelligent equipment, identity authentication platform and storage medium
US20200287726A1 (en) Remote device control
CN105007577B (en) A kind of virtual SIM card parameter management method, mobile terminal and server
CN105101194A (en) Terminal security authentication method, device and system
CN102142961B (en) Method, device and system for authenticating gateway, node and server
TW201706900A (en) Method and device for authentication using dynamic passwords
CN103297408A (en) Login method and device, terminal and network server
CN104601590A (en) Login method, server and mobile terminal
CN107070931B (en) Cloud application data uploading/accessing method and system and cloud proxy server
CN105554098A (en) Device configuration method, server and system
CN105099686A (en) Data synchronization method, server, terminal and system
CN112632521B (en) Request response method and device, electronic equipment and storage medium
CN108134789A (en) The method and Cloud Server of data synchronization between devices are carried out by cloud
CN104917766A (en) Security authentication method for two-dimension code
CN113572728B (en) Method, device, equipment and medium for authenticating Internet of things equipment
CN105262773A (en) A verification method and apparatus for an IOT system
CN102143131B (en) User logout method and authentication server
CN101800986A (en) Method and device for realizing network locking and unlocking of terminal
CN104717224A (en) Login method and device
US10708326B2 (en) Secure media casting bypassing mobile devices
CN111405016B (en) User information acquisition method and related equipment
US8997193B2 (en) Single sign-on for disparate servers
CN111901303A (en) Device authentication method and apparatus, storage medium, and electronic apparatus
CN103152326A (en) Distributed authentication method and authentication system
EP3468133A1 (en) Method and apparatus for providing p2p data security service in iot environment

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