CN107391478A - A kind of online document edit methods and device - Google Patents
A kind of online document edit methods and device Download PDFInfo
- Publication number
- CN107391478A CN107391478A CN201710696020.0A CN201710696020A CN107391478A CN 107391478 A CN107391478 A CN 107391478A CN 201710696020 A CN201710696020 A CN 201710696020A CN 107391478 A CN107391478 A CN 107391478A
- Authority
- CN
- China
- Prior art keywords
- document
- computer
- eap
- data block
- message digest
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computer Security & Cryptography (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Engineering (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of online document edit methods and device, including:It is divided into multiple data blocks to enter edlin document;The eap-message digest of more edited document and corresponding data block in the document do not edited;Transmit the different data block of eap-message digest in edited document.Online document edit methods proposed by the present invention can effectively reduce the occupancy to transmission bandwidth with device.
Description
Technical field
The present invention relates to field of data transmission, more specifically, particularly relating to a kind of online document edit methods and device.
Background technology
Existing online document editing technique uses the mode of document overall transfer, that is, when a document is only changed
A portion content, and in the case that other guide is all constant on the position or content, it is also desirable to whole
Document all upload onto the server it is upper covering original text shelves, so as to form the waste of transmission bandwidth.For online text in the prior art
Shelves edit methods waste transmission bandwidth problem, and there has been no effective solution at present.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to propose a kind of online document edit methods and device, Neng Gouzhen
To different document or different types of online file editing, the occupancy to transmission bandwidth is reduced.
Based on above-mentioned purpose, the one side of the embodiment of the present invention provides a kind of online document edit methods, including following
Step:
It is divided into multiple data blocks to enter edlin document;
The eap-message digest of more edited document and corresponding data block in the document do not edited;
Transmit the different data block of eap-message digest in edited document.
In some embodiments, the cut size of document is determined according to the edit history of document, and according to cut size
Document is divided into multiple data blocks.
In some embodiments, the data volume of the editor's number and each editing and updating according to document within a period of time
The cut size of document is determined, wherein, the data volume of editor number more, each editing and updatings of the document within a period of time is more
Greatly, then cut size is smaller.
In some embodiments, it is divided into multiple data blocks to perform on the server document, server is by more numbers
Client is transferred to according to block;Enter edlin eap-message digest compared with to document to perform on the client, client is by eap-message digest
Different transmission of data blocks is to server.
In some embodiments, the eap-message digest of data block in the document do not edited is calculated on the server or client
Upper execution, the eap-message digest for calculating data block in edited document perform on the client.
In some embodiments, eap-message digest is MD5 values.
The another aspect of the embodiment of the present invention, a kind of online document editing device is additionally provided, has used the above method.
The another aspect of the embodiment of the present invention, additionally provide a kind of computer equipment, including memory, at least one processing
Device and the computer program that can be run on the memory and on the processor is stored in, described in the computing device
Above-mentioned method is performed during program.
The another aspect of the embodiment of the present invention, a kind of computer-readable recording medium is additionally provided, it is described computer-readable
Storage medium is stored with computer program, and the computer program performs above-mentioned method when being executed by processor.
The another aspect of the embodiment of the present invention, additionally provide a kind of computer program product, the computer program product
Including the calculation procedure being stored on computer-readable recording medium, the calculation procedure includes instruction, when the instruction is counted
When calculation machine performs, the computer is set to perform the above method.
The present invention has following advantageous effects:Online document edit methods and device provided in an embodiment of the present invention,
By being divided into multiple data blocks to enter edlin document, compare eap-message digest and transmit the eap-message digest in edited document
The technical scheme of different data blocks, it can effectively reduce the occupancy to transmission bandwidth.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of one embodiment of online document edit methods provided by the invention;
Fig. 2 is the schematic flow sheet of second embodiment of online document edit methods provided by the invention;
Fig. 3 is the hard of one embodiment of the computer equipment provided by the invention for performing the online document edit methods
Part structural representation.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with specific embodiment, and reference
Accompanying drawing, the embodiment of the present invention is further described.
It should be noted that all statements for using " first " and " second " are for differentiation two in the embodiment of the present invention
The non-equal entity of individual same names or non-equal parameter, it is seen that " first ", " second " should not only for the convenience of statement
The restriction to the embodiment of the present invention is interpreted as, subsequent embodiment no longer illustrates one by one to this.
Based on above-mentioned purpose, the embodiment of the present invention the on one side, it is proposed that one kind can be directed to different document or not
The document of same type carries out one embodiment of the online document edit methods of online editing.Fig. 1 is illustrated that the present invention carries
The schematic flow sheet of one embodiment of the online document edit methods of confession.
The online document edit methods, comprise the following steps:
Step S101, it is divided into multiple data blocks to enter edlin document;
Step S103, the eap-message digest of more edited document and corresponding data block in the document do not edited;
Step S105, transmit the different data block of eap-message digest in edited document.
Wherein, alternatively, more edited document and the document do not edited refer to the editor and not of same document
Editing mode.Online document edit methods may handle multiple documents simultaneously, but document described in embodiments of the present invention is all
Refer to the different edit versions of same document.Similarly, same document there may be multiple editors, but in the embodiment of the present invention
In only exist an editor, i.e. client.In the case of multiple documents and multiple editors, editing process should be split
For the editor each time of each document, the embodiment of the present invention is then used respectively.
In some embodiments, the cut size of document is determined according to the edit history of document, and according to cut size
Document is divided into multiple data blocks.
Wherein, alternatively, the size of each data block should be intended to as far as possible equal.
In some embodiments, the data volume of the editor's number and each editing and updating according to document within a period of time
The cut size of document is determined, wherein, the data volume of editor number more, each editing and updatings of the document within a period of time is more
Greatly, then cut size is smaller.
Wherein, alternatively, the data volume of editor number more, each editing and updatings of the document within a period of time is bigger,
So that the document is contemplated to for the document that editor's number is few, the data volume of renewal is few may to have at hand
More modifications.In the case that cut size is certain, it is more to change the data block more at most influenceed, it is therefore desirable to reduce segmentation chi
It is very little to improve probability existing for impregnable data block, with reach save bandwidth effect.
In some embodiments, it is divided into multiple data blocks to perform on the server document, server is by more numbers
Client is transferred to according to block;Enter edlin eap-message digest compared with to document to perform on the client, client is by eap-message digest
Different transmission of data blocks is to server.
Wherein, alternatively, the online editing of document needs the side of server and client side two to cooperate with progress.Editor is in client
Carry out;And the edit history acquired in partition data block is stored in server, therefore contribute in server partition data block
Further save bandwidth.
In some embodiments, the eap-message digest of data block in the document do not edited is calculated on the server or client
Upper execution, the eap-message digest for calculating data block in edited document perform on the client.
Wherein, alternatively, the partition data block of document can be transferred to client by server, therefore calculate the text do not edited
The eap-message digest of data block is completed all to be technically feasible on server and client side in shelves, calculates disappear on the client
Breath summary, which avoids transmission eap-message digest, can further save bandwidth, and calculates eap-message digest on the server and then provide clothes
The data block verification the verifying results of business device, and then improve Information Security.
In some embodiments, eap-message digest is MD5 values.
From above-described embodiment as can be seen that online document edit methods provided in an embodiment of the present invention, by by document point
It is cut into multiple data blocks and enters edlin, compares eap-message digest and transmit the different data block of the eap-message digest in edited document
Technical scheme, can effectively reduce the occupancy to transmission bandwidth, and shorten renewal server documentation needed for time.
The embodiment of the present invention, which also proposed one kind, can be directed to different document or the progress online editing of different types of document
Online document edit methods second embodiment.Fig. 2 is illustrated that the of online document edit methods provided by the invention
The schematic flow sheet of two embodiments.
As shown in Fig. 2 a document of server end, is divided into by the online document editor of the embodiment of the present invention if taking
Dry size identical data block.The size of each data block can define, and the standard that data block size defines is then according to this text
The data volume decision of number, each editing and updating that shelves are edited within a period of time.If the document often edited and every
If the data volume of secondary renewal is bigger, the division of each data block will be smaller, it is on the contrary then can be bigger.The mesh so done
Be exactly to reduce the upload of duplicate data as far as possible.Then the content of data block is calculated into its MD5 numerical value.When portion exists
When on-line documentation is locally downloading, local client obtains N number of data block, each data block in the position of whole document, every number
The information such as the MD5 according to block, the data of this N number of data block can form copy of a server end document in client.When this
When ground documents editing prepares to upload to and updates server end document well, then first need according to identical data block size cutting text
Shelves, and the MD5 numerical value of each data block is calculated, contrast the MD5 numerical value of the old and new's document data block one by one afterwards:If identical,
Do not upload to service end then and update corresponding data block;If it is different, then uploading to service end updates corresponding data block.
In the process, server end is used to deposit file, supports client to upload/download the request of document, supports to press
Server end document is updated according to data block;Client is preserved to the more news of the document in file service, as updated every time
Time, the byte number updated every time;Then according to these results determine by profile download to client when each data block it is big
It is small.Server end includes 2 functional units:Transmission assembly and decision-making component, it is respectively used to obtain the effect above.Transmission assembly can
By by document in a manner of data block from server transport to client, and transmit the position of each data block in a document, often
The MD5 values of individual data block, the data block sent from client can also be received, and it is local according to the position of data block in a document
Update server documentation;Decision-making component records renewal time when each client updates server documentation, and it is big to update the data block
It is small, block number is updated the data, is then calculated when client request download server document according to these renewal records
The renewal frequency of this document, it is determined that this time downloading the block size of document.
Client is used for download server end document, after completing editor, contrasts the MD5 values of the old and new's document data block, only passes
Defeated server end document needs the data block updated.Client asks download server end document first, and obtains data block
Number and each data block size;Download N number of data block from server end again, and according to the position of data block in a document by this
N number of data chunk synthesizes a document storing in local, and the position of each data block and its MD5 value are stored in into a set A
In;After user changes local document and preserves, the document after editor is cut into M again according to the data block size of acquisition
Data block, and the position of each data block hereof is recorded, the MD5 values of each data block, it is stored in set B;It is finally right
Than the set of A, B two, data block different from set A in set B is uploaded to server, and attached data block institute in a document
In position.
From above-described embodiment as can be seen that online document edit methods provided in an embodiment of the present invention, by by document point
It is cut into multiple data blocks and enters edlin, compares eap-message digest and transmit the different data block of the eap-message digest in edited document
Technical scheme, can effectively reduce the occupancy to transmission bandwidth, and shorten renewal server documentation needed for time.
It is important to note that each step in each embodiment of above-mentioned online document edit methods can phase
Mutually intersect, replace, increase, delete, therefore, these rational permutation and combination become alternatively should also be as belonging in online document edit methods
In protection scope of the present invention, and protection scope of the present invention should not be confined on the embodiment.
Based on above-mentioned purpose, second aspect of the embodiment of the present invention, it is proposed that one kind can be directed to different document or not
The document of same type carries out one embodiment of the online document editing device of online editing.The online document editing device
Above-mentioned online document edit methods are used.
From above-described embodiment as can be seen that online document editing device provided in an embodiment of the present invention, by by document point
It is cut into multiple data blocks and enters edlin, compares eap-message digest and transmit the different data block of the eap-message digest in edited document
Technical scheme, can effectively reduce the occupancy to transmission bandwidth, and shorten renewal server documentation needed for time.
It is important to note that the embodiment of above-mentioned online document editing device employs the online document editing side
The embodiment of method illustrates the course of work of each module, and those skilled in the art can be it is readily conceivable that by these modules
It is applied in the other embodiment of the online document edit methods.Certainly, due to the online document edit methods embodiment
In each step can intersect, replace, increase, delete, therefore, these rational permutation and combination become alternatively in described
Online document editing device be should also be as belonging to protection scope of the present invention, and protection scope of the present invention should not be confined to institute
State on embodiment.
Based on above-mentioned purpose, the 3rd aspect of the embodiment of the present invention, it is proposed that one kind performs the online document editor
One embodiment of the computer equipment of method.
The computer equipment for performing the online document edit methods include memory, at least one processor and
Storage perform on a memory and the computer program that can run on a processor, during computing device program it is above-mentioned any one
Method.
An as shown in figure 3, reality for the computer equipment provided by the invention for performing the online document edit methods
Apply the hardware architecture diagram of example.
By taking computer equipment as shown in Figure 3 as an example, include a processor 301 and one in the computer equipment
Memory 302, and can also include:Input unit 303 and output device 304.
Processor 301, memory 302, input unit 303 and output device 304 can pass through bus or other modes
Connect, in Fig. 3 exemplified by being connected by bus.
Memory 302 is used as a kind of non-volatile computer readable storage medium storing program for executing, available for storage non-volatile software journey
Sequence, non-volatile computer executable program and module, such as the online document edit methods pair in the embodiment of the present application
Programmed instruction/the module answered.Processor 301 by run storage non-volatile software program in the memory 302, instruction with
And module, various function application and data processing so as to execute server, that is, realize the online text of above method embodiment
Shelves edit methods.
Memory 302 can include storing program area and storage data field, wherein, storing program area can store operation system
Application program required for system, at least one function;Storage data field can store uses institute according to online document editing device
Data of establishment etc..In addition, memory 302 can include high-speed random access memory, non-volatile memories can also be included
Device, for example, at least a disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments
In, memory 302 is optional including that can pass through net relative to the remotely located memory of processor 301, these remote memories
Network is connected to local module.The example of above-mentioned network includes but is not limited to internet, intranet, LAN, mobile communication
Net and combinations thereof.
Input unit 303 can receive the numeral or character information of input, and produce the use with online document editing device
The key signals input that family is set and function control is relevant.Output device 304 may include the display devices such as display screen.
Programmed instruction/module corresponding to one or more of online document edit methods is stored in the memory
In 302, when being performed by the processor 301, the online document edit methods in above-mentioned any means embodiment are performed.
Any one embodiment of the computer equipment for performing the online document edit methods, can reach therewith
The identical or similar effect of corresponding foregoing any means embodiment.
Based on above-mentioned purpose, the 4th aspect of the embodiment of the present invention, it is proposed that a kind of computer-readable recording medium, institute
Stating computer-readable recording medium storage has computer executable instructions, and the computer executable instructions can perform above-mentioned any side
Online document edit methods in method embodiment are with realizing the online document editing device in above-mentioned any device embodiment.It is described
The embodiment of computer-readable recording medium, can reach corresponding foregoing any means it is identical with device embodiment or
Similar effect.
Based on above-mentioned purpose, the 5th aspect of the embodiment of the present invention, it is proposed that a kind of computer program product, the calculating
Machine program product includes the calculation procedure being stored on computer-readable recording medium, and the calculation procedure includes instruction, when this refers to
When order is computer-executed, the computer is set to perform the online document edit methods in above-mentioned any means embodiment and realize
State the online document editing device in any device embodiment.The embodiment of the computer program product, it can reach therewith
The corresponding foregoing any means effect identical or similar with device embodiment.
Finally it should be noted that one of ordinary skill in the art will appreciate that realizing the whole in above-described embodiment method
Or part flow, related hardware can be instructed to complete by computer program, described program can be stored in a computer
In read/write memory medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, it is described
Storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory
(Random Access Memory, RAM) etc..The embodiment of the computer program, corresponding foregoing can be reached
The identical or similar effect of embodiment of the method for anticipating.
In addition, typically, it can be various electric terminal equipments that the embodiment of the present invention, which discloses described device, equipment etc., example
Such as mobile phone, personal digital assistant (PDA), tablet personal computer (PAD), intelligent television or large-scale terminal device, such as service
Device etc., therefore protection domain disclosed in the embodiment of the present invention should not limit as certain certain types of device, equipment.It is of the invention real
It can be applied to above-mentioned any with the combining form of electronic hardware, computer software or both to apply example and disclose described client
In a kind of electric terminal equipment.
In addition, disclosed method is also implemented as the computer program performed by CPU according to embodiments of the present invention, should
Computer program can store in a computer-readable storage medium.When the computer program is performed by CPU, the present invention is performed
The above-mentioned function of being limited in method disclosed in embodiment.
In addition, above method step and system unit can also utilize controller and make it that controller is real for storing
The computer-readable recording medium of the computer program of existing above-mentioned steps or Elementary Function is realized.
In addition, it should be appreciated that computer-readable recording medium (for example, memory) as described herein can be volatile
Property memory or nonvolatile memory, or both volatile memory and nonvolatile memory can be included.As example
Sub and nonrestrictive, nonvolatile memory can include read-only storage (ROM), programming ROM (PROM), electrically programmable
ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory.Volatile memory can include arbitrary access
Memory (RAM), the RAM can serve as external cache.Nonrestrictive as an example, RAM can be with more
Kind form obtains, such as synchronous random access memory (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM
(DDR SDRAM), enhancing SDRAM (ESDRAM), synchronization link DRAM (SLDRAM) and directly Rambus RAM (DRRAM).
The storage device of disclosed aspect is intended to the memory of including but not limited to these and other suitable type.
Those skilled in the art will also understand is that, the various illustrative logical blocks with reference to described by disclosure herein, mould
Block, circuit and algorithm steps may be implemented as the combination of electronic hardware, computer software or both.It is hard in order to clearly demonstrate
This interchangeability of part and software, enters with regard to the function of various exemplary components, square, module, circuit and step to it
General description is gone.This function is implemented as software and is also implemented as hardware depending on concrete application and application
Design constraint to whole system.Those skilled in the art can realize described in a variety of ways for every kind of concrete application
Function, but this realize that decision should not be interpreted as causing a departure from scope of disclosure of the embodiment of the present invention.
Various illustrative logical blocks, module and circuit with reference to described by disclosure herein, which can utilize, to be designed to
The following part of function described here is performed to realize or perform:General processor, digital signal processor (DSP), special collection
Into circuit (ASIC), field programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, divide
Any combinations of vertical nextport hardware component NextPort or these parts.General processor can be microprocessor, but alternatively, processing
Device can be any conventional processors, controller, microcontroller or state machine.Processor can also be implemented as computing device
Combination, for example, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessors combination DSP and/or any
Other this configurations.
The step of method or algorithm with reference to described by disclosure herein, can be directly contained in hardware, be held by processor
In capable software module or in combination of the two.Software module may reside within RAM memory, flash memory, ROM storages
Device, eprom memory, eeprom memory, register, hard disk, removable disk, CD-ROM or known in the art it is any its
In the storage medium of its form.Exemplary storage medium is coupled to processor so that processor can be from the storage medium
Middle reading information writes information to the storage medium.In an alternative, the storage medium can be with processor collection
Into together.Processor and storage medium may reside within ASIC.ASIC may reside within user terminal.In a replacement
In scheme, processor and storage medium can be used as discrete assembly resident in the user terminal.
In one or more exemplary designs, the function can be real in hardware, software, firmware or its any combination
It is existing.If realized in software, can be stored in using the function as one or more instruction or code computer-readable
Transmitted on medium or by computer-readable medium.Computer-readable medium includes computer-readable storage medium and communication media,
The communication media includes helping for computer program to be sent to any medium of another position from a position.Storage medium
It can be any usable medium that can be accessed by a general purpose or special purpose computer.It is nonrestrictive as an example, the computer
Computer-readable recording medium can include RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage equipment or other magnetic
Property storage device, or can be used for carry or storage form for instruction or data structure required program code and can
Any other medium accessed by universal or special computer or universal or special processor.In addition, any connection can
It is properly termed as computer-readable medium.If for example, use coaxial cable, optical fiber cable, twisted-pair feeder, digital subscriber line
(DSL) or such as wireless technology of infrared ray, radio and microwave to send software from website, server or other remote sources,
Then above-mentioned coaxial cable, optical fiber cable, twisted-pair feeder, DSL or such as wireless technology of infrared ray, radio and microwave are included in
The definition of medium.As used herein, disk and CD include compact disk (CD), laser disk, CD, digital versatile disc
(DVD), floppy disk, Blu-ray disc, wherein disk generally magnetically reproduce data, and CD reproduce data using laser optics.On
The combination for stating content should also be as being included in the range of computer-readable medium.
Above is exemplary embodiment disclosed by the invention, it should be noted that in the sheet limited without departing substantially from claim
On the premise of inventive embodiments scope of disclosure, it may be many modifications and change.According to open embodiment described herein
The function of claim to a method, step and/or action be not required to perform with any particular order.In addition, although the present invention is implemented
Element disclosed in example can be described or required in the form of individual, but be odd number unless explicitly limited, it is understood that be multiple.
It should be appreciated that it is used in the present context, unless context clearly supports exception, singulative " one
It is individual " (" a ", " an ", " the ") be intended to also include plural form.It is to be further understood that "and/or" used herein is
Referring to includes any of one or more than one project listed in association and is possible to combine.
The embodiments of the present invention disclose that embodiment sequence number is for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
Those of ordinary skills in the art should understand that:The discussion of any of the above embodiment is exemplary only, not
It is intended to imply that scope of disclosure of the embodiment of the present invention (including claim) is limited to these examples;In the think of of the embodiment of the present invention
It under road, can also be combined, and exist as described above between the technical characteristic in above example or different embodiments
Many other changes of the different aspect of the embodiment of the present invention, for simplicity, they are not provided in details.Therefore, it is all at this
Spiritual and any omission within principle, made, modification, equivalent substitution, improvement of inventive embodiments etc., should be included in this hair
Within the protection domain of bright embodiment.
Claims (10)
1. a kind of online document edit methods, it is characterised in that comprise the following steps:
It is divided into multiple data blocks to enter edlin document;
The eap-message digest of the more edited document and corresponding data block described in the document do not edited;
Transmit the different data block of the eap-message digest in the edited document.
2. according to the method for claim 1, it is characterised in that the document is determined according to the edit history of the document
Cut size, and the document is divided into by multiple data blocks according to the cut size.
3. according to the method for claim 2, it is characterised in that according to editor number of the document within a period of time with
The data volume of each editing and updating determines the cut size of the document, wherein, editor of the document within a period of time time
The data volume of more, each editing and updating of number is bigger, then the cut size is smaller.
4. according to the method for claim 1, it is characterised in that be divided into multiple data blocks servicing the document
Performed on device, the server is by the multiple transmission of data blocks to client;Enter edlin to the document described in compared with
Eap-message digest performs in the client, and the client is by the different transmission of data blocks of the eap-message digest described in
Server.
5. according to the method for claim 1, it is characterised in that calculate the institute of data block described in the document do not edited
State eap-message digest to perform on the server or in client, calculate the message of data block described in the edited document
Summary performs in the client.
6. according to the method any one of claim 1-5, it is characterised in that the eap-message digest is MD5 values.
7. a kind of online document editing device, it is characterised in that use method as claimed in any one of claims 1 to 6.
8. a kind of computer equipment, including memory, at least one processor and it is stored on the memory and can be in institute
State the computer program run on processor, it is characterised in that such as claim is performed during the computing device described program
Method described in 1-6 any one.
9. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists
In perform claim requires the method described in 1-6 any one when the computer program is executed by processor.
10. a kind of computer program product, it is characterised in that the computer program product includes being stored in computer-readable deposit
Calculation procedure on storage media, the calculation procedure include instruction, when the instruction is computer-executed, make the computer
Perform claim requires the method described in 1-6 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710696020.0A CN107391478A (en) | 2017-08-15 | 2017-08-15 | A kind of online document edit methods and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710696020.0A CN107391478A (en) | 2017-08-15 | 2017-08-15 | A kind of online document edit methods and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107391478A true CN107391478A (en) | 2017-11-24 |
Family
ID=60354546
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710696020.0A Pending CN107391478A (en) | 2017-08-15 | 2017-08-15 | A kind of online document edit methods and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107391478A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108881472A (en) * | 2018-07-09 | 2018-11-23 | 掌阅科技股份有限公司 | The processing method of electronic book documentary, electronic equipment, storage medium |
CN109597980A (en) * | 2018-12-07 | 2019-04-09 | 万兴科技股份有限公司 | PDF document dividing method, device and electronic equipment |
CN109783451A (en) * | 2018-12-13 | 2019-05-21 | 平安科技(深圳)有限公司 | File updating method, device, equipment and medium based on Message Digest 5 |
CN109815243A (en) * | 2019-02-18 | 2019-05-28 | 北京仁和汇智信息技术有限公司 | A kind of structured storage method and apparatus when document interfaceization is modified |
CN112347741A (en) * | 2020-10-26 | 2021-02-09 | 长沙市到家悠享网络科技有限公司 | Information editing method, device, equipment and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101807207A (en) * | 2010-03-22 | 2010-08-18 | 北京大用科技有限责任公司 | Method for sharing document based on content difference comparison |
-
2017
- 2017-08-15 CN CN201710696020.0A patent/CN107391478A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101807207A (en) * | 2010-03-22 | 2010-08-18 | 北京大用科技有限责任公司 | Method for sharing document based on content difference comparison |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108881472A (en) * | 2018-07-09 | 2018-11-23 | 掌阅科技股份有限公司 | The processing method of electronic book documentary, electronic equipment, storage medium |
CN108881472B (en) * | 2018-07-09 | 2019-03-29 | 掌阅科技股份有限公司 | The processing method of electronic book documentary, electronic equipment, storage medium |
CN109597980A (en) * | 2018-12-07 | 2019-04-09 | 万兴科技股份有限公司 | PDF document dividing method, device and electronic equipment |
CN109783451A (en) * | 2018-12-13 | 2019-05-21 | 平安科技(深圳)有限公司 | File updating method, device, equipment and medium based on Message Digest 5 |
CN109815243A (en) * | 2019-02-18 | 2019-05-28 | 北京仁和汇智信息技术有限公司 | A kind of structured storage method and apparatus when document interfaceization is modified |
CN112347741A (en) * | 2020-10-26 | 2021-02-09 | 长沙市到家悠享网络科技有限公司 | Information editing method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107391478A (en) | A kind of online document edit methods and device | |
CN108270874B (en) | Application program updating method and device | |
CN108717360A (en) | A kind of software version updating method and device | |
US10803239B2 (en) | Systems and methods for automatic report generation and retaining of annotations in reporting documents after regeneration | |
CN107423387A (en) | The method and apparatus of table is divided in a kind of point storehouse based on middleware | |
CN107330028A (en) | Expansion application methods and system of a kind of Apache NiFi in terms of source data input database | |
US8219575B2 (en) | Method and system for specifying, preparing and using parameterized database queries | |
CN107463427A (en) | The acquisition methods and device of a kind of VME operating system type and version | |
DE112010002938T5 (en) | An integrated approach to deduplicate data in a distributed environment that includes a source and a destination | |
CN107391770A (en) | A kind of method, apparatus of processing data, equipment and storage medium | |
CN111291023A (en) | Data migration method, system, device and medium | |
CN110096306B (en) | Application version switching method and device, electronic equipment and storage medium | |
CN110020266B (en) | Method and device for accessing pictures, computer-readable storage medium and terminal equipment | |
CN112948340A (en) | Data synchronization method and device, electronic equipment and readable storage medium | |
US20170142186A1 (en) | Method, apparatus, and electronic device for downloading files | |
US9009435B2 (en) | Methods and systems for data cleanup using physical image of files on storage devices | |
CN108108324A (en) | A kind of PCIE extended methods and device | |
CN106210032A (en) | The method and device reported based on terminal data batch | |
CN110933608A (en) | Equipment registration terminal and method and electronic equipment | |
CN109214785A (en) | Implementation method, server and the system of workflow | |
CN110780855A (en) | Method, device and system for uniformly managing and controlling interface | |
CN109063050A (en) | A kind of database journal analysis and early warning method and apparatus | |
CN107301351A (en) | A kind of method and apparatus scanned with removing network access record | |
CN107341203A (en) | The access control and optimiged index method and apparatus of a kind of distributed search engine | |
CN108399076A (en) | A kind of firmware update and device based on UEFI |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171124 |