CN104090943A - Data file processing method, device and system - Google Patents

Data file processing method, device and system Download PDF

Info

Publication number
CN104090943A
CN104090943A CN201410309309.9A CN201410309309A CN104090943A CN 104090943 A CN104090943 A CN 104090943A CN 201410309309 A CN201410309309 A CN 201410309309A CN 104090943 A CN104090943 A CN 104090943A
Authority
CN
China
Prior art keywords
terminal
label
file
data
wave file
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
Application number
CN201410309309.9A
Other languages
Chinese (zh)
Inventor
成汉平
蔡莉莉
朱维青
廖振江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN201410309309.9A priority Critical patent/CN104090943A/en
Publication of CN104090943A publication Critical patent/CN104090943A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support

Abstract

The invention discloses a data file processing method, device and system. The method includes the steps that a file edit request initialized by each terminal is received, and the file edit request carries the operation type; a data file to be edited is acquired according to the file edit request, and a save file corresponding to the terminal is separated from the data file to be edited and sent to the terminal; a mark range fed back by the terminal according to the save file is received; the save file is modified according to the operation type and the mark range; modified content in the save file is combined with the data file to be edited and saved. The save file corresponding to the terminal is separated from the data file, a user edits the save file through the terminal, the data file processing device synchronizes the local save file, the modified content in the save file is combined with the data file and saved, data processed by the terminal are only associated with the terminal, different terminals do not influence one another, and thus the same data file can be processed in parallel by multiple terminals.

Description

Data documents disposal methods, devices and systems
Technical field
The present invention relates to the technical field of computer data and file processing, relate in particular to a kind of data documents disposal methods, devices and systems.
Background technology
At present, the shared data file that needs many people to read and write generally adopts the instruments such as VSS (Visual Source Safe) to manage and control.The management tools such as VSS carry out control terminal to sharing the write operation of data file by the mode locking, that is to say, at point at the same time, if terminal need to be carried out write operation, first want locking shared data file, and then carry out write operation, like this, can only there iing at the same time a terminal to carry out write operation processing to sharing data file.If other terminal need to be carried out write operation and just need to wait to this file the terminal unlocking of this article part to be locked.Be that VSS management tool can only be realized the serial write operation processing to sharing data file.
But, serial write operation infeasible in a lot of situations, for example, the large data disposal system that terminal quantity is more, if adopt the mode of serial write operation, the time of deal with data cost is longer, efficiency is low.
Summary of the invention
The invention provides a kind of data documents disposal methods, devices and systems, at least to solve the problem that in prior art, multiple terminals cannot be processed same data file simultaneously.
According to an aspect of the present invention, provide a kind of data documents disposal method, having comprised: the Document Editing request that receiving terminal is initiated, wherein, described Document Editing request carries action type; Treat editing data file according to described Document Editing acquisition request, treat to split out editing data file the wave file corresponding with described terminal from described, and send described wave file to described terminal; Receive described terminal according to the label range of described wave file feedback, wherein, described label range is used to indicate reference position and the end position of current operation; According to described action type and described label range, described wave file is carried out to retouching operation; Described in revised context in described wave file is incorporated into, treat editing data file, and storage is treated editing data file after merging.
In one embodiment, described Document Editing request also comprises: terminal identification information and data file identification information; Treat editing data file according to described Document Editing acquisition request, treat that from described editing data file, splitting out the wave file corresponding with described terminal comprises: described in obtaining according to described data file identification information, treat editing data file; According to described terminal identification information and pre-stored mark and the related information of terminal, treat to obtain editing data file first label information corresponding with described terminal from described, wherein, described the first label information comprises reference position and the end position for the treatment of editing files piece; Obtain the data in described the first label information indicating range according to described reference position and described end position, as the described editing files piece for the treatment of; Obtain the context data of described the first label information indicating range according to described reference position and described end position, as the described context data for the treatment of editing files piece; Described in inciting somebody to action according to described the first label information, treat that editing files piece and described context data splice, obtain described wave file.
In one embodiment, described action type comprises: the data in newly-increased mark, delete flag and amendment mark; If described action type is newly-increased mark, according to described action type and described label range, described wave file execution retouching operation is comprised: judge that whether described label range is legal; If described label range is legal, generate the second label information according to described label range and described terminal identification information, described the second label information is stored in described wave file, and send described the second label information to described terminal; If described label range is illegal, generates the first error message, and send described the first error message to described terminal.
In one embodiment, judging whether described label range is legal comprises: obtain described the first label information in described wave file; Whether the reference position that judges the instruction of described label range and end position and reference position in described the first label information and end position exist and intersect and/or nested; If there is no intersection and/or nested, judges described label range legal; If the intersection of existence and/or nested, judges described label range illegal.
In one embodiment, generate the second label information according to described label range and described terminal identification information, storing described the second label information into described wave file comprises: according to reference position and the end position of the instruction of described label range, described wave file is split as and treats editing files piece and context data, store in described wave file to reference position, end position, modification time and the described terminal identification information for the treatment of editing files piece described in major general as described the second label information.
In one embodiment, be newly-increased mark if the described Document Editing request receiving is action type that described terminal is initiated first and described, described in inciting somebody to action, treat that editing data file is as described wave file; According to described action type and described label range, described wave file being carried out to retouching operation comprises: whether the reference position in the label information of the reference position that judges described label range instruction and end position and other-end and end position exist and intersect and/or nested; If there is no intersection and/or nested, judge described label range legal, generate the 3rd label information according to the terminal identification information in described label range and described Document Editing request, described the 3rd label information is stored in described wave file, send described the 3rd label information to described terminal; If the intersection of existence and/or nested, judges described label range illegal, generate the second error message, and send described the second error message to described terminal.
In one embodiment, if described action type is delete flag, according to described action type and described label range, described wave file execution retouching operation is comprised: reference position and the end position of from the current label information of described wave file, deleting described label range instruction.
In one embodiment, if described action type is the data of amendment in mark, according to described action type and described label range, described wave file is carried out to retouching operation and comprise: receive the Update Table in the described label range that described terminal sends; According to described label range, described Update Table is saved in described wave file.
According to another aspect of the present invention, provide a kind of data documents disposal device, having comprised: the first receiver module, the Document Editing request of initiating for receiving terminal, wherein, described Document Editing request carries action type; Split module, for treating editing data file according to described Document Editing acquisition request, treat to split out editing data file the wave file corresponding with described terminal from described, and send described wave file to described terminal; The second receiver module, for receiving described terminal according to the label range of described wave file feedback, wherein, described label range is used to indicate reference position and the end position of current operation; Processing module, for according to described action type and described label range, described wave file being carried out to retouching operation, and treats editing data file described in the revised context in described wave file is incorporated into; Memory module, treats editing data file for storing after merging.
In one embodiment, described Document Editing request also comprises: terminal identification information and data file identification information; Described fractionation module comprises: the first acquiring unit, described in obtaining according to described data file identification information, treat editing data file; Second acquisition unit, for according to described terminal identification information and pre-stored mark and the related information of terminal, treat to obtain editing data file first label information corresponding with described terminal from described, wherein, described the first label information comprises reference position and the end position for the treatment of editing files piece; The 3rd acquiring unit, for obtaining the data in described the first label information indicating range according to described reference position and described end position, as the described editing files piece for the treatment of; The 4th acquiring unit, for obtain the context data of described the first label information indicating range according to described reference position and described end position, as the described context data for the treatment of editing files piece; Concatenation unit treats that editing files piece and described context data splice described in inciting somebody to action according to described the first label information, obtains described wave file.
In one embodiment, described action type comprises: the data in newly-increased mark, delete flag and amendment mark; Described processing module comprises: the first judging unit, in described action type be newly-increased mark in the situation that, judges that whether described label range is legal; The first processing unit, for in the situation that described label range is legal, generate the second label information according to described label range and described terminal identification information, described the second label information is stored in described wave file, and send described the second label information to described terminal; The second processing unit, in the illegal situation of described label range, generates the first error message, and sends described the first error message to described terminal.
In one embodiment, described the first judging unit comprises: obtain subelement, for obtaining described first label information of described wave file; Whether judgment sub-unit, exist and intersect and/or nested for reference position and the end position of the reference position that judges the instruction of described label range and end position and described the first label information; Intersect and/or nested in the situation that, judge described label range legal not existing; And in the situation that existence intersects and/or be nested, judge described label range illegal.
In one embodiment, described the first processing unit, specifically for according to reference position and the end position of the instruction of described label range, described wave file being split as and treating editing files piece and context data, store in described wave file as described the second label information to reference position, end position, modification time and the described terminal identification information for the treatment of editing files piece described in major general.
In one embodiment, described fractionation module, also for being in described terminal initiation situation first in described Document Editing request, treats that editing data file is as described wave file described in inciting somebody to action; Described processing module comprises: the second judging unit, for being the in the situation that described terminal being initiated first and described action type is newly-increased mark in described Document Editing request, whether the reference position in the label information of the reference position that judges described label range instruction and end position and other-end and end position exist and intersect and/or nested; Intersect and/or nested in the situation that not existing, judge described label range legal and intersect and/or nested in the situation that, judge described label range illegal existing; The 3rd processing unit, for in the situation that described label range is legal, generate the 3rd label information according to the terminal identification information in described label range and described Document Editing request, described the 3rd label information is stored in described wave file, and send described the 3rd label information to described terminal; Fourth processing unit, for illegal in described label range, generate the second error message, and sends described the second error message to described terminal.
In one embodiment, described processing module comprises: delete cells, in the situation that described action type is delete flag, from the current label information of described wave file, delete reference position and the end position of described label range instruction.
In one embodiment, described processing module comprises: the 5th processing unit, be used in the case of the data in described action type is amendment mark, receive the Update Table in the described label range that described terminal sends, and according to described label range, described Update Table is stored in described wave file.
According to a further aspect of the invention, a kind of data documents disposal system is provided, comprise terminal and above-mentioned any data documents disposal device, wherein, described terminal, for to described data documents disposal device Transmit message edit requests, receive the wave file that described data documents disposal device sends, show described wave file; And send the Update Table in label range and described label range to described data documents disposal device.
By data documents disposal methods, devices and systems of the present invention, from treat editing data file, split out wave file corresponding to terminal, user (for example edits wave file by terminal, data in newly-increased mark, delete flag or amendment mark), data documents disposal device carries out synchronously local replica file, then the revised context in wave file is incorporated into original treating in editing data file and store.Distinguish the parallel processing content of different terminals in same data file by mark, thereby in the situation that not affected by other-end, this terminal can complete the editor who treats editing data file.The data of different terminals processing are only associated with this terminal, between terminal, be independent of each other, realize the parallel data processing of multiple terminals to same data file in large data disposal system, the time dependence of having avoided multiple terminal rooms to process same data file, thereby improve data-handling efficiency, saved the processing time.
Brief description of the drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form limitation of the invention.In the accompanying drawings:
Fig. 1 is the process flow diagram of the data documents disposal method of the embodiment of the present invention;
Fig. 2 is the particular flow sheet that obtains wave file corresponding to terminal of the embodiment of the present invention;
Fig. 3 is the particular flow sheet of the retouching operation corresponding to newly-increased mark of the embodiment of the present invention;
Fig. 4 is the particular flow sheet of the verification label range legitimacy of the embodiment of the present invention;
Fig. 5 is the structured flowchart of the data documents disposal device of the embodiment of the present invention;
Fig. 6 is the concrete structure block diagram one of the data documents disposal device of the embodiment of the present invention;
Fig. 7 is the concrete structure block diagram two of the data documents disposal device of the embodiment of the present invention;
Fig. 8 is the concrete structure block diagram three of the data documents disposal device of the embodiment of the present invention;
Fig. 9 is the concrete structure block diagram four of the data documents disposal device of the embodiment of the present invention;
Figure 10 is the concrete structure block diagram five of the data documents disposal device of the embodiment of the present invention;
Figure 11 is the structured flowchart of the data documents disposal system of one embodiment of the invention;
Figure 12 is the structured flowchart of the data documents disposal system of another embodiment of the present invention;
Figure 13 is the particular flow sheet of the data documents disposal method of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on embodiments of the invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to protection scope of the present invention.
The embodiment of the present invention provides a kind of data documents disposal method, and Fig. 1 is the process flow diagram of the data documents disposal method of the embodiment of the present invention.As shown in Figure 1, the method comprises the steps:
Step S101, the Document Editing request that receiving terminal is initiated, wherein, Document Editing request carries action type.Action type can comprise: the data in newly-increased mark, delete flag and amendment mark.Document Editing request can also comprise: terminal identification information and data file identification information, to obtain the wave file corresponding with terminal in corresponding data file and this data file.
Step S102, treats editing data file according to Document Editing acquisition request, splits out the wave file corresponding with terminal from treat editing data file, and sends wave file to terminal.The wave file obtaining also can be stored in local storer, to use in subsequent process.
Step S103, receiving terminal is according to the label range of wave file feedback, and wherein, label range is used to indicate reference position and the end position of current operation.
Step S104, carries out retouching operation according to action type and label range to wave file.Corresponding to action type, retouching operation can comprise the data in newly-increased mark, delete flag and amendment mark.
Step S105, is incorporated into the revised context in wave file to treat editing data file, and storage is treated editing data file after merging.
Pass through above-described embodiment, from treat editing data file, split out wave file corresponding to terminal, user (for example edits wave file by terminal, data in newly-increased mark, delete flag or amendment mark), data documents disposal device carries out synchronously local replica file, then the revised context in wave file is incorporated into original treating in editing data file and store.Distinguish the parallel processing content of different terminals in same data file by mark, thereby in the situation that not affected by other-end, this terminal can complete the editor who treats editing data file.The data of different terminals processing are only associated with this terminal, between terminal, be independent of each other, realize the parallel data processing of multiple terminals to same data file in large data disposal system, the time dependence of having avoided multiple terminal rooms to process same data file, thereby improve data-handling efficiency, saved the processing time.
The request of terminal initiation Document Editing can be divided into terminal asks editing data file and the non-two kinds of situations of editing data file of asking first of terminal first, and for both of these case, wave file is different.Below describe respectively.
1, the non-editing data file of asking first of terminal
In one embodiment, as shown in Figure 2, can obtain wave file corresponding to terminal by following steps:
Step S201, obtains and treats editing data file according to the data file identification information in Document Editing request;
Step S202, according to the terminal identification information in Document Editing request and pre-stored mark and the related information of terminal, from treat editing data file, obtain first label information corresponding with terminal, wherein, the first label information comprises reference position and the end position for the treatment of editing files piece;
Step S203, obtains the data in the first label information indicating range according to reference position and end position, as treating editing files piece;
Step S204, obtains the context data of the first label information indicating range, as the context data for the treatment of editing files piece according to reference position and end position;
Step S205, will treat that according to the first label information editing files piece and context data splice, and obtain wave file.
In the present embodiment, this data file of the non-request first of terminal editor, therefore, in this data file, store the label information corresponding with this terminal, the scope (also can be described as mark, comprise reference position and end position) of this label information instruction can be the multiple scopes that are distributed in this data file.Label information can comprise: reference position, end position, modification time, terminal identification information and data file identification information, label information comprises that data file identification information can distinguish same terminal editor's different data file, avoids confusion.Modification time can be the time of the last operation, for example, and the increase time of the mark of this label information instruction, the time of the last time amendment of the data in this mark, the erasing time of this mark etc.In addition, the editor of multiple terminals to data file, makes data file be divided into scattered paragraph by different marks, therefore, the scattered paragraph corresponding with terminal and context data splicing thereof need to be obtained to wave file.
Wave file in the present embodiment comprises: label information, treat editing files piece and context data.Terminal shows when wave file is checked and edits for user, also can show all or part of label information in wave file, for example, shows reference position, end position and modification time.Certainly, if certain mark is deleted, also can continue to show this mark, and show that its state is the time of deleting and deleting.Context data can provide reference for the user of terminal treats when editing files piece is edited.
Distinguish the parallel processing content of different terminals in same data file by mark, terminal is in the time of request editing data file, obtain the wave file corresponding to this terminal according to mark, user is by terminal edit copy file, data documents disposal device carries out synchronously local replica file, then the revised context in wave file is merged to raw data file.Different terminals can only be edited in one's own wave file, ensures that between each terminal, the editor to data file is independent of each other, and has realized the parallel data processing of multiple terminals to same data file.
Terminal receives after wave file, can treat editing files piece and/or mark and carry out special demonstration (for example highlighted demonstration or font color are different from context data), to facilitate user to check and to edit.
Below respectively different action types and corresponding retouching operation thereof are described.
(1) action type is newly-increased mark
Can comprise step as shown in Figure 3 according to action type and label range to wave file execution retouching operation:
Step S301, whether judge mark scope is legal;
Step S302, if label range is legal, generates the second label information according to label range and terminal identification information, the second label information is stored in wave file, and send the second label information to terminal;
Step S303, if label range is illegal, generates the first error message, and sends the first error message to terminal.
In one embodiment, as shown in Figure 4, whether judge mark scope is legal can realize by following steps:
Step S401, obtains the first label information in wave file;
Step S402, whether the reference position of judge mark scope instruction and end position and reference position in the first label information and end position exist and intersect and/or nested;
Step S403, if there is no intersection and/or nested, judges label range legal;
Step S404, if the intersection of existence and/or nested is judged label range illegal.
In the present embodiment, follow that mark in same data file can not intersect and/or nested principle is carried out the legitimacy of judge mark scope, make the mark in data file can clearly limit its reference position and end position, facilitate user to edit.If label range is legal, generate label information, label information is sent to terminal, to inform that the label range of its transmission of terminal is legal, and the label information of generation is stored in wave file, local wave file is synchronizeed with the wave file of terminal.If label range is illegal, inform terminal, so that terminal sends new label range.
Wherein, can realize by the following method generation and the storage of label information: according to reference position and the end position of label range instruction, wave file is split as and treats editing files piece and context data, treat that to major general reference position, end position, modification time and the terminal identification information of editing files piece stores in wave file as the second label information.Label information can also comprise data file identification information.
After terminal receives label information corresponding to label range, can in wave file, carry out special demonstration (for example highlighted demonstration or font color are different from context data) to the data in this newly-increased mark, to facilitate user to check and to edit.
Certainly, the newly-increased mark in action type also can represent newly-increased mark and the data in newly-increased mark are modified.In this case, Update Table in data documents disposal device receiving terminal sends simultaneously label range and this label range, if label range is legal, according to label range, Update Table is stored in wave file, wave file synchronous of realizing end side and data documents disposal device side, merges to the revised context in wave file to treat editing data file so that follow-up; If label range is illegal, return to error message to terminal, delete the label range and the Update Table that receive, to save storage space.Data documents disposal device also can be first the label range that sends of receiving terminal, determine label range legal rear (being that terminal receives the label information mating with this label range), terminal sends the Update Table in this label range, according to label range, Update Table is stored in wave file, if label range is illegal, user does not modify to the data in this mark, and terminal also, without sending Update Table, can be avoided unnecessary operation.
(2) action type is the data in amendment mark
According to action type and label range, wave file execution retouching operation is comprised: the Update Table in the label range that receiving terminal sends; According to label range, Update Table is stored in wave file.
Repeatedly revise for the data in same mark, only preserve up-to-date Update Table.After data in amendment mark, need the modification time in update mark information.
It should be noted that, terminal can send the Update Table in label range and this label range simultaneously, data documents disposal device stores Update Table in wave file into according to label range, wave file synchronous of realizing end side and data documents disposal device side, merges to the revised context in wave file to treat editing data file so that follow-up.Terminal also can first send label range, waits after receiving triggering command or information and sends the Update Table in this label range again, and data documents disposal device stores Update Table in wave file into according to label range.
The Update Table that terminal is sent stores in wave file, the wave file of data documents disposal device side and synchronizeing of end side wave file are realized, be convenient to follow-up revised context in wave file is incorporated into the original editing data file for the treatment of, thereby in the situation that not affecting other-end, this terminal can complete the editor who treats editing data file.
(3) action type is delete flag
According to action type and label range, wave file execution retouching operation is comprised: reference position and the end position of the instruction of delete flag scope from the current label information of wave file.Delete flag can be thorough deletion, can be also that to indicate the state of this mark in this mark be time of deleting and deleting etc.
Reference position and the end position of the instruction of delete flag scope from the current label information of wave file, the wave file of data documents disposal device side and synchronizeing of end side wave file are realized, be convenient to follow-up revised context in wave file is incorporated into the original editing data file for the treatment of, thereby in the situation that not affecting other-end, this terminal can complete the editor who treats editing data file.
2, terminal is asked editing data file first
Now, action type is newly-increased mark.Can will treat that editing data file is as wave file.
According to action type and label range, wave file being carried out to retouching operation comprises: whether the reference position in the label information of the reference position of judge mark scope instruction and end position and other-end and end position exist and intersect and/or nested; If there is no intersection and/or nested, judges label range legal, generates the 3rd label information according to the terminal identification information in label range and Document Editing request, and the 3rd label information is stored in wave file, sends the 3rd label information to terminal; If the intersection of existence and/or nested, judges label range illegal, generate the second error message, and send the second error message to terminal.
The mark that in the present embodiment, the legitimacy of judge mark scope is followed in same data file can not intersect and/or nested principle.Be with non-editor's difference first, in the present embodiment relatively to as if the label range that sends of terminal and the label information of other-end, but not while editing first comparison to as if the wave file of the label range that sends of terminal and terminal in existing label information.The mark of different terminals can not occur intersecting and/or be nested, can ensure that multiple terminals can parallel processing to this data file, and be independent of each other.
In addition, in the present embodiment, also can realize by the following method generation and the storage of label information: according to reference position and the end position of label range instruction, wave file is split as and treats editing files piece and context data, treat that to major general reference position, end position, modification time and the terminal identification information of editing files piece stores in wave file as the second label information.Label information can also comprise data file identification information.
If label range is legal, generate label information, label information is sent to terminal, to inform that the label range of its transmission of terminal is legal, and the label information of generation is stored in wave file, local wave file is synchronizeed with the wave file of terminal.If label range is illegal, inform terminal, so that terminal sends new label range.
Certainly, the newly-increased mark in action type also can represent newly-increased mark and the data in newly-increased mark are modified.In this case, Update Table in data documents disposal device receiving terminal sends simultaneously label range and this label range, if label range is legal, according to label range, Update Table is stored in wave file, wave file synchronous of realizing end side and data documents disposal device side, merges to the revised context in wave file to treat editing data file so that follow-up; If label range is illegal, return to error message to terminal, delete the label range and the Update Table that receive, to save storage space.Data documents disposal device also can be first the label range that sends of receiving terminal, determine label range legal rear (being that terminal receives the label information mating with this label range), terminal sends the Update Table in this label range, according to label range, Update Table is stored in wave file, if label range is illegal, user does not modify to the data in this mark, and terminal also, without sending Update Table, can be avoided unnecessary operation.
In step S105, the revised context in wave file is incorporated into and treats editing data file, can be the wave file obtaining from retouching operation, to obtain revised context (can be the Update Table in mark or the mark of newly-increased mark, deletion), revised context is incorporated into and treats editing data file.
It should be noted that, terminal sends hold instruction and (hold instruction and can comprise label information can received, preserve the Update Table in which mark or preserve the newly-increased of which mark or delete with instruction) after, revised context in wave file is merged to and treated in editing data file (being raw data file), for example, data in amendment mark, the Update Table of reception is stored in wave file, after user's amendment, send and hold instruction by terminal, receive after holding instruction and according to label range, the Update Table in wave file is merged to and treated in editing data file, for example, newly-increased multiple marks simultaneously, after determining that each label range is legal and receiving the holding instruction of terminal, merge to the label information in wave file in raw data file.Receive after holding instruction and merge, can not omit the content of amendment, ensure the content of all amendments all to merge in raw data file.
The embodiment of the present invention also provides a kind of data documents disposal device, can be used for realizing the data documents disposal method that above-described embodiment is described.Data documents disposal device is identical with data documents disposal side's ratio juris, repeats part and repeats no more.Following used, term " unit " or " module " can realize the combination of software and/or the hardware of predetermined function.Although the described system of following examples preferably realizes with software, hardware, or the realization of the combination of software and hardware also may and be conceived.
Fig. 5 is the structured flowchart of the data documents disposal device of the embodiment of the present invention, and as shown in Figure 5, this device comprises: the first receiver module 51, fractionation module 52, the second receiver module 53, processing module 54 and memory module 55.Below its structure is elaborated.
The first receiver module 51, the Document Editing request of initiating for receiving terminal, wherein, Document Editing request carries action type.Action type can comprise: the data in newly-increased mark, delete flag and amendment mark.Document Editing request can also comprise: terminal identification information and data file identification information, to obtain the wave file corresponding with terminal in corresponding data file and this data file.
Split module 52, be connected to the first receiver module 51, for treating editing data file according to Document Editing acquisition request, from treat editing data file, split out the wave file corresponding with terminal, and send wave file to terminal.
The second receiver module 53, is connected to and splits module 52, and for receiving terminal, according to the label range of wave file feedback, wherein, label range is used to indicate reference position and the end position of current operation.
Processing module 54, is connected to the second receiver module 53, for according to action type and label range, wave file being carried out to retouching operation, and the revised context in wave file is incorporated into and treats editing data file.
Memory module 55, is connected to processing module 54, treats editing data file for storing after merging.Memory module 55 also can stored copies file, to use in subsequent process.
Pass through above-described embodiment, from treat editing data file, split out wave file corresponding to terminal, user (for example edits wave file by terminal, data in newly-increased mark, delete flag or amendment mark), data documents disposal device carries out synchronously local replica file, then the revised context in wave file is incorporated into original treating in editing data file and store.Distinguish the parallel processing content of different terminals in same data file by mark, thereby in the situation that not affected by other-end, this terminal can complete the editor who treats editing data file.The data of different terminals processing are only associated with this terminal, between terminal, be independent of each other, realize the parallel data processing of multiple terminals to same data file in large data disposal system, the time dependence of having avoided multiple terminal rooms to process same data file, thereby improve data-handling efficiency, saved the processing time.
In one embodiment, as shown in Figure 6, splitting module 52 can comprise: the first acquiring unit 521, second acquisition unit 522, the 3rd acquiring unit 523, the 4th acquiring unit 524 and concatenation unit 525.Below respectively each unit is described.
The first acquiring unit 521, is connected to the first receiver module 51, can be for obtaining and treat editing data file according to the data file identification information in Document Editing request;
Second acquisition unit 522, be connected to the first acquiring unit 521, for according to the terminal identification information of Document Editing request and pre-stored mark and the related information of terminal, from treat editing data file, obtain first label information corresponding with terminal, wherein, the first label information comprises reference position and the end position for the treatment of editing files piece;
The 3rd acquiring unit 523, is connected to second acquisition unit 522, for obtaining the data in the first label information indicating range according to reference position and end position, as treating editing files piece;
The 4th acquiring unit 524, is connected to second acquisition unit 522, for obtain the context data of the first label information indicating range according to reference position and end position, as the context data for the treatment of editing files piece;
Concatenation unit 525, is connected to the 3rd acquiring unit 523 and the 4th acquiring unit 524, for treating that according to the first label information editing files piece and context data splice, and obtain wave file.
In the present embodiment, distinguish the parallel processing content of different terminals in same data file by mark, terminal is in the time of request editing data file, obtain the wave file corresponding to this terminal according to mark, user is by terminal edit copy file, data documents disposal device carries out synchronously local replica file, again the revised context in wave file is merged to raw data file, ensure that between each terminal, the editor to data file is independent of each other, realized the parallel data processing of multiple terminals to same data file.
In one embodiment, as shown in Figure 7, processing module 54 can comprise: the first judging unit 541, the first processing unit 542 and the second processing unit 543, to carry out the operation of newly-increased mark (non-first editor), below describe each unit respectively.
The first judging unit 541, is connected to the second receiver module 53, and in action type be newly-increased mark in the situation that, whether judge mark scope is legal;
The first processing unit 542, be connected to the first judging unit 541, in the situation that label range is legal, generate the second label information according to label range and terminal identification information, the second label information is stored in wave file, and send the second label information to terminal;
The second processing unit 543, is connected to the first judging unit 541, in the illegal situation of label range, generates the first error message, and sends the first error message to terminal.
As shown in Figure 7, the first judging unit 541 can comprise: obtain subelement 5411 and judgment sub-unit 5412.Wherein, obtain subelement 5411, for obtaining the first label information of wave file; Whether judgment sub-unit 5412, is connected to and obtains subelement 5411, exist and intersect and/or nested for reference position and the end position of the reference position of judge mark scope instruction and end position and the first label information; Intersect and/or nested in the situation that, judge label range legal not existing; And in the situation that existence intersects and/or be nested, judge label range illegal.
The first processing unit 542, specifically for according to reference position and the end position of label range instruction, wave file being split as and treating editing files piece and context data, treat that to major general reference position, end position, modification time and the terminal identification information of editing files piece stores in wave file as the second label information.
In one embodiment, split module 52, also, under being terminal initiation situation first in Document Editing request, will treat that editing data file is as wave file.As shown in Figure 8, processing module 54 can also comprise: the second judging unit 544, the 3rd processing unit 545 and fourth processing unit 546, and to carry out newly-increased mark (editor's first) operation.Wherein, the second judging unit 544, be connected to the second receiver module 53, for being the in the situation that terminal being initiated first and action type is newly-increased mark in Document Editing request, whether the reference position in the label information of the reference position of judge mark scope instruction and end position and other-end and end position exist and intersect and/or nested; Do not exist intersect and/or nested situation judge out label range legal and exist intersect and/or the nested situation label range that judges out illegal; The 3rd processing unit 545, be connected to the second judging unit 544, for in the situation that label range is legal, generate the 3rd label information according to the terminal identification information in label range and Document Editing request, the 3rd label information is stored in wave file, and send the 3rd label information to terminal; Fourth processing unit 546, is connected to the second judging unit 544, in the illegal situation of label range, generates the second error message, and sends the second error message to terminal.
In one embodiment, as shown in Figure 9, processing module 54 can also comprise delete cells 547, to carry out the operation of delete flag.Concrete, delete cells 547, is connected to the second receiver module 53, in the situation that action type is delete flag, and reference position and the end position of the instruction of delete flag scope from the current label information of wave file.
In one embodiment, as shown in figure 10, processing module 54 can also comprise the 5th processing unit 548, to carry out the operation of the data in amendment mark.Concrete, the 5th processing unit 548, is connected to the second receiver module 53, for being the data of amendment in mark in action type, Update Table in the label range that receiving terminal sends, and according to label range, Update Table is stored in wave file.
Certainly, above-mentioned Module Division just a kind of signal is divided, and the present invention is not limited thereto.This device can only comprise: receiver module, fractionation module, merging module and memory module, receiver module is carried out and is received relevant function, split module and carry out the function of obtaining wave file, merge module and carry out retouching operation corresponding to various action types and revised context is merged to and treated in editing data file, memory module is carried out the function relevant to storage.As long as can realize the Module Division of object of the present invention, all should belong to protection scope of the present invention.
The embodiment of the present invention also provides a kind of data documents disposal system, and as shown in figure 11, this system comprises: data documents disposal device 20 and terminal 30, wherein, data documents disposal device 20 is data documents disposal devices that above-described embodiment is described.Terminal 30, for to data documents disposal device 20 Transmit message edit requests, the wave file that received data file treating apparatus 20 sends, shows wave file; And send the Update Table in label range and label range to data documents disposal device 20.
For above-mentioned data documents disposal method, Apparatus and system are more clearly explained, describe below in conjunction with specific embodiment, but it should be noted that this embodiment does not form the present invention the present invention is limited improperly in order to illustrate better.Following examples are with the non-example that is compiled as first.
Figure 12 is the structured flowchart of the data documents disposal system of another embodiment of the present invention, and as shown in figure 12, this system comprises: terminal 1, file declustering device 2, data processing equipment 3, Piece file mergence device 4, storer 5 and microprocessor 6.
Terminal 1, for example, for receiving the information of user input or instruction (, Document Editing request, label range, Update Table, hold instruction etc.) and by this information or instruction output, showing wave file etc.Concrete, user selects data file by terminal 1, and data file is carried out to read-write operation, and wherein write operation comprises increasing, deletes, changes three kinds.Edit requests is sent to file declustering device 2 by terminal 1, and wherein, edit requests comprises terminal identity information (being Termination ID), data file ID and action type (as data, delete flag in newly-increased mark, amendment mark); Terminal 1 receives the wave file that file declustering device 2 generates, and represents to user.Terminal 1 before modifying, first input marking scope (being the range data of current operation), label range comprises reference position and end position.Terminal 1 sends to data processing equipment 3 by label range and exports the result after data processing equipment 3 is located label range, be whether judge mark scope is legal, if label range is legal, with the data in special mode show tags (for example, highlighted demonstration), facilitate user to edit; If label range is illegal, point out user, for example, show " mark exists nested or intersects, and please reselect ".Terminal 1 also receives user to the Update Table in mark, and Update Table is sent to data processing equipment 3.
File declustering device 2, the edit requests sending for receiving terminal 1, data file according to the data file ID in edit requests from storer 5 reading terminals requests, read blocks of files corresponding with Termination ID in this data file (content that this terminal was once edited) and context data thereof by the Termination ID in edit requests, again blocks of files and context data are spliced into wave file, this wave file is sent to terminal 1, and this wave file is kept in storer 5.Different terminals can only be edited in one's own wave file, and each terminal is non-interference, thereby realizes the multi-terminal parallel processing of data file.
Data processing equipment 3, for the label range of receiving terminal 1, and positions the mark of this label range instruction at wave file, wherein, if newly-increased mark need to first judge the legitimacy that increases mark newly, according to judged result, the mark of this label range instruction is positioned; If the data in mark are modified, receive the mark of after label range, this label range being indicated and position, wait for that terminal sends the Update Table in this label range; If delete flag positions the mark of this label range instruction, and deletes.The Update Table also sending for receiving terminal 1, and Update Table is saved in the wave file of storer 5, for the repeatedly amendment of data file in same mark, only preserve up-to-date Update Table.
Concrete, if data processing equipment 3 determines it is newly-increased mark according to action type (can by with the mutual acquisition action type of microprocessor 6), the wave file in read memory 5, obtains the existing mark in wave file.According to mark in same data file can not intersect, nested principle, judgement newly marks whether and existing mark occurs to intersect or nested.If do not meet principle, generation error information, sends to terminal 1; If meet principle, the mark of label range instruction is positioned, generate new label information (comprising reference position, end position, modification time and Termination ID etc.) and send to terminal 1, new label information is kept in wave file simultaneously.
Piece file mergence device 4, holding instruction of sending for receiving terminal 1 (can comprise label information, preserve the Update Table in which mark or preserve the newly-increased of which mark or delete with instruction), from the wave file of storer 5, read corresponding Update Table and label information, Update Table in label information and mark is merged in original, and the file obtaining after merging is kept in storer 5.
Storer 5, for the related information of storing data files, wave file and mark and terminal.
Microprocessor 6 is master control sets, be connected to terminal 1, file declustering device 2, data processing equipment 3, Piece file mergence device 4 and storer 5, for the edit requests of receiving terminal 1, complete data handling procedure by calling file declustering device 2 data processing equipments 3, Piece file mergence device 4 and storer 5, and and terminal 1, file declustering device 2, data processing equipment 3, Piece file mergence device 4 and storer 5 between carry out data transmission.
File declustering device 2 specifically comprises: label screening module, context acquisition module and file concatenation module.
Label screening module, for the data file of data file ID reading terminals request from storer 5 of the edit requests that sends according to terminal 1; From storer 5, read the related information of mark and terminal according to the Termination ID in edit requests, and obtain all label informations corresponding with this terminal 1 in this data file, obtain the data in mark according to the reference position in label information and end position, as blocks of files, pass to file concatenation module together with label information.
Context acquisition module, for the data file of data file ID reading terminals request from storer 5 of the edit requests that sends according to terminal 1; From storer 5, read the related information of mark and terminal according to the Termination ID in edit requests, and obtain all label informations corresponding with this terminal 1 in this data file, obtain according to the reference position in label information and end position the context data that belongs to this mark, and pass to file concatenation module.Certainly the label information that, context acquisition module obtains according to label screening module obtains and belongs to context data.
File concatenation module, be connected to label screening module and context acquisition module, the blocks of files and the label information that send for receiving label screening module, receive the context data that context acquisition module sends, according to the reference position in label information and end position, blocks of files and context data are spliced into wave file, and pass to terminal 1 and storer 5.
Data processing equipment 3 specifically comprises: mark detection module, locating module and logging modle.
Mark detection module, mainly for detection of newly-increased mark whether legal.In the time of terminal 1 newly-increased mark, the label range that mark detection module receiving terminal 1 imports into, from storer 5, obtain the label information in the wave file of terminal 1 correspondence according to Termination ID and data file ID, according to not overlapping, the Uncrossed principle of the mark in same data file, label range is detected.Concrete, if mark is legal, label information, Termination ID and data file ID are passed to locating module; If mark is illegal, directly error message is passed to terminal 1.It should be noted that, in the time that terminal 1 is modified to the data in existing mark, do not do this detection.
Locating module, be connected to mark detection module, for in the situation that newly-increased mark is legal, according to reference position and the end position of label range instruction, wave file is split as and treats editing files piece and context data, reference position, end position, modification time and the Termination ID etc. for the treatment of editing files piece are kept in wave file as newly-increased label information corresponding to mark, and label information is passed to terminal 1, inform that the newly-increased mark of terminal 1 is legal.Herein, modification time is for increasing the tagged time.Certainly, in label information, also can comprise data file ID.If terminal 1 is that the data in mark are modified, need the modification time in update mark information, reference position, end position and Termination ID etc. in label information are constant.
Logging modle, is connected to terminal and locating module, and the Update Table sending for receiving terminal 1 is kept at Update Table and corresponding label information in wave file as a tag block.
Figure 13 is the particular flow sheet of the data documents disposal method of the embodiment of the present invention, can realize by the system shown in Figure 12.As shown in figure 13, comprise the following steps:
Step S1301: user selects data file by terminal 1, and initiate Document Editing request, wherein, Document Editing request comprises: Termination ID, data file ID and action type.
Step S1302: Document Editing request is sent to file declustering device 2 by terminal 1.
Step S1303: file declustering device 2 receives the Document Editing request of self terminal 1, from storer 5, read data file to be edited according to data file ID, split out wave file according to Termination ID for this terminal, and this wave file is saved to storer 5, send this wave file to terminal 1 simultaneously.
Step S1304: terminal 1 shows that wave file is to user.
Step S1305: user sends label range by terminal 1 to data processing equipment 3, i.e. the reference position of editing operation and end position, for example, data file walks to the 5th page of the 13rd row for the 3rd page the 4th.
Step S1306: data processing equipment 3 receives label range, judges whether it is newly-increased mark according to action type; If so, jump to step S1307; If not, jump to step S1310.
Step S1307: data processing equipment 3 detect newly mark whether legal.If legal, jump to step S1308, if illegal, jump to step S1309.
Step S1308: data processing equipment 3 positions new mark, generates label information and is saved to wave file, sends label information to terminal 1 simultaneously, informs that the new mark of terminal 1 is legal.
Step S1309: the illegal information of new mark is passed to terminal 1 by data processing equipment 3.
Step S1310: terminal 1 is carried out highlighted demonstration to the data in the mark of label information instruction, facilitates user to edit.
Step S1311: user by terminal 1 to the data in mark edit (comprise newly-increased, amendment and delete).
Step S1312: the Update Table that data processing equipment 3 receiving terminals 1 send, is saved in wave file corresponding in storer 5 by Update Table.
Step S1313: terminal 1 sends holds instruction.
Step S1314: after Piece file mergence device 4 receives and holds instruction, from the wave file of storer 5, read this Update Table and label information (the two can be used as a tag block) thereof, tag block is incorporated in original, and the original after merging is saved in storer 5.
Any process of otherwise describing in process flow diagram or at this or method are described and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple steps or method can realize with being stored in software or the firmware carried out in storer and by suitable instruction execution system.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: there is the discrete logic for data-signal being realized to the logic gates of logic function, there is the special IC of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is can carry out the hardware that instruction is relevant by program to complete, described program can be stored in a kind of computer-readable recording medium, this program, in the time carrying out, comprises step of embodiment of the method one or a combination set of.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.If described integrated module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium using the form of software function module.
The above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
In the description of this instructions, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, the schematic statement of above-mentioned term is not necessarily referred to identical embodiment or example.And specific features, structure, material or the feature of description can be with suitable mode combination in any one or more embodiment or example.
Above-described specific embodiment; object of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only specific embodiments of the invention; the protection domain being not intended to limit the present invention; within the spirit and principles in the present invention all, any amendment of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (17)

1. a data documents disposal method, is characterized in that, comprising:
The Document Editing request that receiving terminal is initiated, wherein, described Document Editing request carries action type;
Treat editing data file according to described Document Editing acquisition request, treat to split out editing data file the wave file corresponding with described terminal from described, and send described wave file to described terminal;
Receive described terminal according to the label range of described wave file feedback, wherein, described label range is used to indicate reference position and the end position of current operation;
According to described action type and described label range, described wave file is carried out to retouching operation;
Described in revised context in described wave file is incorporated into, treat editing data file, and storage is treated editing data file after merging.
2. method according to claim 1, is characterized in that, described Document Editing request also comprises: terminal identification information and data file identification information; Treat editing data file according to described Document Editing acquisition request, treat that from described editing data file, splitting out the wave file corresponding with described terminal comprises:
Described in obtaining according to described data file identification information, treat editing data file;
According to described terminal identification information and pre-stored mark and the related information of terminal, treat to obtain editing data file first label information corresponding with described terminal from described, wherein, described the first label information comprises reference position and the end position for the treatment of editing files piece;
Obtain the data in described the first label information indicating range according to described reference position and described end position, as the described editing files piece for the treatment of;
Obtain the context data of described the first label information indicating range according to described reference position and described end position, as the described context data for the treatment of editing files piece;
Described in inciting somebody to action according to described the first label information, treat that editing files piece and described context data splice, obtain described wave file.
3. method according to claim 2, is characterized in that, described action type comprises: the data in newly-increased mark, delete flag and amendment mark; If described action type is newly-increased mark, according to described action type and described label range, described wave file execution retouching operation is comprised:
Judge that whether described label range is legal;
If described label range is legal, generate the second label information according to described label range and described terminal identification information, described the second label information is stored in described wave file, and send described the second label information to described terminal;
If described label range is illegal, generates the first error message, and send described the first error message to described terminal.
4. method according to claim 3, is characterized in that, judges whether described label range is legal to comprise:
Obtain described the first label information in described wave file;
Whether the reference position that judges the instruction of described label range and end position and reference position in described the first label information and end position exist and intersect and/or nested;
If there is no intersection and/or nested, judges described label range legal;
If the intersection of existence and/or nested, judges described label range illegal.
5. method according to claim 3, is characterized in that, generates the second label information according to described label range and described terminal identification information, stores described the second label information into described wave file and comprises:
According to reference position and the end position of the instruction of described label range, described wave file is split as and treats editing files piece and context data, store in described wave file as described the second label information to reference position, end position, modification time and the described terminal identification information for the treatment of editing files piece described in major general.
6. method according to claim 1, is characterized in that, is newly-increased mark if the described Document Editing request receiving is action type that described terminal is initiated first and described, described in inciting somebody to action, treats that editing data file is as described wave file;
According to described action type and described label range, described wave file execution retouching operation is comprised:
Whether the reference position in the label information of the reference position that judges the instruction of described label range and end position and other-end and end position exist and intersect and/or nested;
If there is no intersection and/or nested, judge described label range legal, generate the 3rd label information according to the terminal identification information in described label range and described Document Editing request, described the 3rd label information is stored in described wave file, send described the 3rd label information to described terminal;
If the intersection of existence and/or nested, judges described label range illegal, generate the second error message, and send described the second error message to described terminal.
7. according to the method described in any one in claim 3 to 6, it is characterized in that, if described action type is delete flag, according to described action type and described label range, described wave file execution retouching operation comprised:
From the current label information of described wave file, delete reference position and the end position of described label range instruction.
8. according to the method described in any one in claim 3 to 6, it is characterized in that, if described action type is the data in amendment mark, according to described action type and described label range, described wave file execution retouching operation comprised:
Receive the Update Table in the described label range that described terminal sends;
According to described label range, described Update Table is stored in described wave file.
9. a data documents disposal device, is characterized in that, comprising:
The first receiver module, the Document Editing request of initiating for receiving terminal, wherein, described Document Editing request carries action type;
Split module, for treating editing data file according to described Document Editing acquisition request, treat to split out editing data file the wave file corresponding with described terminal from described, and send described wave file to described terminal;
The second receiver module, for receiving described terminal according to the label range of described wave file feedback, wherein, described label range is used to indicate reference position and the end position of current operation;
Processing module, for according to described action type and described label range, described wave file being carried out to retouching operation, and treats editing data file described in the revised context in described wave file is incorporated into;
Memory module, treats editing data file for storing after merging.
10. device according to claim 9, is characterized in that, described Document Editing request also comprises: terminal identification information and data file identification information; Described fractionation module comprises:
The first acquiring unit is treated editing data file described in obtaining according to described data file identification information;
Second acquisition unit, for according to described terminal identification information and pre-stored mark and the related information of terminal, treat to obtain editing data file first label information corresponding with described terminal from described, wherein, described the first label information comprises reference position and the end position for the treatment of editing files piece;
The 3rd acquiring unit, for obtaining the data in described the first label information indicating range according to described reference position and described end position, as the described editing files piece for the treatment of;
The 4th acquiring unit, for obtain the context data of described the first label information indicating range according to described reference position and described end position, as the described context data for the treatment of editing files piece;
Concatenation unit treats that editing files piece and described context data splice described in inciting somebody to action according to described the first label information, obtains described wave file.
11. devices according to claim 10, is characterized in that, described action type comprises: the data in newly-increased mark, delete flag and amendment mark; Described processing module comprises:
The first judging unit, in described action type be newly-increased mark in the situation that, judges that whether described label range is legal;
The first processing unit, for in the situation that described label range is legal, generate the second label information according to described label range and described terminal identification information, described the second label information is stored in described wave file, and send described the second label information to described terminal;
The second processing unit, in the illegal situation of described label range, generates the first error message, and sends described the first error message to described terminal.
12. devices according to claim 11, is characterized in that, described the first judging unit comprises:
Obtain subelement, for obtaining described first label information of described wave file;
Whether judgment sub-unit, exist and intersect and/or nested for reference position and the end position of the reference position that judges the instruction of described label range and end position and described the first label information; Intersect and/or nested in the situation that, judge described label range legal not existing; And in the situation that existence intersects and/or be nested, judge described label range illegal.
13. devices according to claim 11, it is characterized in that, described the first processing unit, specifically for according to reference position and the end position of the instruction of described label range, described wave file being split as and treating editing files piece and context data, store in described wave file as described the second label information to reference position, end position, modification time and the described terminal identification information for the treatment of editing files piece described in major general.
14. devices according to claim 9, is characterized in that,
Described fractionation module, also for being in described terminal initiation situation first in described Document Editing request, treats that editing data file is as described wave file described in inciting somebody to action;
Described processing module comprises:
The second judging unit, for being the in the situation that described terminal being initiated first and described action type is newly-increased mark in described Document Editing request, whether the reference position in the label information of the reference position that judges described label range instruction and end position and other-end and end position exist and intersect and/or nested; Intersect and/or nested in the situation that not existing, judge described label range legal and intersect and/or nested in the situation that, judge described label range illegal existing;
The 3rd processing unit, for in the situation that described label range is legal, generate the 3rd label information according to the terminal identification information in described label range and described Document Editing request, described the 3rd label information is stored in described wave file, and send described the 3rd label information to described terminal;
Fourth processing unit, in the illegal situation of described label range, generates the second error message, and sends described the second error message to described terminal.
15. according to claim 11 to the device described in any one in 14, it is characterized in that, described processing module comprises:
Delete cells in the situation that described action type is delete flag, is deleted reference position and the end position of described label range instruction from the current label information of described wave file.
16. according to claim 11 to the device described in any one in 14, it is characterized in that, described processing module comprises:
The 5th processing unit, for being the data of amendment in mark in described action type, receiving the Update Table in the described label range that described terminal sends, and according to described label range, described Update Table is stored in described wave file.
17. 1 kinds of data documents disposal systems, comprise the data documents disposal device described in any one in terminal and claim 9 to 16, wherein,
Described terminal, for to described data documents disposal device Transmit message edit requests, receives the wave file that described data documents disposal device sends, and shows described wave file; And send the Update Table in label range and described label range to described data documents disposal device.
CN201410309309.9A 2014-07-01 2014-07-01 Data file processing method, device and system Pending CN104090943A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410309309.9A CN104090943A (en) 2014-07-01 2014-07-01 Data file processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410309309.9A CN104090943A (en) 2014-07-01 2014-07-01 Data file processing method, device and system

Publications (1)

Publication Number Publication Date
CN104090943A true CN104090943A (en) 2014-10-08

Family

ID=51638659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410309309.9A Pending CN104090943A (en) 2014-07-01 2014-07-01 Data file processing method, device and system

Country Status (1)

Country Link
CN (1) CN104090943A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391620A (en) * 2014-11-11 2015-03-04 深圳市中兴移动通信有限公司 Document processing method, terminal and system
CN106202275A (en) * 2016-06-30 2016-12-07 乐视控股(北京)有限公司 Additional, the method for cutting of obj ect file and device
CN106250478A (en) * 2016-07-29 2016-12-21 珠海格力电器股份有限公司 Curve data recording method, device, display terminal and the air-conditioning of display terminal
CN109522862A (en) * 2018-11-28 2019-03-26 科大讯飞股份有限公司 A kind of document modification method, device, equipment and readable storage medium storing program for executing
CN110096877A (en) * 2019-04-24 2019-08-06 厦门网宿有限公司 A kind of document handling method and device
CN111178025A (en) * 2019-11-28 2020-05-19 中广核工程有限公司 Editing method and device of nuclear power plant operation guide rules, computer equipment and storage medium
CN111666306A (en) * 2019-03-06 2020-09-15 珠海金山办公软件有限公司 Target data file generation method and device, electronic equipment and storage medium
CN111895940A (en) * 2020-04-26 2020-11-06 鸿富锦精密电子(成都)有限公司 Calibration file generation method, system, computer device and storage medium
CN112052226A (en) * 2020-09-29 2020-12-08 北京罗克维尔斯科技有限公司 Processing method and device for vehicle machine service data
CN116527691A (en) * 2023-06-27 2023-08-01 天津中远海运散运数字科技有限公司 Method, device, equipment and medium for synchronizing ship-shore data
CN116975076A (en) * 2023-07-28 2023-10-31 深圳市丕微科技企业有限公司 Multi-terminal interactive data transmission control method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6088702A (en) * 1998-02-25 2000-07-11 Plantz; Scott H. Group publishing system
CN1979466A (en) * 2005-11-29 2007-06-13 国际商业机器公司 Method and device for allowing multi-users to edit a shared electronic file simultaneously

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6088702A (en) * 1998-02-25 2000-07-11 Plantz; Scott H. Group publishing system
CN1979466A (en) * 2005-11-29 2007-06-13 国际商业机器公司 Method and device for allowing multi-users to edit a shared electronic file simultaneously

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391620A (en) * 2014-11-11 2015-03-04 深圳市中兴移动通信有限公司 Document processing method, terminal and system
CN106202275A (en) * 2016-06-30 2016-12-07 乐视控股(北京)有限公司 Additional, the method for cutting of obj ect file and device
WO2018000618A1 (en) * 2016-06-30 2018-01-04 乐视控股(北京)有限公司 Object file appending and truncation method and server
CN106250478A (en) * 2016-07-29 2016-12-21 珠海格力电器股份有限公司 Curve data recording method, device, display terminal and the air-conditioning of display terminal
CN109522862A (en) * 2018-11-28 2019-03-26 科大讯飞股份有限公司 A kind of document modification method, device, equipment and readable storage medium storing program for executing
CN111666306A (en) * 2019-03-06 2020-09-15 珠海金山办公软件有限公司 Target data file generation method and device, electronic equipment and storage medium
CN110096877B (en) * 2019-04-24 2021-06-04 厦门网宿有限公司 File processing method and device
CN110096877A (en) * 2019-04-24 2019-08-06 厦门网宿有限公司 A kind of document handling method and device
CN111178025A (en) * 2019-11-28 2020-05-19 中广核工程有限公司 Editing method and device of nuclear power plant operation guide rules, computer equipment and storage medium
CN111895940A (en) * 2020-04-26 2020-11-06 鸿富锦精密电子(成都)有限公司 Calibration file generation method, system, computer device and storage medium
CN111895940B (en) * 2020-04-26 2021-12-07 鸿富锦精密电子(成都)有限公司 Calibration file generation method, system, computer device and storage medium
CN112052226A (en) * 2020-09-29 2020-12-08 北京罗克维尔斯科技有限公司 Processing method and device for vehicle machine service data
CN112052226B (en) * 2020-09-29 2023-10-10 北京罗克维尔斯科技有限公司 Processing method and device for vehicle-mounted service data
CN116527691A (en) * 2023-06-27 2023-08-01 天津中远海运散运数字科技有限公司 Method, device, equipment and medium for synchronizing ship-shore data
CN116527691B (en) * 2023-06-27 2023-11-03 天津中远海运散运数字科技有限公司 Method, device, equipment and medium for synchronizing ship-shore data
CN116975076A (en) * 2023-07-28 2023-10-31 深圳市丕微科技企业有限公司 Multi-terminal interactive data transmission control method and system

Similar Documents

Publication Publication Date Title
CN104090943A (en) Data file processing method, device and system
US11176317B2 (en) Automated file merging through content classification
CN102770854B (en) Automatic synchronization Conflict solving
CN105302533A (en) Code synchronizing method and apparatus
CN106157344A (en) The generation method and device of checking picture
CN101673374B (en) Bill processing method and device
CN106843820B (en) Code processing method and device
CN111984239B (en) Page configuration method, page configuration device, server and storage medium
CN103246483A (en) Method, system and intelligent terminal for scanning files
CN105630571A (en) Virtual machine creating method and device
CN105389299A (en) Page generation method and device
CN112286904A (en) Cluster migration method and device and storage medium
CN114036561A (en) Information hiding method, information acquiring method, information hiding device, information acquiring device, storage medium and electronic equipment
US8856081B1 (en) Single retention policy
JP2016514393A (en) Serialization for differential encoding
KR102168324B1 (en) Electronic terminal device capable of changing the state of each object in a web-based document creation environment associated with a document editing server and operating method thereof
CN105630466A (en) Business control method and apparatus
CN101901172B (en) Data processing device and method
CN110753277B (en) Method and system for configuration management in OLT network slice
CN104268231A (en) File access method, device and intelligent file system
CN112688861B (en) Method and equipment for sending session information in social application
CN103824097A (en) Information cross-device processing method and system
CN110874216A (en) Complete code generation method, device, equipment and storage medium
CN103761617A (en) Method and system for approval process management in cloud data center
CN109697167B (en) Method and system for managing test variables, electronic device 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20141008