Task processing method, apparatus, and terminal device

CN116881298BActive Publication Date: 2026-09-22INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310848205.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-11
Publication Date
2026-09-22
Estimated Expiration
2043-07-11

AI Technical Summary

Technical Problem

[0004]本申请实施例提供一种任务处理方法、装置及终端设备,用以解决任务处理的效率较低的问题

Benefits of technology

[0072]第五方面,本申请实施例提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现第一方面中任一项所述的方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116881298B_ABST
    Figure CN116881298B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a task processing method and device and a terminal device, and relate to the technical field of artificial intelligence. The method comprises: obtaining a task processing request, the task processing request comprising a task text corresponding to a first task and a task type; performing character extraction processing on the task text to obtain at least one keyword corresponding to the task text; determining processing prompt information corresponding to the task text according to the task type and the at least one keyword; displaying the processing prompt information through a terminal device, and processing the first task according to the processing prompt information. The efficiency of task processing is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of artificial intelligence technology, and in particular to a task processing method, apparatus, and terminal device. Background Technology

[0002] During the work process, users can process tasks through terminal devices to complete the corresponding work content.

[0003] In related technologies, task processing can be performed in the following way: When users process tasks using terminal devices, they need to determine the tasks to be processed based on the task type (e.g., email, voice call, work order processing, etc.). Then, based on the tasks to be processed, the processing steps are manually determined and the tasks are processed, resulting in low task processing efficiency. Summary of the Invention

[0004] This application provides a task processing method, apparatus, and terminal device to solve the problem of low task processing efficiency.

[0005] In a first aspect, embodiments of this application provide a task processing method, including:

[0006] Obtain a task processing request, wherein the task processing request includes the task text and task type corresponding to the first task;

[0007] The task text is subjected to text extraction processing to obtain at least one keyword corresponding to the task text;

[0008] Based on the task type and the at least one keyword, determine the processing prompt information corresponding to the task text;

[0009] The processing prompt information is displayed on the terminal device, and the first task is processed according to the processing prompt information.

[0010] In one possible implementation, determining the processing prompt information corresponding to the task text based on the task type and the at least one keyword includes:

[0011] Determine the target correspondence table corresponding to the task type, wherein the target correspondence table includes multiple keywords and at least one associated word for each keyword;

[0012] Based on the at least one keyword and the target correspondence table, determine the processing prompt information corresponding to the task text.

[0013] In one possible implementation, determining the processing prompt information corresponding to the task text based on the at least one keyword and the target correspondence table includes:

[0014] Based on the target correspondence table, target keywords and non-target keywords are determined from the at least one keyword;

[0015] Based on at least one non-target keyword and the target keyword, the processing prompt information corresponding to the task text is determined, wherein the non-target keyword is a keyword other than the target keyword among the at least one keyword.

[0016] In one possible implementation, determining the processing prompt information corresponding to the task text based on at least one non-target keyword and the target keyword includes:

[0017] Obtain the response relationship network, which includes multiple keywords, a set of related words corresponding to each keyword, and a response corresponding to each set of related words;

[0018] In the response relationship network, at least one set of candidate related words corresponding to the target keyword is determined;

[0019] Based on the at least one non-target keyword and the at least one set of candidate related words, determine the target related word set corresponding to the target keyword in the response relationship network;

[0020] Based on the response relationship network, the responses corresponding to the target related word set are determined as the processing prompt information corresponding to the task text.

[0021] In one possible implementation, determining the target related word set corresponding to the target keyword in the response relationship network based on the at least one non-target keyword and the at least one set of candidate related words includes:

[0022] For any set of candidate related words, determine the first similarity between the at least one non-target keyword and the set of candidate related words;

[0023] In the at least one set of candidate related words, the set of candidate related words with the highest similarity is determined as the target set of related words.

[0024] In one possible implementation, determining the target keyword from the at least one keyword according to the target correspondence table includes:

[0025] If any one of the at least one keywords exists in the target correspondence table, then that keyword is determined as the target keyword.

[0026] In one possible implementation, displaying the processing prompt information via a terminal device includes:

[0027] Determine the text length of the processing prompt message;

[0028] The processing prompt information is displayed on the terminal device according to the text length of the processing prompt information.

[0029] In one possible implementation, displaying the processing prompt information via a terminal device based on the text length of the processing prompt information includes:

[0030] Determine whether the text length of the processing prompt message is less than or equal to a preset length;

[0031] If so, then multiple blank areas are determined in the display page of the terminal device, and a target blank area is determined in the multiple blank areas according to the area size and area position of each blank area, and the processing prompt information is displayed through the target area;

[0032] If not, then a prompt message is generated based on the processing prompt information, and the prompt message is displayed through the terminal device. The text length of the prompt message is less than or equal to the preset length.

[0033] In one possible implementation, displaying the processing prompt information through the target area includes:

[0034] The display method of the processing prompt information is determined based on the size of the target blank area and the display color of the page content surrounding the target blank area;

[0035] The processing prompt information is displayed in the target blank area according to the display method described.

[0036] Secondly, embodiments of this application provide a task processing apparatus, the apparatus comprising:

[0037] The acquisition module is used to acquire a task processing request, wherein the task processing request includes the task text and task type corresponding to the first task;

[0038] The processing module is used to perform text extraction processing on the task text to obtain at least one keyword corresponding to the task text;

[0039] The determining module is used to determine the processing prompt information corresponding to the task text based on the task type and the at least one keyword;

[0040] The display module is used to display the processing prompt information through the terminal device and process the first task according to the processing prompt information.

[0041] In one possible implementation, the determining module is specifically used for:

[0042] Determine the target correspondence table corresponding to the task type, wherein the target correspondence table includes multiple keywords and at least one associated word for each keyword;

[0043] Based on the at least one keyword and the target correspondence table, determine the processing prompt information corresponding to the task text.

[0044] In one possible implementation, the determining module is specifically used for:

[0045] Based on the target correspondence table, target keywords and non-target keywords are determined from the at least one keyword;

[0046] Based on at least one non-target keyword and the target keyword, the processing prompt information corresponding to the task text is determined, wherein the non-target keyword is a keyword other than the target keyword among the at least one keyword.

[0047] In one possible implementation, the determining module is specifically used for:

[0048] Obtain the response relationship network, which includes multiple keywords, a set of related words corresponding to each keyword, and a response corresponding to each set of related words;

[0049] In the response relationship network, at least one set of candidate related words corresponding to the target keyword is determined;

[0050] Based on the at least one non-target keyword and the at least one set of candidate related words, determine the target related word set corresponding to the target keyword in the response relationship network;

[0051] Based on the response relationship network, the responses corresponding to the target related word set are determined as the processing prompt information corresponding to the task text.

[0052] In one possible implementation, the determining module is specifically used for:

[0053] For any set of candidate related words, determine the first similarity between the at least one non-target keyword and the set of candidate related words;

[0054] In the at least one set of candidate related words, the set of candidate related words with the highest similarity is determined as the target set of related words.

[0055] In one possible implementation, the determining module is specifically used for:

[0056] If any one of the at least one keywords exists in the target correspondence table, then that keyword is determined as the target keyword.

[0057] In one possible implementation, the display module is specifically used for:

[0058] Determine the text length of the processing prompt message;

[0059] The processing prompt information is displayed on the terminal device according to the text length of the processing prompt information.

[0060] In one possible implementation, the display module is specifically used for:

[0061] Determine whether the text length of the processing prompt message is less than or equal to a preset length;

[0062] If so, then multiple blank areas are determined in the display page of the terminal device, and a target blank area is determined in the multiple blank areas according to the area size and area position of each blank area, and the processing prompt information is displayed through the target area;

[0063] If not, then a prompt message is generated based on the processing prompt information, and the prompt message is displayed through the terminal device. The text length of the prompt message is less than or equal to the preset length.

[0064] In one possible implementation, the display module is specifically used for:

[0065] The display method of the processing prompt information is determined based on the size of the target blank area and the display color of the page content surrounding the target blank area;

[0066] The processing prompt information is displayed in the target blank area according to the display method described.

[0067] Thirdly, embodiments of this application provide a terminal device, including:

[0068] At least one processor; and

[0069] A memory communicatively connected to the at least one processor; wherein,

[0070] The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the method described in any of the first aspects.

[0071] Fourthly, embodiments of this application provide a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to perform the method described in any one of the first aspects.

[0072] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the method described in any one of the first aspects.

[0073] The task processing method, apparatus, and terminal device provided in this application embodiment involve the terminal device, after receiving a task processing request, performing text extraction processing on the task text of the task processing request to obtain at least one keyword corresponding to the task text. Based on the task type of the task processing request and the at least one keyword, processing prompt information corresponding to the task text is determined. This processing prompt information is then displayed on the terminal device. The first task is then processed according to the processing prompt information. In the above process, because the task text of the task processing request can be extracted to obtain at least one keyword corresponding to the task text, and processing prompt information can be determined based on the task type of the task processing request and the at least one keyword, and the processing prompt information can be displayed on the terminal device, the user can process the task through the terminal device according to the processing prompt information, instead of manually determining the processing steps and processing the task, thus improving the efficiency of task processing. Attached Figure Description

[0074] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0075] Figure 1 A schematic diagram illustrating the application scenarios provided in the embodiments of this application;

[0076] Figure 2 A flowchart illustrating a task processing method provided in an embodiment of this application;

[0077] Figure 3 This is a schematic diagram illustrating the process of obtaining a task processing request provided in an embodiment of this application;

[0078] Figure 4 A flowchart illustrating another task processing method provided in an embodiment of this application;

[0079] Figure 5 This is a schematic diagram illustrating the process of displaying and processing prompt information provided in an embodiment of this application;

[0080] Figure 6 This is a schematic diagram illustrating the process of displaying prompt information provided in an embodiment of this application;

[0081] Figure 7 A schematic diagram of the task processing process provided in the embodiments of this application;

[0082] Figure 8 This is a schematic diagram of the structure of the task processing device provided in the embodiments of this application;

[0083] Figure 9 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application.

[0084] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0085] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0086] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0087] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with relevant laws, regulations and standards, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0088] It should be noted that the task processing method and apparatus of this application can be used in the field of artificial intelligence, or in any field other than artificial intelligence. The application field of the task processing method and apparatus of this application is not limited.

[0089] To facilitate understanding, the following will be combined with... Figure 1The application scenarios applicable to the embodiments of this application will be described.

[0090] Figure 1 This is a schematic diagram illustrating an application scenario provided in an embodiment of this application. Please refer to [link / reference]. Figure 1 The system includes a terminal device 101, which can be a tablet computer, a computer, or similar device. Users can define multiple tasks to be processed (Task 1, Task 2, ..., Task N) on the processing page provided by the terminal device. These tasks may originate from various sources, such as voice calls, system assignments, and email sending. Users determine the processing steps for each task based on its source and process the multiple tasks sequentially through the terminal device.

[0091] In related technologies, task processing can be performed in the following way: When users process tasks using terminal devices, they need to determine the tasks to be processed based on the task type (e.g., email, voice call, work order processing, etc.). Then, based on the tasks to be processed, the processing steps are manually determined and the tasks are processed, resulting in low task processing efficiency.

[0092] In this embodiment, after receiving a task processing request, the terminal device performs text extraction processing on the task text of the task processing request to obtain at least one keyword corresponding to the task text. Based on the task type of the task processing request and the at least one keyword, processing prompt information corresponding to the task text is determined. This processing prompt information is then displayed on the terminal device. The first task is then processed according to the processing prompt information. In the above process, because text extraction processing can be performed on the task text of the task processing request to obtain at least one keyword corresponding to the task text, and processing prompt information can be determined based on the task type of the task processing request and the at least one keyword, and the processing prompt information can be displayed on the terminal device, the user can process the task through the terminal device according to the processing prompt information, instead of manually determining the processing steps and processing the task, thus improving the efficiency of task processing.

[0093] The method described in this application will now be illustrated through specific embodiments. It should be noted that the following embodiments may exist independently or in combination with each other; identical or similar content will not be repeated in different embodiments.

[0094] Figure 2 This is a flowchart illustrating a task processing method provided in an embodiment of this application. Please refer to [link / reference]. Figure 2 The method may include:

[0095] S201. Obtain task processing request.

[0096] The execution entity in this application embodiment can be a terminal device or a task processing device installed in the terminal device. The task processing device can be implemented by software or by a combination of software and hardware. The terminal device can be a computer, etc.

[0097] The task processing request includes the task text and task type corresponding to the first task.

[0098] The task type can be voice call, message, or system send.

[0099] After determining the task type of the first task to be processed, the user can open the processing page on the terminal device. Based on the task type, the user can determine how to obtain the task processing request.

[0100] If the task type is a voice call, the terminal device activates the Computer Telecommunication Integration (CTI) module, thereby opening the media exchange port to receive the voice call media stream signal. At this time, the server can transcribe the voice call content in real time. The server determines the target text for the first task from the transcribed text and sends the target text to the terminal device, allowing the terminal device to display the target text through the processing page.

[0101] The text transcribed in real time includes multiple fields and a field identifier for each field. When determining the target text, the target field identifier can be retrieved from the server's preset primary storage space, and at least one field corresponding to the target field identifier can be identified. The target text is then generated based on at least one field corresponding to the target field identifier.

[0102] If the task type is information or system-sent, the user can copy and paste the received information to the processing page. The terminal device responds to the user's click and generates a task processing request.

[0103] Below, in conjunction with Figure 3 This section explains the process of obtaining task processing requests. Figure 3 This is a schematic diagram illustrating the process of obtaining a task processing request as provided in an embodiment of this application. Please refer to [link / reference]. Figure 3This includes interfaces 301 and 302. Interfaces 301 and 302 are pages provided by the terminal device. Please refer to interface 301, which can be the standby display page provided by the terminal device. When the user is not processing tasks, the task processing assistant in interface 301 is in standby mode, and the user can click the icon corresponding to the task processing assistant. The terminal device responds to the click operation and opens the processing page of the task processing assistant. Please refer to interface 302, which is the processing page provided by the task processing assistant of the terminal device. When the user receives the first task, they paste the information of the received first task into the task text box on the processing page. The terminal device responds to the user's click operation, determines the task type as information based on the information of the first task, and generates a task processing request based on the task text and task type.

[0104] S202. Perform text extraction processing on the task text to obtain at least one keyword corresponding to the task text.

[0105] A preset algorithm can be used to extract text from the task text and obtain at least one keyword corresponding to the task text.

[0106] For example, the task text is "User A's business transaction has an anomaly. Please determine the cause of the anomaly." After extracting the text, at least one keyword can be found that corresponds to the task text: "User A," "business transaction," "anomaly," "determine," or "cause of anomaly."

[0107] S203. Based on the task type and at least one keyword, determine the processing prompt information corresponding to the task text.

[0108] The processing prompt information corresponding to the task text can be determined based on the task type and at least one keyword in the following way: determine the target correspondence table corresponding to the task type, which includes multiple keywords and at least one related word for each keyword; determine the processing prompt information corresponding to the task text based on at least one keyword and the target correspondence table.

[0109] Multiple task types and their corresponding relationship tables can be pre-defined, and these task types and their corresponding relationship tables can be stored in the terminal device's preset storage space. This allows the terminal device to determine the target relationship table corresponding to each task type.

[0110] For example, assuming the task type of the above task text is information, the target mapping table corresponding to the task type is mapping table 2. Mapping table 2 can be specifically shown in Table 1:

[0111] Table 1

[0112] Business transactions abnormal user Sure abnormal reason Business transactions Deposit types Equipment A Insufficient amount — Business System abnormal Sure abnormal reason Business Type 1 Business System Data update System Identifier Reason for update — Business equipment Equipment Type 1 Equipment identification renew — …… …… …… …… ……

[0113] Based on at least one keyword in the task text, determine the keyword corresponding to at least one keyword as "business transaction" in the correspondence table shown in Table 1, and determine at least one related word as "abnormal", "user A", "confirm", and "reason for abnormality". Based on at least one related word, retrieve the corresponding processing prompt information from the preset storage space of the terminal device. The processing prompt information may be "Do you want to call the person in charge of user A's transaction?".

[0114] S204. Display processing prompts on the terminal device and process the first task according to the processing prompts.

[0115] The processing prompt message can be displayed on the terminal device in the following way: determine the text length of the processing prompt message; display the processing prompt message on the terminal device according to the text length of the processing prompt message.

[0116] The processing prompt information can be displayed on the terminal device according to its text length in the following way: Determine if the text length of the processing prompt information is less than or equal to a preset length; if so, determine multiple blank areas on the terminal device's display page, and based on the area size and position of each blank area, determine a target blank area among the multiple blank areas, and display the processing prompt information through the target area; if not, generate a prompt information based on the processing prompt information and display it on the terminal device, where the text length of the prompt information is less than or equal to the preset length.

[0117] The preset length can be set in advance and stored in the preset storage space of the terminal device.

[0118] The preset length can be determined based on the page size and area location of the displayed processing prompts.

[0119] Users can click on text in different colors displayed in the processing prompts to determine further processing information or be redirected to related systems for task processing.

[0120] For example, the preset length is 30 characters. Based on the processing prompt information described in the example above, it can be determined that the text length is less than the preset length. Therefore, multiple blank areas are defined on the terminal device's display page. Based on the size and position of each blank area, a target blank area is determined among these multiple blank areas. The display color of each character in the processing prompt information is also determined, and the processing prompt information is displayed in the target area according to the display color of each character. When the user determines that the display color of "Responsible Person" is different from the other text on the terminal device's display page, they can click on "Responsible Person" in the processing prompt information. In response to the user's click, the terminal device further determines the responsible person's name, phone number, and other basic information.

[0121] The task processing method provided in this application embodiment obtains a task processing request. It performs text extraction processing on the task text to obtain at least one keyword corresponding to the task text. Based on the task type and at least one keyword, it determines the processing prompt information corresponding to the task text. The processing prompt information is displayed through a terminal device, and the first task is processed according to the processing prompt information. In the above process, because text extraction processing can be performed on the task text of the task processing request to obtain at least one keyword corresponding to the task text, and processing prompt information can be determined based on the task type and at least one keyword of the task processing request, and the processing prompt information is displayed through a terminal device, the user can process the task through the terminal device according to the processing prompt information, instead of manually determining the processing steps and processing the task, thus improving the efficiency of task processing.

[0122] Based on any of the above embodiments, the following, in conjunction with Figure 4 The detailed process of task processing is explained.

[0123] Figure 4 This is a flowchart illustrating another task processing method provided in an embodiment of this application. Please refer to... Figure 4 The method includes:

[0124] S401, Obtain task processing request.

[0125] It should be noted that the execution process of S401 can be found in S201, and will not be repeated here.

[0126] S402. Perform text extraction processing on the task text to obtain at least one keyword corresponding to the task text.

[0127] For example, the terminal device performs text extraction processing on task text 1 and obtains at least one keyword corresponding to task text 1, namely "business device A", "abnormal", and "withdrawal".

[0128] S403. Determine the target correspondence table corresponding to the task type.

[0129] The target correspondence table includes multiple keywords and at least one related word for each keyword.

[0130] For example, based on the task text 1 shown in the example above, the task type corresponding to task text 1 is determined to be a voice call type. The terminal device retrieves the target mapping table corresponding to the voice call type from the preset storage space, which is mapping table 1. Mapping table 1 can be specifically shown in Table 2:

[0131] Table 2

[0132] Business transactions abnormal user Sure abnormal reason Business equipment Function Equipment Identifier A abnormal withdrawal Business System abnormal Sure abnormal reason Business Type 1 Business System Data update System Identifier Reason for update — Business equipment Equipment Type 1 Equipment identification renew — …… …… …… …… ……

[0133] S404. Based on the target correspondence table, determine the target keyword and non-target keyword from at least one keyword.

[0134] Non-target keywords are keywords other than the target keywords among at least one keyword.

[0135] For any one of the at least one keywords, if the keyword exists in the target correspondence table, then the keyword is determined as the target keyword.

[0136] For example, according to the correspondence table 1 shown in Table 2 above, the keyword "business equipment" is the same as the keyword in task text 1. Therefore, the keyword "business equipment" is determined as the target keyword, and the keywords "abnormal" and "withdrawal" are determined as non-target keywords.

[0137] S405, Obtain the response relationship network.

[0138] The response relationship network includes multiple keywords, a set of related words for each keyword, and a response for each set of related words.

[0139] The response relationship network can be pre-configured and stored in the terminal device's preset storage space. The response relationship network can take the form of a chart, knowledge graph, etc.

[0140] For example, the response relationship network can be specifically shown in Table 3:

[0141] Table 3

[0142] Business transactions Exception, User, Confirmation, Reason for Exception Contact User Manager Business equipment Function, Device Identifier A, Abnormality, Withdrawal Contact the person in charge of the equipment Business System Exception, Confirmation, Reason for Exception, Business Type 1 Contact repair personnel Business System Data update, system identifier, update reason Contact the development manager Business equipment Equipment Type 1, Equipment Identification, Update Contact the person in charge of the equipment

[0143] S406. In the response relationship network, determine at least one set of candidate related words corresponding to the target keyword.

[0144] For example, based on the response relationship network shown in Table 3 above, at least one set of candidate related terms corresponding to the target keyword can be identified as related term set 2 and related term set 5. Related term set 2 includes "function", "device identifier A", "abnormal", and "withdrawal". Related term set 5 includes "device type 1", "device identifier", and "update".

[0145] S407. Based on at least one non-target keyword and at least one set of candidate related terms, determine the target related term set corresponding to the target keyword in the response relationship network.

[0146] The target related word set corresponding to the target related word can be determined in the response relationship network in the following way: for any candidate related word set, determine the first similarity between at least one non-target keyword and the candidate related word set; in at least one candidate related word set, determine the candidate related word set with the highest first similarity as the target related word set.

[0147] The first similarity between at least one non-target keyword and the candidate set of related terms can be determined as follows: determine the total number of related terms; determine the first number of identical related terms between at least one non-target keyword and the candidate set of related terms; and determine the first similarity as the ratio of the first number to the total number. Wherein, the total number of related terms is the maximum of the number of words in at least one non-target keyword and the number of words in the candidate set of related terms.

[0148] For example, the specific set of at least one non-target keyword and candidate related terms shown in the examples above can be illustrated in Table 4:

[0149] Table 4

[0150]

[0151] According to Table 4, the number of words in at least one non-target keyword is 3, the number of words in related word set 2 is 4, and the number of words in related word set 5 is 3. For related word set 2, the total number is 4, and the first similarity is 3. Therefore, the first similarity between at least one non-target keyword and related word set 2 is 3 / 4 = 0.75. For related word set 5, the total number is 3, and the first similarity is 0. Therefore, the first similarity between at least one non-target keyword and related word set 5 is 0 / 4 = 0. Therefore, related word set 2 is determined to be the target related word set.

[0152] S408. Based on the response relationship network, the responses corresponding to the target related word set are determined as the processing prompt information corresponding to the task text.

[0153] For example, based on the example above, the target set of related terms can be determined as related term set 2. In the response relationship network shown in Table 4, the response corresponding to related term set 2 is determined to be "Contact the person in charge of the equipment". Therefore, the processing prompt message is "Contact the person in charge of the equipment".

[0154] S409. Determine the text length of the processing prompt message.

[0155] For example, based on the example processing prompt message "Contact the person in charge of the equipment", the text length of the processing prompt message is determined to be 8.

[0156] S410. Determine whether the text length of the prompt message is less than or equal to the preset length.

[0157] If so, execute S411.

[0158] If not, execute S414.

[0159] S411. Define multiple blank areas on the display page of the terminal device.

[0160] For example, based on the processing prompt information shown in the example above, if the text length of the processing prompt information (8) is determined to be less than the preset length (20), then the blank areas on the terminal device's display page will include blank area 1 and blank area 2.

[0161] S412. Based on the area size and location of each blank area, determine the target blank area among multiple blank areas.

[0162] Among multiple blank areas, the blank area with the largest area size is determined as the target blank area.

[0163] For example, based on the examples above, the specific dimensions and locations of the blank areas can be determined as shown in Table 5:

[0164] Table 5

[0165] Blank area 1 10 Upper-middle Blank area 2 50 Bottom left

[0166] According to Table 5, the area size of blank area 2 is the largest, so blank area 2 is determined as the target blank area.

[0167] S413. Display processing prompts through the target area.

[0168] The processing prompt information can be displayed in the target area in the following way: determine the display method of the processing prompt information based on the size of the target blank area and the display color of the page content around the target blank area; display the processing prompt information in the target blank area according to the display method.

[0169] The background color of the processing prompt message differs from the display color of the page content surrounding the target blank area. The text color of the processing prompt message can be differentiated by color, or specially processed such as highlighting or underlining, depending on whether there is further processing information or whether the user is redirected to a related system for task processing.

[0170] Below, in conjunction with Figure 5 This section explains the process of displaying processing prompts in the target area. Figure 5 This is a schematic diagram illustrating the process of displaying processing prompts as provided in an embodiment of this application. Please refer to... Figure 5 This includes interfaces 501 and 502. Interfaces 501 and 502 can be processing pages provided by the terminal device. After determining that the processing prompt message is "Contact the person in charge of the device," it is confirmed that there is corresponding processing information for the person in charge. Therefore, the word "person in charge" can be underlined and displayed in the target blank area of ​​the processing page. Please refer to interface 502. The user can click on the specially processed "person in charge" text in the processing prompt message, and the terminal device will respond to the user's click operation by displaying further processing information corresponding to the "person in charge."

[0171] When confirming a call, the user can click on the text corresponding to the phone number in the further processing information. The terminal device responds to the user's click by sending a CTI message to the exchange and the telephone, triggering the call.

[0172] After S413, execute S415.

[0173] S414. Generate a prompt message based on the processing prompt information and display the prompt message through the terminal device.

[0174] The text length of the prompt message is less than or equal to the preset length.

[0175] The method for displaying the prompt message can be the same as the method for displaying and processing the prompt message. Alternatively, the prompt message can be displayed in a fixed area of ​​the display page.

[0176] Below, in conjunction with Figure 6 This section explains the process of displaying prompts on the terminal device. Figure 6 This is a schematic diagram illustrating the process of displaying prompt information as provided in an embodiment of this application. Please refer to [link / reference]. Figure 6This includes interfaces 601 and 602. Interfaces 601 and 602 can be processing pages provided by the terminal device. Referring to interface 601, when the terminal device determines that the text length of the processing prompt message exceeds a preset length, it generates the prompt message "Business device B has an anomaly" based on the processing prompt message and displays the prompt message on the terminal device's processing page. Referring to interface 602, the user can click on the text corresponding to the prompt message on the terminal device's processing page. The terminal device responds to the user's click operation and displays the processing prompt message.

[0177] S415. Process the first task according to the processing prompts.

[0178] Users can determine the next steps based on the processing prompts to complete the task.

[0179] For example, if the processing prompt message shown in the example above is "Contact the person in charge of the device," the user can click on "Person in charge" on the terminal device's display page. The terminal device will then respond to the user's click by displaying the person in charge's basic information. The user can then proceed with further processing actions such as contacting the person in charge by phone or sending an email based on this information.

[0180] If multiple tasks need to be performed simultaneously, users can perform multiple tasks on the same display page of the terminal device using the methods described above, thereby improving the efficiency of multitasking.

[0181] The task processing method provided in this application embodiment obtains a task processing request. It performs text extraction processing on the task text to obtain at least one keyword corresponding to the task text. It determines a target correspondence table corresponding to the task type. Among the at least one keyword, it determines a target keyword. In the target correspondence table, it determines at least one target related word corresponding to the target keyword. It obtains a response relationship network. In the response relationship network, it determines processing prompt information based on at least one target related word corresponding to the target keyword. Based on the length of the processing prompt information, it displays the processing prompt information through a terminal device. It processes the first task according to the processing prompt information. In the above process, because text extraction processing can be performed on the task text of the task processing request to obtain at least one keyword corresponding to the task text, and processing prompt information corresponding to the task text can be determined based on the task type and at least one keyword of the task processing request, and the processing prompt information can be displayed through a terminal device, allowing the user to process the task through the terminal device according to the processing prompt information, instead of manually determining the processing steps and processing the task, the efficiency of task processing is improved.

[0182] Based on any of the above embodiments, the following, in conjunction with Figure 7 The process of task processing is illustrated with examples.

[0183] Figure 7 This is a schematic diagram illustrating the task processing procedure provided in an embodiment of this application. Please refer to... Figure 7 This includes terminal device 701. Terminal device 701 can be a computer, and it includes a processing page and a task processing device.

[0184] The user determines that the first task to be processed is a voice call. Terminal device 701 activates its CTI module, thereby opening the media exchange port to receive the voice call media stream signal. At this time, the server can perform real-time transcription of the voice call content. The server determines the target text for the first task from the real-time transcribed text and sends the target text to the terminal device so that the terminal device can display the target text through the processing page. The specific task processing request received by terminal device 701 is shown in Table 6.

[0185] Table 6

[0186] Task text Business system 1 has an anomaly.

[0187] The task processing device of terminal device 701 performs text extraction processing on the task text shown in Table 6, obtaining at least one keyword corresponding to the task text as "Business System 1" and "Abnormal". The task processing device of terminal device 701 determines the target correspondence table corresponding to the voice call type as correspondence table 1 in the preset storage space. According to correspondence table 1, the task processing device of terminal device 701 determines the target keyword as "Business System 1" and the non-target keyword as "Abnormal" among at least one keyword.

[0188] The task processing unit of terminal device 701 retrieves the response relationship network from the preset storage space. Within the response relationship network, it determines at least one set of candidate related words corresponding to the target keyword. The specific set of at least one candidate related word can be shown in Table 7.

[0189] Table 7

[0190]

[0191] For any set of candidate related words shown in Table 7, the task processing device of terminal device 701 determines at least one first similarity between a non-target keyword and the set of candidate related words, and obtains multiple first similarities as shown in Table 8:

[0192] Table 8

[0193] Related word set 1 0.25 Related word set 2 0 Related word set 3 0.5

[0194] Based on the first similarity shown in Table 8, the task processing device of terminal device 701 determines the set of related words with the highest first similarity as the target keyword set. Based on the reply relationship network, the task processing device of terminal device 701 determines the reply "Should the management information of business system 1 be displayed?" corresponding to the target related word set as the processing prompt information corresponding to the task text. The task processing device of terminal device 701 retrieves a preset length of 20 from the preset storage space and determines that the text length of the processing prompt information 15 is less than or equal to the preset length. The task processing device of terminal device 701 determines multiple blank areas on the display page of terminal device 701. Based on the area size and location of each blank area, the task processing device of terminal device 701 determines the target blank area as area B among the multiple blank areas. Based on the size of the target blank area and the display color of the page content surrounding the target blank area, the task processing device of terminal device 701 determines the display mode of the processing prompt information to display a blue background color and highlight "business system 1". The task processing device of terminal device 701 displays the processing prompt information in the target blank area according to the display mode.

[0195] Users can click on "Business System 1" in the processing prompt message on the processing page of terminal device 701. In response to the user's click, the terminal device will redirect to the operation page of Business System 1. Users can then perform further task processing on the operation page of Business System 1 provided by terminal device 701.

[0196] The task processing method provided in this application embodiment obtains a task processing request. It performs text extraction processing on the task text to obtain at least one keyword corresponding to the task text. It determines a target correspondence table corresponding to the task type. Among the at least one keyword, it determines a target keyword. In the target correspondence table, it determines at least one target related word corresponding to the target keyword. It obtains a response relationship network. In the response relationship network, it determines processing prompt information based on at least one target related word corresponding to the target keyword. Based on the length of the processing prompt information, it displays the processing prompt information through a terminal device. It processes the first task according to the processing prompt information. In the above process, because text extraction processing can be performed on the task text of the task processing request to obtain at least one keyword corresponding to the task text, and processing prompt information corresponding to the task text can be determined based on the task type and at least one keyword of the task processing request, and the processing prompt information can be displayed through a terminal device, allowing the user to process the task through the terminal device according to the processing prompt information, instead of manually determining the processing steps and processing the task, the efficiency of task processing is improved.

[0197] Figure 8 This is a schematic diagram of the task processing device provided in an embodiment of this application. Please refer to... Figure 8The task processing device 10 may include:

[0198] The acquisition module 11 is used to acquire a task processing request, wherein the task processing request includes the task text and task type corresponding to the first task;

[0199] Processing module 12 is used to perform text extraction processing on the task text to obtain at least one keyword corresponding to the task text;

[0200] The determining module 13 is used to determine the processing prompt information corresponding to the task text based on the task type and the at least one keyword;

[0201] Display module 14 is used to display the processing prompt information through a terminal device and process the first task according to the processing prompt information.

[0202] In one possible implementation, the determining module 13 is specifically used for:

[0203] Determine the target correspondence table corresponding to the task type, wherein the target correspondence table includes multiple keywords and at least one associated word for each keyword;

[0204] Based on the at least one keyword and the target correspondence table, determine the processing prompt information corresponding to the task text.

[0205] In one possible implementation, the determining module 13 is specifically used for:

[0206] Based on the target correspondence table, target keywords and non-target keywords are determined from the at least one keyword;

[0207] Based on at least one non-target keyword and the target keyword, the processing prompt information corresponding to the task text is determined, wherein the non-target keyword is a keyword other than the target keyword among the at least one keyword.

[0208] In one possible implementation, the determining module 13 is specifically used for:

[0209] Obtain the response relationship network, which includes multiple keywords, a set of related words corresponding to each keyword, and a response corresponding to each set of related words;

[0210] In the response relationship network, at least one set of candidate related words corresponding to the target keyword is determined;

[0211] Based on the at least one non-target keyword and the at least one set of candidate related words, determine the target related word set corresponding to the target keyword in the response relationship network;

[0212] Based on the response relationship network, the responses corresponding to the target related word set are determined as the processing prompt information corresponding to the task text.

[0213] In one possible implementation, the determining module 13 is specifically used for:

[0214] For any set of candidate related words, determine the first similarity between the at least one non-target keyword and the set of candidate related words;

[0215] In the at least one set of candidate related words, the set of candidate related words with the highest similarity is determined as the target set of related words.

[0216] In one possible implementation, the determining module 13 is specifically used for:

[0217] If any one of the at least one keywords exists in the target correspondence table, then that keyword is determined as the target keyword.

[0218] In one possible implementation, the display module 14 is specifically used for:

[0219] Determine the text length of the processing prompt message;

[0220] The processing prompt information is displayed on the terminal device according to the text length of the processing prompt information.

[0221] In one possible implementation, the display module 14 is specifically used for:

[0222] Determine whether the text length of the processing prompt message is less than or equal to a preset length;

[0223] If so, then multiple blank areas are determined in the display page of the terminal device, and a target blank area is determined in the multiple blank areas according to the area size and area position of each blank area, and the processing prompt information is displayed through the target area;

[0224] If not, then a prompt message is generated based on the processing prompt information, and the prompt message is displayed through the terminal device. The text length of the prompt message is less than or equal to the preset length.

[0225] In one possible implementation, the display module 14 is specifically used for:

[0226] The display method of the processing prompt information is determined based on the size of the target blank area and the display color of the page content surrounding the target blank area;

[0227] The processing prompt information is displayed in the target blank area according to the display method described.

[0228] The task processing device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.

[0229] Figure 9 This is a schematic diagram of the structure of the terminal device provided in an embodiment of this application. Please refer to... Figure 9 The terminal device 20 may include a memory 21 and a processor 22. Exemplarily, the memory 21 and the processor 22 are interconnected via a bus 23.

[0230] Memory 21 is used to store program instructions;

[0231] The processor 22 is used to execute the program instructions stored in the memory, so that the terminal device 20 performs the method shown in the above method embodiment.

[0232] The terminal device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.

[0233] This application provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the above-described method when executed by a processor.

[0234] This application embodiment may also provide a computer program product, including a computer program that, when executed by a processor, can implement the above-described method.

[0235] All or part of the steps in the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, it performs the steps of the above-described method embodiments; and the aforementioned memory (storage medium) includes: read-only memory (ROM), random access memory (RAM), flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disk, and any combination thereof.

[0236] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0237] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0238] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0239] Obviously, those skilled in the art can make various modifications and variations to the embodiments of this application without departing from the spirit and scope of this application. Therefore, if these modifications and variations to the embodiments of this application fall within the scope of the claims of this application and their equivalents, this application also intends to include these modifications and variations.

[0240] In this application, the term "comprising" and its variations can refer to non-limiting inclusion; the term "or" and its variations can refer to "and / or". The terms "first", "second", etc., in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. In this application, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

Claims

1. A task processing method, characterized in that, include: Obtain a task processing request, wherein the task processing request includes the task text and task type corresponding to the first task; The task text is subjected to text extraction processing to obtain at least one keyword corresponding to the task text; Determine the target correspondence table corresponding to the task type, wherein the target correspondence table includes multiple keywords and at least one associated word for each keyword; Based on the target correspondence table, target keywords and non-target keywords are determined from the at least one keyword, wherein the non-target keywords are keywords other than the target keywords among the at least one keyword; Obtain the response relationship network, which includes multiple keywords, a set of related words corresponding to each keyword, and a response corresponding to each set of related words; In the response relationship network, at least one set of candidate related words corresponding to the target keyword is determined; For any set of candidate related words, determine the first similarity between the at least one non-target keyword and the set of candidate related words; In the at least one set of candidate related words, the set of candidate related words with the highest similarity is determined as the target set of related words; Based on the response relationship network, the responses corresponding to the target related word set are determined as the processing prompt information corresponding to the task text; The text length of the processing prompt information is determined. If the text length is less than or equal to a preset length, multiple blank areas are determined in the display page of the terminal device. A target blank area is determined according to the area size and area position of each blank area. The display method of the processing prompt information is determined according to the size of the target blank area and the display color of the page content around the target blank area. The processing prompt information is displayed in the target blank area according to the display method. If the text length is greater than the preset length, then a prompt message with a text length less than or equal to the preset length is generated based on the processing prompt message, and the prompt message is displayed through the terminal device; The first task is processed according to the processing prompts.

2. The method according to claim 1, characterized in that, Based on the target correspondence table, target keywords are determined from the at least one keyword, including: If any one of the at least one keywords exists in the target correspondence table, then that keyword is determined as the target keyword.

3. A task processing device, characterized in that, The device includes: The acquisition module is used to acquire a task processing request, wherein the task processing request includes the task text and task type corresponding to the first task; The processing module is used to perform text extraction processing on the task text to obtain at least one keyword corresponding to the task text; A determination module is used to determine a target correspondence table corresponding to the task type, the target correspondence table including multiple keywords and at least one associated word for each keyword; based on the target correspondence table, determine target keywords and non-target keywords among the at least one keywords, the non-target keywords being keywords other than the target keywords among the at least one keywords; obtain a response relationship network, the response relationship network including multiple keywords, a set of associated words for each keyword, and a response corresponding to each set of associated words; in the response relationship network, determine at least one set of candidate associated words corresponding to the target keyword; for any set of candidate associated words, determine a first similarity between the at least one non-target keyword and the set of candidate associated words; among the at least one set of candidate associated words, determine the set of candidate associated words with the highest first similarity as the target associated word set; based on the response relationship network, determine the response corresponding to the target associated word set as the processing prompt information corresponding to the task text; The display module is used to determine the text length of the processing prompt information. If the text length is less than or equal to a preset length, multiple blank areas are determined on the display page of the terminal device. A target blank area is determined based on the area size and position of each blank area. The display method of the processing prompt information is determined based on the size of the target blank area and the display color of the page content surrounding the target blank area. The processing prompt information is displayed in the target blank area according to the display method. If the text length is greater than the preset length, a prompt information with a text length less than or equal to the preset length is generated based on the processing prompt information and displayed on the terminal device. The first task is processed based on the processing prompt information.

4. A terminal device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 2.

5. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, in, The computer instructions are used to cause the computer to perform the method according to any one of claims 1 to 2.

6. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 2.

Citation Information

Patent Citations

  • Text information extraction method, device, storage medium and electronic equipment

    CN112732893A

  • Information generation method and device, electronic equipment and storage medium

    CN113051380A

  • Response information generation method, device and equipment and computer readable storage medium

    CN113515705A