Text output method, electronic device and medium

By obtaining user information and matching the corresponding text, outputting text classification interface and buttons, the problem of inconvenience in text management and acquisition is solved, and the rapid acquisition and efficient management of text is achieved.

CN113434640BInactive Publication Date: 2025-02-25CTRIP TECH (SHANGHAI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110827004.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-21
Publication Date
2025-02-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The management and acquisition of commonly used texts in the prior art are inconvenient, resulting in low work efficiency.

Method used

By obtaining user information, matching the text corresponding to user information, outputting the text classification interface, displaying different output buttons, and outputting the corresponding text in response to user requests.

Benefits of technology

The classification management of text is realized, and users can quickly obtain the required text, simplifying the search process, saving time and improving work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113434640B_ABST
    Figure CN113434640B_ABST
Patent Text Reader

Abstract

The present invention discloses a text output method, electronic device and medium, wherein the text output method comprises a text output step, wherein the text output step specifically comprises: obtaining user information; when text corresponding to the user information is successfully matched according to the user information, a text classification interface is output, wherein the text classification interface is used to display different output buttons; and in response to a request from the text classification interface, the text corresponding to the output button is output. Through the above-mentioned text output method, the steps of obtaining text can be simplified, the use of text is more convenient, the rapid output of text can be completed through the output button, the text management and acquisition are very convenient, and the work efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of text processing, and in particular to a text output method, electronic equipment and medium. Background Art

[0002] In the daily work of an enterprise, different departments will have a lot of repetitive texts, such as commonly used words, solution templates, parameter configurations, program code blocks, etc., which are usually saved as text files using text tools (such as notepad, Word (word processing software), Excel (office software)). Repetitive texts are very inconvenient in the storage and management process. When employees use duplicate files, they need to search first, and searching for files or texts is also time-consuming and laborious. After finding the text they need to use, they need to copy and paste the text into the required input area, which is inconvenient and affects work efficiency. Summary of the invention

[0003] The technical problem to be solved by the present invention is to overcome the defects of inconvenient management and acquisition of commonly used texts and low work efficiency in the prior art, and to provide a text output method, electronic device and medium.

[0004] The present invention solves the above technical problems through the following technical solutions:

[0005] A text output method, the text output method comprising a text output step, the text output step specifically comprising:

[0006] Get user information;

[0007] When text corresponding to the user information is successfully matched according to the user information, a text classification interface is output, and the text classification interface is used to display different output buttons;

[0008] In response to a request of the text classification interface, the text corresponding to the output button is output.

[0009] Preferably, when the text corresponding to the user information is successfully matched according to the user information, the step of outputting the text classification interface specifically includes:

[0010] When the text corresponding to the user information is successfully matched from the background interface according to the user information, a text classification interface is output.

[0011] Preferably, when the text corresponding to the user information is successfully matched according to the user information, the step of outputting the text classification interface specifically includes:

[0012] When the text corresponding to the user information is successfully matched from the database according to the user information, a text classification interface is output.

[0013] Preferably, the step of outputting the text corresponding to the output button specifically includes:

[0014] The text corresponding to the output button is output according to the text output type configured by the output button.

[0015] Preferably, the step of outputting the text corresponding to the output button according to the text output type configured by the output button comprises:

[0016] Send the text to the clipboard and paste the text from the clipboard into the designated text input area; and / or,

[0017] Calling a run command to execute the run operation of the text through the run command; and / or,

[0018] A third request is received, where the third request is a statistical request for feedback from the output button, the content of the text corresponding to the output button is saved as a statistical log, and statistics are performed according to the number of the saved statistical logs corresponding to the output button.

[0019] Preferably, the text output method further comprises a text input step, and the text input step specifically comprises the following steps:

[0020] Get the text corresponding to the user information;

[0021] Classifying the text corresponding to the user information and outputting different text classification sections, wherein the text classification sections are used to display different input buttons;

[0022] In response to a first request, the first request is an input request fed back by the input button, and the text is input through the input button.

[0023] Preferably, after the step of inputting the text through the input button, the text input step further includes the following steps:

[0024] In response to a second request, which is a setting request for feedback from the input button, an operation type is set for the input button.

[0025] Preferably, the operation type includes at least one of a paste operation, a run operation, and a statistical operation.

[0026] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned text output method when executing the computer program.

[0027] A computer-readable medium having a computer program stored thereon, characterized in that the computer program implements the text output method as described above when executed by a processor.

[0028] The positive and progressive effect of the present invention is that: a text classification interface corresponding to the user information is outputted through the acquired user information, different output buttons are displayed on the text classification interface, and the text corresponding to the output button is outputted in response to the request of the text classification interface. The text is classified, which is convenient for managing and storing the text. The user can quickly obtain the desired text by selecting the output button. The steps for obtaining the text are simple, the text output is fast, time is saved, and work efficiency is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 This is a flowchart of the text input steps in the text output method of embodiment 1 of the present invention.

[0030] Figure 2 This is a flowchart of the text output steps in the text output method of embodiment 1 of the present invention.

[0031] Figure 3 This is a flowchart of the text output steps in the text output method of embodiment 1 of the present invention.

[0032] Figure 4 This is a flowchart of the text output steps in the text output method of embodiment 1 of the present invention.

[0033] Figure 5 This is an interactive logic diagram of the text output method of Example 1 of the present invention.

[0034] Figure 6 This is an execution logic diagram of the text output method of Example 1 of the present invention.

[0035] Figure 7 This is a rendering of the output interface of the text output method of Example 1 of the present invention.

[0036] Figure 8 This is a rendering of the text classification section of the text output method of Example 1 of the present invention.

[0037] Fig. 9 This is a diagram showing the editing effect of the input button of the text output method of embodiment 1 of the present invention.

[0038] Fig.10 A schematic structural diagram of an electronic device according to Embodiment 2 of the present invention. DETAILED DESCRIPTION

[0039] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.

[0040] Example 1

[0041] The present embodiment provides a text output method. The text output of the present embodiment includes two steps: a text output step and a text input step. The two steps are in no particular order. In order to clearly explain and illustrate the present embodiment, the text input step and the text output step will be described in sequence.

[0042] like Figure 1 , Figure 5 As shown, the text input step includes the following steps:

[0043] S1. Obtain text corresponding to user information.

[0044] There are many ways to obtain text corresponding to user information. As a preferred method, for example, the identity of employees can be verified through the enterprise unified account authentication platform through the backend management page, and the user information is obtained from the content returned by the authentication platform. The user information includes the user's username, department, team and other detailed information. The backend management page obtains all configuration data matching the user's department through the backend interface based on the obtained user information, that is, the text corresponding to the user information is obtained.

[0045] S2. Classify the text corresponding to the user information and output different text classification sections, where the text classification sections are used to display different input buttons.

[0046] like Figure 8 As shown, after obtaining the text matching the user information, the text is classified and a text classification is created to form different text classification sections. The text classification sections can be edited, and text classification sections can be added, deleted or edited.

[0047] There are many kinds of texts corresponding to user information, which need to be classified and summarized. For example, the texts can be divided into: consultation, reply, technology, and tools. According to the classification of the texts, text classification sections corresponding to the text classifications are created, namely, consultation text section, reply text section, technology text section, and tool text section. This makes it convenient for users to quickly locate the text they want to obtain and save time.

[0048] S3. In response to a first request, where the first request is an input request fed back by an input button, the text is input through the input button.

[0049] S4. In response to a second request, where the second request is a setting request for feedback from the input button, an operation type is set for the input button.

[0050] like Fig. 9As shown, the text classification section is available for users to select and trigger. After the user selects a text classification section, multiple different input buttons will be displayed, and the input button can be edited. The editing content includes the name of the input button, the operation type of the input button, and the content of the input button. Specifically, the name of the input button is the name of the text content that the user wants to obtain. For example: the user selects the consulting classification section, and the consulting classification section may include consulting products, consulting prices, consulting invoicing, etc., then consulting products, consulting prices, and consulting invoicing can be named as the names of the input buttons, which is convenient for users to quickly locate and find the desired text, and classify the text in a more detailed manner, making it more convenient for users to find, locate and output.

[0051] Bind the text corresponding to the input button name to the input button. The text can be text, file, Word, Excel, path, browser URL or run executable file, etc., which are not listed here. After binding the text to the input button, the text input or entry through the input button is completed.

[0052] Set the operation type of the input button. The operation types include paste operation, run operation, statistics operation, etc. At least one of the operation types is selected as the operation type of the input button.

[0053] Statistics operation is a lightweight use of data statistics. For example, if a department needs to conduct a simple telephone satisfaction survey on customers, it can use the tool to create a "satisfaction survey section". During the call, employees click the relevant statistics button based on the user's feedback. The administrator can query and summarize the corresponding statistics button clicks through the background page and the background log section to make relevant data statistics.

[0054] like Figure 2 , Figure 5 and Figure 6 As shown, the text output step includes the following steps:

[0055] S11. Obtain user information.

[0056] There are many ways to obtain user information. As an example of a preferred method, you can run a client tool to query and obtain user information, such as Figure 5 As shown, user information can also be obtained through the user login interface. User information may include user name, user department, user team and other information, which can be set according to actual needs. After obtaining user information, the client tool will obtain the text corresponding to the user information through the background interface. When the text corresponding to the user information is successfully obtained, the text classification interface is output.

[0057] S12: Determine whether the text corresponding to the user information is successfully matched based on the user information. If so, execute step S12-a; if not, execute step S11.

[0058] S12-a, output text classification interface, the text classification interface is used to display different output buttons.

[0059] S13. In response to a request from the text classification interface, output the text corresponding to the output button.

[0060] The text classification interface is to classify texts, so that users can browse and quickly locate the texts they want to obtain. The information displayed on the text classification interface is the classification of texts with high reuse rate in the department or team where the user is located. For example, if the user is in the finance department, the text classification interface includes the following sections, including notification related words section, email reply words section, common problem reply section, contact customer phrase section, common operation template section, and invoice related reply section. If the user selects the invoice related reply section, the invoice related reply section interface will display multiple different output buttons, such as Figure 7 , 9 As shown, the names of the output buttons include Invoice Information Disagreement, Invoice Not Received Can Be Reissued, Invoice Replacement Header, Invoice Received, etc. Figure 7 The names of the output buttons are used as examples for partial explanation, and the other parts are editable and are not listed one by one. The staff of the finance department can quickly browse the names of the output buttons to quickly locate the text they want to obtain, and quickly output the text by clicking the output button. This simplifies the steps of text search, saves time in searching text, and improves work efficiency.

[0061] Alternatively, if Figure 3 As shown, S12 includes the following steps:

[0062] S14: Determine whether the text corresponding to the user information is successfully matched from the background interface according to the user information. If so, execute S12-a; if not, execute step S11.

[0063] like Figure 6 As shown, after the client tool obtains the user information, it can match the text corresponding to the user information from the background interface according to the user information. The text corresponding to the user information can be matched from the background database through the background interface. The data obtained from the background interface is the latest, which is convenient for quickly responding to the user's request and outputting the text the user wants. After matching the data, the latest text matched from the background interface is saved and updated to the local cache database, and the text classification interface is output. When the client tool fails to match the text corresponding to the user information from the background interface, it can choose to continue to execute S15, match from the database, or prompt an error.

[0064] Alternatively, if Figure 4 As shown, S12 also includes the following steps:

[0065] S15. Determine whether a text corresponding to the user information is successfully matched from the database according to the user information. If so, execute S12-a; if not, execute step S11.

[0066] This database can be a local cache database or other storage database. After successfully matching the text corresponding to the user information from the database, the text classification interface is output. If the text corresponding to the user information fails to be matched from the local cache database, an error message is prompted.

[0067] Alternatively, if Figure 3 or Figure 4 As shown, S13 includes the following steps:

[0068] S16. In response to a request from the text classification interface, output the text corresponding to the output button according to the text output type configured by the output button.

[0069] The text output type is an operation type, and the operation type includes at least one of a paste operation, a run operation, and a statistical operation.

[0070] The paste operation is to send the text to the clipboard and paste the text into the specified text input area through the clipboard.

[0071] The run operation is to call the run command, and the run operation of the text is executed through the run command.

[0072] The statistical operation is to receive a third request, which is a statistical request for output button feedback, save the content of the text corresponding to the output button as a statistical log, and perform statistics according to the number of saved statistical logs corresponding to the output button.

[0073] The text classification interface is used to display different output buttons. Each output button is configured with a text output type, that is, an operation type. The text includes Word, Excel, text, path, browser URL or running executable files, etc. The text output types include paste output, run output and statistical output. Paste output is to send the text to the clipboard after backing up the clipboard data, and paste the text to the specified text input area through the clipboard and restore the original clipboard data; run output is to call the run command, execute the text content through the run command, and then perform related run operations, such as opening text, path, browser URL or running executable files, etc.; statistical output is to receive a third request, which is a statistical request fed back by the output button, save the content of the text corresponding to the output button as a statistical log, and perform statistics according to the number of statistical logs corresponding to the output button saved. After the user clicks the output button, the text is output according to the output type configured by the output button. First, the text is classified, stored and managed, which is convenient for sorting and use. By configuring the output button, the text that the user wants can be quickly output, and there is no need to find many files to obtain the desired text, which saves search time, improves work efficiency, and improves user experience.

[0074] The preferred embodiment of the present invention is to set up a lightweight tool, which includes a client and a backend. The client is for users (i.e., corporate employees), and the backend is for backend administrators. Backend administrators can use the backend to implement functions such as text classification, storage, editing, entry, saving and submission according to the text input steps of the present embodiment. When the backend administrator completes the configuration of the corresponding text according to different user information, it is saved and submitted and stored in the backend database. The client can match the text corresponding to the user information from the backend database according to different user information. The client displays the lightweight tool, which is a desktop tool, such as Figure 7 As shown, the lightweight tool has a small interface, which can also be hidden. It is concise and flexible. It has flexible configuration management of text and a wide coverage. It can be used by multiple departments and teams. The lightweight tool can automatically identify and load the corresponding data, has a variety of executable functions, and has high customization capabilities.

[0075] This embodiment includes a text input step, such as Figure 5As shown, the text is classified through the text classification section through the background configuration page, and the text input operation is completed by setting the name of the input button and configuring the operation type of the input button. After the saving is completed, the text data corresponding to the user information is encrypted and stored in the background database. The client tool obtains the user information and matches the text corresponding to the user information from the background database through the background interface, then updates the matched text to the local cache database, loads the text classification section interface, and the user selects and clicks the output button to output the desired text content. Through this embodiment, the text can be classified, stored and managed, which is convenient for the management and use of the text, saves the time for finding the text, and improves work efficiency.

[0076] Example 2

[0077] Fig.10 This is a schematic diagram of the structure of an electronic device provided in Embodiment 2 of the present invention, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the text output method of Embodiment 1 is implemented when the processor executes the computer program. Fig.10 The electronic device 30 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0078] The electronic device 30 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 30 may include, but are not limited to: at least one processor 31, at least one memory 32, and a bus 33 connecting different system components (including the memory 32 and the processor 31).

[0079] The bus 33 includes a data bus, an address bus, and a control bus.

[0080] The memory 32 may include a volatile memory, such as a random access memory (RAM) 321 and / or a cache memory 322 , and may further include a read-only memory (ROM) 323 .

[0081] The memory 32 may also include a program / utility 325 having a set (at least one) of program modules 324, such program modules 324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0082] The processor 31 executes various functional applications and data processing by running the computer programs stored in the memory 32, such as the text output method of the first embodiment of the present invention.

[0083] The electronic device 30 may also communicate with one or more external devices 34 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 35. Furthermore, the model-generated device 30 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 36. As shown, the network adapter 36 communicates with other modules of the model-generated device 30 via a bus 33. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the model-generated device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (RAID) systems, tape drives, and data backup storage systems.

[0084] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.

[0085] Example 3

[0086] The present invention also provides a computer-readable medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the text output method of the aforementioned embodiment 1 are implemented.

[0087] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.

[0088] In a possible implementation manner, the present invention may also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of the text output method of Example 1.

[0089] The program code for executing the present invention may be written in any combination of one or more programming languages, and may be executed entirely on a user device, partially on a user device, as an independent software package, partially on a user device and partially on a remote device, or entirely on a remote device.

[0090] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that this is only for illustration and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.

Claims

1. A text output method, characterized in that: The text output method comprises a text output step, and the text output step specifically comprises: Get user information; When text corresponding to the user information is successfully matched according to the user information, a text classification interface is output, and the text classification interface is used to display different output buttons; In response to a request from the text classification interface, outputting the text corresponding to the output button according to the text output type configured by the output button specifically includes: Send the text to the clipboard and paste the text from the clipboard into the designated text input area; and / or, Calling a run command to execute the run operation of the text through the run command; and / or, A third request is received, where the third request is a statistical request for feedback from the output button, the content of the text corresponding to the output button is saved as a statistical log, and statistics are performed according to the number of the saved statistical logs corresponding to the output button.

2. The text output method according to claim 1, characterized in that: When the text corresponding to the user information is successfully matched according to the user information, the step of outputting the text classification interface specifically includes: When the text corresponding to the user information is successfully matched from the background interface according to the user information, a text classification interface is output.

3. The text output method according to claim 1, characterized in that: When the text corresponding to the user information is successfully matched according to the user information, the step of outputting the text classification interface specifically includes: When the text corresponding to the user information is successfully matched from the database according to the user information, a text classification interface is output.

4. The text output method according to claim 1, wherein: The text output method further comprises a text input step, wherein the text input step specifically comprises the following steps: Get the text corresponding to the user information; Classifying the text corresponding to the user information and outputting different text classification sections, wherein the text classification sections are used to display different input buttons; In response to a first request, the first request is an input request fed back by the input button, and the text is input through the input button.

5. The text output method according to claim 4, characterized in that: After the step of inputting the text through the input button, the text input step further includes the following steps: In response to a second request, which is a setting request for feedback from the input button, an operation type is set for the input button.

6. The text output method according to claim 5, characterized in that: The operation type includes at least one of a paste operation, a run operation, and a statistical operation.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the text output method according to any one of claims 1 to 6 is implemented.

8. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the text output method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Sending method of service mail and terminal equipment

    CN108259553A

  • Enterprise collaborative office mail processing method, device and system

    CN111641548A