CN108345664A - A kind of method of file synchronization, medium, system and electronic equipment - Google Patents
A kind of method of file synchronization, medium, system and electronic equipment Download PDFInfo
- Publication number
- CN108345664A CN108345664A CN201810108826.8A CN201810108826A CN108345664A CN 108345664 A CN108345664 A CN 108345664A CN 201810108826 A CN201810108826 A CN 201810108826A CN 108345664 A CN108345664 A CN 108345664A
- Authority
- CN
- China
- Prior art keywords
- file
- simultaneously operating
- synchronization
- user
- present
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 230000001360 synchronised effect Effects 0.000 claims abstract description 43
- 238000001514 detection method Methods 0.000 claims abstract description 9
- 238000012545 processing Methods 0.000 claims description 26
- 230000019771 cognition Effects 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/178—Techniques for file synchronisation in file systems
Abstract
Embodiments of the present invention provide a kind of file synchronisation method, the simultaneously operating of file is directed to including detection user, and in the case of simultaneously operating failure, a non-synchronization folder is created in local synchronization disk, and the file of simultaneously operating failure is moved under the non-synchronization folder.This method can be in the synchronous Dropbox of file cooperation in use, can be dealt carefully with for the file that can not be uploaded due to the rules such as permission, system setting limit.Both it had maintained user's local file and server is completely the same, and reduced user cognition cost, and user file will not be caused to lose, remain disposal right of the user for oneself file.Embodiments of the present invention additionally provide a kind of computer readable storage medium, a kind of file syn chronizing system and a kind of electronic equipment.
Description
Technical field
Embodiments of the present invention are related to file coordinated management field, more specifically, embodiments of the present invention are related to one
Method, medium, system and the electronic equipment of kind file synchronization.
Background technology
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein
Description recognizes it is the prior art not because not being included in this part.
With the rapid development of computer and network technology, the management of computer Chinese part is also being constantly progressive, user couple
The processing mode of computer documents has the demand of synchronization process, needs local file being synchronized in server, realizes multiple
User uploads on synchronization applications, downloads jointly, editing files, cooperates.
Currently, having there is the synchronous Dropbox of some files cooperation, the simultaneously operating of file may be implemented, administrator also can
By to user setting permission, allowing users to be downloaded specified catalogue file, upload, collaborative editing.
Invention content
But in the prior art, the file that can not be uploaded cannot be dealt carefully with, exist lose user file or
User be difficult to discern whether for synchronous documents the problem of.
Thus, it is also very desirable to a kind of improved file synchronisation method can deal carefully with the file that can not be uploaded,
User file can't be lost by achieving the purpose that local file is consistent with server file and reduces user cognition cost.
In the present context, embodiments of the present invention are intended to provide a kind of method of file synchronization, medium, system and electricity
Sub- equipment.
In the first aspect of embodiment of the present invention, a kind of method of file synchronization is provided, including:Detect user's needle
Simultaneously operating to file, and the simultaneously operating failure in the case of, in local synchronization disk create one do not synchronize
File, and the file of simultaneously operating failure is moved under the non-synchronization folder.
In one embodiment of the invention, the method further includes, to be different from normal synchronous documents clip icon
Preset icon shows the non-synchronization folder.
In another embodiment of the invention, the method further includes creating expository writing under the non-synchronization folder
Part, the information of the file of time, simultaneously operating failure that supporting paper record simultaneously operating occurs, the mesh of simultaneously operating
At least one of the reason of cursor position, simultaneously operating failure.
In another embodiment of the invention, the method further includes that pop-up prompting frame is for prompting the same of user file
Walk operation failure.
In another embodiment of the invention, the method further includes that the simultaneously operating includes unsuccessfully because of user right
Simultaneously operating fails caused by limited.
In another embodiment of the invention, further include:Based on the simultaneously operating, file to be synchronized, Yi Jijie are sent
Receive the file synchronization to be synchronized operate successfully or simultaneously operating failure feedback information.
In the second aspect of embodiment of the present invention, a kind of computer readable storage medium is provided, is stored thereon with
Executable instruction, the executable instruction make the processing unit execute according to any one as described above when being executed by processing unit
Method.
In the third aspect of embodiment of the present invention, a kind of file syn chronizing system is provided, including:Detection module and place
Manage module.Detection module, the simultaneously operating for detecting user.Processing module, for being limited by permission in the simultaneously operating
In the case of system, a subdirectory is created in local synchronization disk and is used as non-synchronization folder, and the non-synchronous documents that will be limited
It is moved under the non-synchronization folder.
In one embodiment of the invention, the system also includes display modules, for be different from normal synchronization
The preset icon of folder icon shows the non-synchronization folder.
In another embodiment of the invention, the system also includes creation modules, in the non-synchronization folder
Lower establishment supporting paper, the information of the file of time, simultaneously operating failure that supporting paper record simultaneously operating occurs,
At least one of the reason of target location of simultaneously operating, simultaneously operating fail.
In another embodiment of the invention, the system also includes reminding modules, are used for ejecting prompting frame for prompting
The simultaneously operating of user file fails.
In another embodiment of the invention, wherein the simultaneously operating includes unsuccessfully causing because user right is limited
Simultaneously operating failure.
In another embodiment of the invention, the system also includes sending modules and receiving module.Sending module is used for
Based on the simultaneously operating, file to be synchronized is sent.Receiving module, for receive the file synchronization to be synchronized operate successfully or
The feedback information of simultaneously operating failure.
In the fourth aspect of embodiment of the present invention, a kind of electronic equipment, including processing unit and storage are provided
Unit is stored thereon with executable instruction, and described instruction executes the processing unit when being executed by the processing unit as above
The either method.
This method, medium, system and electronic equipment, can file cooperate synchronous Dropbox in use, for because permission,
The file that the rules such as system setting are limited and can not be uploaded can be dealt carefully with, and both maintained user's local file and server is complete
It is complete consistent, user cognition cost is reduced, and user file will not be caused to lose, remains processing of the user for oneself file
Power.
Description of the drawings
Detailed description below, above-mentioned and other mesh of exemplary embodiment of the invention are read by reference to attached drawing
, feature and advantage will become prone to understand.In the accompanying drawings, if showing the present invention's by way of example rather than limitation
Dry embodiment, wherein:
Fig. 1 schematically shows the system architecture of file synchronisation method according to an exemplary embodiment of the present invention;
Fig. 2 schematically shows file synchronisation method flow charts according to an exemplary embodiment of the present invention;
Fig. 3 schematically shows the file synchronisation method flow chart according to another exemplary embodiment of the present invention;
Fig. 4 A~Fig. 4 D schematically show the effect of the file synchronisation method according to each exemplary embodiment of the present invention
Fruit schematic diagram;
Fig. 5 schematically shows the calculating according to an exemplary embodiment of the present invention for being adapted to carry out file syn chronizing system
Machine readable storage medium storing program for executing schematic diagram;
Fig. 6 schematically shows the block diagram of file syn chronizing system according to an exemplary embodiment of the present invention;
Fig. 7 schematically shows the block diagram of the file syn chronizing system according to another exemplary embodiment of the present invention;And
Fig. 8, which is schematically shown, according to an exemplary embodiment of the present invention is adapted to carry out file synchronisation method and system
Electronic equipment figure.
In the accompanying drawings, identical or corresponding label indicates identical or corresponding part.
Specific implementation mode
The principle and spirit of the invention are described below with reference to several illustrative embodiments.It should be appreciated that providing this
A little embodiments are used for the purpose of making those skilled in the art can better understand that realizing the present invention in turn, and be not with any
Mode limits the scope of the invention.On the contrary, these embodiments are provided so that the disclosure is more thorough and complete, and energy
It is enough that the scope of the present disclosure is completely communicated to those skilled in the art.
One skilled in the art will appreciate that embodiments of the present invention can be implemented as a kind of system, device, equipment, method
Or computer applied algorithm.Therefore, the disclosure can be with specific implementation is as follows, i.e.,:Complete hardware, complete software
The form that (including firmware, resident software, microcode etc.) or hardware and software combine.
According to the embodiment of the present invention, it is proposed that a kind of method of file synchronization, system and electronic equipment.
Herein, it is to be understood that any number of elements in attached drawing is used to example and unrestricted and any
Name is only used for distinguishing, without any restrictions meaning.
Below with reference to several representative embodiments of the present invention, the principle and spirit of the invention are illustrated in detail.
Summary of the invention
The inventors discovered that in the technology of existing file synchronization, the file that can not be uploaded cannot be dealt carefully with,
There are problems that losing user file or user is difficult to discern whether as synchronous documents.The embodiment of the present invention, which provides, provides file
Source is detected comparison and finds not going up transmitting file, creates " non-synchronous documents " catalogue, and will be unable to transmitting file move to it is above-mentioned
In file directory, the file that can not be uploaded can be dealt carefully with, reach local file it is consistent with server file and drop
Low user cognition cost and the purpose that user file will not be lost.
After the basic principle for describing the present invention, lower mask body introduces the various non-limiting embodiment party of the present invention
Formula.
Application scenarios overview
It is referring initially to what Fig. 1, Fig. 1 schematically showed file synchronisation method according to an exemplary embodiment of the present invention
System framework 100.It should be noted that being only the example for the system architecture that can apply the embodiment of the present disclosure shown in Fig. 1, to help
Those skilled in the art understand that the technology contents of the disclosure, but it is not meant to that the embodiment of the present disclosure may not be usable for other and set
Standby, system, environment or scene.
As shown in Figure 1, the system architecture 100 includes multiple terminal devices 110 and server 120.Each terminal device
It is communicatively coupled between 110 and server 120.Wherein, terminal device 110 has storage file function, and can be with service
Device 120 interacts, and terminal device 110 for example may include desktop computer, laptop, tablet computer, smart mobile phone etc., sheet
It is open that this is not limited.Server 120 can be an independent server, can also be server cluster, can also be
Virtual Cloud Server, as long as having the server of the functions such as calculating, storage.
File synchronization is realized by file syn chronizing system between terminal device 110 and server 120.This document synchronization system
It is included in the synchronous Dropbox of file cooperation determined in multiple terminal devices 110, hereinafter referred to as synchronous disk, and in server 120
In respective service.In each terminal device, which can for example be specified by user, and specified file path is used as should
Synchronous disk.File syn chronizing system can be automatically or depending on the user's operation by the content synchronization in synchronous disk to server 120
And in other-end equipment 110.In the synchronous disk of a terminal device 110 create, change file for example can be real
When be synchronized to other equipment, then, file content in the synchronous disk of all users all can automatic synchronization at newest, unanimously
State.
According to the embodiment of the present disclosure, in some cases, some users are led due to the rule limitation such as permission or system setting
Cause some files that can not upload.For example, a project can be added in mandatory member by administrator, the text of the project is shared with them
Part cooperates, while file permission can be arranged to member, including read-only, can download, can change, pass through permission
Usage degree of the different members for different files can be controlled, project risk is reduced.
It should be understood that the number of the terminal device and server in Fig. 1 is only schematical.It, can according to needs are realized
With with any number of terminal device and server.
Illustrative methods
With reference to the application scenarios of Fig. 1, it is described with reference to Figure 2 the file synchronization according to exemplary embodiment of the invention
Method.It should be noted that above application scene is merely for convenience of understanding spirit and principles of the present invention and showing, the present invention
Embodiment it is unrestricted in this regard.On the contrary, embodiments of the present invention can be applied to applicable any scene.
As shown in Fig. 2, this method for example can be as shown in Figure 1 any one terminal device 110 execute, this method includes
Step S210 and S220.
In step S210, detection user is directed to the simultaneously operating of file.
In step S220, in the case of simultaneously operating failure, in local synchronization disk creating one does not synchronize text
Part presss from both sides, and the file of simultaneously operating failure is moved under the non-synchronization folder.
According to an exemplary embodiment of the present, in operation S210, detection user is directed to the simultaneously operating of file, for example, with
One file or folder is dragged under the synchronous disk catalogue by family, that is, simultaneously operating can be directed to file, can also be directed to text
Part presss from both sides.According to an exemplary embodiment of the present, in operation S220, in the case of simultaneously operating failure, for example, because of permission
The reasons such as limitation can not be uploaded to specified path, in this case, a non-synchronization folder be created in local synchronization disk,
For example, the top-level director in local synchronization disk creates non-synchronization folder, and the file of simultaneously operating failure is moved to
Under the non-synchronization folder.According to the embodiment of the present disclosure, the case where having existed non-synchronization folder in local synchronization disk
Under, file or folder that can be directly by simultaneously operating failure is moved to wherein, and skips the behaviour for creating non-synchronization folder
Make.
This method can be in the synchronous Dropbox of file cooperation in use, for due to the rules such as permission, system setting limit
The file that can not be uploaded can be dealt carefully with, and both maintained user's local file and server is completely the same, reduce user cognition
Cost, and user file will not be caused to lose, remain disposal right of the user for oneself file.For being present in user local
But can not upload server file, exemplary embodiment of the present provide it is a kind of neither damaging user file, and can keep
The file directory processing mode consistent with server.
According to an exemplary embodiment of the present, the method further includes that the simultaneously operating includes unsuccessfully because of user right
Simultaneously operating fails caused by limited.
Fig. 3 schematically shows the file synchronisation method flow chart according to another exemplary embodiment of the present invention.
As shown in figure 3, this method on the basis of previous embodiment, further includes operation S310 and S320.
In operation S310, it is based on the simultaneously operating, sends file to be synchronized.
In operation S320, receives the file synchronization to be synchronized and operate successfully or simultaneously operating feedback information unsuccessfully.
According to an exemplary embodiment of the present, the authority information for having user is recorded in file syn chronizing system.When user sends
When file to be synchronized, the corresponding permission of operation to be performed is compared the user file syn chronizing system, judges the use
Whether family has corresponding permission.If the user have corresponding permission, allow the simultaneously operating, and return simultaneously operating at
Otherwise the feedback information of work(forbids the simultaneously operating, return to the feedback information of simultaneously operating failure.Terminal device is according to feedback
Information, determines whether simultaneously operating succeeds, and in the case of operation failure, executes aforesaid operations S220.
Fig. 4 A~Fig. 4 D schematically show the effect of the file synchronisation method according to each exemplary embodiment of the present invention
Fruit schematic diagram.
As shown in Figure 4 A, according to an exemplary embodiment of the present, user drags to 5 files (A, B, C, D and E) synchronous
In disk, for uploading this 5 files.During upload, it is found that file ABCE uploads success, and file D can not be normal
It uploads.
As shown in Figure 4 B, according to an exemplary embodiment of the present, system creates in synchronous disk top-level director not same automatically
Step file presss from both sides, and the file D for failing synchronous is moved under the non-synchronization folder.
According to an exemplary embodiment of the present, the method further includes, to be different from normal synchronous documents clip icon
Preset icon shows the non-synchronization folder.As shown in Figure 4 B, wherein the non-synchronization folder can for example be shown as ash
Color, and other normal files show normal color, such as yellow, in order to distinguish.This method can make user quick
The meaning for understanding non-synchronization folder, reduces the learning cost of user.Icon is covered relative on existing folder icon
The mode of mark, since coverage diagram target quantity is usually limited by system, such as windows systems only allow 15 coverage diagrams
Mark removes system icon, and the icon for leaving application software for just only has 11 or so, if there is other software higher priority at this time
Covering icon need to show, the surely correct display then the sync mark on file at this time just differs.Therefore, the disclosure is implemented
The method that example provides is more flexible.
As shown in Figure 4 C, file D, G, K that mistake does not synchronize occurs to be moved into the non-synchronization folder.According to
Exemplary embodiment of the present, the method further include being created under the non-synchronization folder in supporting paper, such as Fig. 4 C
Supporting paper S, which records time that simultaneously operating the occurs, information of the file of simultaneously operating failure, same
At least one of the reason of walking target location, the simultaneously operating failure of operation.For example, supporting paper S can include following
Information, in XXXX XX month XX day XX, XX divides XX seconds, when file D is synchronized under the paths XXXXX by user XX request, because by
Permission limits and causes simultaneously operating that mistake occurs.Can include a plurality of similar record in supporting paper S, and it is each not synchronous
File or folder corresponds to.
As shown in Figure 4 D, according to an exemplary embodiment of the present, the method further includes that pop-up prompting frame is used for prompting
The simultaneously operating of family file fails.The prompt message also prompts user to go to WEB terminal solution other than prompt simultaneously operating failure
Mode certainly, usually, WEB terminal can provide more functions, and administrator can also be by WEB terminal to this document synchronization system
It is managed.
According to an exemplary embodiment of the present, user can voluntarily be handled according to the prompt received under non-synchronous documents
File, can also delete this file keep synchronous disk under document directory structure clearly unify.
Above-described embodiment disclosed in this invention can be combined arbitrarily, or do simple transformation, the processing strategy needed,
To realize preferable technique effect.
Exemplary media
Exemplary embodiment of the invention provides a kind of computer readable storage medium, is stored with the executable finger of computer
It enables, above-metioned instruction by processing unit when being executed for realizing the side of the file synchronization described in any one of above method embodiment
Method.
In some possible embodiments, various aspects of the invention are also implemented as a kind of shape of program product
Formula comprising program code, when described program product is run on an electronic device, said program code is for making the electronics
Equipment executes the text according to the various illustrative embodiments of the present invention described in above-mentioned " illustrative methods " part of this specification
The step of part synchronous method, for example, the electronic equipment can execute step S210 as shown in Figure 2:Detection user is directed to
The simultaneously operating of file;Step S220:In the case of simultaneously operating failure, one is created in local synchronization disk not together
Step file presss from both sides, and the file of simultaneously operating failure is moved under the non-synchronization folder.
The arbitrary combination of one or more readable mediums may be used in described program product.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, red
The system of outside line or semiconductor, device or device, or the arbitrary above combination.The more specific example of readable storage medium storing program for executing
(non exhaustive list) includes:Electrical connection, portable disc with one or more conducting wires, hard disk, random access memory
(RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc
Read memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
As shown in figure 5, describing the program for realizing file synchronisation method and system according to embodiment of the present invention
Product 500, may be used the form of portable compact disc read only memory (CD-ROM), and include program code, and can be with
It runs on an electronic device.However, the program product of the present invention is without being limited thereto, in this document, readable storage medium storing program for executing can be
It is any include or storage program tangible medium, the program can be commanded execution system, device either device using or with
It is used in combination.
Readable signal medium may include in a base band or as the data-signal that a carrier wave part is propagated, wherein carrying
Readable program code.Diversified forms may be used in the data-signal of this propagation, including --- but being not limited to --- electromagnetism letter
Number, optical signal or above-mentioned any appropriate combination.Readable signal medium can also be other than readable storage medium storing program for executing it is any can
Read medium, which can send, propagate either transmission for being used by instruction execution system, device or device or
Program in connection.
The program code for including on readable medium can transmit with any suitable medium, including --- but being not limited to ---
Wirelessly, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
It can be write with any combination of one or more programming languages for executing the program that operates of the present invention
Code, described program design language include object oriented program language --- and such as Java, C++ etc. further include routine
Procedural programming language --- such as " C " language or similar programming language.Program code can fully exist
It is executed on consumer electronic devices, partly part executes in devices in remote electronic or completely remote on consumer electronic devices
It is executed on journey electronic equipment or server.In the situation for being related to devices in remote electronic, devices in remote electronic can be by arbitrary
The network of type includes that LAN (LAN) or wide area network (WAN) one are connected to consumer electronic devices one by one, alternatively, can connect
To external electronic device (such as being connected by internet using ISP).
Exemplary means
After describing the medium of exemplary embodiment of the invention, next, with reference to figure 6 to the exemplary reality of the present invention
The file syn chronizing system for applying mode is introduced.
Fig. 6 schematically shows the block diagram of file syn chronizing system 600 according to an exemplary embodiment of the present invention.
As shown in fig. 6, this document synchronization system 600 includes detection module 610 and processing module 620.
Detection module 610, such as execute above with reference to S210 is operated described in Fig. 2, it is directed to file for detecting user
Simultaneously operating.
Processing module 620, such as execute above with reference to S220 is operated described in Fig. 2, in simultaneously operating failure
In the case of, a non-synchronization folder is created in local synchronization disk, and the file of simultaneously operating failure is moved to institute
It states under non-synchronization folder.
Fig. 7 schematically shows the block diagram of the file syn chronizing system 700 according to another exemplary embodiment of the present invention.
As shown in fig. 7, this document synchronization system 700 on the basis of previous embodiment, can also include display module
710, one or more in creation module 720 or reminding module 730.
Display module 710 described does not synchronize for being shown with to be different from the preset icon of normal synchronous documents clip icon
File.
Creation module 720, for creating supporting paper under the non-synchronization folder, which records synchronous behaviour
Make the information of file, the target location of simultaneously operating, the original of simultaneously operating unsuccessfully of the time occurred, the simultaneously operating unsuccessfully
At least one of because.
Reminding module 730 is used for ejecting prompting frame for prompting the simultaneously operating of user file to fail.
In another embodiment of the invention, wherein the simultaneously operating includes unsuccessfully causing because user right is limited
Simultaneously operating failure.The system can also include sending module 740 and receiving module 750.
Sending module 740, such as execute above with reference to S310 is operated described in Fig. 3, it is based on the simultaneously operating, is sent
File to be synchronized.
Receiving module 750, such as execute above with reference to S320 is operated described in Fig. 3, it is same to receive the file to be synchronized
Step operate successfully or simultaneously operating unsuccessfully feedback information.
Since the file syn chronizing system 600 of the example embodiment of invention or 700 each function module and above-mentioned file are same
The step of example embodiment of one step process, corresponds to, therefore details are not described herein.
It is understood that above-mentioned module may be incorporated in a module and realize or any one module therein
Multiple modules can be split into.Alternatively, at least partly function of one or more of these modules module can be with other
At least partly function of module is combined, and is realized in a module.According to an embodiment of the invention, above-mentioned mould is in the block extremely
Few one can at least be implemented partly as hardware circuit, such as field programmable gate array (FPGA), programmable logic battle array
(PLA), system on chip, the system on substrate, the system in encapsulation, application-specific integrated circuit (ASIC) are arranged, or can be with to circuit
The hardware such as any other rational method that is integrated or encapsulating or firmware are carried out to realize, or with software, hardware and firmware three
The appropriately combined of kind of realization method is realized.Alternatively, at least one of above-mentioned module can at least be implemented partly as counting
Calculation machine program module can execute the function of corresponding module when the program is run by computer.
Example electronic device
After method, medium and the device for describing exemplary embodiment of the invention, next, with reference to figure 8 to this
The a kind of electronic equipment of invention illustrative embodiments is described for realizing file synchronization.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Application program.Therefore, various aspects of the invention can be embodied in the following forms, i.e.,:It is complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as " circuit ", " module ", " system " or " unit ".
In some possible embodiments, it is single can to include at least at least one processing for electronic equipment according to the present invention
Member and at least one storage unit.Wherein, the storage unit has program stored therein code, when said program code is described
Processing unit execute when so that the processing unit execute described in above-mentioned " illustrative methods " part of this specification according to this
Invent the step in the file synchronisation method of various illustrative embodiments.For example, the processing unit can be executed as in Fig. 2
Shown step S210:Detect the simultaneously operating that user is directed to file;Step S220:The case where the simultaneously operating fails
Under, create a non-synchronization folder in local synchronization disk, and by the file of simultaneously operating failure be moved to it is described not
Under synchronization folder.
The electronic equipment of this embodiment according to the present invention is described referring to Fig. 8.Electronic equipment shown in Fig. 8
800 be only an example, should not bring any restrictions to the function and use scope of the embodiment of the present invention.
As shown in figure 8, electronic equipment 800 is showed in the form of universal electronic device.The component of electronic equipment 800 can wrap
It includes but is not limited to:Above-mentioned at least one processing unit 810, above-mentioned at least one storage unit 820, connection different system component
The bus 830 of (including storage unit 820 and processing unit 810).
Bus 830 may include data/address bus, address bus and controlling bus.
Storage unit 820 may include volatile memory, for example, random access memory (RAM) 821 and/or high speed it is slow
Memory 822 is deposited, read-only memory (ROM) 823 is can further include.
Storage unit 820 can also include program/utility 825 with one group of (at least one) program module 824,
Such program module 824 includes but not limited to:Operating system, one or more application program, other program modules and
Program data may include the realization of network environment in each or certain combination in these examples.
Electronic equipment 800 can also be with one or more external equipments 840 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communicate, this communication can be carried out by input/output (I/O) interface 850.Also, electronic equipment 800 can also pass through
Network adapter 860 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, such as
Internet) communication.As shown, network adapter 860 is communicated by bus 830 with other modules of electronic equipment 800.It should
Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 800, including but it is unlimited
In:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number
According to backup storage system etc..
It should be noted that although being referred to several units/modules of file syn chronizing system in above-detailed, this
Kind division is only exemplary not enforceable.In fact, according to the embodiment of the present invention, above-described two or
The feature and function of more units/modules can embody in a units/modules.Conversely, an above-described unit/
The feature and function of module can be further divided into be embodied by multiple units/modules.
In addition, although the operation of the method for the present invention is described with particular order in the accompanying drawings, this do not require that or
Hint must execute these operations according to the particular order, or have to carry out shown in whole operation could realize it is desired
As a result.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or by one
Step is decomposed into execution of multiple steps.
Although by reference to several spirit and principle that detailed description of the preferred embodimentsthe present invention has been described, it should be appreciated that, this
It is not limited to the specific embodiments disclosed for invention, does not also mean that the feature in these aspects cannot to the division of various aspects
Combination is this to divide the convenience merely to statement to be benefited.The present invention is directed to cover appended claims spirit and
Included various modifications and equivalent arrangements in range.
Claims (10)
1. a kind of file synchronisation method, including:
Detect the simultaneously operating that user is directed to file;And
In the case of simultaneously operating failure, a non-synchronization folder is created in local synchronization disk, and will be described same
The file of step operation failure is moved under the non-synchronization folder.
2. according to the method described in claim 1, further including aobvious to be different from the preset icon of normal synchronous documents clip icon
Show the non-synchronization folder.
3. according to the method described in claim 1, further include creating supporting paper under the non-synchronization folder, the expository writing
Part records the time of simultaneously operating generation, the information of file of simultaneously operating failure, the target location of simultaneously operating, synchronization
At least one of the reason of operation failure.
4. according to the method described in claim 1, further including that pop-up prompting frame is used to that the simultaneously operating of user file to be prompted to fail.
5. according to the method described in claim 1, wherein, the simultaneously operating includes unsuccessfully caused by user right is limited
Simultaneously operating fails.
6. according to the method described in claim 5, further including:
Based on the simultaneously operating, file to be synchronized is sent;
Receive the file synchronization to be synchronized operate successfully or simultaneously operating failure feedback information.
7. a kind of computer readable storage medium, is stored thereon with executable instruction, the executable instruction is held by processing unit
The processing unit is set to execute the method according to any one of claim 1-6 when row.
8. a kind of file syn chronizing system, including:
Detection module, the simultaneously operating for detecting user;And
Processing module, in the case where the simultaneously operating is limited by permission, a son to be created in local synchronization disk
Catalogue is used as non-synchronization folder, and limited non-synchronous documents are moved under the non-synchronization folder.
9. system according to claim 8, further includes:
Display module, for showing the non-synchronization folder to be different from the preset icon of normal synchronous documents clip icon.
10. a kind of electronic equipment, including:
Processing unit;And
Storage unit, is stored thereon with executable instruction, and described instruction makes the processing unit when being executed by the processing unit
Execute the method according to any one of claim 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810108826.8A CN108345664A (en) | 2018-02-02 | 2018-02-02 | A kind of method of file synchronization, medium, system and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810108826.8A CN108345664A (en) | 2018-02-02 | 2018-02-02 | A kind of method of file synchronization, medium, system and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108345664A true CN108345664A (en) | 2018-07-31 |
Family
ID=62958500
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810108826.8A Pending CN108345664A (en) | 2018-02-02 | 2018-02-02 | A kind of method of file synchronization, medium, system and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108345664A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111177241A (en) * | 2019-12-18 | 2020-05-19 | 贝壳技术有限公司 | Data processing method, device and system, electronic equipment and storage medium thereof |
CN113760832A (en) * | 2020-06-03 | 2021-12-07 | 富泰华工业(深圳)有限公司 | File processing method, computer device and readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101127879A (en) * | 2007-10-10 | 2008-02-20 | 张福泉 | Stream media VoD system for intelligent access data |
CN102495880A (en) * | 2011-12-05 | 2012-06-13 | 北京新媒传信科技有限公司 | Method and device for synchronizing file |
CN103269311A (en) * | 2013-05-10 | 2013-08-28 | 网易(杭州)网络有限公司 | Method and device implemented on side of mail server |
CN105592162A (en) * | 2016-01-20 | 2016-05-18 | 歌尔声学股份有限公司 | Uploading method and system based on multi-type files |
CN106293993A (en) * | 2015-05-13 | 2017-01-04 | 北大方正集团有限公司 | Avoid the method and device repeating to process file |
US20170177445A1 (en) * | 2015-12-18 | 2017-06-22 | Dropbox, Inc. | Network folder resynchronization |
CN106973073A (en) * | 2016-01-13 | 2017-07-21 | 杭州海康威视系统技术有限公司 | The transmission method and equipment of multi-medium data |
-
2018
- 2018-02-02 CN CN201810108826.8A patent/CN108345664A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101127879A (en) * | 2007-10-10 | 2008-02-20 | 张福泉 | Stream media VoD system for intelligent access data |
CN102495880A (en) * | 2011-12-05 | 2012-06-13 | 北京新媒传信科技有限公司 | Method and device for synchronizing file |
CN103269311A (en) * | 2013-05-10 | 2013-08-28 | 网易(杭州)网络有限公司 | Method and device implemented on side of mail server |
CN106293993A (en) * | 2015-05-13 | 2017-01-04 | 北大方正集团有限公司 | Avoid the method and device repeating to process file |
US20170177445A1 (en) * | 2015-12-18 | 2017-06-22 | Dropbox, Inc. | Network folder resynchronization |
CN106973073A (en) * | 2016-01-13 | 2017-07-21 | 杭州海康威视系统技术有限公司 | The transmission method and equipment of multi-medium data |
CN105592162A (en) * | 2016-01-20 | 2016-05-18 | 歌尔声学股份有限公司 | Uploading method and system based on multi-type files |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111177241A (en) * | 2019-12-18 | 2020-05-19 | 贝壳技术有限公司 | Data processing method, device and system, electronic equipment and storage medium thereof |
CN113760832A (en) * | 2020-06-03 | 2021-12-07 | 富泰华工业(深圳)有限公司 | File processing method, computer device and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9979784B2 (en) | Method for cloud data backup and recovery | |
CN102819461B (en) | Desktop synchronous method, device, equipment and system | |
CN109313634A (en) | File synchronization for single file is suspended | |
US11385788B2 (en) | Sharing a file with a single contact | |
AU2014349154B2 (en) | File-level commenting | |
US9483492B2 (en) | Terminal and method for providing application-related data | |
CN104919451A (en) | Application programming interfaces for data synchronization with online storage systems | |
CN106164908A (en) | Modern document storing and sync status | |
CN103401902A (en) | Portable cloud storage system and method | |
EP3433764A1 (en) | Attribute-based dependency identification for operation ordering | |
CN108028856A (en) | Synchronizing file data between computer systems | |
US20150227605A1 (en) | Information processing terminal, synchronization control method, and computer-readable recording medium | |
CN104049968A (en) | Metadata-driven version management service in pervasive environment | |
US9401957B2 (en) | System and method for synchronization between servers | |
CN106445309A (en) | Display method and device of application download entry | |
CN111325552A (en) | Data processing method and device, electronic equipment and storage medium | |
KR20120044550A (en) | Cloud storage server and system by use of virtual nas and method thereof | |
CN108345664A (en) | A kind of method of file synchronization, medium, system and electronic equipment | |
CN102521390A (en) | Database management and monitoring system based on pin function | |
CN105205100A (en) | Data synchronization method based on MTP between terminals and terminals | |
CN102932476B (en) | Network storage synchro system | |
WO2021233115A1 (en) | Method and apparatus for modifying file name, and storage medium | |
CN103685338A (en) | System and method for storing target document offline to wait online synchronization | |
CN102638569B (en) | File distribution synchronizing method and system | |
CN111610980A (en) | Deployment system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180731 |
|
RJ01 | Rejection of invention patent application after publication |