CN104468767A - Method and system for detecting cloud storage data collision - Google Patents

Method and system for detecting cloud storage data collision Download PDF

Info

Publication number
CN104468767A
CN104468767A CN201410719602.2A CN201410719602A CN104468767A CN 104468767 A CN104468767 A CN 104468767A CN 201410719602 A CN201410719602 A CN 201410719602A CN 104468767 A CN104468767 A CN 104468767A
Authority
CN
China
Prior art keywords
collision detection
data collision
data
information
online
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
CN201410719602.2A
Other languages
Chinese (zh)
Other versions
CN104468767B (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.)
WUXI QINGHUA INFORMATION SCIENCE AND TECHNOLOGY NATIONAL LABORATORY INTERNET OF THINGS TECHNOLOGY CENTER
Original Assignee
WUXI QINGHUA INFORMATION SCIENCE AND TECHNOLOGY NATIONAL LABORATORY INTERNET OF THINGS TECHNOLOGY CENTER
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 WUXI QINGHUA INFORMATION SCIENCE AND TECHNOLOGY NATIONAL LABORATORY INTERNET OF THINGS TECHNOLOGY CENTER filed Critical WUXI QINGHUA INFORMATION SCIENCE AND TECHNOLOGY NATIONAL LABORATORY INTERNET OF THINGS TECHNOLOGY CENTER
Priority to CN201410719602.2A priority Critical patent/CN104468767B/en
Publication of CN104468767A publication Critical patent/CN104468767A/en
Application granted granted Critical
Publication of CN104468767B publication Critical patent/CN104468767B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning

Abstract

The invention discloses a method and system for detecting a cloud storage data collision. The method comprises the steps that changes of data files in a synchronize folder is monitored, and an inquire request is sent to a data collision detection server; information, fed back by the data collision detection server, of other online users is received, and according to the information of other online users, a data collision detection request is sent to the other online users, after data information fed back by the other online users is received, data collision detection is conducted, and a data collision detection result is sent to the data collision detection server. The method solves the problem that no positive detection measures are taken for data collision currently, and achieves the purpose that the data uniformity condition of different terminals is checked in time.

Description

A kind of cloud stores data collision detection method and system
Technical field
The present invention relates to the Internet and field of cloud calculation, particularly relate to a kind of cloud and store data collision detection method and system.
Background technology
Cloud stores service makes the Internet user of today easily and reliably to access and sharing data.No matter user in when and where, use what terminal equipment, as PC, panel computer or smart mobile phone etc., the data deposited beyond the clouds, as document, picture, music or video etc., can be automatically synchronized to the online equipment of this users all and other sharing users.That is, cloud stores service provides the pervasive access of electronic data, and the data movement that user does can be automatically fed to high in the clouds and is pushed to relevant device further by high in the clouds, thus greatly simplifies striding equipment management and the consistency maintenance of data.
Along with the fast development of computing technique and the increase of Internet bandwidth, the high in the clouds of electronic data stores and finally becomes possibility recent years with pervasive access, creates a collection of representative cloud stores service as the OneDrive (being called SkyDrive before in February, 2014) of Dropbox, Microsoft, Google Drive, UbuntuOne of Google and Kingsoft fast disk, Baidu's cloud dish, 360 cloud dishes, 115 net dishes, the micro-dish of Sina and cruel dish etc.In these services, only Dropbox mono-just has close to 300,000,000 users, average daily newly-increased and renewal more than 1,000,000,000 files, OneDrive, Google Drive supported by conventional internet giant in addition, Baidu's cloud dish and 360 cloud dishes etc. then every all had hundred million users.Above-mentioned statistics does not also comprise a series of derivative service depending on cloud stores service.
As one of the key technology of cloud stores service, data syn-chronization operation by a series of network service behavior and local computing behavior, the data movement that user side occurs is automatically mapped to high in the clouds, for the need for reliable backup of data provides solid and supports easily with sharing flexibly.Fig. 1 is the principle schematic that prior art cloud stores data syn-chronization, as shown in Figure 1, in a cloud stores service, the file that user needs appointment one special usually, be called synchronization folder, and corresponding cloud storage client software be installed, any data movement occurred in synchronization folder, as document creation, file erase, file modification etc., all cloud storage server can be synchronized to by client control.Specifically, data synchronization process relates to a series of network service behavior and local computing behavior, the former comprises transmission data directory, data content, synchronization notice, synchronous regime and statistical information, confirmation of synchronization etc., and the latter comprises data cutting, hash calculating, comparing etc.In this process, in order to ensure data can carry out between other equipment synchronously with share, collision detection is carried out to the data on each equipment and just seems very important with the data consistent implementations obtained on each equipment.Along with the expansion of cloud stores service, service scenarios is as the appearance of cooperated documents editor, Database vendors etc., other common causes in unstable networks or synchronizing process will have a strong impact on the service experience of user as the generation of the situation such as sync break, synchronization delay, even affect the normal scientific research of user, working and learning.With Dro pbox is example, when two users edit a Scientific Articles jointly, party A-subscriber's edited result is preserved, but be not still synchronized to party B-subscriber after being separated by 24 hours, at this moment, between party A-subscriber and party B-subscriber, there is data collision, owing to failing to obtain in time the data consistent implementations of party A-subscriber and party B-subscriber, just can not upgrade in time the data of party B-subscriber, and this has just had a strong impact on scientific research progress, causes unnecessary loss.
Summary of the invention
The invention provides collision detection method and system that a kind of cloud stores data, to realize the data consistent implementations of inquiring about in time on each different terminals.For reaching this object, the present invention by the following technical solutions:
First aspect, embodiments provides a kind of cloud and stores data collision detection method, comprising:
Data file variation in monitoring synchronization folder, inquiry request is sent to data collision detection server, described inquiry request is for inquiring about other online user's information of editing described data file, and described data file changes one or several that comprises in document creation, file erase or file modification;
Receive other online user's information that described data collision detection server returns, according to other online user's information described, send data collision detection request to other online users described;
After the data message that described in receiving, other online users return, carry out data collision detection, and data collision detection result is sent to described data collision detection server.
Further, after the data message that other online users described in receiving return, carry out data collision detection, and after data collision detection result is sent to described data collision detection server, also comprise:
Send data collision detection result to described data collision detection server and show request.
Further, other online user's information that the described data collision detection server of described reception returns, according to other online user's information, send data collision detection request to other online users, specifically comprise:
Receive other online user's information that described data collision detection server returns, according to other online user's information returned, set up end to end connection one by one with other online users;
After connecting with other online users, send data collision detection request to other online users in described connection;
When not connecting with other online users, then list this online user's information in inactive users information list.
Further, when data collision detection result is sent to described data collision detection server, also comprise:
Described inactive users information list is sent to described data collision detection server.
Second aspect, embodiments provides a kind of cloud and stores data collision detection method, comprising:
Receive the inquiry request that user side sends, described inquiry request is send, for inquiring about other online user's information of editing described data file after the data file change of user side in monitoring synchronization folder;
Other online user's information is sent to described user side;
Receive the data collision detection result obtained after the data message sent according to other online users that described user side sends carries out data collision detection, and upgrade current data library information.
Further, receiving the data collision detection result of described user side transmission, when upgrading current data library information, also comprising:
Receive the inactive users information list that described user side sends, upgrade current data library information.
Further, receiving the inactive users information list of described user side transmission, after upgrading current data library information, also comprising:
Receive the data collision detection result displaying request that user side sends, and send all data collision detection results corresponding with described data file to described user side.
Further, at the inactive users information list that the described user side of reception sends, show after upgrading current data library information, in the data collision detection result receiving user side and ask, and before sending data collision detection result to described user side, also comprise:
Send data collision detection request to cloud storage server as required, and data collision detection result is preserved in a database.
Further, described as required to the request of cloud storage server transmission data collision detection, and data collision detection result is preserved in a database, specifically comprise:
When there are not other online users, or, when described user and every other online user all exist data collision, send data collision detection request to described cloud storage server;
After receiving the data message that described cloud storage server returns, carry out data collision detection, and data collision detection result is kept at database.
The third aspect, embodiments provides a kind of cloud and stores data collision detection system, it is characterized in that, comprising:
At least one user side, cloud storage server and data collision detection server;
Wherein, described user side, for monitoring the data file variation in synchronization folder, sends inquiry request to data collision detection server; Receive other online user's information that described data collision detection server returns, according to other online user's information, send data collision detection request to other online users; After the data message that described in receiving, other online users return, carry out data collision detection, and testing result is sent to described data collision detection server; Described inquiry request is for inquiring about other online user's information of editing described data file, and described data file change comprises one or several in document creation, file erase or file modification;
Described data collision detection server for receive user side send inquiry request after, send other online user's information to described user side; Receive the data collision detection result obtained after the data message sent according to other online users that described user side sends carries out data collision detection, and upgrade current data library information; Described inquiry request is send, for inquiring about other online user's information of editing described data file after the data file change of user side in monitoring synchronization folder.
The cloud provided in the embodiment of the present invention stores data collision detection method and system, by according to monitoring synchronization folder in data file variation information after, according to other online user's information that data collision detection server returns, carry out real time data collision detection between each online user's end, and data collision detection result is sent to data collision detection server.Solve the problem not taking any front detection method at present for data collision problem, achieve the data consistent implementations of inquiring about in time on each different terminals.
Accompanying drawing explanation
In order to clearly say the technical scheme of prior art and bright exemplary embodiment of the present, one being done to the accompanying drawing used required for describing in embodiment below and simply introducing.Obviously, the accompanying drawing introduced is the accompanying drawing of a part of embodiment that the present invention will describe, instead of whole accompanying drawings, for those of ordinary skill in the art, under the prerequisite not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the principle schematic that prior art cloud stores data syn-chronization;
Fig. 2 is the flow chart of the cloud storage data collision detection method that the embodiment of the present invention one provides;
Fig. 3 is the flow chart of the cloud storage data collision detection method that the embodiment of the present invention two provides;
Fig. 4 is the flow chart of the cloud storage data collision detection method that the embodiment of the present invention three provides;
Fig. 5 is the flow chart of the cloud storage data collision detection method that the embodiment of the present invention four provides;
Fig. 6 is the flow chart of the cloud storage data collision detection method that the embodiment of the present invention five provides;
Fig. 7 is the flow chart of the cloud storage data collision detection method that the embodiment of the present invention six provides;
Fig. 8 is the flow chart of the cloud storage data collision detection method that the embodiment of the present invention seven provides;
Fig. 9 is the flow chart of the cloud storage data collision detection method that the embodiment of the present invention eight provides;
Figure 10 is the structural representation of the cloud storage data collision detection system that the embodiment of the present invention nine provides;
Figure 11 is that the cloud that the embodiment of the present invention nine provides stores the principle schematic that data collision detection system realizes data collision detection.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below with reference to the accompanying drawing in the embodiment of the present invention, by embodiment, technical scheme of the present invention is intactly described.Obviously; described embodiment is a part of embodiment of the present invention, instead of whole embodiments, based on embodiments of the invention; the every other embodiment that those of ordinary skill in the art obtain under the prerequisite not making creative work, all falls within protection scope of the present invention.
Embodiment one
The cloud that Fig. 2 gives the embodiment of the present invention one to be provided stores the flow chart of data collision detection method.The present embodiment is applicable in the system architecture comprising data collision detection server, cloud storage server and at least one user side.User side can be PC, panel computer or smart mobile phone, and operating system can be Windows, Mac, Linux, IOS, Android etc.Any data collision detection result that user side occurs is transferred to data collision detection server by data collision detection operation by user side.The executive agent of the method that the present embodiment provides is user side.Exemplary, the present embodiment is based on the embodiment under (SuSE) Linux OS, and as shown in Figure 2, cloud stores data collision detection method and comprises:
110, the data file variation in synchronization folder is monitored, inquiry request is sent to data collision detection server, described inquiry request is for inquiring about other online user's information of editing described data file, and described data file change comprises one or several in document creation, file erase or file modification.
Particularly, configuration data collision detection software on user side, and start when user side is started shooting; Data collision detection software on user side adopts the data file variation in the synchronization folder of linux kernel file system call inotify supervisory user end, and data movement information is kept at user side, and then send inquiry request to data collision detection server.Described data movement information comprises data movement time of origin, data name etc.
Described data collision detection software can be encapsulated in corresponding cloud storage server client, also can exist with middleware form, independently be arranged on user side.
120, receive other online user's information that data collision detection server returns, according to other online user's information, send data collision detection request to other online users.
Wherein, other online user's information comprise the user side interface IP address of other online users.
Particularly, active user's termination receives other online user's information that data collision detection server returns, and according to other online user's information, inquires the user side of other online users, and the user side to other online users sends data collision detection request.
130, after receiving the data message that other online users return, carry out data collision detection, and data collision detection result is sent to data collision detection server.
Wherein, the data message that other online users described return comprises data name and data movement time etc. under the synchronization folder on the user side of other online users.Particularly, described data collision detection refers to, after the data message that active user holds the collision detection software receipt of configuration to return to the user side of other online users, the data movement information in local synchronization file and the user side data movement information of other online users that returns are compared.Then data collision detection result is sent to data collision detection server.If when the data name under the synchronization folder of the user side of the data name under the user side synchronization folder of active user or data movement time and other online users or data movement Time Inconsistency, judge that active user and other online users exist data collision, otherwise, judge that active user and other online users do not exist data collision.
Same, data collision detection software on the user side at active user place also can monitor other online users send data collision detection request, and the data movement information returned in local synchronization file, carry out data collision detection for other online users.
The cloud provided in the embodiment of the present invention one stores data collision detection method, after information by the data file variation in monitoring synchronization folder, according to other online user's information that data collision detection server returns, carry out data collision detection with other online users, and data collision detection result is sent to data collision detection server.Solve the problem not taking any front detection method at present for data collision problem, achieve the data consistent implementations of inquiring about in time on each different terminals.
Embodiment two
Fig. 3 is the flow chart of the cloud the provided storage data collision detection method of the embodiment of the present invention two.The present embodiment is optimized based on above-described embodiment one, preferably by after operating in and receiving data message that other online users return, carry out data collision detection, and be optimized for after data collision detection result is sent to data collision detection server and also comprise: send data collision detection result to data collision detection server and show request.
Accordingly, the method for the present embodiment comprises following operation:
210, monitor the data file variation in synchronization folder, send inquiry request to data collision detection server.
220, receive other online user's information that data collision detection server returns, according to other online user's information, send data collision detection request to other online users.
230, after receiving the data message that other online users return, carry out data collision detection, and data collision detection result is sent to data collision detection server.
240, send data collision detection result to data collision detection server and show request.
Particularly, user can pass through browser access data collision detection server, send data collision detection result to data collision detection server and show request, the data collision detection result obtained by aforesaid operations is showed user by data collision detection server, so that user grasps the data movement situation of other users.The cloud provided in the embodiment of the present invention two stores data collision detection method, after information by the data file variation in monitoring synchronization folder, according to other online user's information that data collision detection server returns, data collision detection is carried out with other online users, and data collision detection result is sent to data collision detection server, and show request, to grasp the data movement situation of other users by sending data collision detection result to data collision detection server.The embodiment of the present invention solves the problem not taking any front detection method at present for data collision problem, achieves the data consistent implementations of inquiring about in time on each different terminals, improves Consumer's Experience.
Embodiment three
Fig. 4 is the flow chart of the cloud storage data collision detection method that the embodiment of the present invention three provides.The present embodiment is optimized based on above-described embodiment two, preferably operation is received other online user's information that described data collision detection server returns, according to other online user's information, sending data collision detection request optimization to other online users is: receive other online user's information that described data collision detection server returns, according to other online user's information returned, set up end to end connection one by one with other online users; After connecting with other online users, send data collision detection request to other online users in described connection; When not connecting with other online users, then list this online user's information in inactive users information list.
Accordingly, the method for the present embodiment comprises following operation:
310, monitor the data file variation in synchronization folder, send inquiry request to data collision detection server.
320, receive other online user's information that data collision detection server returns, according to other online user's information returned, set up end to end connection one by one with other online users.
Wherein, end-to-end is that network connects.Network will communicate, and must connect, and how far no matter has, there are how many machines centre, all must connect between two (source and destination), once connection establishment is got up, just say to be end to end connection, namely end-to-end is logical links, and this road may have passed through very complicated physical route, but two ends main frame no matter, only think the connection having two ends, and once communicate, this connection just releases, physical circuit may be used for having connected by other again.
Particularly, active user's end, by the user side interface IP address of other online users, inquires the user side of other online users, and sets up with each user side respectively and be connected end to end, to carry out transfer of data.
330, judge whether to connect with other online users; : after connecting with other online users,
Executable operations 340,360,370 successively; Otherwise, executable operations 350.
In this operation, can user side be checked and be connected with other online users.After connecting with other online users, other online users on connecting send data collision detection request, after receiving the data message that other online users return, carry out data collision detection, and data collision detection result is sent to data collision detection server, send data collision detection result to data collision detection server and show request; When not connecting with other online users, then list this online user's information in inactive users information list.
340, data collision detection request is sent to other online users in described connection.
Other online user's information that 350, can not connect list inactive users information list in.
360, after receiving the data message that in described connection, other online users return, carry out data collision detection, and data collision detection result is sent to data collision detection server.
370, send data collision detection result to data collision detection server and show request.
The cloud provided in the embodiment of the present invention three stores data collision detection method, after information by the data file variation in monitoring synchronization folder, according to other online user's information that data collision detection server returns, data collision detection is carried out by being connected end to end with other online users, data collision detection result is sent to data collision detection server, and show request, to grasp the data movement situation of other users by sending data collision detection result to data collision detection server.The embodiment of the present invention solves the problem not taking any front detection method at present for data collision problem, achieves the data consistent implementations of inquiring about in time on each different terminals, improves Consumer's Experience.
Embodiment four
Fig. 5 is the flow chart of the cloud storage data collision detection method that the embodiment of the present invention four provides.The present embodiment is optimized based on above-described embodiment three, preferably will operate in be optimized for when data collision detection result is sent to described data collision detection server also to comprise: institute's inactive users information list is sent to data collision detection server.
Accordingly, the method for the present embodiment comprises following operation:
410, monitor the data file variation in synchronization folder, send inquiry request to data collision detection server.
420, receive other online user's information that data collision detection server returns, according to other online user's information returned, set up end to end connection one by one with other online users.
430, judge whether to connect with other online users;
After connecting with other online users, perform 440,460,480 successively; Otherwise, perform 450,470,480 successively.
In this operation, can user side be checked and be connected with other online users.After connecting with other online users, other online users on connecting send data collision detection request, after receiving the data message that other online users return, carry out data collision detection, and data collision detection result is sent to data collision detection server, send data collision detection result to data collision detection server and show request; When not connecting with other online users, then list this online user's information in inactive users information list, inactive users information list is sent to data collision detection server, and sends data collision detection result displaying request to data collision detection server.
440, data collision detection request is sent to other online users in described connection.
Other online user's information that 450, can not connect list inactive users information list in.
460, after receiving the data message that other online users in described connection return, carry out data collision detection, and data collision detection result is sent to data collision detection server.
470, inactive users information list is sent to data collision detection server.
480, send data collision detection result to data collision detection server and show request.
The cloud provided in the embodiment of the present invention four stores data collision detection method, by according to monitoring synchronization folder in data file variation information after, according to other online user's information that data collision detection server returns, real time data collision detection is carried out by connecting end to end between each online user's end, and data collision detection result and inactive users information list are sent to data collision detection server, user checks collision detection result by browser.Solve the problem not taking any front detection method at present for data collision problem, achieve the data consistent implementations of inquiring about in time on each different terminals, improve Consumer's Experience.
Embodiment five
The cloud that Fig. 6 gives the embodiment of the present invention five to be provided stores the flow chart of data collision detection method.The executive agent of the method that the present embodiment provides is data collision detection server.As shown in Figure 6, cloud storage data collision detection method comprises:
510, receive the inquiry request that user side sends, described inquiry request is send, for inquiring about other online user's information of editing described data file after the data file change of user side in monitoring synchronization folder.
Particularly, data collision detection server configures finger daemon, as daemon, and start when data collision detection server is started shooting, for the inquiry request of monitoring users end.
520, other online user's information is sent to user side.
Particularly, the user side information of other online users in data collision detection server lookup database, and return to active user's end, and user side information is saved in database.Wherein database comprises user side information, data movement information, last collision detection time etc.
530, receive the data collision detection result obtained after the data message sent according to other online users that user side sends carries out data collision detection, and upgrade current data library information.
The cloud provided in the embodiment of the present invention five stores data collision detection method, by receiving the inquiry request that user side sends, returning other online user's information to this user side, receiving the Data Detection result that user side sends, and upgrading current data library information.Solve the problem not taking any front detection method at present for data collision problem, achieve the data consistent implementations of inquiring about in time on each different terminals.
Embodiment six
Fig. 7 is the flow chart of the cloud storage data collision detection method that the embodiment of the present invention six provides.The present embodiment is optimized based on above-described embodiment five, preferably the data collision detection result receiving described user side and send will be operated in, be optimized for when upgrading current data library information and also comprise: receive the inactive users information list that user side sends, upgrade current data library information.
Accordingly, the method for the present embodiment comprises following operation:
610, the inquiry request that user side sends is received.
620, other online user's information is sent to user side.
630, receive the inactive users information list that the data collision detection result that obtains after the data message sent according to other online users that user side sends carries out data collision detection and user side send, and upgrade current data library information.
The cloud provided in the embodiment of the present invention six stores data collision detection method, by receiving the inquiry request that user side sends, returning other online user's information to this user side, receiving the Data Detection result that user side sends, and upgrading current data library information.Solve the problem not taking any front detection method at present for data collision problem, achieve the data consistent implementations of inquiring about in time on each different terminals.
Embodiment seven
Fig. 8 is the flow chart of the cloud storage data collision detection method that the embodiment of the present invention seven provides.The present embodiment is optimized based on above-described embodiment six, preferably the inactive users information list receiving described user side and send will be operated in, be optimized for after upgrading current data library information and also comprise: receive the data collision detection result displaying request that user side sends, and send all data collision detection results corresponding with data file to user side.
Accordingly, the method for the present embodiment comprises following operation:
710, the inquiry request that user side sends is received.
720, other online user's information is sent to user side.
730, receive the inactive users information list that the data collision detection result that obtains after the data message sent according to other online users that user side sends carries out data collision detection and user side send, and upgrade current data library information.
740, receive the data collision detection result displaying request that user side sends, and send all data collision detection results corresponding with data file to user side.
The cloud provided in the embodiment of the present invention seven stores data collision detection method, by receiving the inquiry request that user side sends, other online user's information is returned to this user side, receive the Data Detection result that user side sends, and upgrade current data library information, send all data collision detection results corresponding with data file to user side.Solve the problem not taking any front detection method at present for data collision problem, achieve the data consistent implementations of inquiring about in time on each different terminals, improve Consumer's Experience.
Embodiment eight
Fig. 9 is the flow chart of the cloud storage data collision detection method that the embodiment of the present invention eight provides.The present embodiment is optimized based on above-described embodiment seven, preferably the inactive users information list receiving described user side and send will be operated in, request is shown after upgrading current data library information, in the data collision detection result receiving user side, and also comprise to being optimized for before described user side sends data collision detection result: send data collision detection request to cloud storage server as required, and data collision detection result is preserved in a database.
Accordingly, the method for the present embodiment comprises following operation:
810, the inquiry request that user side sends is received.
820, other online user's information is sent to user side.
830, receive the inactive users information list that the data collision detection result that obtains after the data message sent according to other online users that user side sends carries out data collision detection and user side send, and upgrade current data library information.
840, send data collision detection request to cloud storage server as required, and data collision detection result is preserved in a database.
Particularly, when there are not other online users, or, when user and every other online user all exist data collision, send data collision detection request to cloud storage server; After the data message that reception cloud storage server returns, carry out data collision detection, and data collision detection result is kept at database.
850, receive the data collision detection result displaying request that user side sends, and send all data collision detection results corresponding with data file to user side.
The cloud provided in the embodiment of the present invention eight stores data collision detection method, by receiving the inquiry request that user side sends, other online user's information is returned to this user side, receive the Data Detection result that user side sends, and upgrade current data library information, send all data collision detection results corresponding with data file to user side.In addition, the embodiment of the present invention sends data collision detection request to cloud storage server as required, achieving on the basis inquiring about the data consistent implementations on each different terminals in time, can also data consistent implementations in time between inquiring user end and cloud storage server, improve Consumer's Experience.
The embodiment of the present invention nine is system embodiment, and the inventive method embodiment and system embodiment belong to same design, the detail content of not detailed description in system embodiment, can with reference to said method embodiment.
Embodiment nine
The cloud that Figure 10 gives the embodiment of the present invention nine to be provided stores the structural representation of data collision detection system.As shown in Figure 10, this system comprises:
At least one user side 10, cloud storage server 12 and data collision detection server 11;
Wherein, user side 10, for monitoring the data file variation in synchronization folder, sends inquiry request to data collision detection server 11; Receive other online user's information that data collision detection server 11 returns, according to other online user's information, send data collision detection request to other online users; After receiving the data message that other online users return, carry out data collision detection, and testing result is sent to described data collision detection server 11; Inquiry request is for inquiring about other online user's information of editing data file, and data file change comprises one or several in document creation, file erase or file modification.
Data collision detection server 11 for receive user side 10 send inquiry request after, send other online user's information to user side 10; Receive the data collision detection result obtained after the data message sent according to other online users that user side 10 sends carries out data collision detection, and upgrade current data library information; Inquiry request is send, for inquiring about other online user's information of editing data file after the data file change of user side in monitoring synchronization folder.
Wherein, when data collision detection server 11 finds to there are not other online users, or, when all there is data collision in user and every other online user, described data collision detection server 11 sends data collision detection request to cloud storage server 12, and carry out data collision detection, result is kept in data collision detection server 11 database and consults for user.
The cloud that Figure 11 provides for the embodiment of the present invention nine stores the principle schematic that data collision detection system carries out data collision detection.As shown in figure 11, by being configured in the data file variation in the data collision detection software supervision local synchronization file of user side, and send inquiry request, now other online user's client informations in data collision detection server return data storehouse to data collision detection server.The data collision detection software of user side sets up end to end connection between user side according to return information by the network port, performs data collision detection operation.If user side collision detection software supervision is to the collision detection request of other user sides, then return the data file transition information in local synchronization file.Result is sent to data collision detection server so that user is checked by browser by user side after data collision detection end of operation, if when there are not other online users in data collision detection discovering server, or, when all there is data collision in user and every other online user, then send data collision detection request carry out data collision detection to cloud storage server, and result is kept at data collision detection server database and consults for user.
The cloud provided in the embodiment of the present invention nine stores data collision detection system, by the data file variation in the synchronization folder of collision detection software supervision user side, inquiry request is sent to data collision detection server, end to end connection is set up one by one according to other user side information lists that data collision detection server returns, obtain colliding data result and the list of inactive users end, and these information are sent to data collision detection server, consult data collision detection result to make user.Solve the problem not taking any front detection method at present for data collision problem, achieve the data consistent implementations of inquiring about in time on each different terminals, improve Consumer's Experience.
The know-why that above are only preferred embodiment of the present invention and use.The invention is not restricted to specific embodiment described here, the various significant changes can carried out for a person skilled in the art, readjust and substitute all can not depart from protection scope of the present invention.Therefore, although be described in further detail invention has been by above embodiment, the present invention is not limited only to above embodiment, when not departing from the present invention's design, can also comprise other Equivalent embodiments more, and scope of the present invention is determined by the scope of claim.

Claims (10)

1. cloud stores a data collision detection method, it is characterized in that, comprising:
Data file variation in monitoring synchronization folder, inquiry request is sent to data collision detection server, described inquiry request is for inquiring about other online user's information of editing described data file, and described data file changes one or several that comprises in document creation, file erase or file modification;
Receive other online user's information that described data collision detection server returns, according to other online user's information described, send data collision detection request to other online users described;
After the data message that described in receiving, other online users return, carry out data collision detection, and data collision detection result is sent to described data collision detection server.
2. cloud according to claim 1 stores data collision detection method, it is characterized in that, after the data message that other online users described in receiving return, carry out data collision detection, and after data collision detection result is sent to described data collision detection server, also comprise:
Send data collision detection result to described data collision detection server and show request.
3. cloud according to claim 2 stores data collision detection method, it is characterized in that, other online user's information that the described data collision detection server of described reception returns, according to other online user's information, send data collision detection request to other online users, specifically comprise:
Receive other online user's information that described data collision detection server returns, according to other online user's information returned, set up end to end connection one by one with other online users;
After connecting with other online users, send data collision detection request to other online users in described connection;
When not connecting with other online users, then list this online user's information in inactive users information list.
4. cloud according to claim 3 stores data collision detection method, it is characterized in that, when data collision detection result is sent to described data collision detection server, also comprises:
Described inactive users information list is sent to described data collision detection server.
5. cloud stores a data collision detection method, it is characterized in that, comprising:
Receive the inquiry request that user side sends, described inquiry request is send, for inquiring about other online user's information of editing described data file after the data file change of user side in monitoring synchronization folder;
Other online user's information is sent to described user side;
Receive the data collision detection result obtained after the data message sent according to other online users that described user side sends carries out data collision detection, and upgrade current data library information.
6. cloud according to claim 5 stores data collision detection method, it is characterized in that, is receiving the data collision detection result of described user side transmission, when upgrading current data library information, is also comprising:
Receive the inactive users information list that described user side sends, upgrade current data library information.
7. cloud according to claim 6 stores data collision detection method, it is characterized in that, is receiving the inactive users information list of described user side transmission, after upgrading current data library information, is also comprising:
Receive the data collision detection result displaying request that user side sends, and send all data collision detection results corresponding with described data file to described user side.
8. cloud according to claim 7 stores data collision detection method, it is characterized in that, receiving the inactive users information list of described user side transmission, request is shown after upgrading current data library information, in the data collision detection result receiving user side, and before sending data collision detection result to described user side, also comprise:
Send data collision detection request to cloud storage server as required, and data collision detection result is preserved in a database.
9. cloud according to claim 8 stores data collision detection method, it is characterized in that, described as required to the request of cloud storage server transmission data collision detection, and data collision detection result is preserved in a database, specifically comprises:
When there are not other online users, or, when described user and every other online user all exist data collision, send data collision detection request to described cloud storage server;
After receiving the data message that described cloud storage server returns, carry out data collision detection, and data collision detection result is kept at database.
10. cloud stores a data collision detection system, it is characterized in that, comprising:
At least one user side, cloud storage server and data collision detection server;
Wherein, described user side, for monitoring the data file variation in synchronization folder, sends inquiry request to data collision detection server; Receive other online user's information that described data collision detection server returns, according to other online user's information, send data collision detection request to other online users; After the data message that described in receiving, other online users return, carry out data collision detection, and testing result is sent to described data collision detection server; Described inquiry request is for inquiring about other online user's information of editing described data file, and described data file change comprises one or several in document creation, file erase or file modification;
Described data collision detection server for receive user side send inquiry request after, send other online user's information to described user side; Receive the data collision detection result obtained after the data message sent according to other online users that described user side sends carries out data collision detection, and upgrade current data library information; Described inquiry request is send, for inquiring about other online user's information of editing described data file after the data file change of user side in monitoring synchronization folder.
CN201410719602.2A 2014-12-01 2014-12-01 A kind of cloud storage data collision detection method and system Active CN104468767B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410719602.2A CN104468767B (en) 2014-12-01 2014-12-01 A kind of cloud storage data collision detection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410719602.2A CN104468767B (en) 2014-12-01 2014-12-01 A kind of cloud storage data collision detection method and system

Publications (2)

Publication Number Publication Date
CN104468767A true CN104468767A (en) 2015-03-25
CN104468767B CN104468767B (en) 2017-12-12

Family

ID=52914119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410719602.2A Active CN104468767B (en) 2014-12-01 2014-12-01 A kind of cloud storage data collision detection method and system

Country Status (1)

Country Link
CN (1) CN104468767B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833600A (en) * 2018-09-13 2018-11-16 湖北鑫恒福科技发展有限公司 A kind of method and device that cloud storage data are synchronous
CN111352992A (en) * 2018-12-21 2020-06-30 北京金山云网络技术有限公司 Data consistency detection method and device and server
CN116088456A (en) * 2023-04-06 2023-05-09 安徽深迪科技有限公司 MES-based intelligent factory product quality monitoring method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030220966A1 (en) * 2002-05-24 2003-11-27 International Business Machines Corporation System and method for dynamic content dependent conflict resolution
CN101005428A (en) * 2006-01-19 2007-07-25 华为技术有限公司 Realizing method for detecting and resolving data synchronous conflict
CN102132270A (en) * 2008-08-26 2011-07-20 微软公司 Minimal extensions required for multi-master offline and collaboration for devices and web services
WO2014045080A1 (en) * 2012-09-18 2014-03-27 Nokia Corporation Methods, apparatuses and computer program products for providing a protocol to resolve synchronization conflicts when synchronizing between multiple devices
CN104065676A (en) * 2013-03-19 2014-09-24 联想(北京)有限公司 File synchronization method and file synchronization equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030220966A1 (en) * 2002-05-24 2003-11-27 International Business Machines Corporation System and method for dynamic content dependent conflict resolution
CN101005428A (en) * 2006-01-19 2007-07-25 华为技术有限公司 Realizing method for detecting and resolving data synchronous conflict
CN102132270A (en) * 2008-08-26 2011-07-20 微软公司 Minimal extensions required for multi-master offline and collaboration for devices and web services
WO2014045080A1 (en) * 2012-09-18 2014-03-27 Nokia Corporation Methods, apparatuses and computer program products for providing a protocol to resolve synchronization conflicts when synchronizing between multiple devices
CN104065676A (en) * 2013-03-19 2014-09-24 联想(北京)有限公司 File synchronization method and file synchronization equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
田怡萌: "分布式文件系统副本一致性检测研究", 《计算机研究与发展》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833600A (en) * 2018-09-13 2018-11-16 湖北鑫恒福科技发展有限公司 A kind of method and device that cloud storage data are synchronous
CN111352992A (en) * 2018-12-21 2020-06-30 北京金山云网络技术有限公司 Data consistency detection method and device and server
CN111352992B (en) * 2018-12-21 2023-09-29 北京金山云网络技术有限公司 Data consistency detection method, device and server
CN116088456A (en) * 2023-04-06 2023-05-09 安徽深迪科技有限公司 MES-based intelligent factory product quality monitoring method and system

Also Published As

Publication number Publication date
CN104468767B (en) 2017-12-12

Similar Documents

Publication Publication Date Title
CN106331098B (en) Server cluster system
CN1988535B (en) Synchronous method, system for file storage and customer terminal
CN105812435B (en) Application upgrading data packet processing method and device, electronic equipment and system
CN105407117B (en) The methods, devices and systems of distributed backup data
CN102882985A (en) File sharing method based on cloud storage
EP3238096B1 (en) System and method for discovering a lan synchronization candidate for a synchronized content management system
CN104717314A (en) IP management method and system, client-side and server
CN103220358A (en) Multi-terminal on-line file synchronizing method, system, server, and terminal device
CN103631652A (en) Method and system for achieving virtual machine migration
CN110502572A (en) A kind of method and server that data are synchronous
CN111181765A (en) Task processing method and device
CN110019539A (en) A kind of method and apparatus that the data of data warehouse are synchronous
CN110909030B (en) Information processing method and server cluster
CN106911769B (en) Cloud platform routing data processing method and physical server of cloud platform
US10318385B2 (en) Service recovery using snapshots and interservice messages
CN104468767A (en) Method and system for detecting cloud storage data collision
CN106357723A (en) Synchronous system and method for multi-cluster information caching based on cloud host
CN106657360A (en) Synchronization method and system for NIS servers under Linux system
CN109413118B (en) Method, device, storage medium and program product for realizing session synchronization
CN107483637B (en) NFS-based client link management method and device
CN116560904A (en) NAS data backup disaster recovery method, system, terminal and storage medium
KR20160026138A (en) Rapid sync method for cloud file system and cloud file system using the same
CN110830477B (en) Service identification method, device, gateway, system and storage medium
CN105337781A (en) Network management system and method and network system
CN113612811B (en) Method, system, equipment and medium for client mounting in multiple channels

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