CN110019279A - Collaboration update method, device, equipment and the storage medium of online document - Google Patents

Collaboration update method, device, equipment and the storage medium of online document Download PDF

Info

Publication number
CN110019279A
CN110019279A CN201910290935.0A CN201910290935A CN110019279A CN 110019279 A CN110019279 A CN 110019279A CN 201910290935 A CN201910290935 A CN 201910290935A CN 110019279 A CN110019279 A CN 110019279A
Authority
CN
China
Prior art keywords
client
display interface
database
location information
cell
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.)
Granted
Application number
CN201910290935.0A
Other languages
Chinese (zh)
Other versions
CN110019279B (en
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
Beijing ByteDance Network 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910290935.0A priority Critical patent/CN110019279B/en
Publication of CN110019279A publication Critical patent/CN110019279A/en
Application granted granted Critical
Publication of CN110019279B publication Critical patent/CN110019279B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2365Ensuring data consistency and integrity

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides collaboration update method, device, equipment and the storage medium of a kind of online document, identifies the first object cell being updated in the first current display interface of the first client by the first client;Obtain first object cell corresponding first location information in the database;And the update prompting message for carrying first location information is sent to database server;Database server is synchronized to other second clients cooperateed with the first client for prompting message is updated;Second client determines third Set cell corresponding with first location information in the second current display interface of the second client according to prompting message is updated;And display processing is carried out to third Set cell;Wherein the second display interface has different display views from the first display interface.In the case where different clients carry out collaborative editing using online document of the different display interfaces to database, it can avoid multiple client and edit same position data simultaneously and generate conflict.

Description

Collaboration update method, device, equipment and the storage medium of online document
Technical field
The present invention relates to the collaboration update method of field of communication technology more particularly to a kind of online document, device, equipment and Storage medium.
Background technique
Online document is a kind of product for supporting cooperation, and user can edit in real time document, such product on webpage Often provide co-located show ability so as to mark teamworker operating position, reduce cooperating process in conflict. For table class product, during collaborative editing, the cell oneself edited can with the line number based on sequence+ Row number is sent to other collaborators as mark, meanwhile, the cell that others is editing on table also can be according to corresponding height It is bright.
In the prior art, for database table, since it possesses the concept of view, database table can be with With different views, same part data are shared between different views, but their data sequences, visual data quantity all may be used It can be different, therefore when use synergic editing method editor database table in the prior art, it will usually lead to data The positioning mistake of library table can not effectively avoid the problem that database table generates conflict during collaborative editing.
Summary of the invention
The present invention provides collaboration update method, device, equipment and the storage medium of a kind of online document, effectively to avoid Database table leads to the problem of conflict during collaborative editing.
The first aspect of the present invention is to provide a kind of collaboration update method of online document, comprising:
First client identifies the first object cell being updated in the first current display interface of the first client; Obtain the first object cell corresponding first location information in the database;And it sends to update to database server and mention Show message, carries the first location information in the update prompting message;
The database server update prompting message is synchronized to cooperateed with first client other the Two clients;
Second client determines in the second current display interface of the second client according to the update prompting message Third Set cell corresponding with the first location information;And display processing is carried out to the third Set cell;Its Described in the second display interface and first display interface there is different display views.
The second aspect of the present invention is to provide a kind of collaboration more new system of online document, the system comprises: the first visitor Family end, database server and the second client;
Wherein, first client includes:
Identification module, the first object unit being updated in the first current display interface of the first client for identification Lattice;
First obtains module, for obtaining the first object cell corresponding first location information in the database;
Sending module updates prompting message for sending to database server, carries institute in the update prompting message First location information is stated, is assisted so that the update prompting message is synchronized to by the database server with first client Other same second clients;
Second client includes:
Receiving module, the update prompting message sent for receiving the database server, the update prompting message First location information in middle carrying database;
Second obtains module, for determining the second current display interface of the second client according to the update prompting message In third Set cell corresponding with the first location information;
Processing module, for carrying out display processing to the third Set cell;
Wherein, second display interface has different display views from first display interface.
The third aspect of the present invention is to provide a kind of electronic equipment, comprising:
Memory and processor;
Wherein, the memory is stored with computer program, and the computer program is configured as being held by the processor Row is to realize such as method of any of claims 1-11.
The fourth aspect of the present invention is to provide a kind of computer readable storage medium, is stored thereon with computer program;
Method as described in relation to the first aspect is realized when the computer program is executed by processor and/or as described in second aspect Method.
Collaboration update method, device, equipment and the storage medium of online document provided by the invention, pass through the first client Identify the first object cell being updated in the first current display interface of the first client;Obtain first object cell Corresponding first location information in the database;And sent to database server and update prompting message, the update prompt disappears The first location information is carried in breath;The update prompting message is synchronized to and cooperates with the first client by database server Other second clients;Second client determines the second current display circle of the second client according to the update prompting message Third Set cell corresponding with the first location information in face;And the third Set cell is carried out at display Reason;Wherein second display interface has different display views from first display interface.The present invention is in different clients In the case that end carries out collaborative editing to the online document of database using different display interfaces, can the first client to The position that on-line documentation prompts other client online documents being updated when updating, to avoid multiple client while edit Same position data and generate conflict.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is the collaboration update method flow chart of online document provided in an embodiment of the present invention;
Fig. 2 be another embodiment of the present invention provides online document collaboration update method flow chart;
Fig. 3 be another embodiment of the present invention provides online document collaboration update method flow chart;
Fig. 4 be another embodiment of the present invention provides online document collaboration update method flow chart;
Fig. 5 is the structure chart of the collaboration more new system of online document provided in an embodiment of the present invention;
Fig. 6 is the structure chart of the first client provided in an embodiment of the present invention;
Fig. 7 be another embodiment of the present invention provides the second client structure chart;
Fig. 8 is the structure chart of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The collaboration update method of online document provided by the invention, can be adapted for following communication system: multiple clients End respectively with database server communicate to connect, wherein client can be not limited to smart phone, tablet computer, laptop, Personal digital assistant (Personal Digital Assistant, PDA), intelligent wearable device etc., multiple client can logarithm Collaborative editing is carried out according to the online document (such as database table) that library server provides, each client all has one to online The display interface of the display interface that document is edited, each client can be identical, can also be different, such as display interface can be The card page (various reality interfaces can have different unit case orders) of two-dimensional table view or billboard view, in the first client When end (can be any client in each client) is updated Set cell in the first display interface, other the Two clients would know that corresponding cell is in update in its respective display interface, to avoid multiple client Generation conflict is edited simultaneously.It is described in detail below with reference to collaboration renewal process of the specific embodiment to online document.
Fig. 1 is the collaboration update method flow chart of online document provided in an embodiment of the present invention.Present embodiments provide one The collaboration update method of kind online document, specific step is as follows for this method:
S101, the first client identify the first object list being updated in the first current display interface of the first client First lattice;Obtain the first object cell corresponding first location information in the database;And it is sent to database server Prompting message is updated, carries the first location information in the update prompting message.
In the present embodiment, user can be in the first object list in the first client first display interface current to its First lattice are updated, it is therefore desirable to first identify the first object cell that user is updating.Due in different display interfaces Can be different from the storage order in database to the display of data in database, but the position of the data is fixed in database Constant, it is therefore desirable to first object cell corresponding first location information in the database is obtained, and then can be to database Server, which is sent, updates prompting message, carries the first location information in updating prompting message.
The update prompting message is synchronized to its cooperateed with first client by S102, the database server His the second client.
In the present embodiment, database server will can be updated in real time and be prompted after receiving the update prompting message Message synchronization gives other second clients of the first client collaboration.
S103, second client determine the second current display circle of the second client according to the update prompting message Third Set cell corresponding with the first location information in face;And the third Set cell is carried out at display Reason;Wherein second display interface has different display views from first display interface.
It in the present embodiment, then can be according to update after any second client receives the update prompting message Prompting message determines third target list corresponding with the first location information in the second current display interface of the second client First lattice, and display processing is carried out to third Set cell, wherein the third Set cell and first in the second display interface First object cell in display interface is corresponding, is used to the number stored at first location information in display database table According to (a certain field data in such as database table in a certain record).More specifically, third Set cell is shown Processing, it may include modify the display state of the third Set cell, the display state is for identifying the third target Cell distinguishes the display of other cells (such as just by other client-side editings, such as to the third Set cell Change color and/or brightness etc.).
It should be noted that in the present embodiment, second display interface can have with first display interface Different display views, such as second display interface have different unit case orders from first display interface.
The collaboration update method of online document provided in this embodiment identifies that the first client is current by the first client The first display interface in the first object cell that is updated;Obtain first object cell in the database corresponding the One location information;And sent to database server and update prompting message, described first is carried in the update prompting message Confidence breath;The update prompting message is synchronized to other second clients cooperateed with the first client by database server; Second client according to the update prompting message determine in the second current display interface of the second client with described first Confidence ceases corresponding third Set cell;And display processing is carried out to the third Set cell;Wherein described second is aobvious Show that interface has different display views from first display interface.The present embodiment uses different displays in different clients In the case that interface carries out collaborative editing to the online document of database, it can be prompted when the first client updates online document The position that other client online documents are being updated, to avoid multiple client while edit same position data and producing Raw conflict.
Below by from the angle of the first client and the second client respectively to the association of the online document in above-described embodiment It is described in detail with update method.
Fig. 2 is the collaboration update method flow chart of online document provided in an embodiment of the present invention.Present embodiments provide one The collaboration update method of kind online document, executing subject are the first client, and specific step is as follows for this method:
The first object cell being updated in the first current display interface of S201, the first client of identification.
In the present embodiment, user can be in the first object list in the first client first display interface current to its First lattice are updated, it is therefore desirable to the first object cell that user is updating first are identified, specifically, identification described in S201 The first object cell being updated in the first current display interface of first client, it may include:
S2011, user is received to the trigger action of first display interface;
S2012, identify the first object cell pointed by the position of the trigger action in first display The line identifier and column mark at interface.
Wherein, trigger action may include but be not limited to choose operation or edit operation to the first object cell.
S202, the first object cell corresponding first location information in the database is obtained.
In the present embodiment, due in different display interfaces in database data display can in database Storage order is different, but the position of the data is fixed and invariable in database, it is therefore desirable to obtain first object cell and exist Corresponding first location information in database.
More specifically, the data in database are stored in the form recorded, wherein a record can correspond to each display Certain data line in interface, and a certain field in the record corresponds to a certain list in certain data line in each display interface First lattice, that is, the first location information includes the record identification and field identification of the database, wherein the record identification There is the first mapping relations, the field identification and institute with row of the first object cell on first display interface Column of the first object cell on first display interface are stated with the second mapping relations.
Further, the first object cell of acquisition described in S202 in the database believe by corresponding first position Breath, specifically can include:
According to first mapping relations and second mapping relations, obtains the line identifier and column identify corresponding number According to the record identification and field identification in library.
S203, update prompting message is sent to database server, carry described first in the update prompting message Confidence breath, so that the update prompting message is synchronized to other cooperateed with first client by the database server Second client.
In the present embodiment, first object cell is being got in the database after corresponding first location information, then It can be sent to database server and update prompting message, the first location information be carried in updating prompting message, by data Library server is synchronized to other second clients cooperateed with first client for prompting message is updated, so that any described After second client receives the update prompting message, then current second of the second client can be determined according to prompting message is updated Third Set cell corresponding with the first location information in display interface, and third Set cell is carried out at display Reason, wherein second display interface has different display views, such as second display from first display interface Interface has different unit case orders, and the third Set cell in the second display interface from first display interface It is corresponding with the first object cell in the first display interface, it is used to deposit at first location information in display database table The data (a certain field data in such as database table in a certain record) of storage.More specifically, to third Set cell into Row display processing, it may include modify the display state of the third Set cell, the display state is for identifying described the Three Set cells are just by other client-side editings, such as distinguish other cells to the third Set cell and show Show (such as change color and/or brightness).
The collaboration update method of online document provided in this embodiment passes through the first current display of the first client of identification The first object cell being updated in interface;Obtain first object cell corresponding first position letter in the database Breath;It is sent to database server and updates prompting message, updated in prompting message and carry first location information, so that database takes Business device is synchronized to other second clients cooperateed with the first client for prompting message is updated, and makes the second client according to update Prompting message determines third target list corresponding with the first location information in the second current display interface of the second client First lattice, and display processing is carried out to third Set cell.The present embodiment uses different display interfaces pair in different clients In the case that the online document of database carries out collaborative editing, other visitors can be prompted when the first client updates online document The position that family end online document is being updated, to avoid multiple client while edit same position data and generating punching It is prominent.
Based on any of the above embodiments, it is sent described in S203 to database server after updating prompting message, It may also include that
The more new data to the first object cell is sent to the database server, so that the database takes The more new data of the first object cell is synchronized to other second clients cooperateed with first client by business device.
In the present embodiment, it after the data in first object cell complete editor, needs first object cell More new data be synchronized in database, namely the more new data of first object cell is sent to data by the first client Library server, then updated data are synchronized to by database server cooperateed with first client other second Client.
Based on any of the above embodiments, as shown in figure 3, the collaboration update method of the online document can also wrap It includes:
S301, detection user create the second Set cell in first display interface and operate, generation unit lattice Creation instruction, the second confidence created including the database corresponding to second Set cell in instruction Breath;
S302, cell creation instruction is sent to the database server, so that the database server Record and/or field are created according to the second location information, and gives the record of creation and/or field sync to all clients End.
In the present embodiment, user can create new cell to online document by the first client, namely pass through inspection It surveys user and operation is created to the second Set cell in the first display interface, generation unit lattice wound is operated according to the creation of user Instruction is built, when generation unit lattice are created and instructed, needs to obtain the second Set cell corresponding second position in the database Then cell is created the instruction carrying second location information and is sent to database server, database server by information Record and/or field are then created according to second location information, and by the record of creation and/or field sync to all clients. It should be noted that can and be only limitted to carry second location information in cell creation instruction, it can also be by the second Set cell In content also carry cell creation instruction in be sent to database server.
Further, the creation of generation unit lattice described in S301 instruction, specifically can include:
Generate the second location information of the database corresponding to second Set cell, the second confidence Breath includes the record identification and/or field identification of database.
In the present embodiment, the first client needs to generate the second Set cell when creating the second Set cell Corresponding record identification and/or field identification in the database, wherein the record identification and/or field identification that generate need to be several According to record identification unique in library and/or field identification, cannot exist with other record identifications and/or field identification and repeat. Further, after the first client generates record identification and/or the field identification of database, by the record identification of database And/or field identification is sent to database server, is carried out judging the record identification and/or field identification by database server It whether is uniquely, if it is not, then the first client is notified to regenerate.Certainly, in the above-described embodiments, the record identification And/or field identification can also be generated by database server.
Fig. 4 is the collaboration update method flow chart of online document provided in an embodiment of the present invention.Present embodiments provide one The collaboration update method of kind online document, executing subject are the second client, and specific step is as follows for this method:
S401, the update prompting message that the database server is sent is received, carries number in the update prompting message According to the first location information in library;
S402, it is determined in the second current display interface of the second client according to the update prompting message with described first The corresponding third Set cell of location information;
S403, display processing is carried out to the third Set cell;
Wherein, the first location information is the first object list that the first client is updated in the first display interface First lattice corresponding location information in the database.
The collaboration update method of online document provided in this embodiment is the method for the second client-side in above-described embodiment, Concrete principle and implementation are similar to the above embodiments, and details are not described herein again.
It should be noted that in the present embodiment, second display interface can have with first display interface Different display views, such as second display interface have different unit case orders from first display interface.
On the basis of the above embodiments, display processing is carried out to the third Set cell described in S403, comprising:
The display state of the third Set cell is modified, the display state is for identifying the third object element Lattice are just by other client-side editings.
It in the present embodiment, can be using in third Set cell to the modification of the display state of third Set cell Specific status indicator is marked, in addition, the display of other cells can also be distinguished to the third Set cell, such as The brightness of third Set cell, contrast etc. are shown or changed with specific color.
Based on any of the above embodiments, the first location information includes the record identification and word of the database Segment identification, wherein the record identification is reflected with row of the third Set cell on second display interface with third Relationship is penetrated, there is the 4th mapping to close for the field identification and column of the third Set cell on second display interface System.
Further, the second current display circle of the second client is determined according to the update prompting message described in S402 Third Set cell corresponding with the first location information in face, comprising:
According to the third mapping relations and the 4th mapping relations, the number for including in the first location information is obtained According to the corresponding line identifier of record identification and field identification and column mark in library, the third mesh is determined according to line identifier and column mark Mark cell.
In the present embodiment, the second client can be by third mapping relations and the 4th mapping relations, by the note of database Record mark and field identification are converted to line identifier and column mark in the second display interface, to can determine third object element Lattice, wherein the third Set cell in the second display interface is corresponding with the first object cell in the first display interface, It is (a certain in a certain record in such as database table to be used to the data stored at first location information in display database table Field data).
Based on any of the above embodiments, since the second display interface can have not with the first display interface Same display view can be grouped display to certain cells in the second display interface or hide or delete certain Cell, therefore the third target list corresponding with first location information in determining the second current display interface of the second client When first lattice, if third Set cell has carried out grouping display by the second display interface, to the third mesh of grouping display Mark cell carries out above-mentioned display processing;If third Set cell is hidden by the second display interface, Above-mentioned display processing is carried out when third Set cell is cancelled hiding;If third Set cell is by the second display circle When face is deleted, then handled without above-mentioned display.
In addition, when the second display interface is in different states different displays can also be used to third Set cell Processing mode, such as when the second display interface is in card edit state, the corresponding edit box of third Set cell is carried out The display processing stated, when the second display interface is in common form state for another example, directly carries out on third Set cell The display processing stated.
The collaboration update method of online document provided in this embodiment passes through the first current display of the first client of identification The first object cell being updated in interface;Obtain first object cell corresponding first position letter in the database Breath;It is sent to database server and updates prompting message, updated in prompting message and carry first location information, so that database takes Business device is synchronized to other second clients cooperateed with the first client for prompting message is updated, and makes the second client according to update Prompting message determines third target list corresponding with the first location information in the second current display interface of the second client First lattice, and display processing is carried out to third Set cell.The present embodiment uses different display interfaces pair in different clients In the case that the online document of database carries out collaborative editing, other visitors can be prompted when the first client updates online document The position that family end online document is being updated, to avoid multiple client while edit same position data and generating punching It is prominent.
Fig. 5 is the structure chart of the collaboration more new system of online document provided in an embodiment of the present invention, which includes first Client 500, database server 600 and the second client 700.It should be noted that the first client 500, database Server 600 and the second client 700 are not limited in one, and furthermore the first client 500 and the second client 700 be not yet The laptop being limited in figure, or other electronic equipments.
More specifically, as shown in fig. 6, the first client 500 includes that identification module 501, first obtains module 502 and hair Send module 503.
Wherein, identification module 501, first be updated in the first current display interface of the first client for identification Set cell;
First obtains module 502, for obtaining the first object cell corresponding first position letter in the database Breath;
Sending module 503 updates prompting message for sending to database server, carries in the update prompting message The first location information, so that the update prompting message is synchronized to and first client by the database server Other second clients of collaboration.
Further, the first location information includes the record identification and field identification of the database, wherein described Record identification and row of the first object cell on first display interface have the first mapping relations, the field Mark has the second mapping relations with column of the first object cell on first display interface.
Further, the identification module 501 is used for:
User is received to the trigger action of first display interface;
Identify that the first object cell is in first display interface pointed by the position of the trigger action Line identifier and column mark;
The first acquisition module 502 is used for:
According to first mapping relations and second mapping relations, obtains the line identifier and column identify corresponding number According to the record identification and field identification in library.
Further, the trigger action includes: to choose operation or edit operation to the first object cell.
Based on any of the above embodiments, the sending module 503 is also used to:
After sending update prompting message to database server, Xiang Suoshu database server is sent to first mesh Mark cell more new data so that the database server by the more new data of the first object cell be synchronized to Other second clients of the first client collaboration.
Based on any of the above embodiments, first client 500 further includes creation module (not shown), For:
It detects user and operation is created to the second Set cell in first display interface, the creation of generation unit lattice refers to It enables, includes the second location information of the database corresponding to second Set cell in the creation instruction;
Cell creation instruction is sent to the database server, so that the database server is according to institute Second location information creation record and/or field are stated, and by the record of creation and/or field sync to all clients.
Further, the creation module is used for:
Generate the second location information of the database corresponding to second Set cell, the second confidence Breath includes the record identification and/or field identification of database.Based on any of the above embodiments, as shown in fig. 7, the second visitor Family end 600 includes that receiving module 601, second obtains module 602 and processing module 603.
Receiving module 601, the update prompting message sent for receiving the database server, the update prompt disappear The first location information in database is carried in breath;
Second obtains module 602, for determining the second current display of the second client according to the update prompting message Third Set cell corresponding with the first location information in interface;
Processing module 603, for carrying out display processing to the third Set cell;
Wherein, the first location information is the first object list that the first client is updated in the first display interface First lattice corresponding location information in the database.
Further, second display interface has different display views from first display interface.
Further, second display interface has different unit case orders from first display interface.
Based on any of the above embodiments, the processing module 603 is used for:
The display state of the third Set cell is modified, the display state is for identifying the third object element Lattice are just by other client-side editings.
Further, the processing module 603 is used for:
The display of other cells is distinguished to the third Set cell.
Based on any of the above embodiments, the first location information includes the record identification and word of the database Segment identification, wherein the record identification is reflected with row of the third Set cell on second display interface with third Relationship is penetrated, there is the 4th mapping to close for the field identification and column of the third Set cell on second display interface System.
Further, the second acquisition module 602 is used for:
According to the third mapping relations and the 4th mapping relations, the number for including in the first location information is obtained According to the corresponding line identifier of record identification and field identification and column mark in library, the third mesh is determined according to line identifier and column mark Mark cell.
The collaboration of online document provided in an embodiment of the present invention more new system can be specifically used for the above-mentioned Fig. 1-4 of execution and be mentioned The embodiment of the method for confession, details are not described herein again for concrete function.
The collaboration updating device of online document provided in an embodiment of the present invention identifies the first client by the first client The first object cell being updated in the first current display interface;First object cell is obtained to correspond in the database First location information;And sent to database server and update prompting message, described the is carried in the update prompting message One location information;The update prompting message is synchronized to other second clients cooperateed with the first client by database server End;Second client determines in the second current display interface of the second client according to the update prompting message with described first The corresponding third Set cell of location information;And display processing is carried out to the third Set cell;Wherein described second Display interface has different display views from first display interface.The present embodiment is shown in different clients using different In the case where showing that interface carries out collaborative editing to the online document of database, it can be mentioned when the first client updates online document Show the position that other client online documents are being updated, thus avoid multiple client and meanwhile edit same position data and Generate conflict.
Fig. 8 is the structural schematic diagram of electronic equipment provided in an embodiment of the present invention, which can be above-mentioned reality The first client, database server or the second client in example are applied, the association of the online document of respective side can be executed respectively Same update method.
Below with reference to Fig. 8, the electronic equipment in the embodiment of the present disclosure can include but is not limited to such as mobile phone, notes This computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (put by portable multimedia broadcasting Device), the mobile terminal of car-mounted terminal (such as vehicle mounted guidance terminal) etc. and such as number TV, desktop computer etc. consolidate Determine terminal.Electronic equipment shown in Fig. 8 is only an example, should not function to the embodiment of the present disclosure and use scope bring Any restrictions.
As shown in figure 8, electronic equipment 800 may include processing unit (such as central processing unit, graphics processor etc.) 801, random access can be loaded into according to the program being stored in read-only memory (ROM) 802 or from storage device 808 Program in memory (RAM) 803 and execute various movements appropriate and processing.In RAM 803, it is also stored with electronic equipment Various programs and data needed for 800 operations.Processing unit 801, ROM 802 and RAM 803 pass through the phase each other of bus 804 Even.Input/output (I/O) interface 805 is also connected to bus 804.
In general, following device can connect to I/O interface 805: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 806 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 807 of dynamic device etc.;Storage device 808 including such as tape, hard disk etc.;And communication device 809.Communication device 809, which can permit electronic equipment 800, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 8 shows tool There is the electronic equipment 800 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 809, or from storage device 808 It is mounted, or is mounted from ROM 802.When the computer program is executed by processing unit 801, the embodiment of the present disclosure is executed Method in the above-mentioned function that limits.
In addition, the present embodiment also provides a kind of computer readable storage medium, it is stored thereon with computer program, the meter Calculation machine program be executed by processor with realize the first client-side and/or the second client-side described in above-described embodiment and/or The collaboration update method of the online document of processor side.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module Division progress for example, in practical application, can according to need and above-mentioned function distribution is complete by different functional modules At the internal structure of device being divided into different functional modules, to complete all or part of the functions described above.On The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (14)

1. a kind of collaboration update method of online document characterized by comprising
First client identifies the first object cell being updated in the first current display interface of the first client;It obtains The first object cell corresponding first location information in the database;And it sends to update to database server and prompts to disappear It ceases, carries the first location information in the update prompting message;
The update prompting message is synchronized to other second visitors cooperateed with first client by the database server Family end;
Second client according to the update prompting message determine in the second current display interface of the second client with institute State the corresponding third Set cell of first location information;And display processing is carried out to the third Set cell;Wherein institute Stating the second display interface has different display views from first display interface.
2. the method according to claim 1, wherein the first location information includes the record of the database Mark and field identification, wherein the row of the record identification and the first object cell on first display interface has There are the first mapping relations, the field identification and column of the first object cell on first display interface have the Two mapping relations.
3. according to the method described in claim 2, it is characterized in that, first client identifies current the of the first client The first object cell being updated in one display interface, comprising:
First client receives user to the trigger action of first display interface;
First client identifies that the first object cell is described first pointed by the position of the trigger action The line identifier and column mark of display interface;
First client obtains the first object cell corresponding first location information in the database, comprising:
First client obtains the line identifier and column mark according to first mapping relations and second mapping relations Know the record identification and field identification of corresponding database.
4. method according to claim 1-3, which is characterized in that first client is to database server It sends after updating prompting message, further includes:
First client sends the more new data to the first object cell to the database server, so that institute It states database server and the more new data of the first object cell is synchronized to other cooperateed with first client Second client.
5. the method according to claim 1, wherein the method also includes:
The first client detection user, which creates the second Set cell in first display interface, to be operated, and is generated single First lattice creation instruction, the second position created including the database corresponding to second Set cell in instruction Information;
Cell creation instruction is sent to the database server by first client, so that the database takes Device be engaged according to second location information creation record and/or field, and by the record of creation and/or field sync to all visitors Family end.
6. according to the method described in claim 5, it is characterized in that, the first client generation unit lattice creation instruction, packet It includes:
First client generates the second location information of the database corresponding to second Set cell, described Second location information includes the record identification and/or field identification of database.
7. the method according to claim 1, wherein second display interface and first display interface have There is different unit case orders.
8. method according to claim 1 or claim 7, which is characterized in that second client is to the third object element Lattice carry out display processing, comprising:
Second client modifies the display state of the third Set cell, and the display state is for identifying described the Three Set cells are just by other client-side editings.
9. according to the method described in claim 8, it is characterized in that, second client modifies the third Set cell State, comprising:
Second client distinguishes the display of other cells to the third Set cell.
10. according to the method described in claim 2, it is characterized in that, the record identification and the third Set cell exist Row on second display interface has third mapping relations, and the field identification is with the third Set cell described Column on second display interface have the 4th mapping relations.
11. according to the method described in claim 10, it is characterized in that, second client is according to the update prompting message Determine third Set cell corresponding with the first location information in the second current display interface of the second client, packet It includes:
Second client obtains the first location information according to the third mapping relations and the 4th mapping relations In include database record identification and the corresponding line identifier of field identification and column mark, according to line identifier and column mark determine The third Set cell.
12. a kind of collaboration of online document more new system, which is characterized in that the system comprises: the first client, database clothes Business device and the second client;
Wherein, first client includes:
Identification module, the first object cell being updated in the first current display interface of the first client for identification;
First obtains module, for obtaining the first object cell corresponding first location information in the database;
Sending module updates prompting message for sending to database server, and described the is carried in the update prompting message One location information cooperates with so that the update prompting message is synchronized to by the database server with first client Other second clients;
Second client includes:
Receiving module is taken in the update prompting message for receiving the update prompting message of the database server transmission With the first location information in database;
Second obtains module, for according to the update prompting message determine in the second current display interface of the second client with The corresponding third Set cell of the first location information;
Processing module, for carrying out display processing to the third Set cell;
Wherein, second display interface has different display views from first display interface.
13. a kind of electronic equipment characterized by comprising
Memory and processor;
Wherein, the memory is stored with computer program, the computer program be configured as being executed by the processor with Realize such as method of any of claims 1-11.
14. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program;
Such as method of any of claims 1-11 is realized when the computer program is executed by processor.
CN201910290935.0A 2019-04-11 2019-04-11 Online document collaborative updating method, device, equipment and storage medium Active CN110019279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910290935.0A CN110019279B (en) 2019-04-11 2019-04-11 Online document collaborative updating method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910290935.0A CN110019279B (en) 2019-04-11 2019-04-11 Online document collaborative updating method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110019279A true CN110019279A (en) 2019-07-16
CN110019279B CN110019279B (en) 2020-12-04

Family

ID=67191218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910290935.0A Active CN110019279B (en) 2019-04-11 2019-04-11 Online document collaborative updating method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110019279B (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110888853A (en) * 2019-11-26 2020-03-17 廊坊新奥燃气有限公司 Data management system and method
CN111104424A (en) * 2019-11-08 2020-05-05 深圳市元征科技股份有限公司 Data stream display method and device, electronic equipment and storage medium
CN111126022A (en) * 2020-01-06 2020-05-08 深圳维格智数科技有限公司 Data synchronization protocol and method for real-time cooperation on-line electronic form
CN111259009A (en) * 2020-01-13 2020-06-09 深圳维格智数科技有限公司 Flexible multidimensional database type cloud dimension table processing method and system
CN111367689A (en) * 2020-03-02 2020-07-03 北京字节跳动网络技术有限公司 Interactive prompt information sending method and device of online document and electronic equipment
CN111428453A (en) * 2019-12-31 2020-07-17 杭州海康威视数字技术股份有限公司 Processing method, device and system in annotation synchronization process
CN112286890A (en) * 2020-09-02 2021-01-29 北京意匠文枢科技有限公司 Method and equipment for synchronizing revision information of target document
CN112419448A (en) * 2020-11-17 2021-02-26 北京字跳网络技术有限公司 Method, device and system for changing graph and electronic equipment
CN112418791A (en) * 2020-11-17 2021-02-26 北京字跳网络技术有限公司 Document display method and device and electronic equipment
CN112446195A (en) * 2019-08-28 2021-03-05 腾讯科技(深圳)有限公司 Data processing method and device, electronic equipment and computer readable storage medium
CN112667585A (en) * 2019-11-19 2021-04-16 腾讯科技(深圳)有限公司 Synchronous management method, device and equipment for online documents
CN112749533A (en) * 2019-10-30 2021-05-04 腾讯科技(深圳)有限公司 Data input control method and device, electronic equipment and storage medium
CN112861178A (en) * 2021-02-08 2021-05-28 视若飞信息科技(上海)有限公司 Online collaboration method, system, equipment and storage medium based on browser
CN113312885A (en) * 2021-07-30 2021-08-27 腾讯科技(深圳)有限公司 Cooperative operation processing method, device, equipment and medium
CN113535434A (en) * 2021-07-22 2021-10-22 北京字跳网络技术有限公司 Collaborative editing method and device for data nodes, storage medium and equipment
CN113779942A (en) * 2020-06-01 2021-12-10 腾讯科技(深圳)有限公司 Table data processing method and device and computer readable storage medium
WO2022017458A1 (en) * 2020-07-23 2022-01-27 北京字节跳动网络技术有限公司 Data synchronization method and apparatus, electronic device, and medium
CN114500570A (en) * 2022-02-09 2022-05-13 北京字跳网络技术有限公司 Task processing method and device, electronic equipment and computer readable storage medium
WO2022183977A1 (en) * 2021-03-01 2022-09-09 北京字跳网络技术有限公司 Document update method and apparatus, device, and medium
CN115309308A (en) * 2022-07-20 2022-11-08 北京达佳互联信息技术有限公司 Method, device, equipment, system and storage medium for commenting online document
WO2022262438A1 (en) * 2021-06-15 2022-12-22 北京字跳网络技术有限公司 Information processing method and apparatus, terminal, and storage medium
WO2023098629A1 (en) * 2021-12-02 2023-06-08 北京字跳网络技术有限公司 Method and apparatus for processing table of document, and device and medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8010896B2 (en) * 2007-09-13 2011-08-30 International Business Machines Corporation Using profiling when a shared document is changed in a content management system
CN103238150A (en) * 2010-11-02 2013-08-07 谷歌公司 Realtime synchronized document editing by multiple users for blogging
CN104182397A (en) * 2013-05-21 2014-12-03 北大方正集团有限公司 Method, system and equipment for document co-processing
US20150195221A1 (en) * 2010-05-28 2015-07-09 Lars Eilstrup Rasmussen Participant-Specific Markup
CN104965816A (en) * 2015-07-22 2015-10-07 网易(杭州)网络有限公司 Editing method and device for data sheet
CN105117382A (en) * 2015-08-28 2015-12-02 百度在线网络技术(北京)有限公司 Document cooperation method and apparatus
US20170262490A1 (en) * 2016-03-08 2017-09-14 Microsoft Technology Licensing, Llc. Specific content distribution across documents
US9921892B2 (en) * 2008-04-28 2018-03-20 Microsoft Technology Licensing, Llc Techniques to modify a document using a latent transfer surface
US9946725B1 (en) * 2011-10-17 2018-04-17 Google Llc Systems and methods for incremental loading of collaboratively generated presentations
CN107943777A (en) * 2017-12-14 2018-04-20 北京久蓉科技有限公司 A kind of collaborative editing, cooperative processing method, device, equipment and storage medium
CN108363732A (en) * 2018-01-15 2018-08-03 阿里巴巴集团控股有限公司 A kind of form processing method of multi-user collaborative, device and equipment
CN108647331A (en) * 2012-07-19 2018-10-12 格兰斯电讯网络有限公司 The information sharing of collaborative browse and other forms integrates
CN109408790A (en) * 2018-10-17 2019-03-01 北京我知科技有限公司 A kind of method that more people edit document
CN109446492A (en) * 2018-10-17 2019-03-08 南京垂宇网络科技有限公司 Method for maintaining consistency of document editing data

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8010896B2 (en) * 2007-09-13 2011-08-30 International Business Machines Corporation Using profiling when a shared document is changed in a content management system
US9921892B2 (en) * 2008-04-28 2018-03-20 Microsoft Technology Licensing, Llc Techniques to modify a document using a latent transfer surface
US20150195221A1 (en) * 2010-05-28 2015-07-09 Lars Eilstrup Rasmussen Participant-Specific Markup
CN103238150A (en) * 2010-11-02 2013-08-07 谷歌公司 Realtime synchronized document editing by multiple users for blogging
US9946725B1 (en) * 2011-10-17 2018-04-17 Google Llc Systems and methods for incremental loading of collaboratively generated presentations
CN108647331A (en) * 2012-07-19 2018-10-12 格兰斯电讯网络有限公司 The information sharing of collaborative browse and other forms integrates
CN104182397A (en) * 2013-05-21 2014-12-03 北大方正集团有限公司 Method, system and equipment for document co-processing
CN104965816A (en) * 2015-07-22 2015-10-07 网易(杭州)网络有限公司 Editing method and device for data sheet
CN105117382A (en) * 2015-08-28 2015-12-02 百度在线网络技术(北京)有限公司 Document cooperation method and apparatus
US20170262490A1 (en) * 2016-03-08 2017-09-14 Microsoft Technology Licensing, Llc. Specific content distribution across documents
CN107943777A (en) * 2017-12-14 2018-04-20 北京久蓉科技有限公司 A kind of collaborative editing, cooperative processing method, device, equipment and storage medium
CN108363732A (en) * 2018-01-15 2018-08-03 阿里巴巴集团控股有限公司 A kind of form processing method of multi-user collaborative, device and equipment
CN109408790A (en) * 2018-10-17 2019-03-01 北京我知科技有限公司 A kind of method that more people edit document
CN109446492A (en) * 2018-10-17 2019-03-08 南京垂宇网络科技有限公司 Method for maintaining consistency of document editing data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHARLES EDWARD A. ROBIN,等: "DTNDocs: A delay tolerant peer-to-peer collaborative editing system", 《2018 INTERNATIONAL CONFERENCE ON INFORMATION NETWORKING (ICOIN)》 *
孙瑞瑞: "面向科研协作的文档协同编辑平台设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112446195A (en) * 2019-08-28 2021-03-05 腾讯科技(深圳)有限公司 Data processing method and device, electronic equipment and computer readable storage medium
CN112749533B (en) * 2019-10-30 2023-08-04 腾讯科技(深圳)有限公司 Data input control method and device, electronic equipment and storage medium
CN112749533A (en) * 2019-10-30 2021-05-04 腾讯科技(深圳)有限公司 Data input control method and device, electronic equipment and storage medium
CN111104424A (en) * 2019-11-08 2020-05-05 深圳市元征科技股份有限公司 Data stream display method and device, electronic equipment and storage medium
CN112667585B (en) * 2019-11-19 2022-06-07 腾讯科技(深圳)有限公司 Synchronous management method, device and equipment for online documents
CN112667585A (en) * 2019-11-19 2021-04-16 腾讯科技(深圳)有限公司 Synchronous management method, device and equipment for online documents
CN110888853A (en) * 2019-11-26 2020-03-17 廊坊新奥燃气有限公司 Data management system and method
CN111428453A (en) * 2019-12-31 2020-07-17 杭州海康威视数字技术股份有限公司 Processing method, device and system in annotation synchronization process
CN111428453B (en) * 2019-12-31 2023-09-05 杭州海康威视数字技术股份有限公司 Processing method, device and system in annotation synchronization process
CN111126022A (en) * 2020-01-06 2020-05-08 深圳维格智数科技有限公司 Data synchronization protocol and method for real-time cooperation on-line electronic form
CN111259009A (en) * 2020-01-13 2020-06-09 深圳维格智数科技有限公司 Flexible multidimensional database type cloud dimension table processing method and system
CN111367689A (en) * 2020-03-02 2020-07-03 北京字节跳动网络技术有限公司 Interactive prompt information sending method and device of online document and electronic equipment
CN113779942B (en) * 2020-06-01 2023-08-18 腾讯科技(深圳)有限公司 Table data processing method and device and computer readable storage medium
CN113779942A (en) * 2020-06-01 2021-12-10 腾讯科技(深圳)有限公司 Table data processing method and device and computer readable storage medium
WO2022017458A1 (en) * 2020-07-23 2022-01-27 北京字节跳动网络技术有限公司 Data synchronization method and apparatus, electronic device, and medium
CN112286890A (en) * 2020-09-02 2021-01-29 北京意匠文枢科技有限公司 Method and equipment for synchronizing revision information of target document
CN112418791A (en) * 2020-11-17 2021-02-26 北京字跳网络技术有限公司 Document display method and device and electronic equipment
CN112419448A (en) * 2020-11-17 2021-02-26 北京字跳网络技术有限公司 Method, device and system for changing graph and electronic equipment
CN112861178A (en) * 2021-02-08 2021-05-28 视若飞信息科技(上海)有限公司 Online collaboration method, system, equipment and storage medium based on browser
WO2022183977A1 (en) * 2021-03-01 2022-09-09 北京字跳网络技术有限公司 Document update method and apparatus, device, and medium
WO2022262438A1 (en) * 2021-06-15 2022-12-22 北京字跳网络技术有限公司 Information processing method and apparatus, terminal, and storage medium
CN113535434A (en) * 2021-07-22 2021-10-22 北京字跳网络技术有限公司 Collaborative editing method and device for data nodes, storage medium and equipment
CN113312885B (en) * 2021-07-30 2021-09-28 腾讯科技(深圳)有限公司 Cooperative operation processing method, device, equipment and medium
CN113312885A (en) * 2021-07-30 2021-08-27 腾讯科技(深圳)有限公司 Cooperative operation processing method, device, equipment and medium
WO2023098629A1 (en) * 2021-12-02 2023-06-08 北京字跳网络技术有限公司 Method and apparatus for processing table of document, and device and medium
CN114500570A (en) * 2022-02-09 2022-05-13 北京字跳网络技术有限公司 Task processing method and device, electronic equipment and computer readable storage medium
CN114500570B (en) * 2022-02-09 2024-02-13 北京字跳网络技术有限公司 Task processing method, device, electronic equipment and computer readable storage medium
CN115309308A (en) * 2022-07-20 2022-11-08 北京达佳互联信息技术有限公司 Method, device, equipment, system and storage medium for commenting online document

Also Published As

Publication number Publication date
CN110019279B (en) 2020-12-04

Similar Documents

Publication Publication Date Title
CN110019279A (en) Collaboration update method, device, equipment and the storage medium of online document
CN110046021B (en) Page display method, device, system, equipment and storage medium
CN104380336B (en) Using the Questionnaire systems and method of data of demonstrating
EP2699029B1 (en) Method and device for providing a message function
CN109669924A (en) Sharing method, device, electronic equipment and the storage medium of online document
CN109543163A (en) Documentation revisions record acquisition methods, device, storage medium and electronic equipment
CN110119294A (en) The generation method of menu page, apparatus and system
CN109992732A (en) Information sharing method, device, electronic equipment and storage medium
CN112181576A (en) Form processing method, device, terminal and storage medium
CN109710905A (en) Document synergic editing method, device, storage medium and electronic equipment
CN102929494B (en) A kind of assisted user is checked the method and apparatus of message
CN109669596A (en) Method and apparatus for showing chat message
CN109491742A (en) Page tabular rendering method and device
CN109492200A (en) Cooperated documents restoring method, device, storage medium and electronic equipment
CN110163001A (en) Information display method and device based on customer relationship
CN114493541A (en) Task creation method, task creation apparatus, electronic device, storage medium, and program product
CN108810105A (en) For pushed information, the method and apparatus for showing information
CN110134477A (en) A kind of method, apparatus, medium and the electronic equipment of Dynamic Distribution's User Page
CN109684116A (en) Data sharing method, device, equipment and medium
CN110288523A (en) Image generating method and device
CN109992733A (en) Method, apparatus, electronic equipment and the storage medium that information is shared
CN110083351A (en) Method and apparatus for generating code
CN109710154A (en) Method and apparatus for showing chat message
CN108491365A (en) A kind of PDF splits the method and device of combination according to different business automatically
CN110209849A (en) Method and apparatus for marking key point

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
GR01 Patent grant
GR01 Patent grant