CN112906353A - Method and system for collaboratively editing document - Google Patents

Method and system for collaboratively editing document Download PDF

Info

Publication number
CN112906353A
CN112906353A CN201911135068.XA CN201911135068A CN112906353A CN 112906353 A CN112906353 A CN 112906353A CN 201911135068 A CN201911135068 A CN 201911135068A CN 112906353 A CN112906353 A CN 112906353A
Authority
CN
China
Prior art keywords
editing
user
server
page document
request
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
CN201911135068.XA
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 Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information 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 Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201911135068.XA priority Critical patent/CN112906353A/en
Publication of CN112906353A publication Critical patent/CN112906353A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/101Collaborative creation, e.g. joint development of products or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Economics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Document Processing Apparatus (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a system for collaboratively editing a document, and relates to the technical field of computers. One embodiment of the method comprises: receiving an editing authority request of a first user for a page document; sending an editing authority request of the first user for the page document to a server, so that the server queries the current editing state of the page document according to the editing authority request of the page document; receiving a first indication that whether a first user returned by the server according to the current editing state of the page document has editing authority or not; and setting the page document to be editable for the first user to edit the page document under the condition that the received first indication indicates that the first user has the editing right. The method and the device ensure the accuracy of the document content during collaborative editing.

Description

Method and system for collaboratively editing document
Technical Field
The invention relates to the technical field of computers, in particular to a method and a system for collaboratively editing a document.
Background
With the continuous development of internet technology, the functions borne by the web pages are more and more, more and more products are transplanted to the page end for users to use, and the convenience of the users is greatly improved. In order to further improve the working efficiency, products with a collaborative editing function, such as graphite documents, notes and the like, are developed, namely, the requirement that a plurality of persons edit the same document is met, and the modification of the document by other persons can be seen in real time without manually refreshing pages.
To realize online collaborative editing, two technical problems need to be solved: real-time communication problems, and multi-person editing conflict problems. For the real-time communication problem, the instant communication problem during collaborative online editing can be well solved in the prior art such as long pull and the like; for multi-user editing conflict questions, no good solution exists at present, the accuracy of the content sequence cannot be guaranteed, and the user experience is poor.
Disclosure of Invention
In view of this, the invention provides a method and a system for collaboratively editing a document, which can ensure that at most one person can edit online by requesting for editing rights and transferring the editing rights, and ensure the accuracy of different persons on the document modification content, thereby improving user experience.
To achieve the above object, according to an aspect of the present invention, there is provided a method for collaboratively editing a document, applied to a client, including:
receiving an editing authority request of a first user for a page document;
sending an editing authority request of the first user for the page document to a server, so that the server queries the current editing state of the page document according to the editing authority request of the page document;
receiving a first indication that whether a first user returned by the server according to the current editing state of the page document has editing authority or not;
and setting the page document to be editable for the first user to edit the page document under the condition that the received first indication indicates that the first user has the editing right.
Optionally, in a case that the current editing state is unattended editing, the first indication indicates that the first user has an editing right;
and under the condition that the current editing state is that the second user is editing, the first indication indicates that the first user does not have editing authority.
Optionally, in a case that the current editing state is that a second user is editing, the first indication further includes: the first user may request that the second user transfer editing rights to edit the page document.
Optionally, the method further comprises:
inquiring whether the first user requests the second user to transfer the editing right;
under the condition that the first user requests the second user to transfer the editing authority, sending an transferring and editing authority request to the server, so that the server obtains an editing authority transferring result of the second user according to the transferring and editing authority request;
receiving a second indication whether the first user has the editing authority or not, which is returned by the server according to the editing authority transfer result;
and setting the page document to be editable for the first user to edit the page document under the condition that the received second indication indicates that the first user has the editing right.
Optionally, in a case that the page document is set to be editable for the first user to edit the page document, the method further includes:
receiving an assignment editing authority request of a third user sent by the server; inquiring whether the first user agrees to transfer the editing right;
and receiving an editing authority transfer result of the first user, and sending the editing authority transfer result of the first user to the server, so that the server determines whether the third user has the editing authority for the page document according to the editing authority transfer result of the first user.
Optionally, the method further comprises:
and sending a websocket request to the server to establish websocket connection with the server under the condition that the first indication indicates that the first user has editing permission and the page document is set to be editable.
Optionally, the method further comprises:
and sending a websocket request to the server to establish websocket connection with the server under the condition that the first indication indicates that the first user does not have the editing authority and the first user requests the second user to transfer the editing authority.
Optionally, the method further comprises:
and after the first user finishes editing the page document, sending a request for closing the websocket connection to the server, so that the server updates the current editing state of the page document to unmanned editing according to the received request for closing the websocket connection.
Optionally, under the condition that the first user is asked whether to approve transfer of the editing right, if an editing right transfer result indication of the first user is not received within a threshold time, sending a default editing right transfer result to the server.
To achieve the above object, according to another aspect of the present invention, there is provided a client for collaboratively editing a document, including: the device comprises a request receiving module, a request sending module, an indication receiving module and a document setting module; wherein the content of the first and second substances,
the request receiving module is used for receiving an editing authority request of a first user for a page document;
the request sending module is used for sending an editing authority request of the first user for the page document to a server so that the server can inquire the current editing state of the page document according to the editing authority request of the page document;
the indication receiving module is used for receiving a first indication whether a first user returned by the server according to the current editing state of the page document has editing authority or not;
the document setting module is configured to set the page document to be editable for the first user to edit the page document under the condition that the received first indication indicates that the first user has the editing right.
To achieve the above object, according to still another aspect of the present invention, there is provided a method for collaboratively editing a document, including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of any of the methods of collaborative editing of a document as described above.
To achieve the above object, according to still another aspect of the present invention, there is provided a computer-readable medium having stored thereon a computer program which, when executed by a processor, implements any one of the methods of collaboratively editing a document as described above.
The invention has the following advantages or beneficial effects: by means of applying for editing authority or applying for transferring editing authority at the current page text editing process, the number of people who edit the document online at most is ensured, and conflict of page document contents generated by simultaneous editing of multiple people is avoided; meanwhile, instant communication between a client side where a user collaboratively edits the page document and a server is realized through websocket connection; in addition, in the process of requesting transfer of the editing right, the mode that the user defaults to transfer the editing right if the user does not serve as the editing right within the threshold time period is adopted, and the problem that the collaborative efficiency is low due to the fact that one person occupies the editing right for a long time is avoided to a certain extent.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of a main flow of a method for collaborative editing of a document applied to a client according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a main flow of another method for collaborative editing of a document applied to a client according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the main structure of a client for collaborative editing of a document according to an embodiment of the present invention;
FIG. 4 is a diagram of the main structure of a system for collaborative editing of a document according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a main flow of a method of collaboratively editing a document, applied to a system for collaboratively editing a document, according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a main flow of another method of collaboratively editing a document, applied to a system for collaboratively editing a document, according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a principal flow of yet another method of collaborative editing of a document, applied to a system for collaborative editing of a document, according to an embodiment of the present invention;
FIG. 8 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 9 is a schematic structural diagram of a computer system suitable for implementing a terminal device or a server according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of a main flow of a method for collaboratively editing a document applied to a client according to an embodiment of the present invention, and as shown in fig. 1, the method may specifically include the following steps:
step S101, receiving an editing authority request of a first user to a page document.
Page documents are documents that carry any format, including but not limited to txt, markdown, office, js, html, css, etc. When the first user opens the page document or finishes loading the page document, the default page document is in a browsing state, namely the first user cannot edit the page document immediately and only can browse through the page document. When a user needs to edit a page document, a request for editing the page document can be initiated to a client through an editing button arranged on the page document or an editing button displayed on a client interface.
Step S102, sending an editing authority request of the first user to the page document to a server, so that the server queries the current editing state of the page document according to the editing authority request of the page document.
Specifically, the client asynchronously sends an edit right request of the first user for the page document to the server through ajax (i.e. executing an asynchronous network request by JavaScript), and informs the server that the first user needs to obtain an edit right for the current document. The current edit status includes: no one editing, the second user is editing. It should be noted that, in order to ensure the correctness of the content when a plurality of people edit a page, there is more than one user with editing right in the same time period, and there may be one or more people with browsing right.
Step S103, receiving a first indication whether the first user returned by the server according to the current editing state of the page document has the editing authority.
In an optional embodiment, in a case that the current editing state is unattended editing, the first indication is that the first user has an editing right; and under the condition that the current editing state is that the second user is editing, the first indication indicates that the first user does not have editing authority.
Further, when the first indication indicates that the first user has editing right and the page document is set to be editable, a websocket request is sent to the server to establish websocket connection with the server. Therefore, the websocket connection with the server can realize instant communication between the client and the server when the first user edits the page document, for example, a request for transferring the editing right of the third user is received, so that the first user instantly agrees to or transfers the editing right.
In an optional embodiment, in a case that the current editing state is that the second user is editing, the first indication further includes: the first user may request that the second user transfer editing rights to edit the page document.
On the basis, inquiring whether the first user requests the second user to transfer the editing right; under the condition that the first user requests the second user to transfer the editing authority, sending an transferring and editing authority request to the server, so that the server obtains an editing authority transferring result of the second user according to the transferring and editing authority request; receiving a second indication whether the first user has the editing authority or not, which is returned by the server according to the editing authority transfer result; and setting the page document to be editable for the first user to edit the page document under the condition that the received second indication indicates that the first user has the editing right.
Specifically, the first user may be notified or reminded in various forms such as a pop-up window, a message flashing, etc. that the second user, who is editing the page document, may request to transfer the editing rights. It is to be understood that after notifying or reminding the first user that the transfer of the editing right to the second user can be requested, the first user may request the transfer of the editing right or may give up the transfer of the editing right. Accordingly, the second user may either agree to transfer the editing rights to the first user or refuse to transfer the editing rights to the first user. In addition, after the second user refuses to transfer the editing right, the first user may request the editing right again or multiple times or request to transfer the editing right.
Furthermore, when the first indication indicates that the first user does not have the editing right and the first user requests the second user to transfer the editing right, a websocket request is sent to the server to establish websocket connection with the server. Therefore, the instant communication between the client of the first user and the server can be realized by establishing the websocket connection with the server, for example, the transfer editing authority result of the second user is received.
On this basis, after the first user finishes editing the page document, sending a request for closing the websocket connection to the server, so that the server updates the current editing state of the page document to unmanned editing according to the received request for closing the websocket connection.
And step S104, setting the page document to be editable under the condition that the received first indication indicates that the first user has the editing authority, so that the first user can edit the page document.
In an optional implementation manner, in a case where the page document is set to be editable for the first user to edit the page document, the method further includes: receiving an assignment editing authority request of a third user sent by the server; inquiring whether the first user agrees to transfer the editing right; and receiving an editing authority transfer result of the first user, and sending the editing authority transfer result of the first user to the server, so that the server determines whether the third user has the editing authority for the page document according to the editing authority transfer result of the first user. That is, in the case where the first user edits the page document, the third user may initiate a request to transfer the editing right to the first user, and the first user may refuse or may agree to transfer the editing right.
Furthermore, in order to avoid that the first user maliciously occupies the editing right and reduce the efficiency of collaboratively editing the page document, or a third user always frequently requests to transfer the editing right and reduce the user experience, the time interval or frequency of requesting to transfer the editing right can be set.
In an optional implementation manner, in a case of inquiring whether the first user agrees to transfer the editing right, if an editing right transfer result indication of the first user is not received within a threshold time, a default editing right transfer result is sent to the server. Specifically, the default editing authority transfer result may be set according to actual requirements, and may be either agreement to transfer the editing authority or rejection to transfer the editing authority.
Based on the embodiment, the number of people who edit the document online at the same time is ensured to be at most one by applying for editing authority or applying for transferring the editing authority at the current page editing text, and the conflict of page document contents generated by editing multiple people at the same time is avoided; meanwhile, instant communication between a client side where a user collaboratively edits the page document and a server is realized through websocket connection; in addition, in the process of requesting transfer of the editing right, the mode that the user defaults to transfer the editing right if the user does not serve as the editing right within the threshold time period is adopted, and the problem that the collaborative efficiency is low due to the fact that one person occupies the editing right for a long time is avoided to a certain extent.
Referring to fig. 2, an embodiment of the present invention provides a schematic diagram of a main flow of another method for collaboratively editing a document, where the method specifically includes the following steps:
step S201, receiving an edit permission request of a first user for a page document.
Step S202, sending an editing authority request of the first user to the page document to a server, so that the server queries the current editing state of the page document according to the editing authority request of the page document.
Step S203, receiving a first indication whether the first user returned by the server according to the current editing state of the page document has the editing authority. In the case that the received first indication is that the first user has the editing right, continuing to execute the following step S208; in the case that the received first indication is that the first user does not have the editing right, that is, the current editing state of the page document is the second user editing, the following step S204 is continuously executed. And sending a websocket request to the server to establish websocket connection with the server under the condition that the first indication indicates that the first user has editing permission and the page document is set to be editable.
Step S204, inquiring whether the first user requests the second user to transfer the editing right. It is to be understood that after notifying or reminding the first user that the transfer of the editing right to the second user can be requested, the first user may request the transfer of the editing right or may give up the transfer of the editing right. Accordingly, the second user may either agree to transfer the editing rights to the first user or refuse to transfer the editing rights to the first user. In addition, after the second user refuses to transfer the editing right, the first user may request the editing right again or multiple times or request to transfer the editing right. The present embodiment is described by taking as an example only the first user requesting to transfer the editing right. And under the condition that the first user requests the second user to transfer the editing authority, sending a websocket request to the server so as to establish websocket connection with the server.
Step S205, under the condition that the first user requests the second user to transfer the editing right, sending a transfer editing right request to the server, so that the server obtains an editing right transfer result of the second user according to the transfer editing right request.
Step S206, receiving a second indication whether the first user returned by the server according to the editing authority transfer result has the editing authority. In the case that the received second indication is that the first user has the editing right, continuing to execute the following step S208; in the case that the received second indication is that the first user does not have the editing right, that is, the second user refuses to transfer the page editing right, the following step S207 is continuously executed.
Step S207, the first user is notified that the first user does not have the editing right. Specifically, the first user may be notified that it does not have the editing right in the form of a pop-up window, a blinking message, or the like.
Step S208, the page document is set to be editable, so that the first user can edit the page document. And after the first user finishes editing the page document, sending a request for closing the websocket connection to the server, so that the server updates the current editing state of the page document to be unmanned editing according to the received request for closing the websocket connection, and other users can edit the page document.
Referring to fig. 3, on the basis of the above embodiment, there is provided a client 300 for collaboratively editing a document, including: a request receiving module 301, a request sending module 302, an indication receiving module 303 and a document setting module 304; wherein the content of the first and second substances,
the request receiving module 301 is configured to receive an edit permission request of a first user for a page document;
the request sending module 302 is configured to send an edit permission request of the first user for the page document to a server, so that the server queries a current edit state of the page document according to the edit permission request of the page document;
the indication receiving module 303 is configured to receive a first indication that whether a first user returned by the server according to the current editing state of the page document has an editing right;
the document setting module 304 is configured to set the page document to be editable for the first user to edit the page document, if the received first indication indicates that the first user has the editing right.
In an optional embodiment, in a case that the current editing state is unattended editing, the first indication is that the first user has an editing right; and under the condition that the current editing state is that the second user is editing, the first indication indicates that the first user does not have editing authority.
In an optional embodiment, in a case that the current editing state is that the second user is editing, the first indication further includes: the first user may request that the second user transfer editing rights to edit the page document.
In an optional embodiment, the document setting module 304 is further configured to inquire whether the first user requests the second user to transfer the editing right;
the request sending module 302 is further configured to send an assignment editing permission request to the server, so that the server obtains an editing permission assignment result of the second user according to the assignment editing permission request, when the first user requests the second user to assign the editing permission;
the indication receiving module 303 is configured to receive a second indication that whether the first user returned by the server according to the editing right transfer result has an editing right;
the document setting module 304 is further configured to set the page document to be editable for the first user to edit the page document if the received second indication indicates that the first user has the editing right.
In an optional implementation manner, in a case where the page document is set to be editable for the first user to edit the page document, the method further includes:
receiving an assignment editing authority request of a third user sent by the server; inquiring whether the first user agrees to transfer the editing right;
and receiving an editing authority transfer result of the first user, and sending the editing authority transfer result of the first user to the server, so that the server determines whether the third user has the editing authority for the page document according to the editing authority transfer result of the first user.
In an optional embodiment, the method further comprises: and sending a websocket request to the server to establish websocket connection with the server under the condition that the first indication indicates that the first user has editing permission and the page document is set to be editable.
In an optional embodiment, the method further comprises: and sending a websocket request to the server to establish websocket connection with the server under the condition that the first indication indicates that the first user does not have the editing authority and the first user requests the second user to transfer the editing authority.
In an optional embodiment, the method further comprises: and after the first user finishes editing the page document, sending a request for closing the websocket connection to the server, so that the server updates the current editing state of the page document to unmanned editing according to the received request for closing the websocket connection.
In an optional implementation manner, in a case of inquiring whether the first user agrees to transfer the editing right, if an editing right transfer result indication of the first user is not received within a threshold time, a default editing right transfer result is sent to the server.
Referring to fig. 4, on the basis of the above embodiment, there is provided a system 400 for collaboratively editing a document, including: a first client 401 and a server 402; wherein the content of the first and second substances,
under the condition that a first user requests to edit a page document, the first client 401 where the first user is located is used for sending an edit permission request of the first user on the page document to the server 402;
the server 402 is configured to query a current editing state of the page document according to the received editing right request, and notify the first client whether the first user has an editing right to edit the page document according to the queried current editing state;
in the case that the first user has the editing right, the first client 401 is further configured to set the page document to be editable, so that the first user can edit the page document.
In an alternative embodiment, the server 402 is configured to,
under the condition that the inquired current editing state is unmanned editing, informing the first client that the first user has editing permission for editing the page text;
and under the condition that the inquired current editing state is that a second user is editing, informing the first client that the first user does not have the editing authority for editing the page text.
In an alternative embodiment, the server 402 is further configured to,
and under the condition that the inquired current editing state is that a second user is editing, informing the first client that the first user can request the second user to transfer the editing authority for editing the page document.
In an optional embodiment, the method further comprises: a second client 403;
under the condition that the first user requests the second user to transfer the editing right, the first client 401 is used for sending a request for transferring the editing right to the server;
the server 402 is configured to send the assignment editing permission request to the second client where the second user is located according to the received assignment editing permission request;
the second client 403 is configured to inquire whether the second user agrees to assign the editing right according to the received request for assigning the editing right, and send an obtained result of assigning the editing right to the server;
the server 402 is configured to notify the first client whether the first user has an editing right for editing the page document according to the received result of transferring the editing right.
In an alternative embodiment, the server 402 is configured to,
when the result of transferring the editing right returned by the second client is transfer agreement, the first client is informed that the first user has the editing right for editing the page document;
and under the condition that the result of transferring the editing right returned by the second client is transfer refusal, informing the first client that the first user has the editing right for editing the page document.
In an optional implementation manner, when the queried current editing state is unattended editing and the first client is notified that the first user has an editing right to edit the page text, the server 402 is configured to create a websocket dialog for the first client to edit the page text;
when the first client sets the page document to be editable, the first client 401 is configured to send a websocket request to the server, so as to establish websocket connection with the server.
In an optional implementation manner, when the queried current editing state is that a second user is editing, and the first user requests the second user to transfer the editing right, the first client 401 is configured to send a websocket request to the server to establish a websocket connection with the server.
In an optional implementation manner, after the first user finishes editing the page document, the first client 401 is configured to send a request for closing the websocket connection to the server;
the server 402 is configured to update the current editing state of the page document to be unattended editing when receiving the request for closing the websocket connection.
In an optional implementation manner, when the second client 403 receives the request for transferring the editing right sent by the server, the second client 403 is configured to ask whether the second user agrees to transfer the editing right;
and if the second user does not refuse to transfer the editing right within the threshold time, the result of transferring the editing right acquired by the second client is a default transfer result.
Referring to fig. 5, on the basis of the foregoing embodiment, an embodiment of the present invention provides a method for collaboratively editing a document, which is applied to a system for collaboratively editing a document, and the method may specifically include the following steps:
step S501, under the condition that a first user requests to edit a page document, a first client where the first user is located sends an edit permission request of the first user to the page document to a server.
Page documents are documents that carry any format, including but not limited to txt, markdown, office, js, html, css, etc. When the first user opens the page document or finishes loading the page document, the default page document is in a browsing state, namely the first user cannot edit the page document immediately and only can browse through the page document. When a user needs to edit a page document, a request for editing the page document can be initiated to a first client through an editing button arranged on the page document or an editing button displayed on a first client interface. Based on the method, the first client asynchronously sends the request of the first user for the editing authority of the page document to the server through ajax (namely JavaScript execution asynchronous network request), and informs the server that the first user needs to obtain the editing authority of the current document.
Step S502, the server side inquires the current editing state of the page document according to the received editing authority request, and informs the first client side whether the first user has the editing authority for editing the page text or not according to the inquired current editing state.
After receiving an editing authority request of a first user for the page document sent by a first client, a server side inquires the editing state of the page document, wherein the editing state of the page document comprises: no one editing, the second user is editing. More specifically, under the condition that the inquired current editing state is unmanned editing, the first client is informed that the first user has editing authority for editing the page text; and under the condition that the inquired current editing state is that a second user is editing, informing the first client that the first user does not have the editing authority for editing the page text.
Step S503, when the first user has the editing right, the first client sets the page document as editable, so that the first user can edit the page document.
In order to ensure instant messaging between a server and a first user when the first user edits a page document, for example, monitoring an editing right request of other users to the page document, in a preferred embodiment, when the queried current editing state is unmanned editing, and the first user is notified of having an editing right for editing the page document, the server creates a websocket session (session) for the first user to edit the page document; when the first client sets the page document to be editable, the first client sends a websocket request to the server so as to establish websocket connection with the server.
In an optional implementation manner, in a case that the queried current editing state is that a second user is editing, the server notifies the first client that the first user may request the second user to transfer an editing right for editing the page document.
The first client may notify or remind the first user that a second user, who is editing the page document, may request to transfer the editing rights through various forms of pop-up, message flashing, and the like. It is to be understood that after notifying or reminding the first user that the transfer of the editing right to the second user can be requested, the first user may request the transfer of the editing right or may give up the transfer of the editing right. Accordingly, the second user may either agree to transfer the editing rights to the first user or refuse to transfer the editing rights to the first user. In addition, after the second user refuses to transfer the editing right, the first user may request the editing right again or multiple times or request to transfer the editing right.
Specifically, for example, the first user is notified or reminded in a pop-up window form, where the pop-up window has timeliness, and is closed by default for 20s (or for a preset other time period, such as 30s, 15s, and the like), if the first user does not operate within 20s, the pop-up window is closed, and the default user does not request the second user to transfer the editing right, or if the user B clicks to cancel within 20s, the request for transferring the editing right by the second user is abandoned, but the editing right for the page document may be requested again later; and if the application button is clicked within 20s, the first client asynchronously sends the first user to the server through ajax to request the second user to transfer the editing right.
In an optional implementation manner, in a case that the first user requests the second user to transfer the editing right, the first client sends a request for transferring the editing right to the server; the server side sends the transfer editing permission request to the second client side where the second user is located according to the received transfer editing permission request; the second client inquires whether the second user agrees to transfer the editing right or not according to the received transfer editing right request, and sends the obtained result of the transfer editing right to the server; and the server informs the first client whether the first user has the editing authority for editing the page document according to the received result of transferring the editing authority.
In an optional implementation manner, when the result of transferring the editing right returned by the second client is that transfer is granted, the first client is notified that the first user has the editing right for editing the page document; and under the condition that the result of transferring the editing right returned by the second client is transfer refusal, informing the first client that the first user does not have the editing right for editing the page document.
It should be noted that, after the second user refuses to transfer the editing right, the first user may request the editing right again or request to transfer the editing right many times, so as to ensure the experience of the second user in editing the page document, the frequency or time interval of repeatedly initiating the request of transferring the editing right by the first user may be limited, for example, the first user may initiate the second request again after requesting to transfer the editing right 90s (or may be a preset other time period, such as 30s or 15 s). Based on the method, by means of requesting the editing right and requesting the transfer of the editing right, a plurality of users allowed to view the page document online in the same time period can be ensured, and at most one user allowed to edit the page document is ensured, so that the accuracy of the content sequence of the page document is ensured when a plurality of people collaboratively edit the page document.
In an optional implementation manner, when the second client receives the request for transferring the editing right sent by the server, the second client asks the second user whether to approve transferring the editing right; and if the second user does not refuse to transfer the editing right within the threshold time, the result of the transfer editing right returned by the second client to the server is a default transfer result.
The first client may notify or remind the first user that a second user, who is editing the page document, may request to transfer the editing rights through various forms of pop-up, message flashing, and the like. Specifically, it is described by taking an example that whether a second user agrees to transfer the editing right to a first user is queried in a popup mode, the popup has timeliness, the popup is closed by default for 10s (or preset other time periods, such as 30s, 15s and the like), and if the second user clicks an agreement button within 10s, the editing right of the current document is transferred to the first user and the second user is in a browsing state; and if the second user clicks the rejection button within 10s, the second user continues to have the editing right, and after the first user receives a response of rejecting the transfer, the user B continues to be in a browsing state. In addition, according to actual requirements, under the condition that the second user does not timely click an agreement or rejection button on the pop-up window, the default assignment result can be set to be agreement or disagreement for assignment according to the tendency of the user, for example, in order to avoid that the second user excessively occupies the editing right and results in collaborative editing efficiency, the default assignment result can be set to be agreement for assignment. That is, if the second user does not have any operation within 10s (or other preset time period, such as 30s, 15s, etc.), the second client notifies the server that the right can be transferred to the first user, and the second user defaults to return to the browsing state.
In order to ensure instant messaging between a server and a first user, for example, monitoring an assignment result of an editing right of a page document by other second users, in a preferred embodiment, when an inquired current editing state is that the second user is editing, and when the first user requests the second user to assign the editing right, the first client sends a websocket request to the server so as to establish websocket connection with the server. At this time, when the second user requests to edit the page document, the server already establishes a websocket session for communicating with the client, so that the first client can establish a websocket connection with the server only by sending a websocket request to the server.
In an optional implementation manner, after the first user finishes editing the page document, the first client sends a request for closing the websocket connection to the server; and the server side updates the current editing state of the page document to be unmanned editing under the condition of receiving the request for closing the websocket connection. That is to say, when the first user completes editing the page document, the first user may actively quit editing the page document, so that the first client actively ends the websocket connection with the server, and other users may enter the editing state.
Based on the embodiment, the number of people who edit the document online at the same time is ensured to be at most one by applying for editing authority or applying for transferring the editing authority at the current page editing text, and the conflict of page document contents generated by editing multiple people at the same time is avoided; meanwhile, instant communication between a client side where a user collaboratively edits the page document and a server is realized through websocket connection; in addition, in the process of requesting transfer of the editing right, the mode that the user defaults to transfer the editing right if the user does not serve as the editing right within the threshold time period is adopted, and the problem that the collaborative efficiency is low due to the fact that one person occupies the editing right for a long time is avoided to a certain extent.
Referring to fig. 6, on the basis of the foregoing embodiment, a main flowchart of another method for collaboratively editing a document, which is applied to a system for collaboratively editing a document, is provided, and the method may specifically include the following steps:
in step S901, the first user requests editing of a page document. Specifically, the first user may request to edit the page document through an edit button or the like displayed by the page document or the first client.
Step S902, when a first user requests to edit a page document, a first client sends an edit permission request of the first user for the page document to a server.
Step S903, in a case that the request of the first user for the editing right of the page document sent by the first client is received, the server queries the current editing state of the page document. It is understood that the current edit status includes: while the second user is editing without any person, the present embodiment will be described by taking the current editing state as the current editing state.
Step S904, when the queried current editing state is unmanned editing, the server creates a websocket dialog for the first client to edit the page.
Step S905, the server notifies the first client that the first user has an editing right to the page document.
In step S906, the first client sets the page document as editable for the first user to edit the page document. Meanwhile, the following step S207 is performed.
Step S907, the first client is configured to send a websocket request to the server, so as to establish a websocket connection with the server. In this way, the first user or the first client can establish instant communication with the server to monitor or receive messages such as requests of other users for page document editing rights.
In step S908, the first user edits the page document.
In step S909, after the first user finishes editing the page document, the first client sends a request for closing the websocket connection to the server.
Step S610, the server is used for updating the current editing state of the page document to be unmanned editing under the condition that the request for closing the websocket connection is received.
Referring to fig. 7, on the basis of the foregoing embodiment, a main flowchart of another method for collaboratively editing a document is provided, where the method specifically includes the following steps:
in step S701, the first user requests to edit a page document. Specifically, the first user may request to edit the page document through an edit button or the like displayed by the page document or the first client.
Step S702, under the condition that a first user requests to edit a page document, a first client sends an edit permission request of the first user for the page document to a server.
Step S703, in a case of receiving the request of the first user for the editing right of the page document sent by the first client, the server queries the current editing state of the page document. It is understood that the current edit status includes: no one edits, and the second user is editing, but the present embodiment will be described by taking the current editing state queried as the second user is editing.
Step S704, the server notifies the first client that the second user is editing the page document, and the first user may request the second user to transfer the editing right.
Step S705, the first client asks the first user whether to request the second user to transfer the editing right. It is to be understood that after notifying or reminding the first user that the transfer of the editing right to the second user can be requested, the first user may request the transfer of the editing right or may give up the transfer of the editing right. If the first user abandons, the first user continues to be in a state of browsing the page document. However, this embodiment will be described by taking as an example only the case where the first user requests the second user to transfer the editing right.
In step S706, the first user requests the second user to transfer the editing right.
Step S707, in a case that a first user requests a second user to transfer an editing right, the first client sends a request for transferring the editing right to the server.
Step S708, the first client sends a websocket connection request to the server.
Step S709, the server sends the transfer editing permission request to the second client where the second user is located. And the second client inquires whether the second user agrees to transfer the editing right or not according to the received transfer editing right request, and sends the obtained result of the transfer editing right to the server. It is to be understood that the result of transferring the editing right includes granting the transfer, denying the transfer. If the transfer is refused, the server side informs the first client side that the first user does not have the editing right, and the first user is still in a state of browsing page documents. However, this embodiment will be described only with respect to agreement to the assignment.
Step S710, the second client notifies the server that the second user agrees to assign the editing right.
Step S711, the server notifies the first client that the first user has an editing right to edit the page document.
In step S712, the first client sets the page document as editable for the first user to edit the page document.
In step S713, the first user edits the page document.
Step S714, after the first user finishes editing the page document, the first client sends a request for closing the websocket connection to the server.
And step S715, the server is used for updating the current editing state of the page document to be unmanned editing under the condition that the websocket connection closing request is received.
FIG. 8 illustrates an exemplary system architecture 800 to which the method of collaborative editing of a document of embodiments of the present invention may be applied.
As shown in fig. 8, the system architecture 800 may include terminal devices 801, 802, 803, a network 804, and a server 805. The network 804 serves to provide a medium for communication links between the terminal devices 801, 802, 803 and the server 805. Network 804 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 801, 802, 803 to interact with a server 805 over a network 804 to receive or send messages or the like. The terminal devices 801, 802, 803 may have installed thereon various communication client applications, such as shopping applications, web browser applications, search applications, instant messaging tools, mailbox clients, social platform software, and the like.
The terminal devices 801, 802, 803 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 805 may be a server that provides various services, such as a background management server that supports shopping websites browsed by users using the terminal devices 801, 802, 803. The backend management server can analyze and process the received data such as the product information inquiry request and feed back the processing result (for example, whether the data has the editing authority) to the terminal device.
It should be noted that the method for collaboratively editing a document provided by the embodiment of the present invention is generally executed by the server 805.
It should be understood that the number of terminal devices, networks, and servers in fig. 8 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 9, shown is a block diagram of a computer system 900 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 9 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 9, the computer system 900 includes a Central Processing Unit (CPU)901 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)902 or a program loaded from a storage section 908 into a Random Access Memory (RAM) 903. In the RAM 903, various programs and data necessary for the operation of the system 900 are also stored. The CPU 901, ROM 902, and RAM 903 are connected to each other via a bus 904. An input/output (I/O) interface 905 is also connected to bus 904.
The following components are connected to the I/O interface 905: an input portion 906 including a keyboard, a mouse, and the like; an output section 907 including components such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 908 including a hard disk and the like; and a communication section 909 including a network interface card such as a LAN card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 610 is also connected to the I/O interface 905 as necessary. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted into the storage section 908 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 909, and/or installed from the removable medium 611. The above-described functions defined in the system of the present invention are executed when the computer program is executed by a Central Processing Unit (CPU) 901.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: receiving an editing authority request of a first user for a page document; sending an editing authority request of the first user for the page document to a server, so that the server queries the current editing state of the page document according to the editing authority request of the page document; receiving a first indication that whether a first user returned by the server according to the current editing state of the page document has editing authority or not; and setting the page document to be editable for the first user to edit the page document under the condition that the received first indication indicates that the first user has the editing right.
According to the technical scheme of the embodiment of the invention, the number of people who edit the document online at the same time is ensured to be at most one by applying for editing authority or applying for transferring editing authority at the current time of editing the page document, and the conflict of page document contents generated by editing multiple people at the same time is avoided; meanwhile, instant communication between a client side where a user collaboratively edits the page document and a server is realized through websocket connection; in addition, in the process of requesting transfer of the editing right, the mode that the user defaults to transfer the editing right if the user does not serve as the editing right within the threshold time period is adopted, and the problem that the collaborative efficiency is low due to the fact that one person occupies the editing right for a long time is avoided to a certain extent.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (12)

1. A method for collaboratively editing a document, which is applied to a client, comprises the following steps:
receiving an editing authority request of a first user for a page document;
sending an editing authority request of the first user for the page document to a server, so that the server queries the current editing state of the page document according to the editing authority request of the page document;
receiving a first indication that whether a first user returned by the server according to the current editing state of the page document has editing authority or not;
and setting the page document to be editable for the first user to edit the page document under the condition that the received first indication indicates that the first user has the editing right.
2. The method of collaborative editing of a document according to claim 1,
when the current editing state is unmanned editing, the first indication indicates that a first user has editing permission;
and under the condition that the current editing state is that the second user is editing, the first indication indicates that the first user does not have editing authority.
3. The method of collaborative editing of a document according to claim 2,
in a case that the current editing state is that a second user is editing, the first indication further includes: the first user may request that the second user transfer editing rights to edit the page document.
4. The method of collaborative editing of a document according to claim 3, further comprising:
inquiring whether the first user requests the second user to transfer the editing right;
under the condition that the first user requests the second user to transfer the editing authority, sending an transferring and editing authority request to the server, so that the server obtains an editing authority transferring result of the second user according to the transferring and editing authority request;
receiving a second indication whether the first user has the editing authority or not, which is returned by the server according to the editing authority transfer result;
and setting the page document to be editable for the first user to edit the page document under the condition that the received second indication indicates that the first user has the editing right.
5. The method for collaborative editing of a document according to claim 1 or 4, wherein in a case where the page document is set to be editable for the first user to edit the page document, further comprising:
receiving an assignment editing authority request of a third user sent by the server; inquiring whether the first user agrees to transfer the editing right;
and receiving an editing authority transfer result of the first user, and sending the editing authority transfer result of the first user to the server, so that the server determines whether the third user has the editing authority for the page document according to the editing authority transfer result of the first user.
6. The method of collaborative editing of a page document according to claim 2, further comprising:
and sending a websocket request to the server to establish websocket connection with the server under the condition that the first indication indicates that the first user has editing permission and the page document is set to be editable.
7. The method for collaborative editing of a document according to claim 4, further comprising:
and sending a websocket request to the server to establish websocket connection with the server under the condition that the first indication indicates that the first user does not have the editing authority and the first user requests the second user to transfer the editing authority.
8. The method of collaborative editing of a document according to claim 6 or 7, further comprising:
and after the first user finishes editing the page document, sending a request for closing the websocket connection to the server, so that the server updates the current editing state of the page document to unmanned editing according to the received request for closing the websocket connection.
9. The method of collaborative editing of a document according to claim 5,
and under the condition of inquiring whether the first user agrees to transfer the editing authority, if the indication of the editing authority transfer result of the first user is not received within the threshold time, sending the default editing authority transfer result to the server.
10. A client for collaborative editing of a document, comprising: the device comprises a request receiving module, a request sending module, an indication receiving module and a document setting module; wherein the content of the first and second substances,
the request receiving module is used for receiving an editing authority request of a first user for a page document;
the request sending module is used for sending an editing authority request of the first user for the page document to a server so that the server can inquire the current editing state of the page document according to the editing authority request of the page document;
the indication receiving module is used for receiving a first indication whether a first user returned by the server according to the current editing state of the page document has editing authority or not;
the document setting module is configured to set the page document to be editable for the first user to edit the page document under the condition that the received first indication indicates that the first user has the editing right.
11. A server for collaborative editing of a document, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-9.
12. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-9.
CN201911135068.XA 2019-11-19 2019-11-19 Method and system for collaboratively editing document Pending CN112906353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911135068.XA CN112906353A (en) 2019-11-19 2019-11-19 Method and system for collaboratively editing document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911135068.XA CN112906353A (en) 2019-11-19 2019-11-19 Method and system for collaboratively editing document

Publications (1)

Publication Number Publication Date
CN112906353A true CN112906353A (en) 2021-06-04

Family

ID=76103492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911135068.XA Pending CN112906353A (en) 2019-11-19 2019-11-19 Method and system for collaboratively editing document

Country Status (1)

Country Link
CN (1) CN112906353A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113468858A (en) * 2021-07-21 2021-10-01 山谷网安科技股份有限公司 On-line editing method of office file independent of client environment
CN114417392A (en) * 2022-04-02 2022-04-29 湖南宸瀚信息科技有限责任公司 Multiple auditing system for block chain editing permission
WO2024087751A1 (en) * 2022-10-24 2024-05-02 天津联想协同科技有限公司 Method and apparatus for positioning editing area of online document, and server and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113468858A (en) * 2021-07-21 2021-10-01 山谷网安科技股份有限公司 On-line editing method of office file independent of client environment
CN113468858B (en) * 2021-07-21 2023-12-19 山谷网安科技股份有限公司 Method for online editing of office file independent of client environment
CN114417392A (en) * 2022-04-02 2022-04-29 湖南宸瀚信息科技有限责任公司 Multiple auditing system for block chain editing permission
CN114417392B (en) * 2022-04-02 2022-06-10 湖南宸瀚科技有限公司 Multi-auditing system for block chain editing permission
WO2024087751A1 (en) * 2022-10-24 2024-05-02 天津联想协同科技有限公司 Method and apparatus for positioning editing area of online document, and server and storage medium

Similar Documents

Publication Publication Date Title
US10834037B2 (en) Systems and methods for image sharing
CN112906353A (en) Method and system for collaboratively editing document
CN110795147A (en) Interface protocol file management method and device
JP2023522471A (en) Information interaction method, device, server, system and storage medium
JP2022091904A (en) Mini program page skin changeover method, device, and electronic apparatus
CN111178052A (en) Method and device for constructing robot process automation application
CN111062572B (en) Task allocation method and device
CN110705271B (en) System and method for providing natural language processing service
CN108933823B (en) User touch method and device
CN112486482A (en) Page display method and device
CN112667368A (en) Task data processing method and device
CN114924937A (en) Batch task processing method and device, electronic equipment and computer readable medium
CN114417318A (en) Third-party page jumping method and device and electronic equipment
CN115022266A (en) Group member adding method, device, equipment and medium
CN113127561B (en) Method and device for generating service single number, electronic equipment and storage medium
CN112783914B (en) Method and device for optimizing sentences
CN113722007A (en) Configuration method, device and system of VPN branch equipment
CN109087097B (en) Method and device for updating same identifier of chain code
CN112905604A (en) Data processing method and device
CN110874302A (en) Method and device for determining buried point configuration information
CN111415262A (en) Service processing method and device
CN110807089B (en) Question answering method and device and electronic equipment
CN110659933B (en) Method and device for generating balance tailed recommendation content
CN113486636A (en) Text labeling method and device
CN112187837B (en) Communication method and device based on multiple roles and electronic equipment

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