Multi-person collaborative input method based on input method, device, system, electronic device, storage medium, and computer program
The multi-user collaborative input method synchronizes document content across terminals and target programs, addressing the lack of simultaneous editing in existing input programs by automating content synchronization.
Patent Information
- Application Number
- JP2024571941
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2023-02-20
- Filing Date
- 2023-09-15
- Publication Date
- 2026-01-20
- Estimated Expiration
- 2043-09-15
AI Technical Summary
Existing input programs do not support simultaneous multi-user editing, requiring cumbersome manual copying of edited content from third-party collaboration platforms into target applications.
A multi-user collaborative input method and device that utilizes an input method server to synchronize document content across multiple terminals, enabling real-time editing and automatic synchronization with target programs.
Enables simultaneous multi-user editing with automatic content synchronization, eliminating the need for manual copying and enhancing collaboration efficiency.
Smart Images

Figure 0007802965000001 
Figure 0007802965000002 
Figure 0007802965000003
Abstract
Description
[Technical Field]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This disclosure claims priority to a Chinese patent application filed with the State Intellectual Property Office of the People's Republic of China on February 20, 2023, bearing application number 202310182631.9 and entitled "Multi-person collaborative input method, device and system based on input method," the entire text of which is incorporated herein by reference.
[0002] The present disclosure relates to the technical field of Internet applications, particularly to the field of online editing, and more particularly to a method and device for multi-person collaborative input based on an input method. , Shi stem , electronic devices, storage media and computer programs Regarding. [Background technology]
[0003] In our daily work and life, we often encounter situations where multiple people, each responsible for a different part of a document, need to edit or modify it simultaneously. However, most common input programs (e.g., office programs like Word and chat programs like WeChat) do not support online simultaneous editing by multiple people.
[0004] In the prior art, collaboration input is typically performed using a third-party online document creation platform, and the edited results are then copied and input into the target application program. Input using a third-party online collaboration platform is not very universal. If the third-party online collaboration platform is not the target application program, the edited results must ultimately be copied into the target application program, which is a cumbersome operation. Summary of the Invention
[0005] The present disclosure relates to a multi-person collaborative input method and device based on an input method, Systems, ElectronicsWe provide devices, storage media, and computer programs.
[0006] According to a first aspect of the present disclosure, there is provided a multi-user collaborative input method based on an input method applied to an input method server, the multi-user collaborative input method based on the input method including: a step of retrieving document content from a target program in response to receiving a multi-user simultaneous editing request from a target user triggered by an input method adopted in a target program of the target terminal; a step of generating a session identifier for connecting to the input method server and feeding back the session identifier to the target terminal so that the target user can share the session identifier with terminals of other users; a step of sending the document content to an input method display screen of the other user's terminal in response to detecting that the other user's terminal has connected to the input method server via the session identifier; a step of synchronizing the updated document content to the input method display screen of all terminals connected to the input method server via the session identifier in response to receiving updated document content from any terminal via the input method; and a step of sending the updated document content to the target terminal so that the target terminal synchronizes the updated document content with the target program.
[0007] According to a second aspect of the present disclosure, there is provided a multi-user collaborative input method based on an input method that is applied to a terminal, the multi-user collaborative input method based on the input method including the steps of: sending a multi-user simultaneous editing request to an input method server in response to detecting that a target user has turned on a multi-user simultaneous editing function based on an input method in a target program; sending document content in the target program to the input method server; receiving a session identifier sent by the input method server; transferring the session identifier to a terminal of another user selected by the target user; receiving document content edited by another user that has been sent by the input method server; and synchronizing the edited document content with the target program.
[0008] According to a third aspect of the present disclosure, there is provided a multi-user collaborative input device based on an input method applied to an input method server, the multi-user collaborative input device based on the input method comprising: an acquisition unit configured to acquire document content from a target program in response to receiving a multi-user simultaneous editing request from a target user triggered by an input method adopted in a target program of the target terminal; a generation unit configured to generate a session identifier for connecting to the input method server and feed back the session identifier to the target terminal so that the target user can share the session identifier with terminals of other users; a transmission unit configured to send the document content to an input method display screen of the other user's terminal in response to detecting that the other user's terminal has connected to the input method server via the session identifier; an integration unit configured to synchronize the updated document content to the input method display screen of all terminals connected to the input method server via the session identifier in response to receiving updated document content from any terminal via the input method; and a synchronization unit configured to send the updated document content to the target terminal so that the target terminal synchronizes the updated document content with the target program.
[0009] According to a fourth aspect of the present disclosure, there is provided an input method-based multi-person collaborative input device that is applied to a terminal, the input method-based multi-person collaborative input device comprising: a request unit configured to send a multi-person simultaneous editing request to an input method server in response to detecting that a target user has turned on an input method-based multi-person simultaneous editing function in a target program; a sending unit configured to send document content in the target program to the input method server; a first receiving unit configured to receive a session identifier sent by the input method server; a forwarding unit configured to forward the session identifier to terminals of other users selected by the target user; a second receiving unit configured to receive document content edited by other users sent by the input method server; and a synchronization unit configured to synchronize the edited document content with the target program.
[0010] According to a fifth aspect of the present disclosure, there is provided a multi-person collaborative input system based on an input method, comprising: an input method server configured to execute a multi-person collaborative input method based on the input method described in any one of the first aspect; and at least two terminals, each configured to execute a multi-person collaborative input method based on the input method described in any one of the second aspect.
[0011] According to a sixth aspect of the present disclosure, there is provided an electronic device comprising at least one processor and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the electronic device causes the at least one processor to execute a multi-person collaborative input method based on the input method described in the first and second aspects.
[0012] According to a seventh aspect of the present disclosure, there is provided a multi-user collaborative input method based on the input method according to the first and second aspects. Woko A non-transitory computer-readable storage medium having stored thereon computer instructions for execution by a computer is provided.
[0013] According to an eighth aspect of the present disclosure, there is provided a computer program that, when executed by a processor, realizes a multi-user collaborative input method based on the input method according to the first and second aspects. M provide.
[0014] The input method, device, and system for multi-user collaborative input based on input methods provided by the embodiments of the present disclosure allow multiple input terminals to perform editing operations via input methods, modify text content stored in an input method server in real time, and input the updated text content into a target program via the input methods of the target terminals, thereby realizing a multi-user simultaneous input function. The core idea of the present disclosure is to provide a multi-user collaborative function in the cloud, and use input methods as a bridge to enable multiple users to input into a target program simultaneously.
[0015] It should be noted that the contents described in the Summary of the Invention are not intended to limit the key or important features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will be easier to understand from the following description. [Brief explanation of the drawings]
[0016] The drawings are used for a better understanding of the present disclosure and are not a limitation to the present disclosure. [Figure 1] FIG. 1 illustrates an exemplary system architecture to which an embodiment of the present disclosure can be applied. [Figure 2] 1 is a flowchart of an embodiment of a multi-user collaborative input method based on an input method according to the present disclosure. [Figure 3]10 is a flowchart illustrating another embodiment of a multi-user collaborative input method based on an input method according to the present application. [Figure 4A] 1 is a schematic diagram illustrating an application scene of a multi-user collaborative input method based on an input method according to the present disclosure. [Figure 4B] 1 is a schematic diagram illustrating an application scene of a multi-user collaborative input method based on an input method according to the present disclosure. [Figure 5] 1 is a structural schematic diagram illustrating an embodiment of a multi-user collaborative input device based on an input method according to the present disclosure; [Figure 6] 1 is a structural schematic diagram illustrating another embodiment of a multi-user collaborative input device based on an input method according to the present disclosure; [Figure 7] 1 is a structural schematic diagram of a computer system applied to an electronic device for achieving an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION
[0017] Hereinafter, exemplary embodiments of the present disclosure will be described with reference to the drawings. Various details of the embodiments of the present disclosure will be described to facilitate understanding, but it should be understood that these are merely exemplary. Therefore, it should be understood that those skilled in the art can make various changes and modifications to the embodiments of the present disclosure without departing from the scope and spirit of the present disclosure. In the following description, for the sake of clarity and simplicity, descriptions of known functions and structures will be omitted.
[0018] FIG. 1 illustrates an exemplary system architecture 100 to which an embodiment of an input method-based multi-user collaborative input method or input method-based multi-user collaborative input device according to the present disclosure can be applied.
[0019] 1, system architecture 100 may include terminals 101, 102, 103, a network 104, and an input method server 105. Network 104 is used as a medium to provide a communication link between terminals 101, 102, 103 and server 105. Network 104 may include various types of connections, such as wired, wireless communication links, or fiber optic cables.
[0020] Users can use terminals 101, 102, and 103 to interact with server 105 over network 104 to send and receive messages. Various communication client applications can be installed on terminals 101, 102, and 103, such as input methods, document editing tools, office software, web browser applications, shopping applications, search applications, instant communication tools, mailbox clients, and social platform software.
[0021] Terminals 101, 102, and 103 may be hardware or software. If terminals 101, 102, and 103 are hardware, they may be various electronic devices that have a display screen and support text input, including, but not limited to, smartphones, tablet computers, e-book readers, MP3 (Moving Picture Experts Group Audio Layer III) players, MP4 (Moving Picture Experts Group Audio Layer III) players, laptop computers, and desktop computers. If terminals 101, 102, and 103 are software, they may be installed in the electronic devices exemplified above. They may be implemented as multiple software programs or software modules (e.g., for providing distributed services) or as a single software program or software module. No particular limitation is imposed here.
[0022] The input method server 105 may be, for example, a server that supports input methods that run on the terminals 101, 102, and 103, or a server that provides various services, such as providing functions such as a dictionary. The input method server performs processing such as analyzing data such as received multi-user simultaneous editing requests and document content, and can feed back the processing results (for example, document content edited by multiple users) to the terminals.
[0023] The input method server may be hardware or software. If the input method server is hardware, it may be implemented as a distributed server cluster consisting of multiple servers, or as a single server. If the input method server is software, it may be realized as multiple software programs or software modules (e.g., multiple software programs or software modules for providing distributed services), or as a single software program or software module. There are no particular limitations here. The input method server may be a server in a distributed system or a server that combines blockchain. The input method server may be a cloud server, or a smart cloud computing server or smart cloud host with artificial intelligence technology.
[0024] The multi-user collaborative input method based on an input method provided by the embodiment of the present disclosure may be executed by the terminals 101, 102, and 103, or may be executed by the input method server 105. Accordingly, the multi-user collaborative input device based on an input method may be installed in the terminals 101, 102, and 103, or may be installed in the input method server 105. There are no particular limitations here.
[0025] It should be understood that the number of terminals, networks, and servers in Figure 1 is merely an example, and the number of terminals, networks, and servers may be arbitrarily increased or decreased according to the needs of implementation.
[0026] 2, which illustrates a flow chart 200 of an embodiment of a multi-user collaborative input method based on an input method according to the present disclosure. The multi-user collaborative input method based on an input method includes the following steps:
[0027] In step 201, document content is obtained from a target program in response to receiving a multi-user simultaneous editing request from a target user triggered by an input method employed by the target program on the target terminal.
[0028] In this embodiment, the executing entity of the multi-user collaborative input method based on the input method (for example, the input method server of a predetermined input method shown in FIG. 1) can be connected by wire or wirelessly to each terminal on which a predetermined input method program (hereinafter simply referred to as "input method") is installed. The input method supports the function of simultaneous editing by multiple users. When using the input method in the target program (for example, Word, Excel, WeChat, etc.), the user can turn on the multi-user simultaneous editing function. In this case, the input method can send the document content in the target program to the input method server. Since multiple users are editing simultaneously, the initiator of the multi-user simultaneous editing is referred to as the target user, the terminal used by the initiator is referred to as the target terminal, and the terminal where the document content is located is referred to as the terminal where the document content is located. application The program is called the target program. The document content may include not only text but also some emojis. The retrieved document content is stored in the input method server and may be stored in memory while the session is connected. When the session ends (after the target user turns off the input method-based multi-user editing function), the document content in memory may be transferred to a hard disk for download by the target user and other users, and then the data related to the session in memory may be cleared.
[0029] In step 202, a session identifier for connecting to the input method server is generated, and the session identifier is fed back to the target terminal so that the target user can share the session identifier with other users' terminals.
[0030] In this embodiment, each time a target user turns on the multi-user simultaneous editing function of the input method, it is considered a single session, and turning off the function turns off the session. The input method server assigns a unique session identifier to each session. The session identifier may be a string of characters linked to the input method or a two-dimensional code. By clicking the string of characters linked to the input method or scanning the two-dimensional code, the user can connect to the input method server and access the document content corresponding to the session identifier.
[0031] The input method server can feed back the session identifier to the terminal and display the session identifier on the input method screen of the terminal, and the target user can transfer the session identifier to the terminals of other users who participate in the document editing specified by the target user.
[0032] In step 203, in response to detecting that the other user's terminal has been connected to the input method server by the session identifier, the document content is sent to the input method display screen of the other user's terminal.
[0033] In this embodiment, when another user connects to the input method server using a session identifier on the input method screen, the input method-based multi-user simultaneous editing function is turned on, and the input method server sends the document content to the input method display screen of the other user's terminal, so that the same document content can be displayed on the input method display screen of each terminal connected to the input method server using the session identifier, as shown in Figure 4B.
[0034] In step 204, in response to receiving document content updated by the input method from any terminal, the updated document content is synchronized to the input method display screens of all terminals connected to the input method server by the session identifier.
[0035] In this embodiment, each user participating in the multi-user simultaneous editing using a session identifier can add, modify, or delete document content synchronized from the input method server on the input method screen of their own terminal. Any editing operations on the input method screen are sent to the input method server and then synchronized to the terminals of other users participating in the multi-user simultaneous editing.
[0036] Step 205 sends the updated document content to the target terminal, causing the target terminal to synchronize the updated document content with the target program.
[0037] In this embodiment, any user modifications are synchronized to the initiator's target terminal and are not only displayed on the input method's display screen, but also can replace content in the target program. The terminal replacement operation is performed automatically by the input method, without the need for manual copying by a human.
[0038] The method provided by the above embodiment of the present disclosure realizes the function of simultaneous input by multiple people by performing editing operations through input methods on multiple input terminals, modifying text content stored in the cloud in real time, and inputting the updated text content into a target program through input methods on the target terminals.
[0039] In some optional embodiments of this embodiment, the method further includes, when edits made to the document content by different terminals conflict, using the most recently updated document content, so that conflicts during editing can be quickly resolved.
[0040] In some optional embodiments of this embodiment, the method further includes a step in which the target user pre-sets priorities for other users participating in editing, and a step in which, when edits made to the document content by different terminals conflict, the document content edited by the user with the highest priority is used. A user with a lower priority cannot change the content entered by a user with a higher priority, and a user with a higher priority can change the content entered by a user with a lower priority. The priorities may be set based on information such as the quality of the text edited by the user, the user's job title, etc. This can prevent content that is originally correct from being erroneously modified.
[0041] In some optional embodiments of this embodiment, the method further includes adding a correction record including a user identifier to the updated document content, so that the target user can choose to accept or reject the correction. To facilitate review, a correction mode can be set, allowing the target user to accept or reject the correction, much like the existing Word correction mode. The target user can choose to accept all corrections by a specific user, or can choose to reject all corrections by a specific user. This allows the corrected document content to be reviewed quickly.
[0042] In some optional embodiments of this embodiment, the method further includes counting the number of correction rejections for each user based on the user identifier, and lowering the priority of a user whose number of correction rejections is greater than a predetermined threshold. The number of rejected corrections for each user is counted, with one character correction per paragraph being counted, to determine the number of rejected corrections. If the number of rejected corrections is too high, it means that the user's correction quality is low, and the priority of the user is lowered to prevent the user from changing content created by other users with high correction quality.
[0043] In some optional embodiments of this embodiment, the session identifier is a two-dimensional code. The two-dimensional code contains information about the session and is linked to an input method server. The two-dimensional code is easy to transmit, and scanning the two-dimensional code allows direct connection to the input method server.
[0044] 3, which illustrates a flow 300 of another embodiment of a multi-user collaborative input method based on an input method, the flow 300 of the multi-user collaborative input method based on an input method includes the following steps:
[0045] In step 301, in response to detecting that the target user has turned on the input method-based multi-user simultaneous editing function in the target program, a multi-user simultaneous editing request is sent to the input method server.
[0046] In this embodiment, a predetermined input method is installed in the executing entity of the multi-user collaborative input method based on the input method (for example, the terminal shown in FIG. 1). A user can turn on the multi-user simultaneous editing function of the input method and send a multi-user simultaneous editing request to the input method server, and the input method server prepares memory space for storing document contents for the current session.
[0047] In step 302, the document content in the target program is sent to the input method server.
[0048] In this embodiment, the input method can collect document contents in the target program and send them to the input method server. Not only character strings but also information such as facial expressions and tables can be collected.
[0049] In step 303, the session identifier sent from the input method server is received.
[0050] In this embodiment, the input method server assigns a unique session identifier to the currently enabled multi-user editing feature and then sends it to the input method of the target device. Each session identifier corresponds to one segment of memory for storing document content related to that session.
[0051] In step 304, the session identifier is transferred to the terminal of the other user selected by the target user.
[0052] In this embodiment, the target user can select which user to transfer the session identifier to, and the selected user is the user who will participate in the editing. For example, when the session identifier is transferred via WeChat, the user who receives the session identifier can connect to the input method server by scanning a code, and the document content that requires collaborative editing is displayed on the input method display screen of the local terminal.
[0053] In step 305, the document content edited by another user is received from the input method server.
[0054] In this embodiment, the input method server collects and consolidates the document contents edited by all users, and then transmits them to all terminals connected to the input method server using this session identifier, and displays them on the terminal's input method display screen.
[0055] Step 306 synchronizes the edited document content with the target program.
[0056] In this embodiment, the input method automatically copies the edited document content to the target program, eliminating the need for manual duplication.
[0057] In some optional embodiments of this embodiment, the method further includes the steps of connecting to the input method server using the session identifier, displaying document content sent from the input method server on an input method display screen, and sending edited document content to the input method server in response to detecting an editing operation on the document content. The terminal may be not only a terminal that initiates collaborative editing, but also a terminal that edits text content.
[0058] 4A-4B are schematic diagrams illustrating application scenarios of the multi-user collaborative input method based on the input method according to the present embodiment. In the application scenarios of FIGS. 4A-4B, terminal 3 is the target terminal. The target user uses terminal 3 to enable the multi-user simultaneous editing function based on the input method in the target application program. When the target user wants to have user 1 on terminal 1 and user 2 on terminal 2 participate in editing, the specific steps are as follows:
[0059] In step 1, when the target program invokes the input method, the target user turns on the multi-user simultaneous input function based on the input method, and the input method generates a unique session identifier on the cloud server.
[0060] In step 2, terminal 1 and terminal 2 each invoke an input method and establish a connection with the cloud server using the session identifier.
[0061] In step 3, when device 1 connects to the server, the current text content of the input method server (the text stored in the cloud) is synchronized and displayed in the display area above the input method. When user 1 inputs content through the input method on device 1, the input method transmits the updated content to the input method server, and the input method server simultaneously updates all input method programs connected to it. For example, when "aaa" is input through the input method on device 1, "aaa" is updated to the cloud server, and the content "aaa" is displayed in both the input method on device 1 and the input method on device 2. Similarly, when the content updated by the input method on device 2 is "aaabbb", the content "aaabbb" is displayed in both the input method on device 1 and the input method on device 2.
[0062] In step 4, when the input method on the terminal 3 receives the updated content on the server side, it synchronizes the updated content with the target program.
[0063] Above the input method is a visualization screen for editing a copy of the text in the current terminal, as shown in Figure 4B.
[0064] Further referring to FIG. 5, as an implementation of the method shown in each of the above figures, the present disclosure provides an embodiment of a multi-person collaborative input device based on an input method, which embodiment of the device corresponds to the embodiment of the method shown in FIG. 2, and which can be specifically applied to various electronic devices.
[0065] As shown in FIG. 5 , the input method-based multi-user collaborative input device 500 according to this embodiment includes an acquisition unit 501, a generation unit 502, a transmission unit 503, a merging unit 504, and a synchronization unit 505. The acquisition unit 501 is configured to acquire document content from a target program in response to receiving a multi-user simultaneous editing request from a target user triggered by an input method adopted in a target program of the target terminal. The generation unit 502 is configured to generate a session identifier for connecting to the input method server and feed the session identifier back to the target terminal, thereby allowing the target user to share the session identifier with other users' terminals. The transmission unit 503 is configured to transmit the document content to an input method display screen of the other users' terminals in response to detecting that the other users' terminals have connected to the input method server using the session identifier. The integration unit 504 is configured to synchronize the updated document content to the input method display screens of all terminals connected to the input method server by the session identifier in response to receiving the document content updated by the input method from any terminal. The synchronization unit 505 is configured to send the updated document content to the target terminal, so that the target terminal synchronizes the updated document content to the target program.
[0066] In this embodiment, the specific processing of the acquisition unit 501, generation unit 502, transmission unit 503, integration unit 504 and synchronization unit 505 of the multi-user collaborative input device 500 based on the input method can refer to steps 201, 202, 203, 204 and 205 in the corresponding embodiment of Figure 2.
[0067] In some optional embodiments of this embodiment, the integration unit 504 is further configured to use the most recently updated document content in case of conflicts between edits made to the document content by different terminals.
[0068] In some optional embodiments of this embodiment, the integration unit 504 is further configured to pre-set priorities by the target user for other users participating in the editing, and to use the document content edited by the user with the highest priority when a conflict occurs between edits to the document content by different terminals.
[0069] In some optional embodiments of this embodiment, the device 500 further comprises a recording unit (not shown) configured to add a modification record including a user identifier to the updated document content so that the target user can choose to accept or reject the modification.
[0070] In some optional embodiments of this embodiment, the recording unit is further configured to count the number of modification refusals for each user by said user identifier, and to lower the priority of a user whose number of modification refusals is greater than a predetermined threshold.
[0071] In some optional embodiments of this embodiment, the session identifier is a two-dimensional code.
[0072] Further referring to FIG. 6, as an implementation of the method shown in each of the above figures, the present disclosure provides an embodiment of a multi-person collaborative input device based on an input method, which embodiment of the device corresponds to the embodiment of the method shown in FIG. 3, and which can be specifically applied to various electronic devices.
[0073] As shown in FIG. 6 , the input method-based multi-user collaborative input device 600 according to this embodiment includes a request unit 601, a sending unit 602, a first receiving unit 603, a forwarding unit 604, a second receiving unit 605, and a synchronization unit 606. The request unit 601 is configured to send a multi-user simultaneous editing request to an input method server in response to detecting that a target user has enabled a multi-user simultaneous editing function based on the input method in a target program. The sending unit 602 is configured to send document content in the target program to the input method server. The first receiving unit 603 is configured to receive a session identifier sent by the input method server. The forwarding unit 604 is configured to forward the session identifier to terminals of other users selected by the target user. The second receiving unit 605 is configured to receive document content edited by other users sent from the input method server. The synchronization unit 606 is configured to synchronize the edited document content with the target program.
[0074] In this embodiment, the specific processing of the request unit 601, the sending unit 602, the first receiving unit 603, the forwarding unit 604, the second receiving unit 605 and the synchronization unit 606 of the multi-person collaborative input device 600 based on the input method can refer to steps 301-306 of the embodiment corresponding to FIG. 3.
[0075] In some optional embodiments of this embodiment, the device 600 further comprises an editing unit (not shown) configured to connect to the input method server using the session identifier, display document content sent from the input method server on an input method display screen, and send edited document content to the input method server in response to detecting an editing operation on the document content.
[0076] In the technical solution disclosed herein, the collection, storage, use, processing, transmission, provision and disclosure of relevant user personal information shall all comply with the provisions of relevant laws and regulations and shall not violate public order and morals.
[0077] According to an embodiment of the present disclosure, the present disclosure further relates to an electronic device, a readable storage medium, and a computer program. M provide.
[0078] The electronic device comprises at least one processor and a memory communicatively connected to the at least one processor, the memory storing instructions executable by the at least one processor, the instructions, when executed by the at least one processor, causing the at least one processor to perform the method of flow 200 or 300.
[0079] A non-transitory computer-readable storage medium having computer instructions stored thereon is provided, the computer instructions being used to cause the computer to perform the method described in flow 200 or 300.
[0080] A computer program that, when executed by a processor, implements the method described in flow 200 or 300. M provide.
[0081] 7 illustrates a schematic block diagram of an exemplary electronic device 600 that can be used to implement embodiments of the present disclosure. The electronic device may represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, mobile phones, smartphones, wearable devices, and other similar computing devices. Note that the components, their interconnections, and their functions illustrated herein are merely exemplary and are not intended to limit the embodiments of the present disclosure described and / or claimed herein.
[0082] 7, the electronic device 700 comprises a computing unit 701 that can perform various appropriate operations and processes according to a computer program stored in a read-only memory (ROM) 702 or loaded from a storage unit 708 into a random access memory (RAM) 703. The RAM 703 can further store various programs and data necessary for the operation of the device 700. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0083] In the electronic device 700, several components including an input unit 706 such as a keyboard, a mouse, etc., an output unit 707 such as various types of displays, speakers, etc., a storage unit 708 such as a magnetic disk, an optical disk, etc., and a communication unit 709 such as a network card, a modem, a wireless communication transceiver, etc. are connected to the I / O interface 705. The communication unit 709 enables the electronic device 700 to exchange information or data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0084] The computing unit 701 may be various general-purpose and / or special-purpose processing components having processing and computational capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units that execute machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 executes various methods and processes, such as the input method-based multi-person collaborative input method described above. For example, in some embodiments, the input method-based multi-person collaborative input method may be implemented as a computer software program tangibly embodied in a machine-readable medium such as the storage unit 708. In some embodiments, some or all of the computer program may be loaded and / or installed into the electronic device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, it can perform one or more steps of the input method-based multi-person collaborative input method described above. Alternatively, in other embodiments, the computing unit 701 may be configured to perform a multi-person collaborative input method based on an input method in any other suitable manner (eg, via firmware).
[0085] Various embodiments of the systems and techniques described herein may be realized in digital electronic circuitry systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. Each of these embodiments may be implemented in one or more computer programs that can be executed and / or interpreted in a programmable system that includes at least one programmable processor, which may be a special purpose or general purpose programmable processor, and that can receive data and commands from, and transmit data and commands to, a storage system, at least one input device, and at least one output device.
[0086] Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, and when executed by the processor or controller, the functions or operations specified in the flowcharts and / or block diagrams are performed. The program code can be executed entirely on the device, partially on the device, partially on the device as a stand-alone software package and partially on a remote device, or entirely on a remote device or server.
[0087] In the context of this disclosure, a machine-readable medium may be a tangible medium and may include or store a program for use by or in connection with a command execution system, device, or appliance. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or appliance, or any suitable combination thereof. More specific examples of machine-readable storage media include: , mobile Strip-type computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory) ,Ko This may include a compact disk read only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0088] To provide for user interaction, the systems and techniques described herein can be implemented on a computer that includes a display device (e.g., a cathode ray tube (CRT) or LCD (liquid crystal display) monitor) for displaying information to a user, and a keyboard and pointing device (e.g., a mouse or trackball) through which a user can provide input to the computer. Other types of devices can also be used to provide for user interaction. For example, feedback provided to the user can be any form of sensing feedback, e.g., visual feedback, auditory feedback, or tactile feedback, and input from the user can be received in any form, including sound input, speech input, or tactile input.
[0089] The systems and techniques described herein may be implemented in a computing system including back-end components (e.g., a data server), or in a computing system including middleware components (e.g., an application server), or in a computing system including front-end components (e.g., a user computer having a graphical user interface or a web browser) through which a user may interact with embodiments of the systems and techniques described herein, or in a computing system including any combination of such back-end, middleware, or front-end components. The components of the system may be connected by any form or medium of digital data communication, such as a communications network. Examples of communications networks include a local area network (LAN), a wide area network (WAN), and the Internet.
[0090] The computer system may include a client and a server. The client and server are typically remote from each other and communicate with each other via a communication network. The relationship between the client and the server is created by running computer programs on the respective computers that have a client-server relationship with each other. The server may be a cloud server, a server in a distributed system, or a server connected to a blockchain.
[0091] It should be noted that steps can be rearranged, added, or deleted using the various forms of flow described above. For example, the steps described in this disclosure can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution described in this disclosure can be achieved. This specification does not limit the scope of the present disclosure.
[0092] The above specific embodiments do not limit the scope of protection of the present disclosure. Those skilled in the art should understand that various modifications, combinations, subcombinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and principles of the present disclosure should be included within the scope of protection of the present disclosure.
Claims
1. A multi-user collaborative input method based on an input method applied to an input method server, comprising: retrieving document content from a target program in response to receiving a multi-person simultaneous editing request from a target user triggered by an input method employed in the target program on the target terminal; generating a session identifier for connecting to the input method server, and feeding back the session identifier to the target terminal so that the target user can share the session identifier with other users' terminals; transmitting the document content to an input method display screen of the other user's terminal in response to detecting that the other user's terminal has been connected to the input method server by the session identifier; In response to receiving document content updated by the input method from any terminal, synchronizing the updated document content with the input method display screens of all terminals connected to the input method server by the session identifier; sending the updated document content to the target terminal, and causing the target terminal to synchronize the updated document content with the target program.
2. The multi-user collaborative input method based on an input method according to claim 1, further comprising the step of using the most recently updated document content when a discrepancy occurs in edits made to the document content by different terminals.
3. a step of setting a priority level in advance for other users participating in editing by the target user; 2. The multi-user collaborative input method based on an input method according to claim 1, further comprising the step of: if a contradiction occurs in edits made to the document content by different terminals, using the document content edited by the user with the highest priority.
4. 2. The multi-user collaborative input method based on an input method according to claim 1, further comprising the step of adding a correction record including a user identifier to the updated document content so that the target user can select whether to accept or reject the correction.
5. Counting the number of correction rejections for each user by the user identifier; 5. The multi-user collaborative input method based on an input method according to claim 4, further comprising the step of lowering the priority of a user whose number of correction rejections exceeds a predetermined threshold.
6. 2. The input method according to claim 1, wherein the session identifier is a two-dimensional code.
7. A multi-person collaborative input method based on an input method applied to a terminal, comprising: sending a multi-user simultaneous editing request to an input method server in response to detecting that a multi-user simultaneous editing function based on an input method has been turned on in the target program by the target user; sending document content in the target program to the input method server; receiving a session identifier sent from the input method server; transferring the session identifier to a terminal of another user selected by the target user; receiving document content edited by other users sent from the input method server; and synchronizing the edited document content with the target program.
8. connecting to the input method server using the session identifier; displaying the document content transmitted from the input method server on a display screen of the input method; The multi-user collaborative input method based on an input method according to claim 7 , further comprising the step of: transmitting the edited document content to the input method server in response to detection of an editing operation on the document content.
9. A multi-user collaborative input device based on an input method applied to an input method server, an acquiring unit configured to acquire document content from a target program in response to receiving a multi-person simultaneous editing request from a target user triggered by an input method employed in the target program of the target terminal; a generating unit configured to generate a session identifier for connecting to the input method server and feed back the session identifier to the target terminal for the target user to share the session identifier with terminals of other users; a sending unit configured to send the document content to an input method display screen of the other user's terminal in response to detecting that the other user's terminal has been connected to the input method server by the session identifier; an integration unit configured to, in response to receiving document content updated by the input method from any terminal, synchronize the updated document content with the input method display screens of all terminals connected to the input method server by the session identifier; and a synchronization unit configured to send updated document content to the target terminal and cause the target terminal to synchronize the updated document content with the target program.
10. The integrated unit further comprises:
10. The input method-based multi-user collaborative input device according to claim 9, wherein if a discrepancy occurs between edits made to the document content by different terminals, the latest updated document content is used.
11. The integrated unit further comprises: The target user sets a priority in advance for other users participating in editing; In the event of a conflict between edits made to the document content by different terminals, the document content edited by the user with the highest priority is used.
10. A multi-user collaborative input device based on the input method according to claim 9.
12. 10. The input method-based multi-person collaborative input device of claim 9, further comprising a recording unit configured to add a correction record including a user identifier to the updated document content so that the target user can select to accept or reject the correction.
13. The recording unit further comprises: Counting the number of correction refusals for each user according to the user identifier; 13. The input device for multi-user collaboration based on an input method according to claim 12, wherein the device is configured to lower the priority of a user whose number of correction rejections exceeds a predetermined threshold.
14. 10. The input device for multi-user collaboration based on an input method according to claim 9, wherein the session identifier is a two-dimensional code.
15. A multi-user collaborative input device based on an input method, which is applied to a terminal, a request unit configured to send a multi-user simultaneous editing request to an input method server in response to detecting that a multi-user simultaneous editing function based on an input method has been turned on in the target program by the target user; a sending unit configured to send document content in the target program to the input method server; a first receiving unit configured to receive a session identifier sent from the input method server; a forwarding unit configured to forward the session identifier to a terminal of another user selected by the target user; a second receiving unit configured to receive document content edited by other users sent from the input method server; a synchronization unit configured to synchronize the edited document content with the target program.
16. connecting to the input method server using the session identifier; displaying the document content transmitted from the input method server on a display screen of the input method; The input method-based multi-user collaborative input device according to claim 15, further comprising an editing unit configured to send edited document content to the input method server in response to detecting an editing operation on the document content.
17. an input method server configured to realize a multi-user collaborative input method based on the input method according to any one of claims 1 to 6; At least two terminals, each configured to execute a multi-user collaborative input method based on the input method according to claim 7 or 8; A multi-user collaborative input system based on an input method comprising:
18. at least one processor; a memory communicatively coupled to the at least one processor, The memory stores instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor executes a multi-user collaborative input method based on the input method described in any one of claims 1 to 8.
19. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute a multi-user collaborative input method based on the input method according to any one of claims 1 to 8.
20. A computer program that, when executed by a processor, realizes a multi-user collaborative input method based on the input method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Document co-processing method and related device
CN112241865A
Document editing method and device, equipment and medium
CN113971392A
Object matching system, method, device and equipment and computer readable medium
CN114710458A
storage manager for computer systems
JP1996510347A
Collaborative online spreadsheet application
JP2009532778A