Document processing method, device, equipment and medium

The document processing method addresses the challenge of managing common language in online documents by using a server-based common language identifier to update edited content, enhancing clarity and knowledge transfer.

JP7719199B2Active Publication Date: 2025-08-05BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023553218
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-03-02
Filing Date
2022-03-02
Publication Date
2025-08-05
Estimated Expiration
2042-03-02

AI Technical Summary

Technical Problem

Existing technologies do not effectively manage common language in online documents, leading to ambiguity and difficulty in knowledge transfer and integration among team members with different domain knowledge.

Method used

A document processing method that updates edited content to a common language by sending a data request to a server for a common language identifier, which is then used to update the content automatically.

Benefits of technology

Enables effective management of common language in online documents, facilitating clear communication and knowledge transfer by automatically converting edited content to a unified language.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007719199000001
    Figure 0007719199000001
  • Figure 0007719199000002
    Figure 0007719199000002
  • Figure 0007719199000003
    Figure 0007719199000003
Patent Text Reader

Abstract

A document processing method, device, equipment, and medium are provided, the document processing method including the steps of: acquiring edited content in response to receiving an edit operation of a first user on a target document (S11); transmitting a first data request to a server based on the edited content (S12); and updating a target content in the edited content to a common language in response to receiving a common language identifier transmitted from the server (S13), where the common language identifier is determined based on the edited content. In an embodiment, when it is recognized that the input edited content contains a common language during editing of an online document, the target content in the edited content is automatically updated to the common language, thereby realizing effective management of the common language in the online document.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This disclosure claims priority to a Chinese patent application filed with the State Intellectual Property Office of the People's Republic of China on March 2, 2021, bearing application number 202110232055.5 and entitled "Document Processing Method, Apparatus, Device and Medium," the entire contents of which are incorporated herein by reference.

[0002] TECHNICAL FIELD Embodiments of the present disclosure relate to information processing technology, and more particularly to document processing methods, devices, equipment, and media. [Background technology]

[0003] When users use documents to record specialized information, they write related materials into the documents. Each team has different domain knowledge, and different users in the same team are responsible for different technical fields. Therefore, users in a team need to use a common language to explain a concept, and this common language must be maintained so that it does not introduce other ambiguities, is easy to summarize, and is clearly interpretable, in order to facilitate subsequent knowledge transfer and information integration. Summary of the Invention [Problem to be solved by the invention]

[0004] However, the prior art does not provide a way to effectively manage common language in online documents.

[0005] SUMMARY OF THE INVENTION Embodiments of the present disclosure provide a document processing method, apparatus, device, and medium for effectively managing common language in online documents. [Means for solving the problem]

[0006] According to a first aspect, an embodiment of the present disclosure provides a document processing method, comprising: In response to receiving an edit operation from the first user on the target document, obtaining the edit content; sending a first data request to a server based on the edits; and updating target content in the edited content to a common language in response to receiving a common language identifier sent from the server, the common language identifier being determined based on the edited content.

[0007] According to a second aspect, an embodiment of the present disclosure further provides a document processing method applied to a server, comprising: receiving a first data request including edits sent from a client; obtaining a common language identifier corresponding to the edited content based on the edited content; and transmitting a common language identifier corresponding to the edited content to the client.

[0008] According to a third aspect, an embodiment of the present disclosure further provides a document processing device, comprising: a content acquisition module that acquires edit content in response to receiving an edit operation by the first user on the target document; a request sending module that sends a first data request to a server based on the edited content; and a common language update module that updates target content in the edited content to a common language in response to receiving a common language identifier sent from the server, the common language identifier being determined based on the edited content.

[0009] According to a fourth aspect, an embodiment of the present disclosure further provides a document processing device disposed in a server, comprising: a request receiving module for receiving a first data request including edits sent from a client; a common language identifier acquisition module that acquires a common language identifier corresponding to the edited content based on the edited content; and a common language identifier sending module that sends a common language identifier corresponding to the edited content to the client.

[0010] According to a fifth aspect, an embodiment of the present disclosure further provides a document processing device, one or more processors; a memory for storing one or more programs; When the one or more programs are executed by the one or more processors, they cause the one or more processors to implement the document processing method described in any one of the embodiments of the present disclosure.

[0011] According to a sixth aspect, an embodiment of the present disclosure further provides a medium having a computer program stored thereon, the computer program realizing, when executed by a processor, a document processing method described in any one of the embodiments of the present disclosure. [Effects of the Invention]

[0012]

[0010] An embodiment of the present disclosure provides a document processing method, an apparatus, a device, and a medium, the document processing method including: in response to receiving an editing operation of a first user on a target document, acquiring the editing content; sending a first data request to a server based on the editing content; and in response to receiving a common language identifier sent from the server, updating target content in the editing content to a common language, where the common language identifier is determined based on the editing content. According to the embodiment of the present disclosure, when it is recognized that the input editing content includes a common language during editing of an online document, the target content in the editing content is automatically updated to the common language, thereby realizing effective management of the common language in online documents. [Brief explanation of the drawings]

[0013] The above and other features, advantages, and aspects of each embodiment of the present disclosure will become more apparent with reference to the following specific embodiments in conjunction with the drawings, in which the same or similar reference numerals indicate the same or similar elements, and the drawings are schematic and parts and elements are not necessarily drawn to scale. [Figure 1] 1 is a flowchart of a document processing method according to an embodiment of the present disclosure. [Figure 2] FIG. 2 is a schematic diagram of a first interaction area according to an embodiment of the present disclosure. [Figure 3] FIG. 10 is a schematic diagram of a second interaction area according to an embodiment of the present disclosure. [Figure 4] FIG. 1 is a schematic diagram of a document manipulation page according to an embodiment of the present disclosure. [Figure 5] 1 is a flowchart of a document processing method according to an embodiment of the present disclosure. [Figure 6] 1 is a flowchart of a document processing interaction method according to an embodiment of the present disclosure. [Figure 7] 1 is a flowchart of a document processing interaction method according to an embodiment of the present disclosure. [Figure 8] 1 is a flowchart of a document processing interaction method according to an embodiment of the present disclosure. [Figure 9] 1 is a schematic diagram illustrating the configuration of a document processing device according to an embodiment of the present disclosure. [Figure 10] 1 is a schematic diagram illustrating the configuration of a document processing device according to an embodiment of the present disclosure. [Figure 11] FIG. 1 is a configuration diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION

[0014] Hereinafter, embodiments of the present disclosure will be described in more detail with reference to the drawings. The drawings show several embodiments of the present disclosure, but the present disclosure is not limited to the embodiments described herein and may be realized in various forms. These embodiments are provided to provide a more thorough and complete understanding of the present disclosure. Note that the drawings and embodiments of the present disclosure do not limit the protection scope of the present disclosure and are merely illustrative.

[0015] It should be understood that the steps described in the method embodiments of the present disclosure may be performed in a different order and / or in parallel, and that method embodiments may include additional steps and / or omit performing steps that are shown, and the scope of the present disclosure is not limited in this respect.

[0016] As used herein, the term "including" and variations thereof are open inclusions, i.e., meaning "including, but not limited to." The term "based on" means "based at least in part on." The term "in one embodiment" refers to "at least one embodiment," the term "in another embodiment" refers to "at least one other embodiment," and the term "in some embodiments" refers to "at least some embodiments." Relevant definitions of other terms are provided below.

[0017] It should be noted that the concepts of "first", "second", etc. mentioned in the embodiments of the present disclosure are merely intended to distinguish between different devices, modules or units, and do not limit the order or interdependence of the functions performed by these devices, modules or units.

[0018] It should be noted that the modifications "one" and "multiple" referred to in the embodiments of the present disclosure are general rather than limiting, and as will be understood by those skilled in the art, unless otherwise expressly indicated in the specification, they are understood as "one or multiple."

[0019] The names of messages or information exchanged between devices in the embodiments of the present disclosure do not limit the scope of these messages or information, but are merely for illustrative purposes.

[0020] 1 is a flowchart of a document processing method according to an embodiment of the present disclosure, which is applied to managing common languages in documents. The method is performed by a document processing device, which may be implemented in the form of software and / or hardware. The document processing method is applied to a client.

[0021] It should be noted that the document processing method provided by the present embodiment can be specifically used in a client, and specifically considered to be executed by a document processing device integrated into the client, and the client can be specifically a computer device including a processor, a memory, an input device, and an output device, such as a laptop, a desktop computer, a tablet computer, a smart terminal, etc.

[0022] As shown in FIG. 1, the document processing method according to this embodiment mainly includes steps S11, S12 and S13.

[0023] S11: In response to receiving an edit operation by a first user on a target document, the edited content is obtained.

[0024] The target document may be an editable document displayed in the client's display area, such as a Word document, Excel document, PDF document, or TXT document, or may be other editable documents, which are not limited in this embodiment. The edited content may be content entered by an operator on the current document page, content entered by a user using a paste method, or content entered by a user using an input method, which is not limited in this embodiment and is simply described as an example.

[0025] S12: Send a first data request to the server based on the edited content.

[0026] The server may be a background or back-end server that provides computing or application services to clients in a network, and has the ability to respond to service requests, take charge of services, and guarantee services, and has high-speed CPU computing power, long-term reliable operation, strong I / O external data throughput capacity, and better scalability.

[0027] The first data request includes the edited content, and the first data request requests the server to recognize whether a common language exists in the edited content, and if the server recognizes a common language identifier corresponding to the edited content, the server sends the common language identifier to the client.

[0028] S13: In response to receiving the common language identifier sent from the server, update the target content in the edited content to a common language, where the common language identifier is determined based on the edited content.

[0029] A common language is a language used by a work team to describe the same concept or knowledge point, and in order to facilitate subsequent knowledge transfer and information coordination, the work team maintains this common language so that it does not introduce other ambiguities, is easy to summarize, and can be clearly interpreted.

[0030] Specifically, in the process of software development using DDD (Program Driven Design), a common language must be widely used by all team members to accurately convey the description of business rules, facilitate team members to reach consensus on terminology, and facilitate understanding and dissemination. A common language identifier is a unique identifier ID possessed by each common language, and the name and interpretation of the corresponding common language can be found by using the common language identifier. The target content is part or all of the edited content.

[0031] In this embodiment, the client receives edits entered by a first user on a target document page, generates a first data request based on the edits, and sends it to the server. The server then determines whether a common language identifier corresponding to the edits exists based on the edits. If so, it returns the common language identifier to the client. Upon receiving the common language identifier sent from the server, the client automatically updates the target content in the edits to a common language. If a common language identifier corresponding to the edits does not exist, the server does not perform any processing. The common language identifier corresponding to the edits is a common language identifier that is included in part or all of the edits.

[0032] In the embodiments of the present disclosure, automatically updating the target content in the edited content to a common language can be understood as directly updating the target content to a common language after receiving the common language identifier sent from the server without requiring manual intervention, which is convenient and quick.

[0033] In one embodiment, the step of updating the target content in the edited content to a common language in response to receiving a common language identifier sent from the server includes the steps of: displaying a first interaction area, the first interaction area being associated with the target content in the edited content; and updating the target content in the edited content to a common language in response to receiving a first operation of the first user on the first interaction area.

[0034] The interaction area may be understood as a display area displayed in the target document for interaction between the first user and the client. Furthermore, the interaction area may be a predetermined area on the target document page, or an area in the target document where the cursor is located. The predetermined area may be a fixed position set in advance, or may change according to changes in the position of the edited content. For example, the predetermined position may be the bottom, top, left, or right of the document page. The position that changes according to changes in the position of the edited content may be the bottom right, top right, or bottom left of the edited content.

[0035] In this embodiment, the server returns a common language identifier corresponding to the target content to the client, and the client displays information associated with the target content in the first interaction area, which is used to prompt the first user whether to update the target content to the common language.

[0036] FIG. 2 is a schematic diagram of a first interaction area according to an embodiment of the present disclosure. As shown in FIG. 2, the first interaction area 11 displays "Set as common language?" along with two selection buttons, "YES" and "NO."

[0037] Furthermore, in response to a first operation by the first user on the first interaction area, update the target content in the edited content to a common language, and in response to a trigger operation by the first user on the first interaction area, do nothing with the edited content.

[0038] For example, the first operation is a trigger operation on the "YES" button in the first interaction area 11, which updates the target content in the edited content to a common language. Furthermore, the trigger operation may be a trigger operation on the "NO" button in the first interaction area 11. The trigger operation on the button may be a click, double-click, or touch operation on the button, which is not limited to this embodiment.

[0039] Specifically, after receiving the first user's trigger operation on the "YES" button, the target content is updated to the common language in response to the operation. After receiving the first user's trigger operation on the "NO" button, the target content is not processed in response to the operation, and the target content remains the normal edit content.

[0040] It should be noted that the first interaction area and operation method shown in FIG. 2 are not limiting but merely illustrative, and other configurations may be made based on the actual page display scenario.

[0041] In one embodiment, the step of updating the target content in the edited content to a common language in response to receiving a common language identifier sent from the server includes the steps of: displaying a second interaction area, the second interaction area including a common language identifier associated with the target content in the edited content; obtaining a common language identifier corresponding to the target content in response to accepting a second operation of the first user on the second interaction area; and updating the target content in the edited content to a common language corresponding to the common language identifier in response to accepting a third operation of the first user on the second interaction area.

[0042] In this embodiment, if the server recognizes that the target content in the edited content corresponds to multiple common language identifiers, it returns the multiple common language identifiers corresponding to the target content to the client, and the client displays the multiple common language identifiers associated with the target content in the second interaction area.

[0043] FIG. 3 is a schematic diagram of a second interaction area according to an embodiment of the present disclosure. As shown in FIG. 3, a first interaction area 21 is displayed in the lower right corner of the edited content. The first interaction area 21 includes multiple common language identifiers, such as common language A, common language B, common language C, common language D, and operable options such as not setting as a common language. In the above second interaction area, the worker can select a common language identifier corresponding to the target content.

[0044] For example, when detecting a first user clicking on the "Don't set as common language" option in the second interaction area, no processing is performed on the target content, and it is simply stored as normal text.

[0045] Furthermore, when receiving the common language identifiers sent from the server, the matching degree between each common language identifier and the target content can also be received, and the order of the common language identifiers in the second interaction area can be determined based on the matching degree. For example, the order of the common language identifiers from top to bottom in the second interaction area is the descending order of the matching degree between the common language identifier and the corresponding target content. The common language identifier with the highest matching degree is displayed first, and the matching degree decreases in order.

[0046] In one embodiment, in response to receiving a second operation of the first user on the second interaction area, a common language identifier corresponding to the target content is obtained, and the target content is directly set to the common language corresponding to the common language identifier.

[0047] For example, when detecting a click operation of the first user on the option “Common Language A” in the second interaction area, the common language identifier A is obtained, and the target content is directly updated to the common language corresponding to the common language identifier A.

[0048] In one embodiment, in response to receiving a second operation by the first user in the second interaction area, a common language identifier corresponding to the target content is obtained and the display content in the second interaction area is updated, in which case information associated with the target content is displayed in the second interaction area. In response to receiving a third operation by the first user in the second interaction area, the target content is updated to a common language corresponding to the common language identifier. The response to receiving the third operation by the first user in the second interaction area is similar to the first operation in the first interaction area. For details, please refer to the description of the first operation in the first interaction area in the above embodiment; this embodiment will not be detailed. The above related information is used to prompt the first user whether to set the target content to the common language.

[0049] In one embodiment, the step of updating the target content in the edited content to a common language in response to receiving a common language identifier sent from the server includes the steps of: if there are multiple target contents in the edited content, displaying a third interaction area, wherein the third interaction area includes common language identifiers associated with the multiple target contents; matching the corresponding common language identifier to the target content in response to receiving a fourth operation of the first user on the third interaction area; and updating the target content in the edited content to a common language corresponding to the matched common language identifier in response to receiving a fifth operation of the first user on the third interaction area.

[0050] In this embodiment, when the server recognizes that a corresponding common language identifier exists for each of the multiple target contents in the edited content, the server returns the multiple common language identifiers corresponding to the target contents to the client, and the client displays the common language identifiers associated with the multiple target contents in the third interaction area. In response to receiving the first user's fifth operation on the third interaction area, the client updates the target contents in the edited content to the common language corresponding to the matching common language identifier.

[0051] For example, the existence of corresponding common language identifiers for multiple target contents in edited content may be understood as target content a corresponding to common language identifier A, target content b corresponding to common language identifier B, target content c corresponding to common language identifier C, and target content d corresponding to common language identifier D.

[0052] Based on the above embodiment, in response to receiving the first user's editing operation on the target document, before acquiring the editing content, the method further includes a step of enabling a common language recognition mode of the user identifier in response to the first user's operation on the mode switch.

[0053] Specifically, a mode switch may be placed in the document, and the mode switch is used to enable or disable a common language recognition mode, which automatically recognizes whether the edited content is in a common language after the user inputs the edited content.

[0054] When the common language recognition mode is enabled, after the user inputs the edited content, the edited content is automatically recognized as a common language, that is, the document processing method according to the embodiment of the present disclosure is performed as in steps S11 to S13 above. When the common language recognition mode is disabled, after the user inputs the edited content, the common language is not recognized, and the edited content is directly stored as normal edited text.

[0055] Furthermore, when the mode switch is in a disabled state, the common language recognition mode is enabled in response to an operation on the mode switch, where the operation on the mode switch includes clicking, double-clicking, or touching the mode switch.When the mode switch is in a switched state, the common language recognition mode is disabled in response to an operation on the mode switch, where the operation on the mode switch includes clicking, double-clicking, or touching the mode switch.

[0056] A document processing method according to an embodiment of the present disclosure includes: acquiring edit content in response to receiving an edit operation of a first user on a target document; sending a first data request to a server based on the edit content; and updating target content in the edit content to a common language in response to receiving a common language identifier sent from the server, where the common language identifier is determined based on the edit content. According to the embodiment of the present disclosure, when the input edit content includes a common language during editing of an online document, the target content in the edit content is automatically updated to the common language, thereby achieving effective management of the common language in the online document.

[0057] Based on the above embodiment, an embodiment of the present disclosure provides another document processing method, which includes, in response to an insert operation of a common language, displaying the common language in the target document.

[0058] In this embodiment, the common language insert operation may be understood as an operation of inserting a common language into the target current document. The insert operation may be performed by right-clicking or by using the insert button in the function box at the top of the document, but this embodiment is not limited thereto.

[0059] In one embodiment, the step of displaying the common language in the target document in response to the common language insertion operation includes the steps of: displaying a first operation entrance in response to the common language insertion operation, wherein the first operation entrance is used to obtain the target common language; displaying a second operation entrance in response to obtaining the target common language; and displaying the target common language in the target document in response to receiving an operation command for the second operation entrance.

[0060] The second operation entry includes operation entries in one or more target common languages, and the operation command for the second operation entry includes any one of clicking, double-clicking, or touching the second operation entry.

[0061] Furthermore, the common language insert operation can be performed by operating an insert button at the top of the document, displaying all options including a first operation entry for inserting content into the document, and responding to an operation on the common language option corresponding to the first operation entry. An insert selection box can also be displayed in the target document, and the insert selection box can display all options including a first operation entry for adding content to the document, and responding to an operation on the common language option corresponding to the first operation entry.

[0062] Furthermore, after responding to an operation on the common language option at the first operation entrance, a target common language is acquired, and a second operation entrance is displayed in response to the acquisition of the target common language. In response to an operation at the second operation entrance, one target common language is selected from the plurality of target common languages. Target content input by the first user into the target document is received, and the target content is updated to the common language.

[0063] In one exemplary embodiment, Figure 4 is a schematic diagram of a document manipulation page according to an embodiment of the present disclosure. As shown in Figure 4, by right-clicking a location in the target document or selecting from the function bar at the top of the document, a function list box 31 shown in Figure 4 is displayed in the target document, and then selecting the "Add Down" option 22 in the function list. An additional selection box 23 shown in Figure 4 is displayed in the current document, and then selecting the "Common Language" option in the first operation entry in the additional selection box 23 is displayed in the target document. As shown in Figure 4, the second selection box 24 includes a second operation entry, e.g., common language A, common language B, common language C, and common language D, and the operator can select one of the common language IDs as the common language corresponding to the edit content to be subsequently entered into the document.

[0064] It should be noted that FIG. 4 is only an exemplary illustration of how common language is inserted, and is not limiting.

[0065] In one embodiment, the step of displaying the common language in the target document in response to the common language insertion operation includes the step of obtaining target location information in response to the common language insertion operation, and the step of displaying the common language in the target document based on the target location information.

[0066] In this embodiment, the target location information is the insertion location of the common language, and the location information is realized by the first user's insertion operation for the common language, and the first user can insert the common language at any position in the target document.

[0067] Furthermore, after obtaining the target common language according to the above embodiment, the target content input by the subsequent first user at the target location is updated to the target common language.

[0068] In one embodiment, based on the above embodiment, the method further includes the steps of: establishing an association relationship between the target content in the edited content and the common language identifier; and storing the association relationship in a mapping relationship table.

[0069] In the above embodiment, the common language identifier may be the common language identifier selected by the first user from the first interaction area, the second interaction area, or the third interaction area.

[0070] A correspondence between the target content and the selected common language identifier is established, which may be a one-to-one or many-to-one correspondence between the target content and the common language identifier, i.e., different target content may correspond to the same common language identifier.

[0071] The mapping relationship table stores the correspondence between the target content and the common language identifier, so that during subsequent use of the document, the worker can easily obtain the common language ID corresponding to the target content.

[0072] Further, based on the above embodiment, the method further includes a step of changing the display mode of the target content in the edited content from the first mode to a second mode in response to the current edit mode being a first mode, or a step of changing the display mode of the target content in the edited content from the third mode to a second mode associated with the third mode in response to the current edit mode being a third mode.

[0073] In this embodiment, the first mode may be understood as a display mode of the normal content in the target document, and the second mode is a specialized display mode of the target content in which there is a common language.

[0074] For example, the first display mode is Song font, font size 4. The second display mode is a display method such as adding underline, adding character background, bold, or italic.

[0075] In this embodiment, the third mode may be understood as a display method that adds rendering based on the display mode of the normal content in the target document, and the second mode is a specialized display method of the target content in which a common language exists.

[0076] The third display mode differs from the first display mode in the following ways: the first mode is merely a basic display of the document contents, whereas the third display method is a display method that adds rendering to the first mode. The second display mode associated with the third mode is a display method that adds rendering to the third mode.

[0077] For example, the first display mode is Song font, font size 4. The third mode is Song font, font size 4, and bold. Correspondingly, the second display mode associated with the third mode is Song font, font size 4, bold, and underline added. Or, the second display mode associated with the third mode is Song font, font size 4, bold, and character background added.

[0078] By using the above-mentioned method of distinguishing and displaying the target content, the worker can clearly know what content is in the common language when using the document later.

[0079] Based on the above embodiment, the above document processing method further includes a step of sending a second data request to the server in response to a trigger operation on the target content after the update, the second data request including a common language identifier and an identifier of the target document; and a step of displaying common language description information corresponding to the common language identifier in response to receiving the second data sent from the server.

[0080] In this embodiment, the trigger operation for the updated target content may be a selection operation for the updated target content, a click operation for the updated target content, or a mouse cursor pointing to the updated target content. The common language explanation information is detailed interpretation information in a common language corresponding to the target content.

[0081] The second data request is mainly used by the client to request detailed interpretation information of the common language corresponding to the target content from the server.

[0082] In this embodiment, after responding to the trigger operation for the updated target content, a second data request is sent to the server. The server determines a corresponding pre-defined mapping relationship table based on the identifier of the target document, and searches the pre-defined mapping relationship table based on the target content. If a common language identifier corresponding to the target content is found in the pre-defined mapping relationship table, the target content of the current operation is in the common language, and common language description information corresponding to the target content is obtained based on the common language identifier and sent to the client for display.

[0083] Furthermore, after receiving the common language description information corresponding to the target content returned from the server, the client may display the common language description information in the interpretation display box.

[0084] There are various ways to display the interpretation display box in the target document. For example, the interpretation display box may be displayed in a predetermined area on the target document page, or in the area of the document where the cursor is located. The interpretation display box is a display box that hovers over the document. The predetermined area may be a fixed position that is set in advance, or a position that changes according to the document content. For example, the predetermined position may be the bottom, top, left, or right side of the document page. The position that changes according to the document content may be the bottom right, top right, or bottom left of the edited content.

[0085] For example, the interpretation display box is located at the bottom of the document. While viewing the document, the worker needs to check the specific content in common language corresponding to the target content "ABCD." The worker places the mouse cursor on the target content "ABCD" or clicks on the target content "ABCD." After detecting the worker's operation, the client can send a second data request to the server. The server returns common language explanatory information corresponding to the target content and displays the common language explanatory information in the interpretation display box in the target document. Furthermore, after the worker checks, the interpretation display box can be closed by clicking the close button on the interpretation display box, or by operating the document content "ABCD" again.

[0086] According to the technical solution of this embodiment, when an operator places the mouse on a common word, a floating window will appear, displaying and analyzing the specific meaning of the common word.

[0087] Based on the above embodiment, the above document processing method further includes a step of receiving a common language name and common language description information in response to an add common language operation, and a step of sending the common language name and common language description information to the server, so that the server creates a corresponding common language record.

[0088] The common language name is the name that the worker specifies for the common language.

[0089] In this embodiment, the client receives a command to establish or update the common language base entered by the user in the document, and in response to the common language addition operation, receives the common language name and common language description information entered by the user, and requests the common language base interface of the server to import the common language name and corresponding common language description information. After receiving the request, the server determines whether there are any overlapping common languages, and if there are no overlapping common languages, creates a common language record, updates the common language base, and returns the processing result to the client.

[0090] 5 is a flowchart of a document processing method according to an embodiment of the present disclosure, which is applied to managing common languages in documents. The method is performed by a document processing device, which may be implemented in the form of software and / or hardware. The document processing method is applied to a server.

[0091] As shown in FIG. 5, the document processing method according to this embodiment mainly includes steps S21, S22 and S23.

[0092] S21: Receive a first data request including edit content sent from a client.

[0093] The server may be a background or back-end server that provides computing or application services to clients in a network, and has the ability to respond to service requests, take charge of services, and guarantee services, as well as high-speed CPU computing power, long-term reliable operation, powerful I / O external data throughput, and better scalability.

[0094] Furthermore, the service terminal provides services to the client, and a communication connection is established between the client and the server to enable data interaction and transmission.

[0095] Specifically, the client receives the edits entered by the worker on the target document page, generates a first data request based on the edits, and sends the first data request to the server, and the server receives the first data request sent from the client.

[0096] S22: Based on the edited content, a common language identifier corresponding to the edited content is acquired.

[0097] In one embodiment, the step of obtaining a common language identifier corresponding to the edited content based on the edited content includes the step of performing an aggregation process on data information corresponding to at least one of the edited contents to determine a total amount of data information after the aggregation process, and if the total amount of data information satisfies a threshold condition, the step of obtaining a common language identifier corresponding to the edited content.

[0098] The threshold condition is a condition for searching for a corresponding common language identifier based on the edited content, and the threshold condition may be an attribute feature of the edited content, such as the number of text characters in the edited content, the text format, the font size of the edited content, etc.

[0099] In this embodiment, the binlog log in the MySQL database is listened to, and multiple binlog logs corresponding to the target document are acquired. The modifications corresponding to the multiple binlog logs are aggregated into a single modification, and specific modification content is extracted. When the number of characters in the specific modification content reaches a threshold condition, a common language identifier corresponding to the edit content is acquired.

[0100] The MySQL database is an open-source, deterministic database that can store user data. The binlog is a binary log maintained by the MySQL database service layer. It mainly records SQL statements that update or potentially update MySQL data and stores them on magnetic disk in the form of "transactions." Simply put, each database operation is recorded and replayed through the binlog, like a movie.

[0101] Specifically, each time a user completes an input operation on the target document page, the corresponding change is written to the MySQL database. After receiving the edits sent from the client, the common language module asynchronously listens to the Binlog log of the MySQL database and analyzes the Binlog log. In this embodiment, a delayed queue is used for consumption, and multiple Binlog records for a document are consumed each time, and the corresponding modifications are aggregated into a single modification to extract the specific modification. If the increase in the number of text characters in the specific modification exceeds a threshold condition, a common language identifier corresponding to the edit is obtained.

[0102] Preferably, the threshold condition in this embodiment is 10 characters, where the threshold condition of 10 characters is obtained based on experience, and the threshold condition may be set according to actual application circumstances, which is not limited to this embodiment and is merely for illustration.

[0103] In one embodiment, the step of obtaining a common language identifier corresponding to the edited content based on the edited content includes the steps of performing a word segmentation process on the edited content to obtain multiple words corresponding to the edited content, and matching the words in a common language base to determine a common language identifier corresponding to each word.

[0104] Specifically, the locale performs word splitting on the edited content lines, extracts corresponding words from the edited content, and then creates a common language Exact word matching in ElasticSearch search base.

[0105] The above word segmentation process may adopt any word segmentation policy, such as the stuttering Chinese word segmentation policy, and this embodiment does not limit the word segmentation policy but only describes it.

[0106] In another embodiment, searching for a common language identifier corresponding to the edited content includes performing fuzzy matching in a common language base according to the edited content to determine search results.

[0107] Specifically, ElasticSearch uses edits that have not been split into words. Perform a fuzzy search in the search base.

[0108] Additionally, ElasticSearch is a Lucene-based search engine that provides a distributed, multi-tenant, full-text search engine.

[0109] In another embodiment, word-by-word exact matching is performed in the common language ElasticSearch search base, and the ElasticSearch search base is performed by unsegmented edits. A fuzzy search is performed in the search base, and the search results are determined based on the results of two searches.

[0110] In this embodiment, the search speed is improved by accurately matching words in the common language ElasticSearch search base by word, and the ElasticSearch search base is improved by editing content that has not been split into words. Improve search recall by performing fuzzy searches in the search base.

[0111] S23: A common language identifier corresponding to the edited content is sent to the client.

[0112] In one embodiment, if no common language identifier corresponding to the edited content is found, no content may be returned.

[0113] In another embodiment, if one or more common language identifiers are found, different processing is performed depending on the number of common language identifiers found.

[0114] Specifically, if the number of retrieved common language identifiers is equal to or less than a predetermined threshold, all of the retrieved common language identifiers may be returned to the client, and the common language identifiers returned to the client are sorted in descending order of match degree.

[0115] Specifically, if the number of retrieved common language identifiers is greater than a predetermined threshold, all retrieved common language identifiers are sorted in descending order of match degree, and the first L common language identifiers are returned to the client, where L is equal to the predetermined threshold. The predetermined threshold can be set according to actual application circumstances, for example, it can be 3 or 5.

[0116] In another embodiment, all retrieved common language IDs may be returned to the client without sorting.

[0117] In this embodiment, only if the current user identifier has enabled the common language recognition mode, can the specific common language automatic recognition operation be performed. If the current user identifier has not enabled the common language recognition mode, no operation may be performed.

[0118] In one embodiment, the above document processing method further includes the steps of receiving a second data request sent from the client, the second data request including a common language identifier and an identifier of a target document, searching a common language base for common language description information corresponding to the common language identifier, and sending second data including the common language description information corresponding to the common language identifier to the client.

[0119] In this embodiment, after receiving the second data request, the server needs to determine common language description information corresponding to the target content based on the common language identifier in the second data request. Specifically, the server determines a corresponding predetermined mapping relationship table based on the identifier of the target document, and searches the predetermined mapping relationship table based on the target content. If the server finds the common language identifier corresponding to the target content in the predetermined mapping relationship table, it indicates that the target content of the current operation is in common language, and obtains common language description information corresponding to the target content based on the common language identifier, and sends it to the client for display.

[0120] Furthermore, the second data request further includes a user identifier, and the method further includes a step of determining whether the user has authority for the target document based on the user identifier and the identifier of the target document, and a step of performing an operation of searching for common language description information corresponding to the common language identifier in a common language base in response to the user having authority for the target document.

[0121] A search is performed in the correspondence table between the identifier of the target document and the user identifier to determine whether the user identifier has the authority to the target document. The above authority may refer to the authority to modify, input, delete, edit, etc. In this embodiment, the authority mainly refers to the authority to search for the common language identifier.

[0122] If the correspondence between the current user ID and the target document ID can be found in the document ID-user ID correspondence table, it is determined that the current user ID has the target document authority, and then performs an operation of searching for common language description information corresponding to the target content associated with the common language ID in the common language base.

[0123] If the correspondence between the current user identifier and the target document identifier is not found in the document identifier-user identifier correspondence table, it is determined that the current user identifier does not have the authority to search the current document, and the user is directly prompted that they do not have the authority to search the common language identifier, thus improving the security and confidentiality of the document.

[0124] In one embodiment, the above document processing method further includes the steps of receiving a common language name and common language description information sent from a client, searching a common language base based on the common language name, and updating the common language base based on the common language name and common language description information in response to the name of the common language not being searched.

[0125] In this embodiment, the client receives a command to build or update the common language base entered by the user in the document, and receives the common language name and common language description information entered by the user in response to the common language addition operation, and requests the common language base interface of the server to import the common language name and corresponding common language description information. After receiving the request, the server determines whether there are any duplicate common languages, and if there are no duplicate common languages, creates a common language record, updates the common language base, and returns the processing result to the client.

[0126] FIG. 6 is a flowchart of the document processing interaction method according to an embodiment of the present disclosure. As shown in FIG. 6, the interaction method provided by this embodiment mainly includes the following steps: S31: The client receives edits in the target document. S32: The client sends the edited content to the server. S33: If the edited content satisfies the search condition, the server searches for a common language identifier corresponding to the edited content. S34: The server determines a common language identifier corresponding to the edited content based on the search results. S35: The server sends the common language identifier to the client. S36: The client displays a second interaction area in the target document, the second interaction area including one or more common language identifiers. S37: In response to the operation on the second interaction area, the client updates the target content in the edited content to a common language.

[0127] For specific embodiments of each of the above steps, please refer to the description of the above examples, and no detailed explanations are given in this example.

[0128] FIG. 7 is a flowchart of the interaction method for document processing according to an embodiment of the present disclosure. As shown in FIG. 7, the interaction method provided by this embodiment mainly includes the following steps: S41: The client responds with an operation on the document content in the target document. S42: The client sends a second data request to the server. S43: The server determines whether the current user identifier has authority for the current document based on the current user identifier and the identifier of the target document. S44: If the current user identifier has authority for the current document, the server searches a common language base for common language description information corresponding to the document content and related to the common language identifier. S45: The server returns the common language description information to the client. S46: The client displays common language explanatory information.

[0129] For specific embodiments of each of the above steps, please refer to the description of the above examples, and no detailed explanations will be given in this example.

[0130] FIG. 8 is a flowchart of the interaction method for document processing according to an embodiment of the present disclosure. As shown in FIG. 8, the interaction method provided by this embodiment mainly includes the following steps: S51: The client receives a common language name and common language description information in response to an operation on the target document. S52: The client sends the common language name and common language description information to the server. S53: The server searches in the common language base by the common language name. S54: If the common language name is not found, the server updates the common language base based on the common language name and common language description information. S55: The server returns the common language-based update result to the client.

[0131] For specific embodiments of each of the above steps, please refer to the description of the above examples, and no detailed explanations are given in this example.

[0132] 9 is a schematic diagram of a document processing device according to an embodiment of the present disclosure, which is applied to managing a common language in documents, and may be implemented in the form of software and / or hardware. The document processing device is located in a client.

[0133] As shown in FIG. 9, the document processing device provided by this embodiment mainly includes: a content acquisition module 91 that acquires edited content in response to receiving an edit operation by a first user on a target document; a request sending module 92 for sending a first data request to a server based on the edited content; and a common language update module 93 that updates target content in the edited content to a common language in response to receiving a common language identifier sent from the server, the common language identifier being determined based on the edited content.

[0134] The document processing device provided by this embodiment obtains the edited content in response to receiving an edit operation by a first user on a target document, sends a first data request to a server based on the edited content, and updates the target content in the edited content to a common language in response to receiving a common language identifier sent from the server, where the common language identifier is determined based on the edited content. In the embodiment of the present disclosure, when it is recognized that the input edited content includes a common language during editing of an online document, the target content in the edited content is automatically updated to the common language, thereby realizing effective management of the common language in online documents.

[0135] In one embodiment, the common language update module 93 specifically displays a first interaction area associated with a target content in the edited content, and updates the target content in the edited content to a common language in response to receiving a first operation of the first user on the first interaction area.

[0136] In one embodiment, the common language update module 93 specifically displays a second interaction area, the second interaction area including a common language identifier associated with a target content in the edited content, and in response to receiving a second operation of the first user on the second interaction area, obtains a common language identifier corresponding to the target content, and in response to receiving a third operation of the first user on the second interaction area, updates the target content in the edited content to a common language corresponding to the common language identifier.

[0137] In one embodiment, the common language update module 93 specifically displays a third interaction area when there are multiple target contents in the edited content, and the third interaction area includes common language information associated with the multiple target contents. In response to receiving a fourth operation of the first user on the third interaction area, the common language update module 93 matches a corresponding common language identifier with the target content, and in response to receiving a fifth operation of the first user on the third interaction area, the common language update module 93 updates the target content in the edited content to a common language corresponding to the matched common language identifier.

[0138] In one embodiment, the common language update module 93 further establishes an association relationship between the target content in the edited content and the common language identifier, and stores the association relationship in a mapping relationship table.

[0139] In one embodiment, the common language update module 93 further changes the display mode of the target content in the edited content from the first mode to the second mode in response to the current edit mode being a first mode, or changes the display mode of the target content in the edited content from the third mode to a second mode associated with the third mode in response to the current edit mode being a third mode.

[0140] In one embodiment, the request sending module 92 further sends a second data request to the server in response to a trigger operation on the updated target content, the second data request including a common language identifier and an identifier of the target document; Correspondingly, the device further includes an explanatory information display module that displays common language explanatory information corresponding to the common language identifier in response to receiving second data transmitted from the server.

[0141] In one embodiment, the apparatus further includes a common language display module that displays the common language in the target document in response to an insert common language operation.

[0142] In one embodiment, the common language display module specifically displays a first operation entry for obtaining a target common language in response to a common language insertion operation, displays a second operation entry in response to obtaining the target common language, and displays the target common language in the target document in response to receiving an operation command for the second operation entry.

[0143] In one embodiment, the common language display module specifically obtains target location information in response to an insert operation of a common language, and displays the common language in the target document based on the target location information.

[0144] In one embodiment, the device includes: an add operation response module that receives a name of the common language and description information of the common language in response to an add operation of the common language; and a description information sending module for sending the name of the common language and description information of the common language to the server, so that the server creates a corresponding common language record.

[0145] In one embodiment, the target content is part or all of the edited content.

[0146] The document processing device provided by the embodiments of the present disclosure can execute the document processing method according to any embodiment of the present disclosure, and includes corresponding functional modules and beneficial effects for executing the data processing method.

[0147] 10 is a schematic diagram of a document processing device according to an embodiment of the present disclosure, which is applied to managing a common language in documents, and the device may be implemented in the form of software and / or hardware. The document processing device is located in a server terminal.

[0148] As shown in FIG. 10, the document processing device provided by this embodiment mainly includes: a receiving module 101 for receiving a first data request including edited content sent from a client; a common language identifier acquisition module 102 that acquires a common language identifier corresponding to the edited content based on the edited content; and a common language identifier sending module 103 for sending a common language identifier corresponding to the edited content to the client.

[0149] In one embodiment, the common language identifier acquisition module 102 specifically performs a word segmentation process on the edited content to obtain multiple words corresponding to the edited content, and then matches the words in a common language base to determine a common language identifier corresponding to each word.

[0150] In one embodiment, the common language identifier acquisition module 102 specifically performs an aggregation process on data information corresponding to at least one of the edited contents, determines a total amount of data information after the aggregation process, and acquires a common language identifier corresponding to the edited content if the total amount of data information meets a threshold condition.

[0151] In one embodiment, the request receiving module 101 further receives a second data request sent from the client, the second data request including a common language identifier and an identifier of a target document; Correspondingly, the device comprises: a search module for searching common language description information corresponding to the common language identifier in a common language base; The communication device further includes a data transmission module configured to transmit second data including common language description information corresponding to the common language identifier to a client.

[0152] In one embodiment, the second data request further includes a user identifier; The device comprises: The apparatus further includes an authority determination module that determines whether the user has authority to the target document based on the user identifier and the identifier of the target document, and performs the operation of searching for common language description information corresponding to the common language identifier in a common language base in response to the user having authority to the target document.

[0153] In one embodiment, the device comprises: an explanation information receiving module that receives a name in a common language and explanation information in the common language transmitted from a client; a name search module that searches a common language base based on the common language name; The system further includes a language base update module that, in response to the name of the common language not being searched for, updates a common language base based on the name of the common language and common language description information.

[0154] The document processing device provided by the embodiments of the present disclosure can execute the document processing method according to any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the data processing method.

[0155] Referring now to FIG. 11, a schematic diagram of an electronic device (e.g., a terminal device or service terminal in FIG. 11) 1100 suitable for implementing an embodiment of the present disclosure is shown. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, personal digital assistants (PDAs), tablets, portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. The electronic device in FIG. 11 is merely an example and should not limit the functionality and scope of use of the embodiment of the present disclosure.

[0156] 11, electronic device 1100 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 1101 that performs various appropriate operations and processes based on programs stored in read-only memory (ROM) 1102 or programs loaded from storage device 11011 into random access memory (RAM) 1103. RAM 1103 further stores various programs and data necessary for the operation of electronic device 1100. Processing unit 1101, ROM 1102, and RAM 1103 are connected to one another via a bus 1104. An input / output (I / O) interface 1105 is also connected to bus 1104.

[0157] Typically, input devices 1108, including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 1101, including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1108, including, for example, a magnetic tape, hard disk, etc.; and communication devices 1109 may be connected to the I / O interface 1105. The communication devices 1109 enable the electronic device 1100 to communicate wirelessly or via wires with other devices to exchange data. While FIG. 11 illustrates the electronic device 1100 having various devices, it is not required that the electronic device 1100 implement or include all of the devices shown. Instead, more or fewer devices may be implemented or included.

[0158] In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as a computer software program. For example, an embodiment of the present disclosure may include a computer program product, the computer program product comprising a computer program embodied in a non-transitory computer-readable medium, the computer program comprising program code for performing the methods illustrated in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 1109, or installed from the storage device 1108, or stored in a ROM. 1102. When the computer program is executed by the processing unit 1101, it performs the above-mentioned functions limited to the method of the embodiment of the present disclosure.

[0159] Here, the computer-readable medium of the present disclosure may be a computer-readable signal medium, a computer-readable storage medium, or any combination of the above. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer-readable storage medium may include, but are not limited to, an electrical connection having one or more leads, a portable computer magnetic disk, 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 compact disc read-only memory (CD-ROM), an optical memory, a magnetic memory, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium includes a data signal propagated in baseband or as part of a carrier, the data signal carrying computer-readable program code. Such propagated data signals may take many forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium that transmits, propagates, or carries a program used by or in connection with an instruction execution system, apparatus, or device. Program code contained in a computer-readable medium may be transmitted over any suitable medium, including, but not limited to, wire, optical cable, RF (radio frequency), or the like, or any suitable combination of the above.

[0160] In some embodiments, the client, the service terminal, may be configured to communicate with, for example, HTTP (HyperText Markup Language). They may communicate using any now known or later developed network protocol, such as the HyperText Transfer Protocol (HTTP), and may be interconnected by any form or medium of digital data communication (e.g., a communications network). Examples of communications networks include local area networks ("LANs"), wide area networks ("WANs"), international networks (e.g., the Internet), end-to-end networks (e.g., ad hoc end-to-end network), and any now known or later developed network.

[0161] The computer-readable medium may be included in the electronic device, or may exist separately and not be attached to the electronic device.

[0162] The computer-readable medium is loaded with one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: In response to receiving an edit operation from the first user on the target document, obtaining the edit content; sending a first data request to a server based on the edits; In response to receiving a common language identifier transmitted from the server, the target content in the edited content is updated to a common language, and the common language identifier is determined based on the edited content.

[0163] The computer-readable medium is loaded with one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: receiving a first data request including edits sent from a client; obtaining a common language identifier corresponding to the edited content based on the edited content; and transmitting a common language identifier corresponding to the edited content to the client.

[0164] Computer program code for carrying out the operations of the present disclosure is written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, and C++, or conventional procedural programming languages such as "C" or similar programming languages. The program code may run entirely on the user computer, partially on the user computer, as a separate software package, partially on the user computer and partially on a remote computer, or entirely on a remote computer or server. When referring to a remote computer, the remote computer may be connected to the user computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet Service Provider).

[0165] The flowcharts and block diagrams in the drawings illustrate possible system architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams represents a module, program segment, or portion of code, which includes one or more executable instructions for implementing a given logical function. In some alternative implementations, the functions described in the blocks may occur in a different order than depicted in the drawings. For example, two blocks shown consecutively may actually be executed in parallel, or in reverse order, depending on the functionality involved. Furthermore, each block in the block diagrams and / or flowcharts, or a combination of blocks in the block diagrams and / or flowcharts, may be implemented by a specialized system of hardware that performs a given function or operation, or by a combination of specialized hardware and computer instructions.

[0166] The units described in the embodiments of the present disclosure may be implemented in the form of software or hardware, and in some cases, the names of the units do not constitute limitations on the units themselves.

[0167] As used herein, the functionality described above may be implemented at least in part by one or more hardware logic components. For example, and without limitation, types of hardware logic components that may be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), etc.

[0168] In this disclosure, a machine-readable medium is a tangible medium that can contain or store a program used by or in connection with an instruction execution system, device, or apparatus. 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 apparatus, or any suitable combination of the above. More specific examples of machine-readable storage media include an electrical connection of one or more wires, a portable computer disk, 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 compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0169] According to one or more embodiments of the present disclosure, In response to receiving an edit operation from the first user on the target document, obtaining the edit content; sending a first data request to a server based on the edits; updating target content in the edited content to a common language in response to receiving a common language identifier transmitted from the server, wherein the common language identifier is determined based on the edited content; The present invention provides a document processing method, device, equipment, and medium including the steps of:

[0170] According to one or more embodiments of the present disclosure, the step of updating target content in the edited content to a common language in response to receiving a common language identifier transmitted from the server includes: displaying a first interaction area, the first interaction area being associated with a target content in the edited content; updating a target content in the edited content to a common language in response to receiving a first operation from the first user on the first interaction area; The present invention provides a document processing method, device, apparatus, and medium, including:

[0171] According to one or more embodiments of the present disclosure, the step of updating target content in the edited content to a common language in response to receiving a common language identifier transmitted from the server includes: displaying a second interaction area, the second interaction area including a common language identifier associated with a target content in the edited content; In response to receiving a second operation of the first user on the second interaction area, acquiring a common language identifier corresponding to the target content; In response to receiving a third operation by the first user on the second interaction area, updating a target content in the edited content to a common language corresponding to the common language identifier; The present invention provides a document processing method, device, equipment, and medium including the steps of:

[0172] According to one or more embodiments of the present disclosure, the step of updating target content in the edited content to a common language in response to receiving a common language identifier transmitted from the server includes: If the target content in the edited content is plural, displaying a third interaction area, the third interaction area including common language information associated with the plural target contents; In response to receiving a fourth operation of the first user on the third interaction area, matching a corresponding common language identifier to the target content; In response to receiving a fifth operation by the first user on the third interaction area, updating a target content in the edited content to a common language corresponding to the matched common language identifier; The present invention provides a document processing method, device, equipment, and medium including the steps of:

[0173] According to one or more embodiments of the present disclosure, establishing an association relationship between target content in the edited content and the common language identifier; storing the association relationship in a mapping relationship table; The present invention provides a document processing method, apparatus, device and medium, which further include:

[0174] According to one or more embodiments of the present disclosure, In response to the current editing mode being a first mode, changing a display mode of a target content in the editing content from the first mode to a second mode; or in response to a current editing mode being a third mode, changing a display mode of target content in the editing content from the third mode to a second mode associated with the third mode; The present invention provides a document processing method, apparatus, device and medium, which further include:

[0175] According to one or more embodiments of the present disclosure, sending a second data request to the server in response to a trigger operation on the updated target content, the second data request including a common language identifier and an identifier of the target document; In response to receiving second data transmitted from the server, displaying common language description information corresponding to the common language identifier; The present invention provides a document processing method, apparatus, device and medium, which further include:

[0176] According to one or more embodiments of the present disclosure, displaying the common language in the target document in response to an insert operation of the common language; The present invention provides a document processing method, apparatus, device and medium, which further include:

[0177] According to one or more embodiments of the present disclosure, the step of displaying the common language in the target document in response to the insert operation of the common language includes: displaying a first operation entry in response to a common language insertion operation, the first operation entry acquiring a target common language; displaying a second operation entrance in response to acquiring the target common language; displaying the target common language in the target document in response to receiving an operation command for the second operation entrance; The present invention provides a document processing method, device, equipment, and medium including the steps of:

[0178] According to one or more embodiments of the present disclosure, the step of displaying the common language in the target document in response to the insert operation of the common language includes: obtaining target location information in response to a common language insertion operation; displaying the common language in the target document based on the target location information; The present invention provides a document processing method, device, equipment, and medium including the steps of:

[0179] According to one or more embodiments of the present disclosure, receiving a name of the common language and description information of the common language in response to an operation to add the common language; sending the name of the common language and common language description information to the server so that the server creates a corresponding common language record; The present invention provides a document processing method, apparatus, device and medium, which further include:

[0180] According to one or more embodiments of the present disclosure, The target content provides document processing methods, devices, equipment and media that are part or all of the edited content.

[0181] According to one or more embodiments of the present disclosure, receiving a first data request including edits sent from a client; obtaining a common language identifier corresponding to the edited content based on the edited content; sending a common language identifier corresponding to the edited content to the client; The present invention provides a document processing method, device, equipment, and medium including the steps of:

[0182] According to one or more embodiments of the present disclosure, the step of obtaining a common language identifier corresponding to the edited content based on the edited content includes: performing a word segmentation process on the edited content to obtain a plurality of words corresponding to the edited content; matching the words in a common language base to determine a common language identifier corresponding to each word; The present invention provides a document processing method, device, equipment, and medium including the steps of:

[0183] According to one or more embodiments of the present disclosure, the step of obtaining a common language identifier corresponding to the edited content based on the edited content includes: performing an aggregation process on the data information corresponding to at least one of the edit contents, and determining a total amount of data information after the aggregation process; If the total amount of data information satisfies a threshold condition, acquiring a common language identifier corresponding to the edited content; The present invention provides a document processing method, device, equipment, and medium including the steps of:

[0184] According to one or more embodiments of the present disclosure, receiving a second data request sent from the client, the second data request including a common language identifier and an identifier of a target document; searching a common language description information corresponding to the common language identifier in a common language base; transmitting second data including common language description information corresponding to the common language identifier to a client; The present invention provides a document processing method, apparatus, device and medium, which further include:

[0185] According to one or more embodiments of the present disclosure, the second data request further includes a user identifier, and the method further comprises: determining whether the user has authority to the target document based on the user identifier and the identifier of the target document; performing an operation of searching a common language description information corresponding to the common language identifier in a common language base in response to the user having authority to the target document; The present invention provides a document processing method, apparatus, device and medium, which further include:

[0186] According to one or more embodiments of the present disclosure, receiving a name of the common language and description information of the common language transmitted from a client; searching a common language base based on the common language name; updating a common language base based on the common language name and common language description information in response to the common language name not being found; The present invention provides a document processing method, apparatus, device and medium, which further include:

[0187] The above description is only a description of the preferred embodiments of the present disclosure and the technical principles used. As can be understood by those skilled in the art, the scope of the present disclosure is not limited to the technical solution composed of a specific combination of the above technical features, and also covers other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the concept of the above disclosure, for example, by replacing the above features with technical features having similar functions (but not limited to) disclosed in the present disclosure.

[0188] Also, although operations are described in a particular order, these operations do not require that they be performed in the particular order or sequence shown. In certain environments, multitasking and parallel processing may be advantageous. Similarly, the above discussion includes some specific implementation details, but these should not be construed as limitations on the scope of the present disclosure. Some features described in separate embodiments may be implemented in combination in a single embodiment. Also, various features described in a single embodiment may be implemented in multiple embodiments, either alone or in any suitable subcombination.

[0189] Although the present subject matter has been described in specific language of structural features and / or methodological logic operations, the subject matter defined in the appended claims is not limited to the specific features or operations described above, and the specific features and operations described above are merely example forms of implementing the claims.

Claims

1. 1. A document processing method performed by a document processing device, comprising: In response to receiving an edit operation from a first user on the target document, obtaining the edit content; sending a first data request to a server based on the edits; updating target content in the edited content to a common language in response to receiving a common language identifier transmitted from the server, wherein the common language identifier is determined based on the edited content; Including, the common language is a language agreed upon by a working team to describe the same concept or point of knowledge without introducing other ambiguities, each common language corresponding to a unique common language identifier; The method comprises: sending a second data request to the server in response to a trigger operation on the updated target content, the second data request including a common language identifier and an identifier of the target document, the second data request being used by a client to request detailed interpretation information of the common language corresponding to the target content from the server; In response to receiving the second data transmitted from the server, displaying common language description information corresponding to the common language identifier; The method further comprises:

2. In response to receiving the common language identifier transmitted from the server, updating the target content of the edited content to a common language includes: displaying a first interaction area, the first interaction area being associated with a target content in the edited content; and updating target content in the edited content to a common language in response to receiving a first operation of the first user on the first interaction area.

3. In response to receiving the common language identifier transmitted from the server, updating the target content of the edited content to a common language includes: displaying a second interaction area, the second interaction area including a common language identifier associated with a target content in the edited content; In response to receiving a second operation from the first user on the second interaction area, acquiring a common language identifier corresponding to the target content; In response to receiving a third operation by the first user on the second interaction area, updating a target content in the edited content to a common language corresponding to the common language identifier; The method of claim 1 , comprising:

4. In response to receiving the common language identifier transmitted from the server, updating the target content of the edited content to a common language includes: If the edited content has a plurality of target contents, displaying a third interaction area, the third interaction area including a common language identifier associated with the plurality of target contents; In response to receiving a fourth operation of the first user on the third interaction area, matching a corresponding common language identifier to the target content; In response to receiving a fifth operation by the first user on the third interaction area, updating a target content in the edited content to a common language corresponding to the matched common language identifier; The method of claim 1 , comprising:

5. establishing an association relationship between target content in the edited content and the common language identifier; storing the association relationships in a mapping relationship table; The method of claim 1 further comprising:

6. In response to the current editing mode being a first mode, changing a display mode of target content in the editing content from the first mode to a second mode; or in response to a current editing mode being a third mode, changing a display mode of target content in the editing content from the third mode to a second mode associated with the third mode; The method of claim 1 further comprising:

7. The method of claim 1 , further comprising the step of displaying the common language in the target document in response to an insert operation of the common language.

8. In response to the insertion operation of the common language, displaying the common language in the target document includes: displaying a first operation entry in response to a common language insertion operation, the first operation entry being used to obtain a target common language; displaying a second operation entrance in response to acquiring the target common language; displaying the target common language in the target document in response to receiving an operation command for the second operation entrance; The method of claim 7, comprising:

9. In response to the insertion operation of the common language, displaying the common language in the target document includes: obtaining target location information in response to a common language insertion operation; displaying the common language in the target document based on the target location information; The method of claim 7, comprising:

10. receiving a name of the common language and description information of the common language in response to an operation to add the common language; sending the name of the common language and common language description information to the server so that the server creates a corresponding common language record; The method of claim 1 further comprising:

11. The method of claim 1 , wherein the target content is part or all of the edited content.

12. 1. A document processing method performed by a document processing device, comprising: receiving a first data request including edits sent from a client; obtaining a common language identifier corresponding to the edited content based on the edited content; sending a common language identifier corresponding to the edited content to the client; Including, A common language is a language agreed upon by a working team to describe the same concept or point of knowledge without introducing other ambiguities, each common language corresponding to a unique common language identifier; The method comprises: receiving a second data request sent from the client, the second data request including a common language identifier and a target document identifier, the second data request being used by the client to request detailed interpretation information of the common language corresponding to the target content in the edited content from the server; searching a common language description information corresponding to the common language identifier in a common language base; transmitting second data including common language description information corresponding to the common language identifier to a client; The method further comprises:

13. The step of obtaining a common language identifier corresponding to the edited content based on the edited content includes: performing a word segmentation process on the edited content to obtain a plurality of words corresponding to the edited content; matching the words in a common language base to determine a common language identifier corresponding to each word; 13. The method of claim 12, comprising:

14. The step of obtaining a common language identifier corresponding to the edited content based on the edited content includes: performing an aggregation process on the data information corresponding to at least one of the edit contents, and determining a total amount of data information after the aggregation process; If the total amount of data information satisfies a threshold condition, acquiring a common language identifier corresponding to the edited content; 13. The method of claim 12, comprising:

15. the second data request further includes a user identifier; The method comprises: determining whether a user corresponding to the user identifier has authority to the target document based on the user identifier and the identifier of the target document; performing an operation of searching a common language description information corresponding to the common language identifier in a common language base in response to the user having authority to the target document; 14. The method of claim 13, further comprising:

16. receiving a name of the common language and description information of the common language transmitted from a client; searching in a common language base based on the common language name; updating a common language base based on the common language name and common language description information in response to the common language name not being found; The method of claim 12 further comprising:

17. 1. A document processing device comprising: a content acquisition module that acquires edited content in response to receiving an edit operation by the first user on the target document; a request sending module that sends a first data request to a server based on the edited content; a common language update module that updates target content in the edited content to a common language in response to receiving a common language identifier transmitted from the server, the common language identifier being determined based on the edited content; Including, the common language is a language agreed upon by a working team to describe the same concept or point of knowledge without introducing other ambiguities, each common language corresponding to a unique common language identifier; The request sending module further comprises: sending a second data request to the server in response to a trigger operation on the updated target content, the second data request including a common language identifier and an identifier of the target document, the second data request being used by the client to request detailed interpretation information of the common language corresponding to the target content from the server; The device comprises: The device further includes an explanatory information display module that displays common language explanatory information corresponding to the common language identifier in response to receiving the second data transmitted from the server.

18. 1. A document processing device comprising: a request receiving module for receiving a first data request including edit content sent from a client; a common language identifier acquisition module that acquires a common language identifier corresponding to the edited content based on the edited content; a common language identifier transmission module that transmits a common language identifier corresponding to the edited content to the client; Including, A common language is a language agreed upon by a working team to describe the same concept or point of knowledge without introducing other ambiguities, each common language corresponding to a unique common language identifier; The request receiving module further comprises: receiving a second data request sent from the client, the second data request including a common language identifier and a target document identifier, the second data request being used by the client to request detailed interpretation information of the common language corresponding to the target content in the edited content from the server; The device comprises: a search module for searching common language description information corresponding to the common language identifier in a common language base; a data transmission module that transmits second data including common language description information corresponding to the common language identifier to a client; The apparatus further comprises:

19. 1. A document processing device comprising: one or more processors; a memory for storing one or more programs; Including, An apparatus, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the document processing method of any one of claims 1 to 16.

20. A computer-readable storage medium, comprising: A computer-readable storage medium having a computer program stored therein, the computer program implementing the document processing method according to any one of claims 1 to 16 when executed by a processor.

Citation Information

Patent Citations

  • Document translation method and device, computer readable storage medium and computer equipment

    CN110162798A

  • Document processing system

    JP1992060762A

  • Methods of Offering Guidance On Common Language Usage

    US20070260448A1

  • Document editing models and localized content management

    US20200387567A1