CN103902688A - File operation synchronizing method and device - Google Patents
File operation synchronizing method and device Download PDFInfo
- Publication number
- CN103902688A CN103902688A CN201410117596.3A CN201410117596A CN103902688A CN 103902688 A CN103902688 A CN 103902688A CN 201410117596 A CN201410117596 A CN 201410117596A CN 103902688 A CN103902688 A CN 103902688A
- Authority
- CN
- China
- Prior art keywords
- file
- described file
- operational order
- electronic equipment
- modification information
- 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
Images
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/17—Details of further file system functions
- G06F16/178—Techniques for file synchronisation in file systems
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a file operation synchronizing method and device. The file operation synchronizing method includes steps of acquiring an file operation command in an electronic device; generating change information of a file according to the file operation command; transmitting the change information of the file to a prestored subscription list. By acquiring the file operation command, monitoring of each file change in the electronic device is realized. When the file operation command is acquired, it means that the file changes as specified operation is implemented according to the operation command, and changes of the file according to the operation command can be displayed through the change information, and the change information of the file is transmitted to terminals in the subscription list so as to guarantee that changes of any file of the electronic device can be initially synchronized to the various terminal in the subscription list. Accordingly, the file operation synchronizing method and device can prevent misoperation due to the fact the terminals are not notified of changes of the files in the electronic device, time of users and network resources can be saved, and user experience is improved.
Description
Technical field
The disclosure relates to communication technology technical field, relates in particular to a kind of synchronous method and device of file operation.
Background technology
Home server is the center of family data, and it is communicated with outer net by netting twine, is connected, to reach the object of centralized stores sharing data by cable or wireless network with other equipment in family.For example, user can be using router as home server, and by equipment connections such as mobile phone, intelligent television, panel computer or the desktop computers of family the inside, to home server, these equipment just can call resource shared on home server so.
In the process of application home server, because the user of each equipment being connected with home server can operate home server, so often there is the situation of maloperation.For example, home server is connected with panel computer with desktop computer respectively by wireless network, user A uses desktop computer control home server to download an X film, and be stored in the hard disk of home server, user B has downloaded an X film in the process that uses panel computer and in not knowing home server, so when user B wants to see X film, can utilize panel computer control home server again to download X film one time, thereby there is the operation of repeated downloads, also can be called maloperation.User's time and Internet resources have not only been wasted in such maloperation, but also have taken the hardware resource of home server.
Summary of the invention
For overcoming the problem existing in correlation technique, the disclosure provides a kind of synchronous method and device of file operation, to avoid the maloperation of user to home server, thereby has saved user's time and Internet resources, and then improves user's use impression.
According to the first aspect of disclosure embodiment, a kind of synchronous method of file operation is provided, method is applied in an electronic equipment, and method comprises:
Obtain the operational order of file in described electronic equipment;
Generate the modification information of described file according to the operational order of described file;
Send the modification information of described file to the terminal in the subscription list prestoring.
Preferably, the described operational order according to described file generates the modification information of described file, comprising:
Whether the operational order that judges described file is assigned operation instruction;
In the time that the operational order of described file is assigned operation instruction, generate the modification information of described file according to the operational order of described file.
Preferably, also comprise:
Judge whether the operation that described file is carried out according to described operational order finishes;
In the time that described file does not finish according to the operation of described operational order execution, obtain the current operation status of described file, generate the current operation status information of described file according to the current operation status of described file, and send the current operation status information of described file to the terminal in described subscription list.
Preferably, the terminal in described subscription list is for to set up subscribing relationship with described electronic equipment, and with the terminal of described electronic equipment in network connection state.
According to the second aspect of disclosure embodiment, a kind of synchronous method of file operation is provided, method is applied in a terminal, and method comprises:
The modification information that receives the file of electronic equipment transmission, the modification information of described file is that described electronic equipment generates according to the operational order of described file, the operational order of described file is that described electronic equipment gets;
Export the modification information of described file.
Preferably, also comprise:
Judge whether the historical changing information of pre-stored described file;
In the time of the historical changing information of pre-stored described file, delete the historical changing information of described file, and store the modification information of described file;
In the time there is no the historical changing information of pre-stored described file, store the modification information of described file.
According to the third aspect of disclosure embodiment, a kind of synchronous device of file operation is provided, comprising:
Acquisition module, for obtaining the operational order of described electronic equipment file;
Generation module, for generating the modification information of described file according to the operational order of described file;
Sending module, sends the modification information of described file for the terminal to the subscription list prestoring.
Preferably, described generation module comprises:
Whether the first judge module is assigned operation instruction for the operational order that judges described file;
The first execution module, in the time that the operational order of described file is assigned operation instruction, generates the modification information of described file according to the operational order of described file.
Preferably, also comprise:
The second judge module, for judging whether the operation that described file is carried out according to described operational order finishes;
The second execution module, while end for the operation of carrying out according to described operational order at described file, obtain the current operation status of described file, generate the current operation status information of described file according to the current operation status of described file, and send the current operation status information of described file to the terminal in described subscription list.
According to the fourth aspect of disclosure embodiment, a kind of synchronous device of file operation is provided, comprising:
Receiver module, the modification information of file sending for receiving electronic equipment, the modification information of described file is that described electronic equipment generates according to the operational order of described file, the operational order of described file is that described electronic equipment gets;
Output module, for exporting the modification information of described file.
Preferably, also comprise:
Judge module, for judging whether the historical changing information of pre-stored described file;
Execution module, for when the historical changing information of pre-stored described file, deletes the historical changing information of described file, and stores the modification information of described file; In the time there is no the historical changing information of pre-stored described file, store the modification information of described file.
According to the 5th aspect of disclosure embodiment, a kind of synchronous method of file operation is provided, method is applied in an electronic equipment, and method comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the operational order of file in described electronic equipment;
Generate the modification information of described file according to the operational order of described file;
Send the modification information of described file to the terminal in the subscription list prestoring.
According to the 6th aspect of disclosure embodiment, a kind of synchronous method of file operation is provided, method is applied in a terminal, and method comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
The modification information that receives the file of electronic equipment transmission, the modification information of described file is that described electronic equipment generates according to the operational order of described file, the operational order of described file is that described electronic equipment gets;
Export the modification information of described file.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
Embodiment of the present disclosure is by obtaining the operational order of file, to realize the monitoring to the each file change in electronic equipment.In the time getting the operational order of file, supporting paper is about to carry out the operation of specifying according to this operational order and changes, the variation now file being occurred according to operational order shows by modification information, and the modification information of file is sent to the terminal in subscription list, with ensure any file in electronic equipment change all can active synchronization to each terminal in subscription list.Therefore, embodiment of the present disclosure not only can avoid not knowing because of terminal the maloperation that in electronic equipment, the variation of file occurs, and can also save user's time and Internet resources, and reduce taking of hardware resource to home server, and then improve user's experience.
Should be understood that, it is only exemplary and explanatory that above general description and details are hereinafter described, and can not limit the disclosure.
Brief description of the drawings
Accompanying drawing is herein merged in instructions and forms the part of this instructions, shows embodiment according to the invention, and is used from and explains principle of the present invention with instructions one.
Fig. 1 is according to the process flow diagram of the synchronous method of a kind of file operation shown in an exemplary embodiment.
Fig. 2 is according to the process flow diagram of the synchronous method of the another kind of file operation shown in an exemplary embodiment.
Fig. 3 is according to the process flow diagram of the synchronous method of another file operation shown in an exemplary embodiment.
Fig. 4 is according to the process flow diagram of the synchronous method of another file operation shown in an exemplary embodiment.
Fig. 5 is according to the process flow diagram of the synchronous method of another file operation shown in an exemplary embodiment.
Fig. 6 is according to the schematic diagram of the synchronous device of a kind of file operation shown in an exemplary embodiment.
Fig. 7 is according to the schematic diagram of the synchronous device of the another kind of file operation shown in an exemplary embodiment.
Fig. 8 is according to the schematic diagram of the synchronous device of another file operation shown in an exemplary embodiment.
Fig. 9 is according to the schematic diagram of the synchronous device of another file operation shown in an exemplary embodiment.
Figure 10 is according to the schematic diagram of the synchronous device of another file operation shown in an exemplary embodiment.
Figure 11 is according to the schematic diagram of the synchronous device of another file operation shown in an exemplary embodiment.
Figure 12 is according to the schematic diagram of the synchronous device of another file operation shown in an exemplary embodiment.
Embodiment
Here will at length describe exemplary embodiment, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless separately there is expression, the same numbers in different accompanying drawings represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they are only and the example of apparatus and method as consistent in some aspects that described in detail in appended claims, of the present invention.
Embodiment mono-
Shown in Figure 1, Fig. 1 is according to the process flow diagram of the synchronous method of a kind of file operation shown in an exemplary embodiment, the synchronous method of this file operation can be applied in electronic equipment, the disclosed method of the present embodiment not only can be avoided not knowing because of terminal the maloperation that in electronic equipment, the variation of file occurs, and can also save user's time and Internet resources, and reduce taking of hardware resource to electronic equipment, and then improve user's experience.The method comprises the following steps.
In step S101, obtain the operational order of file in electronic equipment.
Wherein, electronic equipment can be the home servers such as router, can be connected with multiple terminals by network, and terminal can be the housed devices such as mobile phone, intelligent television, panel computer or desktop computer.Electronic equipment is built-in with storer, can store the files such as a large amount of films, music and picture as shared resource, carries out the terminal that network is connected can use the shared resource in electronic equipment with electronic equipment.
Share in the process of resource at electronic equipment, user can utilize terminal to electronic equipment transmit operation instruction, to control electronic equipment, file is operated.For example, terminal sends the operational order of downloading " XXX " movie file to electronic equipment, and electronic equipment receives after this operational order, and can on network, download should " XXX " movie file.Certainly, not only can, by terminal to electronic equipment transmit operation instruction, can also in electronic equipment, implant an application program, this application program can be in predetermined time to electronic equipment transmit operation instruction.For example, in electronic equipment, implant an application program, will start at 3:00 in morning in this application program, and send to electronic equipment the operational order of downloading " XXX " movie file.
In addition, no matter the operational order of the file sending to electronic equipment in which way, the present embodiment all can get the operational order of file, uses in order to subsequent step.The kind of operational order has a lot, and for example, operational order can be the instruction of download file, instruction, the instruction of revised file or the instruction of move etc. of deleted file.
In step S102, according to the modification information of the operational order spanned file of file.
Wherein, the existence form of operational order in electronic equipment may be one section of program or a few line code, also may be the command word of a certain particular form, so need to change into the Word message that user can be readable according to the implication of operational order, i.e. the modification information of spanned file.For example, the operational order being made up of is changed into " " XXX " movie file is downloading under Z file " program code, " " XXX " movie file is downloading under Z file " is the modification information of the file generating according to operational order.
In step S103, to the modification information of the terminal Transmit message in the subscription list prestoring.
Wherein, the terminal in the subscription list prestoring both can be for to have set up subscribing relationship with described electronic equipment, and with the terminal of described electronic equipment in network connection state, also can be for to set up with electronic equipment the terminal that network is connected.The former, set up the modification information of the terminal Transmit message that network is connected so to current and electronic equipment if; The latter if, so to setting up the modification information of the terminal Transmit message that network is connected with electronic equipment.
In the embodiment shown in fig. 1, embodiment of the present disclosure is by obtaining the operational order of file, to realize the monitoring to the each file change in electronic equipment.In the time getting the operational order of file, supporting paper is about to carry out the operation of specifying according to this operational order and changes, the variation now file being occurred according to operational order shows by modification information, and the modification information of file is sent to the terminal in subscription list, with ensure any file in electronic equipment change all can active synchronization to each terminal in subscription list.Therefore, embodiment of the present disclosure not only can avoid not knowing because of terminal the maloperation that in electronic equipment, the variation of file occurs, and can also save user's time and Internet resources, and reduce taking of hardware resource to home server, and then improve user's experience.
Below by the application examples under a special scenes, embody square ratio juris shown in Fig. 1:
Suppose that electronic equipment is router, the terminal being connected with router by network comprises intelligent television, panel computer, mobile phone and desktop computer, and the subscription list of router comprises the above-mentioned intelligent television being connected with router by network, panel computer, mobile phone and desktop computer.
User utilizes desktop computer to send an operational order to router, and this operational order is by a few line program coded representation.First, utilize method of the present disclosure to obtain in electronic equipment the operational order about the video file of film " A Fanda ", i.e. a few line program codes; Then,, according to the modification information of these a few line program code spanned files, the modification information that generates later file is " video file of download movies on web film A " A Fanda ", and store under the movie list in router "; Finally, modification information is sent to intelligent television, panel computer, mobile phone and the desktop computer in subscription list.
After intelligent television, panel computer, mobile phone and desktop computer receive modification information, on screen separately, show respectively " video file of download movies on web film A " A Fanda "; and store under the movie list in router ", all can initiatively be synchronized in each terminal thereby realized the change information of any file in router.
Embodiment bis-
Shown in Figure 2, Fig. 2 is according to the process flow diagram of the synchronous method of the another kind of file operation shown in an exemplary embodiment.Because the present embodiment is the improvement based on embodiment mono-, so refer to the content of embodiment mono-in the present embodiment with embodiment mono-something in common, duplicate contents will repeat no more.The synchronous method of the file operation that the present embodiment provides can be applied in electronic equipment.The disclosed method of the present embodiment not only can be avoided not knowing because of terminal the maloperation that in electronic equipment, the variation of file occurs, saves user's time and Internet resources; And also the least possible hardware resource that takies electronic equipment removes to send modification information, and reduce to the bothering of the terminal in subscription list, to improve user's experience.The method comprises the following steps.
In step S201, obtain the operational order of file in electronic equipment.
In step S202, judge whether the operational order of file is assigned operation instruction, if so, perform step S203; Otherwise, process ends.
In actual applications, user does not wish all file operation in electronic equipment to be all synchronized to each terminal in subscription list, but wish certain, some are synchronized to each terminal to the operation of file.Before execution method of the present disclosure, can pre-define which operational order is assigned operation instruction.For example, the download instruction of file, delete instruction, move and modify instruction can be defined as to assigned operation instruction, be download instruction, delete instruction, move or modify instruction once the operational order getting, so just continue execution step S203.
In step S203, according to the modification information of the operational order spanned file of file.
In step S204, to the modification information of the terminal Transmit message in the subscription list prestoring.
In the embodiment shown in Figure 2, embodiment of the present disclosure can be set as assigned operation instruction by the part important operation instruction to file, can avoid like this all operations of file to be all synchronized in each terminal, not only can avoid not knowing because of terminal the maloperation that in electronic equipment, the variation of file occurs, save user's time and Internet resources; And also the least possible hardware resource that takies electronic equipment removes to send modification information, and reduce to the bothering of the terminal in subscription list, to improve user's experience.
Embodiment tri-
Shown in Figure 3, Fig. 3 is according to the process flow diagram of the synchronous method of another file operation shown in an exemplary embodiment.Because the present embodiment is the improvement based on embodiment mono-, so refer to the content of embodiment mono-in the present embodiment with embodiment mono-something in common, duplicate contents will repeat no more.The synchronous method of the file operation that the present embodiment provides can be applied in electronic equipment.The disclosed method of the present embodiment can meet user's IMU and cross the current operation status of terminal understanding file in electronic equipment, thereby has improved user's experience.The method comprises the following steps.
In step S301, obtain the operational order of file in electronic equipment.
In step S302, according to the modification information of the operational order spanned file of file.
In step S303, to the modification information of the terminal Transmit message in the subscription list prestoring.
In step S304, judge whether the operation that file is carried out according to operational order finishes; If the operation that file is carried out according to operational order does not finish, execution step S305;
Wherein, get the operational order of file in step S301 time, this file is just carried out corresponding operation according to operational order in electronic equipment.Although the modification information of file is sent to each terminal of subscription list in step S303, for some operational order, user more wishes the real-time current operation status that this file is carried out according to operational order of recognizing.
Suppose that electronic equipment is router, the terminal in subscription list comprises the panel computer being connected by network with router.User is the operational order to router Transmit message by panel computer, and the operational order of this file is several rows program code, and the modification information of the file generating according to operational order is " the high definition version of download movies " A Fanda " ".Get after this operational order at router, just start to download this film.The step S301 providing according to the present embodiment is to step S303, and router can send to panel computer by modification information.Can be by the instant state of recognizing router download of panel computer but user wishes, can realize by step S304 and step S305, router judges whether the down operation of file finishes, if the down operation of file does not finish, generate current download status information according to the current download state of file so, for example, the current operation status of file is download 3%, network speed 300K/s, 40 minutes excess times, the current operation status information generating is so for " download is 3%, network speed is 300K/s, 40 points of excess times ", then current operation status information is sent to panel computer, wait for after 1 second, repeated execution of steps S304.As long as down operation in commission, what router will continue so sends the download situation of router to panel computer, thereby meets user's demand.
In step S305, obtain the current operation status of described file, according to the current operation status information of the current operation status spanned file of file, and to the current operation status information of the terminal Transmit message in subscription list.
In the embodiment shown in fig. 3, the current operation status information by file in electronic equipment that embodiment of the present disclosure can continue sends to terminal, until the EO that file is carried out according to operational order, cross the current operation status of terminal understanding file in electronic equipment so the method that the disclosure provides can meet user's IMU, thereby improved user's experience.
Embodiment tetra-
Shown in Figure 4, Fig. 4 is according to the process flow diagram of the synchronous method of a kind of file operation shown in an exemplary embodiment.The method that the present embodiment provides can be used in conjunction with each other with the method that embodiment mono-provides, the method that embodiment mono-provides can be applicable on electronic equipment, the method that the present embodiment provides can be applicable in terminal, electronic equipment can be the home servers such as router, and terminal can be the equipment such as mobile phone, panel computer, intelligent television and desktop computer.Electronic equipment can connect by network with multiple terminals, and multiple terminals can be shared the file resource in electronic equipment.
The disclosed method of embodiment shown in Fig. 4 can allow terminal recognize the modification information of file in electronic equipment, thereby can avoid not knowing because of terminal the maloperation that in electronic equipment, the variation of file occurs, and can also save user's time and Internet resources, and reduce taking of hardware resource to electronic equipment, and then improve user's experience.The method comprises the following steps.
In step S401, receive the modification information of the file of electronic equipment transmission.
Wherein, the modification information of file is that electronic equipment generates according to the operational order of file, and the operational order of file is that electronic equipment gets.About description and the explanation of operational order and modification information, refer to content corresponding in embodiment mono-, do not repeat them here.
Due to the file of each electronic equipment has occurred to change all can be to the modification information of terminal Transmit message, so that terminal can be grasped the up-to-date modification information of file in electronic equipment.
In step S402, the modification information of output file.
Wherein, receive in terminal after the modification information of file, be by the modification information output of file.The form of output has a variety of, for example, shows by the display of terminal, or plays back etc. by the loudspeaker of terminal, and certainly, the present embodiment is not limited to the above-mentioned mode of mentioning, and can also utilize terminal to carry out other forms of output.
In the embodiment shown in fig. 4, embodiment of the present disclosure can allow terminal recognize the modification information of file in electronic equipment, thereby can avoid not knowing because of terminal the maloperation that in electronic equipment, the variation of file occurs, and can also save user's time and Internet resources, and reduce taking of hardware resource to electronic equipment, and then improve user's experience.
Embodiment five
Shown in Figure 5, Fig. 5 is according to the process flow diagram of the synchronous method of a kind of file operation shown in an exemplary embodiment.Because the present embodiment is the improvement based on embodiment tetra-, so refer to the content of embodiment tetra-in the present embodiment with embodiment tetra-something in common.The disclosed method of the present embodiment, is receiving after the modification information of file, can remove the historical changing information of this file, to reduce taking of storer to terminal, thereby has reduced taking of hardware resource to terminal, and then has improved user's experience.The method comprises the following steps.
In step S501, receive the modification information of the file of electronic equipment transmission.
In step S502, the modification information of output file.
In step S503, judge whether the historical changing information of pre-stored file, if so, perform step S504, otherwise, execution step S505.
Wherein, as long as the file change in electronic equipment, electronic equipment will send to terminal by the modification information of file so.If the historical changing file that terminal storage is too much, the space that will reduce so terminal memory.Receiving after the modification information of file, first judging whether terminal stores documentary historical changing information, if existed, historical changing information that so will deleted file, and the modification information of the file newly receiving is stored in terminal; If there is no, can directly the modification information of the file newly receiving be stored in terminal so.
In step S504, the historical changing information of deleted file, and the modification information of storage file;
In step S505, the modification information of storage file.
In the embodiment shown in fig. 5, embodiment of the present disclosure is receiving after the modification information of file, can remove the historical changing information of this file, to reduce taking of storer to terminal, thereby reduce taking of hardware resource to terminal, and then improved user's experience.
Embodiment six
Shown in Figure 6, Fig. 6 is according to the module map of the synchronous device of a kind of file operation shown in an exemplary embodiment, the disclosed device of the present embodiment not only can be avoided not knowing because of terminal the maloperation that in electronic equipment, the variation of file occurs, and can also save user's time and Internet resources, and reduce taking of hardware resource to electronic equipment, and then improve user's experience.This device comprises:
Sending module 13, for the modification information of the terminal Transmit message to the subscription list prestoring.
In the embodiment shown in fig. 6, the function of the synchronous device of the file operation that the present embodiment provides is corresponding with the function that embodiment mono-realizes, thus can be referring to the content in embodiment mono-about the function of the present embodiment modules, and this is no longer going to repeat them.
Embodiment seven
Shown in Figure 7, Fig. 7 is according to the module map of the synchronous device of a kind of file operation shown in an exemplary embodiment, the disclosed device of the present embodiment not only can be avoided not knowing because of terminal the maloperation that in electronic equipment, the variation of file occurs, saves user's time and Internet resources; And also the least possible hardware resource that takies electronic equipment removes to send modification information, and reduce to the bothering of the terminal in subscription list, to improve user's experience.This device comprises:
Sending module 24, for the modification information of the terminal Transmit message to the subscription list prestoring.
In the embodiment shown in fig. 7, the function of the synchronous device of the file operation that the present embodiment provides is corresponding with the function that embodiment bis-realizes, thus can be referring to the content in embodiment bis-about the function of the present embodiment modules, and this is no longer going to repeat them.
Embodiment eight
Shown in Figure 8, Fig. 8 is according to the module map of the synchronous device of a kind of file operation shown in an exemplary embodiment, the disclosed device of the present embodiment can meet user's IMU and cross the current operation status of terminal understanding file in electronic equipment, thereby has improved user's experience.This device comprises:
Acquisition module 31, for obtaining the operational order of electronic equipment file;
Generation module 32, for according to the modification information of the operational order spanned file of file;
Sending module 33, for the modification information of the terminal Transmit message to the subscription list prestoring;
The second judge module 34, for judging whether the operation that file is carried out according to operational order finishes;
The second execution module 35, while end for the operation of carrying out according to operational order at file, obtain the current operation status of described file, according to the current operation status information of the current operation status spanned file of file, and to the current operation status information of the terminal Transmit message in subscription list.
In the embodiment shown in fig. 8, the function of the synchronous device of the file operation that the present embodiment provides is corresponding with the function that embodiment tri-realizes, thus can be referring to the content in embodiment tri-about the function of the present embodiment modules, and this is no longer going to repeat them.
Embodiment nine
Shown in Figure 9, Fig. 9 is according to the module map of the synchronous device of a kind of file operation shown in an exemplary embodiment, the disclosed device of the present embodiment can allow terminal recognize the modification information of file in electronic equipment, thereby can avoid not knowing because of terminal the maloperation that in electronic equipment, the variation of file occurs, and can also save user's time and Internet resources, and reduce taking of hardware resource to electronic equipment, and then improve user's experience.This device comprises:
In the embodiment shown in fig. 9, the function of the synchronous device of the file operation that the present embodiment provides is corresponding with the function that embodiment tetra-realizes, thus can be referring to the content in embodiment tetra-about the function of the present embodiment modules, and this is no longer going to repeat them.
Embodiment ten
Shown in Figure 10, Figure 10 is according to the module map of the synchronous device of a kind of file operation shown in an exemplary embodiment, the disclosed device of the present embodiment is receiving after the modification information of file, can remove the historical changing information of this file, taking of storer with minimizing to terminal, thereby reduce taking of hardware resource to terminal, and then improved user's experience.This device comprises:
Receiver module 51, the modification information of file sending for receiving electronic equipment, the modification information of file is that electronic equipment generates according to the operational order of file, the operational order of file is that electronic equipment gets;
Output module 52, for the modification information of output file.
Judge module 53, for judging whether the historical changing information of pre-stored file;
Execution module 54, for when the historical changing information of pre-stored file, the historical changing information of deleted file, and the modification information of storage file; In the time there is no the historical changing information of pre-stored file, the modification information of storage file.
In the embodiment shown in fig. 10, the function of the synchronous device of the file operation that the present embodiment provides is corresponding with the function that embodiment five realizes, thus can be referring to the content in embodiment five about the function of the present embodiment modules, and this is no longer going to repeat them.
Figure 11 is according to the block diagram of a kind of synchronous device 800 for file operation shown in an exemplary embodiment.For example, device 800 can be mobile phone, computing machine, digital broadcast terminal, information receiving and transmitting equipment, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 8, device 800 can comprise following one or more assembly: processing components 802, storer 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor module 814, and communications component 816.
The integrated operation of processing components 802 common control device 800, such as with demonstration, call, data communication, the operation that camera operation and record operation are associated.Processing components 802 can comprise that one or more processors 820 carry out instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more modules, is convenient to mutual between processing components 802 and other assemblies.For example, processing components 802 can comprise multi-media module, to facilitate mutual between multimedia groupware 808 and processing components 802.
Audio-frequency assembly 810 is configured to output and/or input audio signal.For example, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal receiving can be further stored in storer 804 or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loudspeaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
In the exemplary embodiment, device 800 can be realized by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, for carrying out said method.
In the exemplary embodiment, also provide a kind of non-provisional computer-readable recording medium that comprises instruction, for example, comprised the storer 804 of instruction, above-mentioned instruction can have been carried out said method by the processor 820 of device 800.For example, described non-provisional computer-readable recording medium can be ROM, random-access memory (ram), CD-ROM, tape, floppy disk and optical data storage equipment etc.
A kind of non-provisional computer-readable recording medium, in the time that the instruction in storage medium is carried out by the processor of mobile terminal, make mobile terminal can carry out a kind of synchronous method of file operation, method comprises: the modification information that receives the file of electronic equipment transmission, the modification information of described file is that described electronic equipment generates according to the operational order of described file, and the operational order of described file is that described electronic equipment gets; Export the modification information of described file.
Figure 12 is the structural representation of server in the embodiment of the present invention.This server 1900 can because of configuration or performance is different produces larger difference, can comprise one or more central processing units (central processing units, CPU) 1922(for example, one or more processors) and storer 1932, for example one or more mass memory units of storage medium 1930(of one or more storage application programs 1942 or data 1944).Wherein, storer 1932 and storage medium 1930 can be of short duration storage or storage lastingly.The program that is stored in storage medium 1930 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit 1922 can be set to communicate by letter with storage medium 1930, carries out a series of command operatings in storage medium 1930 on server 1900.
Those skilled in the art, considering instructions and putting into practice after invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised undocumented common practise or the conventional techniques means in the art of the disclosure.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendments and change not departing from its scope.Scope of the present invention is only limited by appended claim.
Claims (13)
1. a synchronous method for file operation, is characterized in that, described method is applied in an electronic equipment, and described method comprises:
Obtain the operational order of file in described electronic equipment;
Generate the modification information of described file according to the operational order of described file;
Send the modification information of described file to the terminal in the subscription list prestoring.
2. the synchronous method of file operation according to claim 1, is characterized in that, the described operational order according to described file generates the modification information of described file, comprising:
Whether the operational order that judges described file is assigned operation instruction;
In the time that the operational order of described file is assigned operation instruction, generate the modification information of described file according to the operational order of described file.
3. the synchronous method of file operation according to claim 1, is characterized in that, also comprises:
Judge whether the operation that described file is carried out according to described operational order finishes;
In the time that described file does not finish according to the operation of described operational order execution, obtain the current operation status of described file, generate the current operation status information of described file according to the current operation status of described file, and send the current operation status information of described file to the terminal in described subscription list.
4. the synchronous method of file operation according to claim 1, is characterized in that, the terminal in described subscription list is for to set up subscribing relationship with described electronic equipment, and with the terminal of described electronic equipment in network connection state.
5. a synchronous method for file operation, is characterized in that, described method is applied in a terminal, and described method comprises:
The modification information that receives the file of electronic equipment transmission, the modification information of described file is that described electronic equipment generates according to the operational order of described file, the operational order of described file is that described electronic equipment gets;
Export the modification information of described file.
6. the synchronous method of file operation according to claim 5, is characterized in that, also comprises:
Judge whether the historical changing information of pre-stored described file;
In the time of the historical changing information of pre-stored described file, delete the historical changing information of described file, and store the modification information of described file;
In the time there is no the historical changing information of pre-stored described file, store the modification information of described file.
7. a synchronous device for file operation, is characterized in that, comprising:
Acquisition module, for obtaining the operational order of described electronic equipment file;
Generation module, for generating the modification information of described file according to the operational order of described file;
Sending module, sends the modification information of described file for the terminal to the subscription list prestoring.
8. the synchronous device of file operation according to claim 7, is characterized in that, described generation module comprises:
Whether the first judge module is assigned operation instruction for the operational order that judges described file;
The first execution module, in the time that the operational order of described file is assigned operation instruction, generates the modification information of described file according to the operational order of described file.
9. the synchronous device of file operation according to claim 7, is characterized in that, also comprises:
The second judge module, for judging whether the operation that described file is carried out according to described operational order finishes;
The second execution module, while end for the operation of carrying out according to described operational order at described file, obtain the current operation status of described file, generate the current operation status information of described file according to the current operation status of described file, and send the current operation status information of described file to the terminal in described subscription list.
10. a synchronous device for file operation, is characterized in that, comprising:
Receiver module, the modification information of file sending for receiving electronic equipment, the modification information of described file is that described electronic equipment generates according to the operational order of described file, the operational order of described file is that described electronic equipment gets;
Output module, for exporting the modification information of described file.
The synchronous device of 11. file operations according to claim 10, is characterized in that, also comprises:
Judge module, for judging whether the historical changing information of pre-stored described file;
Execution module, for when the historical changing information of pre-stored described file, deletes the historical changing information of described file, and stores the modification information of described file; In the time there is no the historical changing information of pre-stored described file, store the modification information of described file.
The synchronous device of 12. 1 kinds of file operations, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the operational order of file in described electronic equipment;
Generate the modification information of described file according to the operational order of described file;
Send the modification information of described file to the terminal in the subscription list prestoring.
The synchronous device of 13. 1 kinds of file operations, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
The modification information that receives the file of electronic equipment transmission, the modification information of described file is that described electronic equipment generates according to the operational order of described file, the operational order of described file is that described electronic equipment gets;
Export the modification information of described file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410117596.3A CN103902688A (en) | 2014-03-26 | 2014-03-26 | File operation synchronizing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410117596.3A CN103902688A (en) | 2014-03-26 | 2014-03-26 | File operation synchronizing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103902688A true CN103902688A (en) | 2014-07-02 |
Family
ID=50994010
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410117596.3A Pending CN103902688A (en) | 2014-03-26 | 2014-03-26 | File operation synchronizing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103902688A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105488131A (en) * | 2015-11-25 | 2016-04-13 | 小米科技有限责任公司 | File opening method and apparatus |
CN106657170A (en) * | 2015-10-28 | 2017-05-10 | 阿里巴巴集团控股有限公司 | Data synchronization method and device |
CN107133363A (en) * | 2017-06-05 | 2017-09-05 | 掌阅科技股份有限公司 | Update method, electronic equipment and the storage medium of e-book catalogue list information |
CN110381120A (en) * | 2019-06-21 | 2019-10-25 | 努比亚技术有限公司 | Data sending, receiving method, the first and second terminal and computer storage medium |
CN111614743A (en) * | 2020-05-14 | 2020-09-01 | 深圳华锐金融技术股份有限公司 | File detection method and device, computer equipment and storage medium |
-
2014
- 2014-03-26 CN CN201410117596.3A patent/CN103902688A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106657170A (en) * | 2015-10-28 | 2017-05-10 | 阿里巴巴集团控股有限公司 | Data synchronization method and device |
CN106657170B (en) * | 2015-10-28 | 2021-03-30 | 斑马智行网络(香港)有限公司 | Data synchronization method and device |
CN105488131A (en) * | 2015-11-25 | 2016-04-13 | 小米科技有限责任公司 | File opening method and apparatus |
CN105488131B (en) * | 2015-11-25 | 2019-12-13 | 小米科技有限责任公司 | File opening method and device |
CN107133363A (en) * | 2017-06-05 | 2017-09-05 | 掌阅科技股份有限公司 | Update method, electronic equipment and the storage medium of e-book catalogue list information |
CN110381120A (en) * | 2019-06-21 | 2019-10-25 | 努比亚技术有限公司 | Data sending, receiving method, the first and second terminal and computer storage medium |
CN111614743A (en) * | 2020-05-14 | 2020-09-01 | 深圳华锐金融技术股份有限公司 | File detection method and device, computer equipment and storage medium |
CN111614743B (en) * | 2020-05-14 | 2021-08-17 | 深圳华锐金融技术股份有限公司 | File detection method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106126420B (en) | Application program adjustment method and device | |
CN104038536B (en) | Plug-in unit communication means and device | |
CN104735057A (en) | Sharing device control right method and device | |
CN104460365A (en) | Equipment control method and device | |
CN104898505A (en) | Smart scene configuration method and device | |
EP2985980B1 (en) | Method and device for playing stream media data | |
CN103973693A (en) | Router accessing method, device and system | |
CN105607926A (en) | Application icon update method and apparatus, electronic device and server | |
CN105208110A (en) | Resource control method and device | |
CN105704655A (en) | Media data sharing method and media data sharing device between terminals | |
CN103970576A (en) | Installation information displaying method, obtaining method and device | |
CN113365153B (en) | Data sharing method and device, storage medium and electronic equipment | |
CN104812020A (en) | Method, device and system for controlling intelligent equipment to access network | |
EP3051772A1 (en) | Method and apparatus for accessing network | |
CN105827489A (en) | Intelligent household electrical appliance control method and device and intelligent household electrical appliance | |
CN105487392A (en) | Device display method and apparatus | |
CN103916468A (en) | System upgrading method, terminal, server and upgrading system | |
CN103902688A (en) | File operation synchronizing method and device | |
CN103984664A (en) | Cloud space access method, device and system | |
CN105554064A (en) | Method and device for setting head portrait | |
CN104158854B (en) | Resource share method and device | |
CN104935613A (en) | Scene synchronization method, terminal, server and system | |
CN103973900A (en) | Method and device for sending messages | |
CN104079964A (en) | Method and device for transmitting video information | |
CN111338971B (en) | Application testing method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140702 |
|
RJ01 | Rejection of invention patent application after publication |