CN102946403B - A kind of method of the solution file conflict for cloud storage system and device - Google Patents

A kind of method of the solution file conflict for cloud storage system and device Download PDF

Info

Publication number
CN102946403B
CN102946403B CN201210254462.7A CN201210254462A CN102946403B CN 102946403 B CN102946403 B CN 102946403B CN 201210254462 A CN201210254462 A CN 201210254462A CN 102946403 B CN102946403 B CN 102946403B
Authority
CN
China
Prior art keywords
server
file
user side
version
software systems
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210254462.7A
Other languages
Chinese (zh)
Other versions
CN102946403A (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.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201210254462.7A priority Critical patent/CN102946403B/en
Publication of CN102946403A publication Critical patent/CN102946403A/en
Application granted granted Critical
Publication of CN102946403B publication Critical patent/CN102946403B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a kind of method applying to the solution file conflict of the cloud storage system with synchronous shared file function, do not consider the version problem between respective file on the file that is synchronized to from user side software systems and server on the server, but directly the file be synchronized to from user side software systems is set to current version, the file as current version before on server can be saved as old version simultaneously, and the method utilizing the old version except current version that user side software systems download server has is provided, what avoid that current processing method brings there will be the file and conflict file that belong to a source file in a synchronous space.Therefore, relative to current processing scheme, the present invention brings convenience to user.

Description

A kind of method of the solution file conflict for cloud storage system and device
[technical field]
The present invention relates to a kind of method and device of the solution file conflict for cloud storage system.
[background technology]
Nowadays, conveniently user accesses e-file in different location, avoids again the inconvenience of carrying portable hard drive, creates cloud storage system; Be example at the cloud storage system of this kind of Kingsoft by name fast disk, this cloud storage system comprises server and for being arranged on user side (comprising computer, mobile device) to realize using the user side software systems of log-on message logon server, be provided with and used log-on message synchronous space one to one at user side after user side software systems logon server, synchronous space is carried out synchronously with the data (comprising file, file) be just associated with the log-on message corresponding to synchronous space between server; The condition be associated comprises: the original artificial log-on message of data, or log-on message belongs to the shared people of data.
The fast disc system in Kingsoft has synchronizing function, such as, the user of log-on message A creates data R (due to the original artificial log-on message A of data R in the synchronous space of the user side software systems of user side 1, data R is associated with log-on message A, after, data R and amendment thereof can the synchronous space of log-on message A with carry out between server synchronous), if the user of log-on message A passes through user side software systems logon server (server synchronously has data R) at user side 2, the user side software systems of user side 2 will automatically from server download data R to user side 2 corresponding synchronous space.
Synchronizing function is the basic function of cloud storage system, and other functions are all carry out extending and expanding on the basis of synchronizing function, at present, use the fast disc system in Kingsoft of Kingsoft fast disk that version number is 1.21.0.1634 on the basis of synchronizing function, also have synchronous shared file function, such as, the user of log-on message A creates data W and arranges shared artificial log-on message B (the data W and log-on message A of this information in the synchronous space of the user side software systems of user side 3, log-on message B is associated, after, data W and amendment thereof can in the synchronous spaces of log-on message A, the synchronous space of log-on message B, carry out synchronous between server three), in this data T can upload onto the server by the user side software systems of user side 3 automatically and the shared artificial log-on message B of this information of notification server, when the user side 4 of log-on message B is by user side software systems logon server, the user side 4 of log-on message B will from server downloading data W to the synchronous space of user side 4, then, under the prerequisite of user side 3 and user side 4 all logon server, no matter user side 3 or user side 4 couples of data W modify, and all can carry out synchronous in user side 3, user side 4, server.
But, because a file carries out synchronously, often to occur the situation of file conflict, making an explanation down below to the concept of file conflict in multiple synchronous space.
First give an example and introduce the concrete example of file conflict: suppose the user side 6 of the user side 5 of current log-on message A, log-on message B, server all synchronously has a file T (the original artificial log-on message A of file T, the shared artificial log-on message B of file T), user side 5 and user side 6 are modified to respective file T all simultaneously; Revised file T when user side 5 and obtained file T ', first carry out synchronous with server, so, the file T on it is updated to file T ' by server, because the file T of user side 6 is in editing mode, the file T of user side 6 can not be updated; Revise file T when user side 6 and obtained file T " after; user side 6 and server carry out data syn-chronization; first server receives file T ", judge file T " be revise at file T; but the file T on it has been updated to file T ', then by file T " save as one with the file T of identification collision "; Then, server is by the file T with identification collision " and file T ' be all synchronized to user side 6, the file T of user side 6 " be covered as file T with identification collision "; Server is by the file T with identification collision " be synchronized to user side 5; Now; there is file T ' and the file T with identification collision in user side 5 and user side 6 "; in this case; bring doubt usually can to the user of user side 5 and user side 6; sometimes; user can be impelled to delete file T with identification collision "; in this case; no matter be the file T that user side 5 or user side 6 delete with identification collision "; due to synchronous reason; user side 5, user side 6 and server all can not exist the file T with identification collision ", this to cause the Update Table of user side 6 to lose, and makes troubles to user.
Therefore, server is passed through to the file R ' synchronously obtained from user side software systems, it modifies to obtain (log-on message associated with source file R is the log-on message associated with file R ') on the basis of the N version of source file R, and the current version of source file R is N ' version on current server, and N ' version is different from N version; This event becomes file conflict.
Have foregoing description known, the method for process file conflict is at present: file R ' can be treated to conflict file by serviced device, is synchronized to the synchronous space corresponding with the log-on message being associated with file R '.Have foregoing description known, this processing method is made troubles to user.
[summary of the invention]
The technical problem to be solved in the present invention is to provide a kind of method applying to the solution file conflict of the cloud storage system with synchronous shared file function, can bring convenience to user.
Above-mentioned technical problem is achieved through the following technical solutions:
A kind of method applying to the solution file conflict of the cloud storage system with synchronous shared file function, described cloud storage system comprises server and for being arranged on user side to realize the user side software systems of logon server, and user side software systems are provided with log-on message one to one and for carrying out the synchronous space of data syn-chronization with server in user side after logon server; It is characterized in that, said method comprising the steps of:
(1) when server from user side software systems by the source file that synchronously obtains (create namely by the synchronous space of user in user side software systems and be synchronized to the file on server first) time, described source file is set to current version and records time of reception by server; When server from user side software systems by synchronously obtain belong to source file extend file (file that namely each version of source file is modified the synchronous space being stored in user side software systems) time, described file is set to current version and record time of reception by server, and preserves and generate a corresponding download link to a upper version file (file as current version namely);
(2) what user side software systems provided user to input to check the carrying out of the old version of file arbitrary in synchronous space checks request, and respond described in user's input and check request, send to server and obtain about the acquisition request of the old version information of request object;
(3) server receives the request of acquisition, then the old version information of request object on server is issued the user side software systems of filing a request, described old version information comprises the download link of the directory information (namely illustrating there is which version) of each version of request object, the time of reception of each version and other versions except current version of existence;
(4) user side software systems receive old version information, then generate the list dialog box that shows the directory information of each version of request object and the time of reception of each version;
(5) user side software systems provide the download request except other versions of current version in user's input-queueing table dialog box, the described download request of corresponding input, recalls corresponding download link and completes and download place specified by corresponding data to user from server.
Such scheme is had to describe visible, the present invention does not consider the version problem on the file that is synchronized to from user side software systems and server between respective file on the server, but (server carries out synchronous with current version with user side software systems directly the file be synchronized to from user side software systems to be set to current version, other versions except current version on server are for downloading to user), the file as current version before on server can be saved as old version simultaneously, and the method utilizing the old version except current version that user side software systems download server has is provided, what avoid that current processing method brings there will be the file and conflict file that belong to a source file in a synchronous space.Therefore, relative to current processing scheme, the present invention brings convenience to user.
[accompanying drawing explanation]
Fig. 1 is structure chart of the present invention.
[embodiment]
A kind of method applying to the solution file conflict of the cloud storage system with synchronous shared file function, described cloud storage system comprises server and for being arranged on user side to realize the user side software systems of logon server, and user side software systems are provided with log-on message one to one and for carrying out the synchronous space of data syn-chronization with server in user side after logon server; Said method comprising the steps of:
(1) when server from user side software systems by the source file that synchronously obtains (create namely by the synchronous space of user in user side software systems and be synchronized to the file on server first) time, described source file is set to current version and records time of reception by server; When server from user side software systems by synchronously obtain belong to source file extend file (file that namely each version of source file is modified the synchronous space being stored in user side software systems) time, described file is set to current version and record time of reception by server, and preserves and generate a corresponding download link to a upper version file;
(2) what user side software systems provided user to input to check the carrying out of the old version of file arbitrary in synchronous space checks request, and respond described in user's input and check request, send to server and obtain about the acquisition request of the old version information of request object;
(3) server receives the request of acquisition, then the old version information of request object on server is issued the user side software systems of filing a request, described old version information comprises the download link of the directory information (namely illustrating there is which version) of each version of request object, the time of reception of each version and other versions except current version of existence; ;
(4) user side software systems receive old version information, then generate the list dialog box that shows the directory information of each version of request object and the time of reception of each version;
(5) user side software systems provide the download request except other versions of current version in user's input-queueing table dialog box, the described download request of response input, recalls corresponding download link and completes and download place specified by corresponding data to user from server.
As shown in Figure 1, a kind of device applying to the solution file conflict of the cloud storage system with synchronous shared file function, described cloud storage system comprises server and for being arranged on user side to realize the user side software systems of logon server, and user side software systems are provided with log-on message one to one and for carrying out the synchronous space of data syn-chronization with server in user side after logon server; Described device comprises:
Be located at the first old version module on server, for when server passes through from user side software systems the source file synchronously obtained, described source file is set to current version and records time of reception; When server from user side software systems by synchronously obtain belong to the file that source file extends time, described file is set to current version and record time of reception, and a corresponding download link is preserved and generated to a upper version file;
Be located at user side software systems first checks old version module, input for providing user the carrying out of the old version of file arbitrary in synchronous space is checked check request, and respond described in user's input and check request, send to server and obtain about the acquisition request of the old version information of request object;
Be located at the second old version module on server, for receiving the request of acquisition, then check that old version module obtains the old version information of request object server and issues the user side software systems of filing a request from described first, described old version information comprises the download link of other versions except current version of the directory information of each version of request object, the time of reception of each version and existence;
Be located at user side software systems second checks old version module, for receiving old version information, then generates the list dialog box that shows the directory information of each version of request object and the time of reception of each version;
Be located at user side software systems the 3rd checks old version module, for providing the download request except other versions of current version in user's input-queueing table dialog box, from second, the described download request of response input, checks that old version module recalls corresponding download link and completes and download place specified by corresponding data to user from server.
In above scheme, the setting of time of reception is to allow user can find out the modification time of each version from list dialog box, is convenient to user and effectively selects to download.
At this, the fast disc system in Kingsoft with synchronous shared file function of said apparatus is used to be example statement the solution of the present invention with one:
The user side 1 of log-on message A creates source file W in its synchronous space and arranges and shares to log-on message B; First, the source file W of user side 1 is synchronized to server and the related information of notification server source file W (the original artificial log-on message A of file W and shared artificial log-on message B), and server is preserved source file W and recorded related information, arranges source file W is current version, record time of reception; Then, source file W is synchronized in the user side software systems using log-on message B at user side 2 by server; Suppose that user side 1 and user side 2 are all modified to the source file W in each motor synchronizing space; Suppose, user side 2 first completes amendment source file W and obtains file W ', amended file W is in non-editing mode, on user side 2, file W ' just uploads onto the server by user side software systems, file W ' is set to current version and records time of reception by server, preserves source file W simultaneously and generates a download link S1 to source file W; Then, server can use file W ' and user side 1 to carry out synchronously, because the source file W of user side 1 is in editing mode, can not carry out renewal synchronous between server with user side 1 to the source file W of user side 1; File is obtained after user side 1 has revised source file W ", server is first synchronized to file from user side 1 ", by file " be set to current version and record time of reception, preserve file W ' simultaneously and a download link S2 is generated to file W '; Then, server can carry out synchronous with user side 2, and user side 2 obtains file from server " to substitute the file W ' in its synchronous space.
Visible, server has source file W, file W ', file " and time of reception, the above two the download link of three.
User side 1 and user side 2 all can to the files in its synchronous space " carry out downloading source file W, file W ' from server.
The present invention is not limited to above-described embodiment, based on above-described embodiment, the simple replacement of not making creative work, the scope that the present invention discloses should be belonged to.

Claims (2)

1. one kind applies to the method for the solution file conflict of the cloud storage system with synchronous shared file function, described cloud storage system comprises server and for being arranged on user side to realize the user side software systems of logon server, and user side software systems are provided with log-on message one to one and for carrying out the synchronous space of data syn-chronization with server in user side after logon server; It is characterized in that, said method comprising the steps of:
(1) when server passes through from user side software systems the source file synchronously obtained, described source file is set to current version and records time of reception by server; When server from user side software systems by synchronously obtain belong to the file that source file extends time, described file is set to current version and record time of reception by server, and preserves and generate a corresponding download link to a upper version file;
(2) what user side software systems provided user to input to check the carrying out of the old version of file arbitrary in synchronous space checks request, and respond described in user's input and check request, send to server and obtain about the acquisition request of the old version information of request object;
(3) server receives the request of acquisition, then the old version information of request object on server is issued the user side software systems of filing a request, described old version information comprises the download link of other versions except current version of the directory information of each version of request object, the time of reception of each version and existence;
(4) user side software systems receive old version information, then generate the list dialog box that shows the directory information of each version of request object and the time of reception of each version;
(5) user side software systems provide the download request except other versions of current version in user's input-queueing table dialog box, the described download request of response input, recalls corresponding download link and completes and download place specified by corresponding data to user from server.
2. one kind applies to the device of the solution file conflict of the cloud storage system with synchronous shared file function, described cloud storage system comprises server and for being arranged on user side to realize the user side software systems of logon server, and user side software systems are provided with log-on message one to one and for carrying out the synchronous space of data syn-chronization with server in user side after logon server; It is characterized in that, described device comprises:
Be located at the first old version module on server, for when server passes through from user side software systems the source file synchronously obtained, described source file is set to current version and records time of reception; When server from user side software systems by synchronously obtain belong to the file that source file extends time, described file is set to current version and record time of reception, and a corresponding download link is preserved and generated to a upper version file;
Be located at user side software systems first checks old version module, input for providing user the carrying out of the old version of file arbitrary in synchronous space is checked check request, and respond described in user's input and check request, send to server and obtain about the acquisition request of the old version information of request object;
Be located at the second old version module on server, for receiving the request of acquisition, then check that old version module obtains the old version information of request object server and issues the user side software systems of filing a request from described first, described old version information comprises the download link of other versions except current version of the directory information of each version of request object, the time of reception of each version and existence;
Be located at user side software systems second checks old version module, for receiving old version information, then generates the list dialog box that shows the directory information of each version of request object and the time of reception of each version;
Be located at user side software systems the 3rd checks old version module, for providing the download request except other versions of current version in user's input-queueing table dialog box, the described download request of response input, recalls corresponding download link and completes and download place specified by corresponding data to user from server.
CN201210254462.7A 2012-07-20 2012-07-20 A kind of method of the solution file conflict for cloud storage system and device Active CN102946403B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210254462.7A CN102946403B (en) 2012-07-20 2012-07-20 A kind of method of the solution file conflict for cloud storage system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210254462.7A CN102946403B (en) 2012-07-20 2012-07-20 A kind of method of the solution file conflict for cloud storage system and device

Publications (2)

Publication Number Publication Date
CN102946403A CN102946403A (en) 2013-02-27
CN102946403B true CN102946403B (en) 2015-09-09

Family

ID=47729309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210254462.7A Active CN102946403B (en) 2012-07-20 2012-07-20 A kind of method of the solution file conflict for cloud storage system and device

Country Status (1)

Country Link
CN (1) CN102946403B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395753B (en) * 2017-08-24 2020-09-01 无锡清华信息科学与技术国家实验室物联网技术中心 Cloud cooperation process conflict detection and notification method
CN109151026A (en) * 2018-08-14 2019-01-04 常熟市顺网网络技术服务有限公司 A kind of system and method that internet document is shared
CN116527692B (en) * 2023-06-29 2023-11-10 广东维信智联科技有限公司 Contract file cloud synchronization method based on Internet

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516832A (en) * 2001-05-25 2004-07-28 �׹��Ĺ��ʹ�˾ Management and synchronization application for network file system
CN1804836A (en) * 2005-01-14 2006-07-19 微软公司 Method and system for synchronizing multiple user revisions to a shared object
CN102413168A (en) * 2010-09-30 2012-04-11 微软公司 Presenting availability statuses of synchronized objects

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516832A (en) * 2001-05-25 2004-07-28 �׹��Ĺ��ʹ�˾ Management and synchronization application for network file system
CN1804836A (en) * 2005-01-14 2006-07-19 微软公司 Method and system for synchronizing multiple user revisions to a shared object
CN102413168A (en) * 2010-09-30 2012-04-11 微软公司 Presenting availability statuses of synchronized objects

Also Published As

Publication number Publication date
CN102946403A (en) 2013-02-27

Similar Documents

Publication Publication Date Title
CN104885055B (en) Application data synchronization method and device
CN107391629B (en) Method, system, server and computer storage medium for data migration between clusters
US10409694B2 (en) Data conversion method and backup server
CN103379159B (en) A kind of method that distributed Web station data synchronizes
CN109818934B (en) Method and device for automatically processing logs and computing equipment
CN107577420B (en) File processing method and device and server
WO2015117426A1 (en) File management method and device
EP3051440A1 (en) Keyvalue database data table updating method and data table updating device
CN103049355B (en) Method and equipment for database system recovery
CN106817388B (en) Method and device for acquiring data by virtual machine and host machine and system for accessing data
CN102611745A (en) On-line file moving method, device and system
US20150227605A1 (en) Information processing terminal, synchronization control method, and computer-readable recording medium
CN105786606A (en) Data transferring method and system for intelligent terminals
CN109885424B (en) Data backup method and device and computer equipment
CN102946403B (en) A kind of method of the solution file conflict for cloud storage system and device
CN102932476B (en) Network storage synchro system
CN112988879B (en) Method, system, device, storage medium and processor for accessing database
CN110798358B (en) Distributed service identification method and device, computer readable medium and electronic equipment
TWI571754B (en) Method for performing file synchronization control, and associated apparatus
CN111339560A (en) Data isolation method, device and system
CN111143426A (en) Multi-system user information association method and device
CN103425707A (en) Data analyzing method and data analyzing device
CN105512168A (en) Cluster database composite data loading method and apparatus
CN103279575A (en) Method and device for processing file information
CN111953722B (en) Synchronization method and device for terminal address book

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Jinshan software building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Patentee after: Zhuhai Kingsoft Office Software Co., Ltd.

Patentee after: Beijing Kingsoft office software Limited by Share Ltd

Address before: Jinshan software building No. 8 Jingshan Hill Road, Lane 519015 Lianshan Jida Zhuhai city in Guangdong Province

Patentee before: Zhuhai Kingsoft Office Software Co., Ltd.

Patentee before: Beijing Kingsoft WPS Office Co., Ltd.

CP01 Change in the name or title of a patent holder