CN109543163A - Documentation revisions record acquisition methods, device, storage medium and electronic equipment - Google Patents

Documentation revisions record acquisition methods, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN109543163A
CN109543163A CN201811274560.0A CN201811274560A CN109543163A CN 109543163 A CN109543163 A CN 109543163A CN 201811274560 A CN201811274560 A CN 201811274560A CN 109543163 A CN109543163 A CN 109543163A
Authority
CN
China
Prior art keywords
edit action
document information
merging
client
edit
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
CN201811274560.0A
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Tianjin ByteDance Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin ByteDance Technology Co Ltd filed Critical Tianjin ByteDance Technology Co Ltd
Priority to CN201811274560.0A priority Critical patent/CN109543163A/en
Publication of CN109543163A publication Critical patent/CN109543163A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This disclosure relates to documentation revisions record acquisition methods, device, storage medium and electronic equipment.The documentation revisions of the disclosure record acquisition methods, comprising: obtain corresponding first document information of initial version of server-side document;It receives the edit action that client is sent and edit action is merged according to the first pre-defined rule to obtain merging edit action;The inverse operation for merging edit action is calculated, and calculates and merges edit action to the differential operation of inverse operation;Corresponding attribute label is added to differential operation, and the second document information is obtained according to attribute label and the first document information;The instruction for receiving client sends the second document information to client.The displaying of history modification record can be carried out according to user demand by implementing the disclosure, enhance user experience and reliability.

Description

Documentation revisions record acquisition methods, device, storage medium and electronic equipment
Technical field
This disclosure relates to document development technique field, more specifically to a kind of documentation revisions record acquisition methods, dress It sets, storage medium and electronic equipment.
Background technique
Online document collaborative editing is to allow while having more people to carry out edit operation, and the content that each user edits will not It clashes.User does not need actively to save document content, and the content that user edits understands automatic synchronization to backstage, and well Solve editor's conflict between each user.
Document with collaborative editing function, historical record belong to one of the important information of document collaborative processes.When one Document may have multiple people edit or edit simultaneously, and many usage scenarios require to obtain assorted about document When, by who carried out what operation etc. information.It is reasonable that requirement so as desired carries out the Document History of history Displaying, just become critically important.Existing documentation revisions record acquisition modes tend not to embody each of needs well Kind important information.
Summary of the invention
Disclosure technical problems to be solved are, for the above-mentioned prior art defect of the prior art, provide a kind of text Shelves Document History acquisition methods, device, storage medium and electronic equipment.
The disclosure solves technical solution used by its technical problem: a kind of documentation revisions record acquisition methods are constructed, The following steps are included:
Obtain corresponding first document information of initial version of server-side document;
It receives the edit action that client is sent and the edit action is merged to obtain according to the first pre-defined rule Take merging edit action;
The inverse operation for merging edit action is calculated, and calculates the merging edit action to the difference of the inverse operation Operation;
Corresponding attribute label is added to the differential operation, and according to attribute label and first document information Obtain the second document information;
It receives the instruction of client and sends second document information to the client.
Optionally, it is gone back in the instruction for receiving client and before sending second document information to the client It executes::
Second document information is split according to the second pre-defined rule.
Optionally, described be split according to the second pre-defined rule to second document information includes:
It is split according to the row with the server-side document to second document information is coped with;With or
Second document information is split according to the client terminal attribute for initiating the edit action;With or
Second document information is split according to the edit action initiation time.
Optionally, described that the edit action is merged to obtain and merge edit action packet according to the first pre-defined rule It includes: every N number of edit action is merged to obtain merging edit action, wherein N is the integer greater than 1;Or
Edit action in each predetermined time is merged to obtain merging edit action.
Optionally, the calculating merging edit action includes: to the differential operation of the inverse operation
The differential operation of increase editor and its inverse operation in the merging edit action are to increase to delete operation;
Delete editor and the differential operation of its inverse operation in the merging edit action are to delete to operate increase;
It is described to include: to the corresponding attribute label of differential operation addition
The first attribute label is added to delete operation to the increase in the differential operation;
The deletion in the differential operation is marked to operation the second attribute of addition is increased.
The disclosure also constructs a kind of documentation revisions record acquisition device, comprising:
Acquiring unit, corresponding first document information of initial version for obtaining server-side document;
First execution unit, for receiving the edit action of client transmission and according to the first pre-defined rule to the volume The behavior of collecting is merged to obtain merging edit action;
Computing unit for calculating the inverse operation for merging edit action, and calculates the merging edit action to institute State the differential operation of inverse operation;
Second execution unit is marked for adding corresponding attribute to the differential operation, and is marked according to the attribute The second document information is obtained with first document information;
Transmit-Receive Unit, for receiving the instruction of client and sending second document information to the client.
Optionally, a kind of documentation revisions of the disclosure record acquisition device further include:,
Cutting unit, for being split according to the second pre-defined rule to second document information.
Optionally, a kind of documentation revisions of the disclosure record acquisition device, and first execution unit further includes that grouping is single Member:
The grouped element, for merging every N number of edit action to obtain merging edit action, wherein N is big In 1 integer;Or
The grouped element, for being merged to the edit action in each predetermined time to obtain merging edit line For.
The disclosure also constructs a kind of computer readable storage medium, and the computer-readable recording medium storage computer refers to It enables, the computer instruction is for making the computer execute method described in any of the above embodiments.
The disclosure also constructs a kind of electronic equipment, comprising: at least one processor;And with it is described at least one processing The memory of device communication connection;Wherein, the memory is stored with the instruction that can be executed by least one described processor, described Instruction is arranged to be used for executing method described in any of the above embodiments.
Implement shelves Document History acquisition methods, device, storage medium and the electronic equipment of the disclosure, has below beneficial to effect Fruit: the displaying of history modification record is carried out according to user demand, enhances user experience and reliability.
Detailed description of the invention
The disclosure is described further below in conjunction with accompanying drawings and embodiments, in attached drawing:
Fig. 1 is the program flow diagram for the documentation revisions record acquisition methods that one embodiment of the disclosure provides;
Fig. 2 is the program flow diagram for the documentation revisions record acquisition methods that another embodiment of the disclosure provides;
Fig. 3 is that the documentation revisions record that another embodiment of the disclosure provides obtains effect diagram;
Fig. 4 is the structural schematic diagram for the documentation revisions record acquisition device that one embodiment of the disclosure provides;
Fig. 5 is the structural schematic diagram for the documentation revisions record acquisition device that another embodiment of the disclosure provides;
Fig. 6 is the structural schematic diagram for the documentation revisions record acquisition device that another embodiment of the disclosure provides;
Fig. 7 is the structural schematic diagram for the electronics that the embodiment of the present disclosure provides.
Specific embodiment
In order to which the technical features, objects and effects to the disclosure are more clearly understood, now compare attached drawing and be described in detail The specific embodiment of the disclosure.
As shown in Figure 1, in the documentation revisions record acquisition methods first embodiment of the disclosure, the documentation revisions of the disclosure Acquisition methods are recorded, server-side is applied to, comprising the following steps:
S1, corresponding first document information of initial version for obtaining server-side document;Specifically, by the first of server-side document Beginning version definition is the starting version of the historic revision to be obtained record, and it is literary that initial version here can be understood as server-side First version of shelves when establish, then Document History can be obtained since initial version, certainly sometimes, Initial version version can also be defined as intermediate process version, then can be understood as needing to obtain since some intermediate releases Take the Document History of this server-side document.Here it can be stored using the initial version as snapshot, that is, it is first to save as this First document information of beginning version.
S2, the edit action for receiving client transmission simultaneously merge to obtain edit action according to the first pre-defined rule Take merging edit action;Specifically, server-side receives the edit action of client, client here during documents editing End can for one with can be it is multiple, when each client sends edit action, server-side will record simultaneously edit action and The corresponding relationship of client terminal attribute, server-side can be predetermined according to certain rule i.e. first when receiving all edit actions Rule merges all edit actions, can be obtained by corresponding merging edit action in this way.It is first pre- by this Set pattern can then make multiple scattered edit actions merge into the merging edit action for meeting certain rule.
S3, the inverse operation for merging edit action is calculated, and calculates and merges edit action to the differential operation of inverse operation;Specifically , its inverse operation is calculated by merging edit action, is then calculated to merge and be deposited between the corresponding inverse operation of edit action Differential operation, the object here is to confirm wherein hiding part.Here differential operation can be understood as normally compiling It is any operation when collecting, corresponding inverse operation is what kind of, such as increases when normal editor and operate, then Its inverse operation is exactly delete operation, then we, which can calculate, merges existing difference between the corresponding inverse operation of edit action ETTHER-OR operation is to increase to delete operation, is that normal edit action is placed on to front here, and inverse operation corresponding relationship is put behind, In other embodiments, inverse operation can also be placed on to front, the operation for merging edit action is placed on front, that is, uses inverse operation It is compared with edit action is merged, once it is to be noted here that comparative sequence, all using same in entire treatment process Comparative sequence.
S4, corresponding attribute is added to differential operation mark, and according to obtaining the on attribute label and the first document information Two document information;Specifically, will carry out adding attribute mark to differential operation according to differential operation after obtaining differential operation Note obtains in this manner it is possible to which corresponding operation and operational attribute are shown on the first document information simultaneously and has Document History Second document information of information.Here the part being mainly hidden in edit action, is obtained, and increase by its inverse operation Corresponding attribute shows that it as requested.
S5, the instruction for receiving client simultaneously send the second document information to client.Specifically, final Document History is believed Breath can be according to the demand of client in client, for example, taking when client sends historic revision record and checks request The second document information with Document History is sent to client by business end, and client is shown as requested.
Further, in step s3, calculating merging edit action includes: merging edit line to the differential operation of inverse operation The differential operation of increase editor and its inverse operation in are to increase to delete operation;Merge edit action in deletion editor with The differential operation of its inverse operation is to delete to operate increase;In step s 4, corresponding attribute label packet is added to differential operation It includes: the first attribute label is added to delete operation to the increase in differential operation;Deletion in differential operation operates increase Add the second attribute label.Specifically, according to differential operation is described above, specific citing here, for example, assuming that original document In to content be " degh " part modify, calculate its historic revision record i.e. historical compilation behavior, obtain merging volume The behavior of collecting is that " abc " is increased in original document the contents of the section, deletes the edit action of " de ", then its inverse behaviour As deleting " abc ", increasing " de ", calculates and merge the differential operation that edit action obtains the differential operation of inverse operation It is: increases to deletion " abc ", delete to increase " de ", adding increase attribute to deletion " abc " to the increase in differential operation is First attribute label, is applied in the first document, then the second document got can be by " abc " in this way by increasing attribute It is come out according to attribute display is increased.Deletion in differential operation increases increase " de " and deletes attribute i.e. the second attribute label, The second document so got can come out " de " according to attribute display is deleted.The display effect of final documentation revisions record Fruit is referred to Fig. 3.
Further, as shown in Fig. 2, in some embodiments, S4-1 also being executed before step S5, is made a reservation for according to second Rule is split the second document information.Specifically, will include to make entire historic revision seem more humanized The second document information for having historic revision to record is sent to before client, can be first by second document information according to certain Rule is that the second pre-defined rule is split processing, and client can be made to show that historic revision is remembered according to certain rules in this way Record.
Further, in step S4-1, the second document information is split according to the second pre-defined rule, in some realities It applies in example, comprising: the second document information of reply is split according to the row with server-side document;Specifically, can pass through by Historic revision record information in second document information is split according to relationship corresponding with server-side document row, for example, will Its side position corresponding with the row is recorded in the historic revision of every a line to be shown.It, can be in further embodiments The second document information is split according to the client terminal attribute for initiating edit action;Specifically, the second document can be believed Document History information is split display according to the attribute of client in breath, such as according to the client of revision hair, its is right The Document History answered is shown in its corresponding position, such as the blank by document is shown.Here client terminal attribute may include The operator of client or the account information of documents editing person, so each to the corresponding historic revision of the operator of document Operation open-and-shut can be shown.In further embodiments, the second document can be believed according to the edit action initiation time Breath is split.It is shown specifically, arrangement can be carried out sequentially in time by edit action.Certain segmentation described above Display mode can in any combination, so that entire display interface is more humane.
Further, in one embodiment, in step s 2, according to the first pre-defined rule to edit action merge with Obtaining merging edit action includes: to merge every N number of edit action to obtain merging edit action, and wherein N is greater than 1 Integer.Specifically, the number to edit action merges, such as after 100 edit actions of every generation, to the edit action into Row merges, and obtains corresponding merging edit action.Here quantity arbitrarily can be rationally arranged.Such benefit is not need pair Each edit action is individually operated, reduces entire treatment process to the occupancy of resource.
In another embodiment, edit action is merged to obtain and merge edit action packet according to the first pre-defined rule It includes and the edit action in each predetermined time is merged to obtain merging edit action.Specifically, can also to edit action To merge an edit action according to time slice, such as every 4 hours, a merging edit action is obtained.It in this way can be by Multiple merging edit actions corresponding with the time are obtained according to time sequencing.Setting by the time is also that can reduce entire processing Occupancy of the process to resource.
In addition, as shown in figure 4, a kind of documentation revisions of the disclosure record acquisition device, comprising:
Acquiring unit 410, corresponding first document information of initial version for obtaining server-side document;
First execution unit 420, for receiving the edit action of client transmission and according to the first pre-defined rule to described Edit action is merged to obtain merging edit action;
Computing unit 430 for calculating the inverse operation for merging edit action, and calculates the merging edit action pair The differential operation of the inverse operation;
Second execution unit 440 is marked for adding corresponding attribute to the differential operation, and according to the attribute mark Note and first document information obtain the second document information;
Transmit-Receive Unit 450, for receiving the instruction of client and sending second document information to the client.
Optionally, as shown in figure 5, a kind of documentation revisions of the disclosure record acquisition device further include:,
Cutting unit 460, for being split according to the second pre-defined rule to second document information.
Optionally, as shown in fig. 6, the first execution unit 420 described in a kind of documentation revisions record acquisition device of the disclosure Further include grouped element 421:
The grouped element 421, for merging every N number of edit action to obtain merging edit action, wherein N is Integer greater than 1;Or
The grouped element 421, for merging the edit action in each predetermined time to obtain and merge editor Behavior.
Here between documentation revisions record acquisition device each unit specific compounding practice process be specifically referred to it is above-mentioned Documentation revisions record acquisition methods, and which is not described herein again.
In addition, a kind of electronic equipment of the disclosure, comprising: processor, memory, memory are located for storing program instruction The step of reason device, the program instruction for being stored according to memory executes the method for an any of the above description.
Below with reference to Fig. 7, it illustrates the structural representations for the electronic equipment 700 for being suitable for being used to realize the embodiment of the present disclosure Figure.Terminal device in the embodiment of the present disclosure can include but is not limited to such as mobile phone, laptop, digital broadcasting and connect Receive device, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), car-mounted terminal (such as vehicle Carry navigation terminal) etc. mobile terminal and such as number TV, desktop computer etc. fixed terminal.Electricity shown in Fig. 7 Sub- equipment is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in fig. 7, electronic equipment 700 may include processing unit (such as central processing unit, graphics processor etc.) 701, random access can be loaded into according to the program being stored in read-only memory (ROM) 702 or from storage device 708 Program in memory (RAM) 703 and execute various movements appropriate and processing.In RAM 703, it is also stored with electronic equipment Various programs and data needed for 700 operations.Processing unit 701, ROM 702 and RAM 703 pass through the phase each other of bus 704 Even.Input/output (I/O) interface 705 is also connected to bus 704.
In general, following device can connect to I/O interface 705: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 706 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 707 of dynamic device etc.;Storage device 708 including such as tape, hard disk etc.;And communication device 709.Communication device 709, which can permit electronic equipment 700, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 7 shows tool There is the electronic equipment 700 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 709, or from storage device 708 It is mounted, or is mounted from ROM702.When the computer program is executed by processing unit 701, the embodiment of the present disclosure is executed Method in the above-mentioned function that limits.
In addition, a kind of computer storage medium of the disclosure, computer-readable recording medium storage computer instruction, computer Instruction is for making computer execute method described in any of the above item.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity When sub- equipment executes, so that the electronic equipment: obtaining at least two internet protocol addresses;Send to Node evaluation equipment includes institute State the Node evaluation request of at least two internet protocol addresses, wherein the Node evaluation equipment is internet from described at least two In protocol address, chooses internet protocol address and return;Receive the internet protocol address that the Node evaluation equipment returns;Its In, the fringe node in acquired internet protocol address instruction content distributing network.
Alternatively, above-mentioned computer-readable medium carries one or more program, when said one or multiple programs When being executed by the electronic equipment, so that the electronic equipment: receiving the Node evaluation including at least two internet protocol addresses and request; From at least two internet protocol address, internet protocol address is chosen;Return to the internet protocol address selected;Wherein, The fringe node in internet protocol address instruction content distributing network received.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C++, It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete It executes, partly executed on the user computer on the user computer entirely, being executed as an independent software package, part Part executes on the remote computer or executes on a remote computer or server completely on the user computer.It is relating to And in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or extensively Domain net (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as utilize ISP To be connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions, for example, the One acquiring unit is also described as " obtaining the unit of at least two internet protocol addresses ".
It should be understood that above embodiments only express the preferred embodiment of the disclosure, description is more specific and detailed Carefully, but it cannot be understood as the limitations to disclosure the scope of the patents;It should be pointed out that for the common skill of this field For art personnel, under the premise of not departing from disclosure design, above-mentioned technical characterstic can be freely combined, can also be done Several modifications and improvements out, these belong to the protection scope of the disclosure;Therefore, all to be done with disclosure scope of the claims Equivalents and modification, should belong to the covering scope of disclosure claim.

Claims (10)

1. a kind of documentation revisions record acquisition methods, which comprises the following steps:
Obtain corresponding first document information of initial version of server-side document;
It receives the edit action that client is sent and the edit action is merged according to the first pre-defined rule to obtain and close And edit action;
The inverse operation for merging edit action is calculated, and calculates the merging edit action and the difference of the inverse operation is grasped Make;
Corresponding attribute label is added to the differential operation, and is obtained according to attribute label and first document information Second document information;
It receives the instruction of client and sends second document information to the client.
2. documentation revisions according to claim 1 record acquisition methods, which is characterized in that in the finger for receiving client It enables and is also executed before sending second document information to the client: according to the second pre-defined rule to second document Information is split.
3. documentation revisions according to claim 2 record acquisition methods, which is characterized in that described according to the second pre-defined rule Second document information is split and includes:
It is split according to the row with the server-side document to second document information is coped with;With or
Second document information is split according to the client terminal attribute for initiating the edit action;With or
Second document information is split according to the edit action initiation time.
4. documentation revisions according to claim 2 record acquisition methods, which is characterized in that described according to the first pre-defined rule Being merged to the edit action to obtain merging edit action includes: to be merged to every N number of edit action to obtain and close And edit action, wherein N is the integer greater than 1;Or
Edit action in each predetermined time is merged to obtain merging edit action.
5. documentation revisions according to claim 1 record acquisition methods, which is characterized in that described to calculate the merging editor Behavior includes: to the differential operation of the inverse operation
The differential operation of increase editor and its inverse operation in the merging edit action are to increase to delete operation;
Delete editor and the differential operation of its inverse operation in the merging edit action are to delete to operate increase;
It is described to include: to the corresponding attribute label of differential operation addition
The first attribute label is added to delete operation to the increase in the differential operation;
The deletion in the differential operation is marked to operation the second attribute of addition is increased.
6. a kind of documentation revisions record acquisition device characterized by comprising
Acquiring unit, corresponding first document information of initial version for obtaining server-side document;
First execution unit, for receiving the edit action of client transmission and according to the first pre-defined rule to the edit line To merge to obtain merging edit action;
Computing unit for calculating the inverse operation for merging edit action, and calculates the merging edit action to described inverse The differential operation of operation;
Second execution unit is marked for adding corresponding attribute to the differential operation, and according to attribute label and institute It states the first document information and obtains the second document information;
Transmit-Receive Unit, for receiving the instruction of client and sending second document information to the client.
7. documentation revisions according to claim 6 record acquisition device, which is characterized in that further include:
Cutting unit, for being split according to the second pre-defined rule to second document information.
8. documentation revisions according to claim 6 record acquisition device, which is characterized in that first execution unit also wraps Include grouped element:
The grouped element, for merging every N number of edit action to obtain merging edit action, wherein N is greater than 1 Integer;Or
The grouped element, for being merged to the edit action in each predetermined time to obtain merging edit action.
9. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage computer instruction, The computer instruction is for making the computer perform claim require the described in any item methods of 1-5.
10. a kind of electronic equipment characterized by comprising at least one processor;And at least one described processor The memory of communication connection;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, and described instruction is arranged to use In the execution described in any item methods of the claims 1-5.
CN201811274560.0A 2018-10-30 2018-10-30 Documentation revisions record acquisition methods, device, storage medium and electronic equipment Pending CN109543163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811274560.0A CN109543163A (en) 2018-10-30 2018-10-30 Documentation revisions record acquisition methods, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811274560.0A CN109543163A (en) 2018-10-30 2018-10-30 Documentation revisions record acquisition methods, device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN109543163A true CN109543163A (en) 2019-03-29

Family

ID=65846047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811274560.0A Pending CN109543163A (en) 2018-10-30 2018-10-30 Documentation revisions record acquisition methods, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN109543163A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110097342A (en) * 2019-05-07 2019-08-06 北京深度制耀科技有限公司 A kind of method and apparatus of document collaboration processing
CN110162761A (en) * 2019-05-24 2019-08-23 北京字节跳动网络技术有限公司 Synergic editing method, device, equipment and the storage medium of document
CN110287462A (en) * 2019-07-01 2019-09-27 上海一者信息科技有限公司 A kind of tracking revision method and system based on browser
CN110377888A (en) * 2019-07-24 2019-10-25 山东舜网传媒股份有限公司 A kind of real-time trace mask method and device of the contribution audit editing machine based on HTML
CN110389796A (en) * 2019-07-01 2019-10-29 北京字节跳动网络技术有限公司 Edit operation processing method, device and electronic equipment
CN111145722A (en) * 2019-12-30 2020-05-12 出门问问信息科技有限公司 Text processing method and device, computer storage medium and electronic equipment
CN111708597A (en) * 2020-06-17 2020-09-25 北京字节跳动网络技术有限公司 Information processing method and device and electronic equipment
CN111783405A (en) * 2020-07-30 2020-10-16 腾讯科技(深圳)有限公司 Online document processing method and device, computer equipment and storage medium
CN112084754A (en) * 2019-06-12 2020-12-15 珠海金山办公软件有限公司 Review processing method and device, computer storage medium and terminal
CN113361239A (en) * 2021-06-01 2021-09-07 北京百度网讯科技有限公司 Document testing method and device, electronic device and storage medium
CN113595859A (en) * 2020-04-30 2021-11-02 北京字节跳动网络技术有限公司 Information interaction method, device, server, system and storage medium
CN115079872A (en) * 2021-03-01 2022-09-20 北京字跳网络技术有限公司 Document processing method, device, equipment and medium
WO2022213941A1 (en) * 2021-04-08 2022-10-13 华为技术有限公司 Collaborative editing method and terminal device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107851090A (en) * 2015-06-29 2018-03-27 微软技术许可有限责任公司 Visible document file is revised
CN108268884A (en) * 2016-12-31 2018-07-10 方正国际软件(北京)有限公司 A kind of document control methods and device
CN108369606A (en) * 2016-02-05 2018-08-03 微软技术许可有限责任公司 The configurable access of the revision history of document

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107851090A (en) * 2015-06-29 2018-03-27 微软技术许可有限责任公司 Visible document file is revised
CN108369606A (en) * 2016-02-05 2018-08-03 微软技术许可有限责任公司 The configurable access of the revision history of document
CN108268884A (en) * 2016-12-31 2018-07-10 方正国际软件(北京)有限公司 A kind of document control methods and device

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110097342A (en) * 2019-05-07 2019-08-06 北京深度制耀科技有限公司 A kind of method and apparatus of document collaboration processing
CN110097342B (en) * 2019-05-07 2021-07-27 北京深度制耀科技有限公司 Method and device for document cooperative processing
CN110162761A (en) * 2019-05-24 2019-08-23 北京字节跳动网络技术有限公司 Synergic editing method, device, equipment and the storage medium of document
CN110162761B (en) * 2019-05-24 2023-06-30 北京字节跳动网络技术有限公司 Collaborative editing method, device and equipment for document and storage medium
CN112084754B (en) * 2019-06-12 2024-05-10 珠海金山办公软件有限公司 Method and device for reviewing processing, computer storage medium and terminal
CN112084754A (en) * 2019-06-12 2020-12-15 珠海金山办公软件有限公司 Review processing method and device, computer storage medium and terminal
CN110287462B (en) * 2019-07-01 2023-03-28 上海一者信息科技有限公司 Tracking revision method and system based on browser
CN110287462A (en) * 2019-07-01 2019-09-27 上海一者信息科技有限公司 A kind of tracking revision method and system based on browser
CN110389796A (en) * 2019-07-01 2019-10-29 北京字节跳动网络技术有限公司 Edit operation processing method, device and electronic equipment
CN110377888A (en) * 2019-07-24 2019-10-25 山东舜网传媒股份有限公司 A kind of real-time trace mask method and device of the contribution audit editing machine based on HTML
CN111145722A (en) * 2019-12-30 2020-05-12 出门问问信息科技有限公司 Text processing method and device, computer storage medium and electronic equipment
CN111145722B (en) * 2019-12-30 2022-09-02 出门问问信息科技有限公司 Text processing method and device, computer storage medium and electronic equipment
CN113595859A (en) * 2020-04-30 2021-11-02 北京字节跳动网络技术有限公司 Information interaction method, device, server, system and storage medium
US11868707B2 (en) 2020-04-30 2024-01-09 Beijing Bytedance Network Technology Co., Ltd. Information interaction method and apparatus, server, system, and storage medium
CN111708597B (en) * 2020-06-17 2024-03-05 北京字节跳动网络技术有限公司 Information processing method and device and electronic equipment
CN111708597A (en) * 2020-06-17 2020-09-25 北京字节跳动网络技术有限公司 Information processing method and device and electronic equipment
CN111783405A (en) * 2020-07-30 2020-10-16 腾讯科技(深圳)有限公司 Online document processing method and device, computer equipment and storage medium
CN115079872A (en) * 2021-03-01 2022-09-20 北京字跳网络技术有限公司 Document processing method, device, equipment and medium
CN115079872B (en) * 2021-03-01 2023-09-19 北京字跳网络技术有限公司 Document processing method, device, equipment and medium
WO2022213941A1 (en) * 2021-04-08 2022-10-13 华为技术有限公司 Collaborative editing method and terminal device
CN113361239A (en) * 2021-06-01 2021-09-07 北京百度网讯科技有限公司 Document testing method and device, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN109543163A (en) Documentation revisions record acquisition methods, device, storage medium and electronic equipment
CN109074537A (en) The lazy of template generates
CN110109670B (en) Method and device for processing view list data, electronic equipment and storage medium
CN109871388A (en) Data cache method, device, whole electronic equipment and storage medium
CN109542578A (en) A kind of display methods of list interface, device, equipment and storage medium
CN109992732A (en) Information sharing method, device, electronic equipment and storage medium
CN110471733A (en) Information processing method and device
CN109447635A (en) Information storage means and device for block chain
CN109359281A (en) Dynamic list generation method and device
CN110380955A (en) Message treatment method, device and electronic equipment
CN106663015A (en) Resuming session states
CN109669596A (en) Method and apparatus for showing chat message
CN109558323A (en) For debugging system, the method and apparatus of the page
CN109492200A (en) Cooperated documents restoring method, device, storage medium and electronic equipment
CN110046309A (en) Processing method, device, electronic equipment and the storage medium of document input content
CN109389365A (en) Processing method, device and the electronic equipment of multiple person cooperational formula document
CN109491742A (en) Page tabular rendering method and device
CN110622187A (en) Task-related classification, application discovery and uniform bookmarking for application managers
CN109508450A (en) The operating method of table, device, storage medium and electronic equipment in online document
CN110097397A (en) Information-pushing method, device and electronic equipment based on feedback
CN110516984A (en) Method and apparatus for generating Distribution path information
CN108959642A (en) Method and apparatus for information to be written
CN110163001A (en) Information display method and device based on customer relationship
CN110399459A (en) Searching method, device, terminal, server and the storage medium of online document
CN110231967A (en) One kind referring to that people combines display methods, device, terminal device and storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20190522

Address after: Room B-0035, 2nd floor, No. 3 Courtyard, 30 Shixing Street, Shijingshan District, Beijing

Applicant after: BEIJING ZIJIE TIAODONG NETWORK TECHNOLOGY CO., LTD.

Address before: 300000 Tianjin Binhai New Area Binhai High-tech Zone Binhai Science Park, No. 39, No. 6 High-tech Road, 9-3-401

Applicant before: Tianjin bytes pulsation Technology Co., Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20190329

RJ01 Rejection of invention patent application after publication