CN104580433B - Favorites data transfers method and apparatus - Google Patents
Favorites data transfers method and apparatus Download PDFInfo
- Publication number
- CN104580433B CN104580433B CN201410836137.0A CN201410836137A CN104580433B CN 104580433 B CN104580433 B CN 104580433B CN 201410836137 A CN201410836137 A CN 201410836137A CN 104580433 B CN104580433 B CN 104580433B
- Authority
- CN
- China
- Prior art keywords
- information
- data
- collection
- user
- verification
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides a kind of method and apparatus of transferring of favorites data, shown method includes: to receive cloud disk client side to transfer request, this is transferred request and includes user information and verification information;Request progress safety verification is transferred to described using the user information and verification information;When the safety verification passes through, collection information corresponding with the user information is obtained from database;The collection information is sent to cloud disk client.So solve the problems, such as that cloud disk client can not transfer favorites data, achieve the safety for guaranteeing collection information, reduce the risk that collection information is leaked as privacy, the time of collection server side load collection information is saved, to improve the efficiency of collection server side load collection information.
Description
Technical field
The present invention relates to Internet technical fields, transfer method and apparatus more particularly to a kind of favorites data.
Background technique
Cloud disk be internet storage tool, cloud disk is the product of internet cloud technology, it by internet be enterprise and
People provides the service such as storage, reading, downloading of information, has the characteristics that safety and stability, mass memory.More well-known cloud disk clothes
Wu Shangyou Baidu Dropbox, 360 cloud disks, Kingsoft fast disk, enough fast Dropbox, thin cloud etc., are currently hotter cloud storage services.Such as
The present, cloud disk be not only enterprise, business rich and influential family it is exclusive, also quietly enter in personal life.
Briefly, cloud disk is exactly to provide space by the network server of Internet company.User no matter when and where, only
It need to be in the place that can connect network, it will be able to be uploaded by logging in cloud disk, there are network servers for downloading and management user
On personal document.But user is only capable of through cloud disk upload pictures and document at present, it can not be by mobile terminals such as PC or mobile phones
In favorites data be uploaded in cloud disk.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
State the favorites data of problem transfer method and corresponding favorites data transfer device.
According to one aspect of the present invention, provide a kind of favorites data transfers method, comprising:
Receive cloud disk client side transfers request, and it includes user information and verification information that this, which transfers request,;
Request progress safety verification is transferred to described using the user information and verification information;
When the safety verification passes through, collection information corresponding with the user information is obtained from database;
The collection information is sent to cloud disk client.
Optionally, the user information includes: log-on message;It is described using the user information to it is described transfer request into
The step of row safety verification, comprising:
Request progress user validation verifying is transferred to described according to the log-on message.
It is optionally, described that request progress user validation verifying is transferred to described according to the log-on message, comprising:
The log-on message is compared with the user's registration information that server side stores;
When the user's registration information of server side storage is consistent with the user login information, the user is determined
Legitimate verification pass through.
It is optionally, described that the step of request carries out safety verification is transferred to described using the verification information, comprising:
Request progress data validation is transferred to described according to the verification information.
Optionally, the verification information includes: user identifier QID, the MD5 value of favorites data, data encryption string;
It is described that request progress data validation is transferred to described according to the verification information, comprising:
The data encryption string is examined, determines whether data source is legal;
When determining that the data source is legal, examine whether the MD5 value of the favorites data stores with server side
The corresponding MD5 value of the user identifier QID it is identical;
In the MD5 value for determining favorites data MD5 value corresponding with the user identifier QID that server side stores not phase
Meanwhile determining that data validation passes through.
Optionally, the verification information further include: favorites data item number;It is described in the MD5 value for determining favorites data
After MD5 value corresponding with the user identifier QID of server side storage is not identical, further includes:
It examines whether the favorites data item number is 0, when the favorites data item number is not 0, determines that data are closed
Method is verified.
Optionally, further includes:
Determining that the data source is illegal, alternatively, determining the MD5 value of favorites data and the institute of server side storage
When stating that the corresponding MD5 value of user identifier QID is identical or the favorites data item number is 0, determine data validation not
The cloud disk client is given by simultaneously feedback prompts information.
Optionally, it is described receive cloud disk client side request of transferring include:
Request is transferred by data-interface reception cloud disk client side, the data-interface includes: that favorites data connects
Mouthful, and/or, collect clamp bar number interface.
It is optionally, described that collection information corresponding with the user information is obtained from database, comprising:
The database of PC collection and the database of mobile terminal collection are inquired respectively, are obtained and the user information pair
The collection information answered.
It is optionally, described that the collection information is sent to cloud disk client, comprising:
The collection information including favorites data is returned by favorites data interface;
Being returned by collection clamp bar number interface includes the collection information for collecting clamp bar number.
According to another aspect of the present invention, additionally provide a kind of favorites data transfers device, comprising: request receives mould
Block transfers request for receive cloud disk client side, and it includes user information and verification information that this, which transfers request,;Safety verification mould
Block, for transferring request progress safety verification to described using the user information and verification information;Collection acquisition of information mould
Block, for obtaining collection information corresponding with the user information from database when the safety verification passes through;Collection
Information sending module is pressed from both sides, for the collection information to be sent to cloud disk client.
Optionally, the user information includes: log-on message;The secure verification module, comprising: user validation verifying
Subelement, for transferring request progress user validation verifying to described according to the log-on message.
Optionally, the user validation verifies subelement, is specifically used for storing the log-on message and server side
User's registration information be compared;When the user's registration information of server side storage is consistent with the user login information
When, determine that the legitimate verification of the user passes through.
Optionally, the secure verification module, comprising: data validation subelement, for being believed according to the verifying
Breath transfers request progress data validation to described.
Optionally, the verification information includes: user identifier QID, the MD5 value of favorites data, data encryption string;It is described
Data validation subelement is specifically used for examining the data encryption string, determines whether data source is legal;Determining
State data source it is legal when, examine the favorites data MD5 value whether with server side storage the user identifier QID
Corresponding MD5 value is identical;It is corresponding with the user identifier QID that server side stores in the MD5 value for determining favorites data
When MD5 value is not identical, determine that data validation passes through.
Optionally, the verification information further include: favorites data item number;The data validation subelement, tool
Body is also used to examine whether the favorites data item number is 0, when the favorites data item number is not 0, determines that data are closed
Method is verified.
Optionally, the data validation subelement is specifically also used to determining that the data source is illegal, or
Person determines that the MD5 value of favorites data is identical as the corresponding MD5 value of the user identifier QID that server side stores, Huo Zhesuo
When to state favorites data item number be 0, determine that data validation does not pass through and feedback prompts information is to the cloud disk client.
Optionally, the request receiving module is asked specifically for receiving transferring for cloud disk client side by data-interface
It asks, the data-interface includes: favorites data interface, and/or, collect clamp bar number interface.
Optionally, the collection data obtaining module, specifically for inquiring database and the movement of PC collection respectively
The database of terminal collection obtains collection information corresponding with the user information.
Optionally, the collection information sending module, being specifically used for returning by favorites data interface includes collection
Press from both sides the collection information of data;Being returned by collection clamp bar number interface includes the collection information for collecting clamp bar number.
Favorites data according to the present invention transfer method can by collection clip server using the user information and
Verification information carries out safety verification, when the safety verification passes through, the receipts to the request of transferring that cloud disk client side is sent
Hiding clip server obtains collection information corresponding with the user information directly from database and is sent to cloud disk client, by
This solves the problems, such as that cloud disk client can not transfer favorites data, achieves the safety for guaranteeing collection information, reduces
The risk that collection information is leaked as privacy saves the time of collection server side load collection information, thus
The efficiency for improving collection server side load collection information further improves cloud disk client from collection clip server
Transfer the beneficial effect of the efficiency of collection information in side.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow chart for transferring method of favorites data according to an embodiment of the invention;
Fig. 2 shows a kind of flow charts for transferring method of favorites data according to an embodiment of the invention;
Fig. 3 shows a kind of structural block diagram for transferring device of favorites data according to an embodiment of the invention;With
And
Fig. 4 shows the structural block diagram of secure verification module according to an embodiment of the invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
Embodiment one:
Referring to Fig.1, a kind of embodiment of the method for transferring of favorites data according to an embodiment of the invention is shown
Flow chart of steps can specifically include following steps:
Step 102, receive cloud disk client side transfers request, and it includes user information and verification information that this, which transfers request,.
If cloud disk client side wishes to transfer collection information, it can be issued by cloud disk client and transfer request to receipts
Hide clip server, it should be noted that clip server is collected in the present embodiment can be WWW (Web) server, such as clear
It lookes at the server of device, can also be that other kinds of server, the present embodiment do not limit the concrete type of collection clip server
System.
It should be noted that the request of transferring that cloud disk client-side is sent in the present embodiment can specifically include: Yong Huxin
Breath and verification information, wherein the user information specifically can be the log-on message that user registers in collection server side, institute
State collection clip server can determine whether the registration information of the user is legal, which may also be referred to as based on user information
User validation verifying;The verification information specifically can be the QID of user, and QID is the unique identification of user, specifically can be
The identifier of number, character one kind, the verification information are also possible to the MD5 value of data, can also be data encryption string, or
Other attribute informations, such as whether deriving from the browser etc. of mobile terminal.The collection clip server can be based on verification information
Determine whether data are legal, which may also be referred to as data validation.In the present embodiment, the user validation verifying
Safety verification can be referred to as altogether with data validation.What the collection clip server sent the cloud disk client
It transfers request and carries out safety verification, and after safety verification passes through, the collection letter of the user can be just read from database
Breath feeds back to cloud disk client, therefore cloud disk client is sent to the synchronization request of collection clip server and needs to include user information
And verification information.
Step 104, request progress safety verification is transferred to described using the user information and verification information.
It should be noted that in the present embodiment collection clip server receive cloud disk client transmission user information and
After verification information, need to carry out safety to the synchronization request that cloud disk client is sent according to the user information and verification information to test
Card, the purpose of safety verification is to ensure that the legitimacy of user and data, because collection information belongs to the privacy information of user, such as
It is that collection information or synchronous collection information are transferred in user's request that fruit, which not can determine that, and collection clip server is cannot be random
The collection information of calling and obtaining user, the collection information of user can not be fed back into cloud disk client not through safety verification
End.
Step 106, when the safety verification passes through, collection corresponding with the user information is obtained from database
Information.
It should be noted that collection clip server can be true in the present embodiment when the safety verification is legal
Determine the legitimacy of user identity, receipts corresponding with the user information can be read from database by collecting clip server at this time
Hiding folder information.It should be noted that collection information corresponding with the user information can be and be stored in collection at the very start
In the database of clip server, such as the collection information of browser is stored in browser server;Believe with the user
Ceasing corresponding collection information also can store in other servers, such as the collection information in mobile phone is typically stored at hand
In machine aided hand server.If it is similar above-mentioned browser collection folder information, collect in the database of clip server oneself
It is stored with the collection information of browser, can directly transfer the browser collection folder information in the database of oneself.If it is
Similar above-mentioned mobile phone collection information, the server that collection clip server needs request to be in advance stored with collection information will be collected
Folder information is sent to collection clip server, then collects the database that the collection information is stored in oneself by clip server
In, the same of collection information can also be carried out with the server for being stored with collection information by collecting clip server in this case
Step, not sent the synchronization request by cloud disk client is influenced, collection clip server can according to certain periodic request with
The server for being stored with collection information carries out the synchronization of the communication information, it is ensured that collection information timely updates.Certainly above-mentioned
In the case where browser collection folder, collection clip server can also update the database of oneself according to certain period, it is ensured that number
It timely updates according to the collection information in library, keeps the accuracy of collection information in database.
Step 108, the collection information is sent to cloud disk client.
Clip server is collected after reading collection information corresponding with the user information in database, can be had
The collection information is sent to the cloud disk client by interface by body.Interface in the present embodiment specifically can be collection
Data-interface is pressed from both sides, is also possible to collect clamp bar number interface etc., it should be noted that the present embodiment does not do the concrete type of interface
Limitation, as long as can guarantee the transmission for carrying out the communication information between the collection clip server and the cloud disk client.
Certainly, clip server being collected in the present embodiment can also take other modes that the collection information is sent to cloud disk client
End, the present embodiment to collection clip server send collection information to cloud disk client concrete mode with no restrictions.
What the present embodiment collection clip server received cloud disk client side first transfers request, this, which is transferred, requests including user
Information and verification information;Then collection clip server is transferred request and pacified using the user information and verification information to described
Full verifying;Then when the safety verification passes through, collection clip server obtains corresponding with the user information from database
Collection information;Finally the collection information is sent to cloud disk client by collection clip server.The present embodiment collection
Server transfers request progress safety verification to described using the user information and verification information, ensure that collection information
Safety, avoids the risk that collection information is leaked as privacy;And when the safety verification is legal, collection service
Device obtains collection information corresponding with the user information directly from database and is sent to cloud disk client, illustrates collection
Server in advance by collection information storage in the database, be not cloud disk client send transfer request after collection take
Device be engaged in just from other places acquisition collection information, the time for transferring collection information is saved, to improve collection information
Transfer efficiency.
Embodiment two:
On the basis of the above embodiments, the present embodiment discusses favorites data and transfers method.
Referring to Fig. 2, a kind of embodiment of the method for transferring of favorites data according to an embodiment of the invention is shown
Flow chart of steps can specifically include following steps:
Step 202, receive cloud disk client side transfers request, this is transferred request and includes user information and verification information,
The user information includes: log-on message.
When user will synchronize collection information in cloud disk client, collection clip server is sent a request to, the synchronization is asked
Ask includes: user information and verification information.User information and verification information are in order to later according to user information and verification information
Carry out safety verification.In the present embodiment, the safety verification include user validation verifying and data validation, i.e., after
Step 204 and step 206.Specifically, the collection clip server can carry out user validation verifying based on user information,
The collection clip server can carry out data validation based on verification information.The collection clip server is to the cloud disk
What client-side was sent transfers request progress user validation verifying and data validation, and the user validation is tested
After card and data validation all pass through, the collection information that the user can be just read from database is sent to cloud disk visitor
Family end, thus cloud disk client be sent to collection clip server request of transferring need to include user information and verification information.
It should be noted that receiving the request of transferring of cloud disk client side described in the present embodiment can specifically include: logical
That crosses data-interface reception cloud disk client side transfers request, and the data-interface includes: favorites data interface, and/or, it receives
Hide clamp bar number interface.Specifically the collection information including favorites data can be returned to by favorites data interface;Pass through receipts
Hiding clamp bar number interface and returning includes the collection information for collecting clamp bar number.
It should be noted that user information described in the present embodiment can specifically include: log-on message, therefore described in use
User information transfers the step of request carries out safety verification to described, can specifically include: according to the log-on message to described
It transfers request and carries out user validation verifying, i.e. step 204 in the present embodiment.
Step 204, request progress user validation verifying is transferred to described according to the log-on message.
Collection clip server described in the present embodiment requests progress user legal described transfer according to the log-on message
Property verifying, can specifically be accomplished by the following way: firstly, the collection clip server is by the log-on message and server
The user's registration information of side storage is compared;Secondly, user's registration information and the user when server side storage
When log-on message is consistent, determine that the legitimate verification of the user passes through.Because user's registration information is that user takes in collection
The log-on message of business device side registration, so if collection clip server finds that the user's registration of the collection clip server storage is believed
When ceasing consistent with the log-on message, it can determine that the registration information of the user is legal, i.e., the legitimate verification of the described user
Pass through.Log-on message described in the present embodiment specifically can be the login account and password used when user logs in.
Step 206, request progress data validation is transferred to described according to the verification information.
It should be noted that verification information described in the present embodiment can specifically include: user identifier QID, collection number
According to MD5 value, data encryption string.Therefore request progress data are transferred to described according to the verification information described in the present embodiment
Legitimate verification can specifically be accomplished by the following way: collection clip server examines the data encryption string first, determines
Whether data source is legal;Then when determining that the data source is legal, examine the favorites data MD5 value whether with
The corresponding MD5 value of the user identifier QID of server side storage is identical;Finally in the MD5 value and clothes for determining favorites data
When the corresponding MD5 value of the user identifier QID of business device side storage is not identical, determine that data validation passes through.
In an alternative example of an embodiment of the present invention, the verification information further include: favorites data item number.It is described
After the MD5 value for determining favorites data MD5 value corresponding with the user identifier QID that server side stores is not identical,
Further include: it examines whether the favorites data item number is 0, when the favorites data item number is not 0, determines that data are legal
Property is verified.
It should be noted that the collection clip server is determining that the data source is illegal, alternatively, determining collection
The MD5 value of the data favorites data identical or described with the corresponding MD5 value of the user identifier QID that server side stores
When item number is 0, determine that data validation does not pass through and feedback prompts information is to the cloud disk client.Institute in the present embodiment
Collection clip server is stated when determining that data source is illegal, needs to inform cloud disk client, is i.e. collection clip server determines data
Legitimate verification does not pass through, and can give the cloud disk client with the prompt information of feedback validation failure.
It should be noted that the step 104 in the present embodiment in above-mentioned steps 204 and step 206 corresponding embodiment one is adopted
Described transfer is requested to carry out safety verification with the user information and verification information.
Step 208, when the safety verification passes through, collection corresponding with the user information is obtained from database
Information.
When the safety verification is legal, collection clip server can determine the legitimacy of user identity, at this time
Collection clip server can read collection information corresponding with the user information from database.It should be noted that with
The corresponding collection information of the user information is stored in the database of collection clip server.Collecting clip server can be according to
Collection information in more new database of certain update cycle, it is ensured that collection information timely updates, to guarantee in database
The accuracy of collection information, the update cycle can freely be set by user.
Collection information corresponding with the user information is obtained described in the present embodiment from database, specifically can wrap
It includes: inquiring the database of PC collection and the database of mobile terminal collection respectively, obtain corresponding with the user information
Collection information.It should be noted that the database comprising PC collection and movement in collection clip server described in the present embodiment
The database of terminal collection, wherein the collection information at the end PC, the movement are stored in the database of the PC collection
The collection information of mobile terminal side is stored in the database of terminal collection.Collection clip server can be believed according to user
Breath is searched in the database of the PC collection and the database of mobile terminal collection corresponding with the user information respectively
Collection information.I.e. collection information described in the present embodiment can specifically include: the collection information at the end PC and movement are eventually
The collection information of end side.It should be noted that the collection information can also include other content when specific implementation, this
Embodiment is not the limitation to the collection information particular content.
Step 210, the collection information is sent to cloud disk client.
It should be noted that collection information described in the present embodiment can specifically be divided into the collection including favorites data
Press from both sides information and the collection information including collecting clamp bar number.It is described that the collection information is sent to cloud disk client, specifically
It can be accomplished by the following way: the collection information including favorites data is returned to by favorites data interface;Pass through
Collecting clamp bar number interface and returning includes the collection information for collecting clamp bar number.
The present embodiment collection clip server read from database collection information corresponding with the user information it
Afterwards, the communication information can be sent to the cloud disk client especially by interface.Cloud disk client receives the receipts
The collection information that clip server is sent is hidden, cloud disk client is realized and collection information is transferred.
For embodiment of the method, for simple description, therefore, it is stated as a series of action combinations, but this field
Technical staff should be aware of, and embodiment of that present invention are not limited by the describe sequence of actions, because implementing according to the present invention
Example, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know that, specification
Described in embodiment belong to preferred embodiment, the actions involved are not necessarily necessary for embodiments of the present invention.
Embodiment three:
On the basis of the above embodiments, what the present embodiment also disclosed a kind of favorites data transfers device.
Referring to Fig. 3, a kind of Installation practice of transferring of favorites data according to an embodiment of the invention is shown
Structural block diagram can specifically include following module: request receiving module 302, secure verification module 304, collection acquisition of information
Module 306 and collection information sending module 308, in which:
Request receiving module 302 transfers request for receive cloud disk client side, and it includes user information that this, which transfers request,
And verification information.
Secure verification module 304, for transferring request progress safety to described using the user information and verification information
Verifying.Secure verification module 304 is transferred using the received user information of the request receiving module 302 and verification information to described
Request carries out safety verification.
Collection data obtaining module 306, for being obtained and the use from database when the safety verification passes through
The corresponding collection information of family information.When 304 safety verification of secure verification module passes through, collection data obtaining module
306 obtain collection information corresponding with the user information from database.
Collection information sending module 308, for the collection information to be sent to cloud disk client.Collection information
The collection information that collection data obtaining module 306 is got is sent to cloud disk client by sending module 308.
The collection clip server of the present embodiment receives transferring for cloud disk client side transmission by request receiving module 302 first
Request, described transfer request to include user information and verification information;Then secure verification module 304 receives mould using the request
The received user information of block 302 and verification information transfer request progress safety verification to described;Then collection acquisition of information mould
Block 306 obtains receipts corresponding with the user information when 304 safety verification of secure verification module passes through from database
Hiding folder information;The collection information that last collection information sending module 308 gets collection data obtaining module 306 is sent out
Give cloud disk client.Secure verification module 304 uses the received user information of the request receiving module 302 in the present embodiment
Request progress safety verification is transferred to described with verification information, the safety of collection information is ensure that, avoids collection information
The risk being leaked as privacy;And collection data obtaining module 306 when 304 safety verification of secure verification module it is logical
It is out-of-date, collection information corresponding with the user information, which is obtained, directly from database gives collection information sending module
308 are sent to cloud disk client, illustrate that collecting clip server in advance stores collection information in the database, are not cloud disk
Client collects clip server just from other places acquisition collection information after sending synchronization request, saves collection information service
Device side loads the time of collection information, to improve the efficiency of collection server side load collection information, further
Improve the efficiency that cloud disk client transfers collection information from collection server side.
In a kind of optional example as shown in Figure 4 of the embodiment of the present invention, the user information includes: log-on message;
The secure verification module 304, comprising: user validation verifies subelement 3041, is used for according to the log-on message to described
It transfers request and carries out user validation verifying.In an alternative example of an embodiment of the present invention, the user validation verifying
Subelement 3041, specifically for the log-on message to be compared with the user's registration information that server side stores;When described
When the user's registration information of server side storage is consistent with the user login information, determine that the legitimate verification of the user is logical
It crosses.
In a kind of optional example as shown in Figure 4 of the embodiment of the present invention, the secure verification module 304, comprising: number
According to legitimate verification subelement 3042, for transferring request progress data validation to described according to the verification information.
In an alternative example of an embodiment of the present invention, the verification information includes: the MD5 of user identifier QID, favorites data
Value, data encryption string;The data validation subelement 3042 is specifically used for examining the data encryption string, determines number
It is whether legal according to source;When determining that the data source is legal, examine the favorites data MD5 value whether with server
The corresponding MD5 value of the user identifier QID of side storage is identical;It is stored in the MD5 value and server side for determining favorites data
The corresponding MD5 value of the user identifier QID it is not identical when, determine that data validation passes through.
In an alternative example of an embodiment of the present invention, the verification information further include: favorites data item number;It is described
Data validation subelement 3042 is specifically also used to examine whether the favorites data item number is 0, when the collection
When number of data is not 0, determine that data validation passes through.
In an alternative example of an embodiment of the present invention, the data validation subelement 3042, is specifically also used
In determining that the data source is illegal, alternatively, determining the MD5 value of favorites data and the user of server side storage
When identifying that the corresponding MD5 value of QID is identical or the favorites data item number is 0, determine that data validation does not pass through simultaneously
Feedback prompts information gives the cloud disk client.
In an alternative example of an embodiment of the present invention, the request receiving module 302, specifically for being connect by data
Request is transferred in mouth reception cloud disk client side, and the data-interface includes: favorites data interface, and/or, collect clamp bar number
Interface.
In an alternative example of an embodiment of the present invention, the collection data obtaining module 306 is specifically used for difference
The database of PC collection and the database of mobile terminal collection are inquired, collection letter corresponding with the user information is obtained
Breath.
In an alternative example of an embodiment of the present invention, the collection information sending module 308, specifically for passing through
Favorites data interface returns to the collection information including favorites data;Being returned by collection clamp bar number interface includes collection
The collection information of item number.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) come realize favorites data according to an embodiment of the present invention transfer method and
The some or all functions of some or all components in appliance arrangement.The present invention is also implemented as executing here
Some or all device or device programs of described method are (for example, computer program and computer program produce
Product).It is such to realize that program of the invention can store on a computer-readable medium, or can have one or more
The form of signal.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or to appoint
What other forms provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
The invention discloses A1, a kind of favorites datas to transfer method, comprising: receives the transferring of cloud disk client side and asks
It asks, it includes user information and verification information that this, which transfers request,;Request is transferred to described using the user information and verification information
Carry out safety verification;When the safety verification passes through, collection letter corresponding with the user information is obtained from database
Breath;The collection information is sent to cloud disk client.
A2, method as described in a1, the user information include: log-on message;It is described to use the user information to institute
It states and transfers the step of request carries out safety verification, comprising: request progress user legal described transfer according to the log-on message
Property verifying.
A3, as described in A2 method, it is described that the request progress user validation of transferring is tested according to the log-on message
Card, comprising: be compared the log-on message with the user's registration information that server side stores;When the server side stores
User's registration information it is consistent with the user login information when, determine that the legitimate verification of the user passes through.
A4, the method as described in A3, it is described using the verification information to it is described transfer request carry out safety verification step
Suddenly, comprising: request progress data validation is transferred to described according to the verification information.
A5, the method as described in A4, the verification information include: MD5 value, the data of user identifier QID, favorites data
Encryption string;It is described that request progress data validation is transferred to described according to the verification information, comprising: to examine the data
Encryption string, determines whether data source is legal;When determining that the data source is legal, the MD5 of the favorites data is examined
Whether value is identical as the corresponding MD5 value of the user identifier QID of server side storage;In the MD5 value for determining favorites data
With the corresponding MD5 value of the user identifier QID of server side storage it is not identical when, determine that data validation passes through.
A6, method as described in a5, the verification information further include: favorites data item number;It is described to determine collection
After the MD5 value of data MD5 value corresponding with the user identifier QID that server side stores is not identical, further includes: inspection institute
State whether favorites data item number is 0, when the favorites data item number is not 0, determines that data validation passes through.
A7, the method as described in A6, further includes: determining that the data source is illegal, alternatively, determining favorites data
The MD5 value favorites data item number identical or described with the corresponding MD5 value of the user identifier QID that server side stores
When being 0, determine that data validation does not pass through and feedback prompts information is to the cloud disk client.
A8, method as described in a1, the request of transferring for receiving cloud disk client side includes: to be received by data-interface
Request is transferred in cloud disk client side, and the data-interface includes: favorites data interface, and/or, collect clamp bar number interface.
A9, the method as described in A8, it is described that collection information corresponding with the user information, packet are obtained from database
It includes: inquiring the database of PC collection and the database of mobile terminal collection respectively, obtain corresponding with the user information
Collection information.
A10, the method as described in A9, it is described that the collection information is sent to cloud disk client, comprising: to pass through collection
It presss from both sides data-interface and returns to the collection information including favorites data;Returned by collection clamp bar number interface includes collection clamp bar number
Collection information.
The invention also discloses B11, a kind of favorites datas to transfer device, comprising: request receiving module, for receiving
Request is transferred in cloud disk client side, and it includes user information and verification information that this, which transfers request,;Secure verification module, for using
The user information and verification information transfer request progress safety verification to described;Collection data obtaining module, for working as institute
When stating safety verification and passing through, collection information corresponding with the user information is obtained from database;Collection information is sent
Module, for the collection information to be sent to cloud disk client.
B12, device as described in b11, the user information include: log-on message;The secure verification module, comprising:
User validation verifies subelement, for transferring request progress user validation verifying to described according to the log-on message.
B13, as described in B12 device, the user validation verify subelement, be specifically used for by the log-on message with
The user's registration information of server side storage is compared;User's registration information and the user when server side storage
When log-on message is consistent, determine that the legitimate verification of the user passes through.
B14, the device as described in B13, the secure verification module, comprising: data validation subelement is used for root
Request progress data validation is transferred to described according to the verification information.
B15, the device as described in B14, the verification information include: user identifier QID, the MD5 value of favorites data, number
It is gone here and there according to encryption;The data validation subelement is specifically used for examining the data encryption string, whether determines data source
It is legal;When determining that the data source is legal, examine the favorites data MD5 value whether with server side storage institute
It is identical to state the corresponding MD5 value of user identifier QID;In the user for MD5 value and the server side storage for determining favorites data
When the corresponding MD5 value of mark QID is not identical, determine that data validation passes through.
B16, the device as described in B15, the verification information further include: favorites data item number;The data validation
Subelement is verified, is specifically also used to examine whether the favorites data item number is 0, when the favorites data item number is not 0
When, determine that data validation passes through.
B17, the device as described in B16, the data validation subelement are specifically also used to determining the data
Source is illegal, alternatively, determining the MD5 value MD5 corresponding with the user identifier QID that server side stores of favorites data
Be worth the identical or described favorites data item number be 0 when, determine data validation do not pass through and feedback prompts information to institute
State cloud disk client.
B18, device as described in b11, the request receiving module are specifically used for receiving cloud disk client by data-interface
Request is transferred in end side, and the data-interface includes: favorites data interface, and/or, collect clamp bar number interface.
B19, the device as described in B18, the collection data obtaining module, specifically for inquiring PC collection respectively
The database of database and mobile terminal collection obtains collection information corresponding with the user information.
B20, the device as described in B19, the collection information sending module are specifically used for passing through favorites data interface
Return to the collection information including favorites data;Being returned by collection clamp bar number interface includes the collection letter for collecting clamp bar number
Breath.
Claims (14)
1. a kind of favorites data transfers method, comprising:
Receive cloud disk client side transfers request, and it includes user information and verification information that this, which transfers request,;
Request progress safety verification is transferred to described using the user information and verification information;It include: to be believed according to the verifying
Breath transfers request progress data validation to described;The verification information includes: the MD5 of user identifier, favorites data
Value, data encryption string;
It is described that request progress data validation is transferred to described according to the verification information, comprising:
The data encryption string is examined, determines whether data source is legal;
When determining that the data source is legal, examine the favorites data MD5 value whether with server side storage institute
It is identical to state the corresponding MD5 value of user identifier;
When the MD5 value for determining favorites data MD5 value corresponding with the user identifier that server side stores is not identical, really
Determine data validation to pass through;
When the safety verification passes through, collection information corresponding with the user information is obtained from database;It is described from
Collection information corresponding with the user information is obtained in database, comprising: inquire database and the shifting of PC collection respectively
The database of dynamic terminal collection, obtains collection information corresponding with the user information;
The collection information is sent to cloud disk client.
2. the method as described in claim 1, which is characterized in that the user information includes: log-on message;Described in the use
User information transfers the step of request carries out safety verification to described, comprising:
Request progress user validation verifying is transferred to described according to the log-on message.
3. method according to claim 2, which is characterized in that described to transfer request progress to described according to the log-on message
User validation verifying, comprising:
The log-on message is compared with the user's registration information that server side stores;
When the user's registration information of server side storage is consistent with the user login information, the conjunction of the user is determined
Method is verified.
4. the method as described in claim 1, which is characterized in that the verification information further include: favorites data item number;It is described
After the MD5 value for determining favorites data MD5 value corresponding with the user identifier that server side stores is not identical, also wrap
It includes:
It examines whether the favorites data item number is 0, when the favorites data item number is not 0, determines data validation
It is verified.
5. method as claimed in claim 4, which is characterized in that further include:
Determining that the data source is illegal, alternatively, determining the MD5 value of favorites data and the use of server side storage
When family identifies that corresponding MD5 value is identical or the favorites data item number is 0, determine that data validation does not pass through simultaneously
Feedback prompts information gives the cloud disk client.
6. the method as described in claim 1, which is characterized in that it is described receive cloud disk client side request of transferring include:
Request is transferred by data-interface reception cloud disk client side, the data-interface includes: favorites data interface,
And/or collection clamp bar number interface.
7. method as claimed in claim 6, which is characterized in that it is described that the collection information is sent to cloud disk client,
Include:
The collection information including favorites data is returned by favorites data interface;
Being returned by collection clamp bar number interface includes the collection information for collecting clamp bar number.
8. a kind of favorites data transfers device, comprising:
Request receiving module transfers request for receive cloud disk client side, and it includes user information and verifying that this, which transfers request,
Information;
Secure verification module, for transferring request progress safety verification to described using the user information and verification information;Institute
State secure verification module, comprising:
Data validation subelement, for being tested according to the verification information the request progress data validation of transferring
Card;
The verification information includes: user identifier, the MD5 value of favorites data, data encryption string;The data validation
Subelement is specifically used for examining the data encryption string, determines whether data source is legal;Determining that the data source is legal
When, examine the MD5 value of the favorites data whether identical as the corresponding MD5 value of the user identifier of server side storage;
When the MD5 value for determining favorites data MD5 value corresponding with the user identifier that server side stores is not identical, number is determined
Pass through according to legitimate verification;
Collection data obtaining module, for being obtained and the user information from database when the safety verification passes through
Corresponding collection information;The collection data obtaining module, specifically for inquiring database and the shifting of PC collection respectively
The database of dynamic terminal collection, obtains collection information corresponding with the user information;
Collection information sending module, for the collection information to be sent to cloud disk client.
9. device as claimed in claim 8, which is characterized in that the user information includes: log-on message;
The secure verification module, comprising:
User validation verifies subelement, for being tested according to the log-on message the request progress user validation of transferring
Card.
10. device as claimed in claim 9, which is characterized in that
The user validation verifies subelement, specifically for believing the user's registration of the log-on message and server side storage
Breath is compared;When the user's registration information of server side storage is consistent with the user login information, described in determination
The legitimate verification of user passes through.
11. device as claimed in claim 8, which is characterized in that the verification information further include: favorites data item number;
The data validation subelement is specifically also used to examine whether the favorites data item number is 0, when the receipts
When hiding folder number of data is not 0, determine that data validation passes through.
12. device as claimed in claim 11, which is characterized in that
The data validation subelement is specifically also used to determining that the data source is illegal, alternatively, determining collection
Press from both sides that the MD5 value MD5 value corresponding with the user identifier that server side stores of data is identical or the favorites data item
When number is 0, determine that data validation does not pass through and feedback prompts information is to the cloud disk client.
13. device as claimed in claim 8, which is characterized in that
The request receiving module, specifically for transferring request, the data by data-interface reception cloud disk client side
Interface includes: favorites data interface, and/or, collect clamp bar number interface.
14. device as claimed in claim 13, which is characterized in that
The collection information sending module, specifically for returning to the collection including favorites data by favorites data interface
Press from both sides information;Being returned by collection clamp bar number interface includes the collection information for collecting clamp bar number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410836137.0A CN104580433B (en) | 2014-12-26 | 2014-12-26 | Favorites data transfers method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410836137.0A CN104580433B (en) | 2014-12-26 | 2014-12-26 | Favorites data transfers method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104580433A CN104580433A (en) | 2015-04-29 |
CN104580433B true CN104580433B (en) | 2019-02-26 |
Family
ID=53095590
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410836137.0A Active CN104580433B (en) | 2014-12-26 | 2014-12-26 | Favorites data transfers method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104580433B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115248803B (en) * | 2022-09-22 | 2023-02-17 | 天津联想协同科技有限公司 | Collection method and device suitable for network disk file, network disk and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101080056A (en) * | 2006-12-21 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A management method and system of network browser collection folder of mobile terminal |
CN101414906A (en) * | 2008-11-20 | 2009-04-22 | 腾讯科技(深圳)有限公司 | Method and apparatus for accessing network favorite by multiple account numbers |
CN102724192A (en) * | 2012-06-14 | 2012-10-10 | 北京奇乐客科技有限公司 | Collaborative editing based network collection method |
CN102819554A (en) * | 2012-06-26 | 2012-12-12 | 北京奇虎科技有限公司 | Favorite data processing method and device and server |
CN102915363A (en) * | 2012-10-18 | 2013-02-06 | 北京奇虎科技有限公司 | Website storing method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2011024298A1 (en) * | 2009-08-28 | 2013-01-24 | リプレックス株式会社 | Service system |
-
2014
- 2014-12-26 CN CN201410836137.0A patent/CN104580433B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101080056A (en) * | 2006-12-21 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A management method and system of network browser collection folder of mobile terminal |
CN101414906A (en) * | 2008-11-20 | 2009-04-22 | 腾讯科技(深圳)有限公司 | Method and apparatus for accessing network favorite by multiple account numbers |
CN102724192A (en) * | 2012-06-14 | 2012-10-10 | 北京奇乐客科技有限公司 | Collaborative editing based network collection method |
CN102819554A (en) * | 2012-06-26 | 2012-12-12 | 北京奇虎科技有限公司 | Favorite data processing method and device and server |
CN102915363A (en) * | 2012-10-18 | 2013-02-06 | 北京奇虎科技有限公司 | Website storing method and system |
Also Published As
Publication number | Publication date |
---|---|
CN104580433A (en) | 2015-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105100223B (en) | Sharing files method, apparatus and system based on cloud storage | |
CN105007280B (en) | A kind of application login method and device | |
CN105119973B (en) | User information processing method and server | |
CN105357191B (en) | The encryption method and device of user data | |
CN104717261B (en) | A kind of login method and desktop management equipment | |
CN108234475B (en) | Account management method, electronic equipment and computer storage medium | |
US9313193B1 (en) | Management and authentication in hosted directory service | |
CN103944944B (en) | Method, electronic equipment and the system of sharing web page link | |
US9485244B2 (en) | Executing an operation over file repositories located in different authentication domains using a representational state transfer (REST)-compliant client | |
US20130086670A1 (en) | Providing third party authentication in an on-demand service environment | |
US20110145786A1 (en) | Remote commands in a shell environment | |
US9015494B2 (en) | Methods and apparatus for digital steganography | |
US10893091B2 (en) | Management of asynchronous content post and media file transmissions | |
CN109165500A (en) | A kind of single sign-on authentication system and method based on cross-domain technology | |
TW201510761A (en) | Method and apparatus of downloading and installing a client | |
CN105554137B (en) | A kind of standby system and method | |
CN105430009B (en) | A kind of Network Access Method, terminal and gateway server | |
CN103139761B (en) | The method and communication terminal of a kind of information real-time show | |
CN108769057A (en) | Personal identification method based on block chain and device | |
CN109802919A (en) | A kind of web page access interception method and device | |
CN111177735A (en) | Identity authentication method, device, system and equipment and storage medium | |
CN110225039A (en) | Authority models acquisition, method for authenticating, gateway, server and storage medium | |
CN105553671B (en) | A kind of management method of digital certificate, apparatus and system | |
CN109726545B (en) | Information display method, equipment, computer readable storage medium and device | |
CN109067746A (en) | Communication means and device between client and server |
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: 20220714 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |