Information processing method and device

By introducing the global information module into the electronic device, the general information required by the task configuration module is directly obtained locally, which solves the problem of the multi-task configuration module in the existing TCP framework repeatedly searching for general information, and improves resource utilization and response speed.

CN112532691BActive Publication Date: 2024-09-24WWZN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011228063.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-06
Publication Date
2024-09-24
Estimated Expiration
2040-11-06

AI Technical Summary

Technical Problem

In the existing Task Completion Platform (TCP) framework, multiple task configuration modules need to search for common information separately in different scenarios, resulting in waste of human resources, increased development costs and slow response speed.

Method used

The global information module is introduced into the electronic device to store general information, and is directly obtained from the global information module when the task configuration module needs to be used, avoiding communication with the database and reducing compilation steps.

Benefits of technology

Improved utilization of human resources, reduced development costs, and improved response speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112532691B
    Figure CN112532691B
Patent Text Reader

Abstract

Disclosed is an information processing method and device. The method is applied to an electronic device, the electronic device includes multiple task configuration modules and a global information module, the global information module is used to store general information, and the method includes: receiving voice information; extracting target key information from the voice information; determining the target task configuration module corresponding to the target key information from the multiple task configuration modules; if the target task configuration module needs to use general information, searching the global information module for the general information required by the target task configuration module; and outputting reply information based on the required general information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to an information processing method and device. Background Art

[0002] The Task Completion Platform (TCP) framework is a configurable goal-oriented dialogue manager (DM) solution in the prior art. The existing TCP framework usually includes multiple task configuration (taskconfig) modules, each of which is configured with a solution for a certain scenario.

[0003] In different scenarios, some common information (such as name, phone number, address, etc.) is usually used. At present, if each task configuration module needs to use this common information, it will search the database separately. For example, in a phone call, the received voice information is usually divided into several scenes, such as advertising scenes and greeting scenes, and these scenes correspond to a task configuration module. In these scenes, the owner's name may be used, so technicians need to compile the task configuration modules corresponding to these scenes separately to call the database to find the owner's name. The disadvantage of this is that it will waste human resources, increase development costs, and increase the time consumption of calling the database, resulting in a slower response speed. Summary of the invention

[0004] To solve the above problems, the present invention provides an information processing method and device. For general information, there is no need to compile each task configuration module separately and no need to communicate with the database, which can effectively improve the utilization rate of human resources, reduce development costs, and improve response speed.

[0005] To achieve the above object, in a first aspect, an embodiment of the present invention provides an information processing method, which is applied to an electronic device, wherein the electronic device includes a plurality of task configuration modules and a global information module, wherein the global information module is used to store general information, and the method includes:

[0006] Receive voice messages;

[0007] Extracting target key information from the voice information;

[0008] Determine a target task configuration module corresponding to the target key information from the multiple task configuration modules;

[0009] If the target task configuration module needs to use general information, searching the global information module for the general information required by the target task configuration module;

[0010] Reply information is output based on the required general information.

[0011] Preferably, the method further comprises: periodically acquiring general information from a cloud server, and updating the global information module using the acquired general information.

[0012] Preferably, the method further comprises: receiving general information input by a user, and updating the global information module using the received general information.

[0013] Preferably, the plurality of task configuration modules include a greeting task configuration module, and the method further comprises: when the voice system is turned on, determining the greeting task configuration module as a target configuration module.

[0014] In a second aspect, an embodiment of the present invention provides an information processing device, applied to an electronic device, wherein the electronic device includes a plurality of task configuration modules and a global information module, wherein the global information module is used to store general information, and the device includes:

[0015] A receiving unit, used for receiving voice information;

[0016] An extraction unit, used to extract target key information from the voice information;

[0017] A determination unit, configured to determine a target task configuration module corresponding to the target key information from the plurality of task configuration modules;

[0018] a searching unit, configured to search the target task configuration module for the general information required by the target task configuration module from the global information module if the target task configuration module needs to use the general information;

[0019] An output unit is used to output reply information based on the required general information.

[0020] Preferably, the device further comprises: an updating unit, configured to periodically obtain general information from a cloud server, and update the global information module using the obtained general information.

[0021] Preferably, the device further comprises: an updating unit, configured to receive general information input by a user, and update the global information module using the received general information.

[0022] Preferably, the multiple task configuration modules include a greeting task configuration module, and the method further includes: the determining unit is further used to determine the greeting task configuration module as the target configuration module when the voice system is turned on.

[0023] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the information processing method described in the first aspect above.

[0024] In a third aspect, an embodiment of the present invention provides an electronic device, including:

[0025] processor;

[0026] a memory for storing instructions executable by the processor;

[0027] The processor is used to read the executable instructions from the memory and execute the instructions to implement the information processing method described in the first aspect above.

[0028] By utilizing the information processing method and device provided by the present invention, a global information module is added locally to store general information. When the general information is needed in the configuration task module, the general information can be directly obtained from the local global information module without the need to communicate with the database, and thus there is no need for technical personnel to compile each task configuration module. In this way, the utilization rate of human resources can be effectively improved, development costs can be reduced, and response speed can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0030] Figure 1 It is a flowchart of an information processing method provided by an exemplary embodiment of the present application;

[0031] Figure 2 is a structure of an information processing device provided by an exemplary embodiment of the present application;

[0032] Figure 3 A structural diagram of another information processing device provided for an exemplary embodiment of the present application;

[0033] Figure 4 The present invention is a structural diagram of an electronic device provided for an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0034] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.

[0035] An information processing method proposed in the present application is applied to an electronic device, which is equipped with a TCP framework and includes multiple task configuration modules and a global information module, wherein the global information module is used to store general information.

[0036] Based on the above electronic device, a flowchart of an information processing method proposed in this application is as follows: Figure 1 As shown, the information processing method includes:

[0037] Step 101, receiving voice information.

[0038] Step 102: extract target key information from the voice information.

[0039] In one example, the speech information can be parsed by using a natural language understanding model to extract target key information.

[0040] Step 103: determine the target task configuration module corresponding to the target key information from multiple task configuration modules.

[0041] Each task configuration module stores key information. If the task configuration module includes key information that is consistent with the target key information, the task configuration module is determined to be the target task configuration module.

[0042] It is understandable that when the voice system is connected, the electronic device usually outputs information first, such as when the voice system is connected, the electronic device will first output "Hello, I am xxx." Therefore, the multiple task configuration modules will include a greeting task configuration module, so that when the voice system is connected, the greeting task configuration module is called, and the greeting task configuration module usually also uses general information. Therefore, when the voice system is connected and the greeting task configuration module is called, the greeting task configuration module is determined as the target configuration module, so as to execute steps 104 and 105.

[0043] Step 104: If the target task configuration module needs to use general information, the general information required by the target task configuration module is searched from the global information module.

[0044] In one example, general information may include name, phone number, address, WeChat, and other information that may appear in multiple scenarios. The general information may be set by the user based on experience. Since the local global information module stores general information, when the task configuration module needs to use the general information, it can be directly obtained from the global information module, without the need for the task configuration module to communicate with the database, and without the need for technicians to compile the task configuration module.

[0045] In one example, the global information module can be updated by periodically acquiring general information from the cloud server, or the global information module can be updated by the user according to demand. Based on this, preferably, the method can also include:

[0046] Periodically obtain general information from the cloud server and use the obtained general information to update the global information module;

[0047] Or, receiving general information input by a user, and updating the global information module using the received general information.

[0048] Step 105: output reply information based on the required general information.

[0049] In a specific example, the global information module stores the owner's name. In a phone call, the owner's name may be used in different scenarios. Suppose the owner's name is abc. For example, in the scenario of asking about the phone, the reply is usually: abc's phone number is xxx; in the advertising scenario, the reply is usually: I will tell abc. In other words, the task configuration module corresponding to the scenario of asking about the phone and the task configuration module corresponding to the advertising scenario both need to use the owner's name. These two task configuration modules can directly obtain the owner's name abc from the global information module, generate reply information based on the owner's name abc, and then output the reply information.

[0050] By utilizing the information processing method provided by the embodiment of the present invention, a global information module is added locally to store general information. When the general information is needed to configure the task configuration module, the general information can be directly obtained from the local global information module without the need to communicate with the database, and there is no need for technical personnel to compile each task configuration module. In this way, the utilization rate of human resources can be effectively improved, the development cost can be reduced, and the response speed can be improved.

[0051] An embodiment of the present invention provides an information processing device, which is applied to an electronic device. The electronic device includes a plurality of task configuration modules and a global information module, and the global information module is used to store general information. Figure 2 is a structural diagram of the information processing device. Figure 2 As shown, the information processing device 200 includes:

[0052] A receiving unit 201, configured to receive voice information;

[0053] An extraction unit 202, configured to extract target key information from the voice information;

[0054] A determination unit 203, configured to determine a target task configuration module corresponding to the target key information from the multiple task configuration modules;

[0055] A searching unit 204 is configured to search the global information module for the general information required by the target task configuration module if the target task configuration module needs to use general information;

[0056] The output unit 205 is configured to output reply information based on the required general information.

[0057] Preferably, Figure 3 As shown, the device 200 further includes: an updating unit 206, which is used to periodically obtain general information from a cloud server and update the global information module using the obtained general information.

[0058] Preferably, Figure 3 As shown, the device 200 further includes: an updating unit 206, which is used to receive general information input by a user and update the global information module using the received general information.

[0059] Preferably, the multiple task configuration modules include a greeting task configuration module, and the method further includes: the determining unit 203 is further used to determine the greeting task configuration module as a target configuration module when the voice system is turned on.

[0060] By utilizing the information processing device provided by the present invention, a global information module is added locally to store general information. When the general information is needed to configure a task configuration module, the general information can be directly obtained from the local global information module without the need to communicate with the database, and there is no need for technical personnel to compile each task configuration module. In this way, the utilization rate of human resources can be effectively improved, development costs can be reduced, and response speed can be improved.

[0061] Below, reference Figure 4 4 illustrates a block diagram of an electronic device according to an embodiment of the present application.

[0062] like Figure 4 As shown, the electronic device 11 includes one or more processors 111 and a memory 112 .

[0063] The processor 111 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 11 to perform desired functions.

[0064] The memory 112 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 111 may run the program instructions to implement the information processing methods of the various embodiments of the present application described above and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.

[0065] In one example, the electronic device 11 may further include: an input device 113 and an output device 114 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0066] The input device 113 may include, for example, a keyboard, a mouse, etc.

[0067] The output device 114 can output various information to the outside, including determined distance information, direction information, etc. The output device 114 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.

[0068] Of course, to simplify, Figure 4 Only some of the components related to the present application in the electronic device 11 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 11 may also include any other appropriate components.

[0069] Exemplary computer program products and computer-readable storage media

[0070] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the information processing method according to various embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.

[0071] The computer program product may be written in any combination of one or more programming languages ​​to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0072] In addition, an embodiment of the present application may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the steps of the information processing method according to various embodiments of the present application described in the above "Exemplary Method" section of this specification.

[0073] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0074] The basic principles of the present application are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present application are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present application. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, not for limitation, and the above details do not limit the present application to being implemented by adopting the above specific details.

[0075] The block diagrams of the devices, apparatuses, equipment, and systems involved in this application are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The words "such as" used here refer to the phrase "such as but not limited to", and can be used interchangeably with them.

[0076] It should also be noted that in the apparatus, device and method of the present application, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present application.

[0077] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0078] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims

1. An information processing method, characterized in that: Applied to an electronic device, the electronic device includes a plurality of task configuration modules and a global information module, the global information module is used to store general information, the method includes: Receive voice messages; Extracting target key information from the voice information; Determine a target task configuration module corresponding to the target key information from the multiple task configuration modules; If the target task configuration module needs to use general information, searching the global information module for the general information required by the target task configuration module; Reply information is output based on the required general information.

2. The method according to claim 1, characterized in that The method further comprises: Periodically obtain general information from the cloud server, and use the obtained general information to update the global information module.

3. The method according to claim 1, characterized in that The method further comprises: Receive general information input by a user, and use the received general information to update the global information module.

4. The method according to any one of claims 1 to 3, characterized in that: The multiple task configuration modules include a greeting task configuration module, and the method further includes: When the voice system is turned on, the greeting task configuration module is determined as the target configuration module.

5. An information processing device, characterized in that: Applied to an electronic device, the electronic device comprises a plurality of task configuration modules and a global information module, the global information module is used to store general information, and the device comprises: A receiving unit, used for receiving voice information; An extraction unit, used to extract target key information from the voice information; A determination unit, configured to determine a target task configuration module corresponding to the target key information from the plurality of task configuration modules; a searching unit, configured to search the target task configuration module for the general information required by the target task configuration module from the global information module if the target task configuration module needs to use the general information; An output unit is used to output reply information based on the required general information.

6. The device according to claim 5, characterized in that The device also includes: The updating unit is used to periodically obtain general information from the cloud server and update the global information module using the obtained general information.

7. The device according to claim 5, characterized in that The device also includes: The updating unit is used to receive the general information input by the user and update the global information module using the received general information.

8. The device according to any one of claims 5 to 7, characterized in that: The multiple task configuration modules include a greeting task configuration module, and the determining unit is further used to determine the greeting task configuration module as a target configuration module when the voice system is turned on.

9. A computer-readable storage medium, wherein the storage medium stores a computer program, wherein the computer program is used to execute the information processing method according to any one of claims 1 to 4.

10. An electronic device comprising: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the information processing method described in any one of claims 1 to 4 above.