Voice instruction automatic execution method and device, equipment, medium and product

Through the voice command model and scene command model, the voice command and disposal process in the on-site command system are automatically matched and executed, which solves the problem of low rescue efficiency when on-site commanders are not familiar with disaster scenarios, and achieves more efficient and flexible rescue coordination.

CN119626215APending Publication Date: 2025-03-14CHINA UNITED NETWORK COMM GRP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411379624.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

The existing on-site command system leads to low on-site rescue efficiency when on-site command personnel are not familiar with the handling process of disaster scenarios.

Method used

Through the voice command model and scene command model, voice commands are obtained and corresponding functional commands and processing processes are matched, and corresponding functional commands and processing processes are automatically executed.

Benefits of technology

It improves the efficiency and flexibility of on-site rescue, reduces errors, and can automatically execute corresponding functional instructions and disposal processes when commanders do not understand the rescue operations of target disaster scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119626215A_ABST
    Figure CN119626215A_ABST
Patent Text Reader

Abstract

The invention provides a voice instruction automatic execution method and device, equipment, a medium and a product, and relates to the field of emergency management. The method comprises the steps of obtaining a first voice instruction, and matching a second function instruction corresponding to the first voice instruction from a plurality of pre-stored first function instructions through a pre-stored voice instruction model; matching the first voice instruction with the second function instruction through a pre-stored scene instruction model according to a plurality of pre-stored first disposal processes to obtain a matching result; and when the matching result indicates that the second disposal process is matched, executing the second disposal process, otherwise, executing the second function instruction. By means of the method, when field commanders are not familiar with the disposal process of the disaster scene, the function instructions can be automatically recommended and executed through the scene instruction model, and therefore the field rescue efficiency is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of emergency management, and in particular to a method, device, equipment, medium and product for automatically executing voice commands. Background Art

[0002] Nowadays, disasters and accidents are of many types, highly complex, and difficult to rescue. In addition, disasters and accidents are large in scale, with great losses and impacts. Improving emergency management capabilities and levels to enhance disaster prevention, mitigation, and relief capabilities is an important task of the emergency management system.

[0003] Informatization construction is the basic project for building an emergency management system and the foundation for improving emergency support capabilities. Among them, command work is an important research object of informatization construction. At present, the on-site command system is often used for command work. However, the existing on-site command system has not yet broken through the data barriers. Its coverage, integration depth and application level need to be further expanded. It cannot fully adapt to the needs of informatization construction. When the on-site commanders are not familiar with the handling process of disaster scenes, it will cause the problem of low on-site rescue efficiency. Summary of the invention

[0004] The present application provides a method, device, equipment, medium and product for automatically executing voice commands, which are used to solve the technical problem of low on-site rescue efficiency caused by using the existing on-site command system when the on-site commander is not familiar with the handling process of the disaster scene.

[0005] In a first aspect, the present application provides a method for automatically executing a voice command, comprising:

[0006] Acquire a first voice command, and match a second function command corresponding to the first voice command from a plurality of pre-stored first function commands using a pre-stored voice command model;

[0007] The first voice instruction and the second function instruction are matched according to a plurality of pre-stored first processing procedures through a pre-stored scene instruction model to obtain a matching result; wherein the matching result is used to indicate whether a second processing procedure corresponding to the first voice instruction and the second function instruction is matched from the plurality of first processing procedures; each of the first processing procedures includes a procedure consisting of at least one of the first function instructions;

[0008] When the matching result indicates that the second handling process is matched, the second handling process is executed; otherwise, the second function instruction is executed.

[0009] Optionally, in the method as described above, executing the second treatment process includes:

[0010] Displaying the full amount of first functional instructions constituting the second processing flow;

[0011] Obtain a third functional instruction, and sequentially execute all first functional instructions constituting the second handling process; wherein the third functional instruction is used to instruct the start of execution of the second handling process.

[0012] Optionally, in the method described above, the fourth functional instruction is any one of the full amount of first functional instructions constituting the second processing flow; when executing the fourth functional instruction, the full amount of first functional instructions constituting the second processing flow are sequentially executed, including:

[0013] Acquire a second voice instruction, and match at least one fifth function instruction corresponding to the second voice instruction from the plurality of first function instructions through the voice instruction model;

[0014] A third processing procedure is obtained according to the at least one fifth functional instruction and the second processing procedure, and the third processing procedure is executed.

[0015] Optionally, in the method described above, each of the first functional instructions is executed by a plurality of first controlled objects;

[0016] Before executing the second disposal process, the method further includes:

[0017] Acquire a plurality of second controlled objects and a plurality of third controlled objects; wherein each of the second controlled objects and each of the third controlled objects is one of the plurality of first controlled objects; the second treatment process is executed by the plurality of second controlled objects, and the second functional instruction is executed by the plurality of third controlled objects;

[0018] The sixth function instruction is any one of the first function instructions constituting the second processing flow; when executing the sixth function instruction, the first function instructions constituting the second processing flow are sequentially executed, including:

[0019] When any one of the second controlled objects does not execute the sixth functional instruction, matching a fourth controlled object from among the plurality of the third controlled objects according to the second controlled object that does not execute the sixth functional instruction;

[0020] The sixth functional instruction is executed through the fourth controlled object.

[0021] Optionally, in the method as described above, a processing instruction set is pre-stored, and the processing instruction set includes a plurality of first scene keywords, and each of the first scene keywords and each of the first function instructions correspond to form a first processing flow;

[0022] The first voice instruction and the second function instruction are matched by the pre-stored scene instruction model according to the pre-stored plurality of first processing procedures to obtain a matching result, including:

[0023] Extracting a second scene keyword from the first voice instruction through the scene instruction model; wherein the second scene keyword is one of the multiple first scene keywords;

[0024] According to the processing instruction set, the second scene keyword and the second function instruction are matched to obtain the matching result.

[0025] Optionally, in the method as described above, a function instruction set is pre-stored, the function instruction set includes the plurality of first function instructions, and each of the first function instructions corresponds to at least one first function keyword;

[0026] The matching of the second function instruction corresponding to the first voice instruction from a plurality of pre-stored first function instructions by using the pre-stored voice instruction model includes:

[0027] Extracting at least one second function keyword from the first voice command by using the pre-stored voice command model; wherein each of the second function keywords is one of the plurality of the first function keywords;

[0028] According to the second function keyword, a second function instruction corresponding to the first voice instruction is matched from the plurality of first function instructions.

[0029] Optionally, in the method as described above, the voice instruction model is obtained by training a voice instruction set and the functional instruction set; the voice instruction set is obtained after classifying and keyword-labeling a plurality of third voice instructions, and the functional instruction set is obtained from the plurality of first functional instructions; each of the third voice instructions is an instruction for on-site voice command.

[0030] In a second aspect, the present application provides a voice command automatic execution device, comprising:

[0031] A corresponding module, used for acquiring a first voice instruction, and matching a second function instruction corresponding to the first voice instruction from a plurality of pre-stored first function instructions through a pre-stored voice instruction model;

[0032] A matching module, used to match the first voice instruction and the second function instruction according to a plurality of pre-stored first processing procedures through a pre-stored scene instruction model, and obtain a matching result; wherein the matching result is used to indicate whether a second processing procedure corresponding to the first voice instruction and the second function instruction is matched from the plurality of first processing procedures; each of the first processing procedures includes a procedure composed of at least one of the first function instructions;

[0033] An execution module is used to execute the second processing procedure when the matching result indicates that the second processing procedure is matched; otherwise, execute the second function instruction.

[0034] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;

[0035] The memory stores computer-executable instructions;

[0036] The processor executes the computer-executable instructions stored in the memory to implement the voice instruction automatic execution method provided in the first aspect of the present application.

[0037] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer execution instructions are stored. When the computer execution instructions are executed by a processor, they are used to implement the voice instruction automatic execution method provided in the first aspect of the present application.

[0038] A fifth aspect of an embodiment of the present invention provides a computer program product, including a computer program, which, when executed by a processor, implements the voice instruction automatic execution method provided in the first aspect of the present application.

[0039] The present application provides a method, apparatus, device, medium and product for automatic execution of voice commands, the method for automatic execution of voice commands comprising: obtaining a first voice command, and matching a second function command corresponding to the first voice command from a plurality of pre-stored first function commands through a pre-stored voice command model; matching the first voice command and the second function command according to a plurality of pre-stored first disposal processes through a pre-stored scene command model to obtain a matching result, wherein the matching result is used to indicate whether a second disposal process corresponding to the first voice command and the second function command is matched from the plurality of first disposal processes, each first disposal process comprising a process consisting of at least one first function command; when the matching result indicates that the second disposal process is matched, executing the second disposal process, otherwise, executing the second function command. Based on the above method, the following technical effects are achieved: through the voice command model, the first voice command issued by the user is converted into the corresponding second function command, and the corresponding function is automatically executed based on the second function command. Through the intelligent and information-based means of the voice command model, rescue coordination work can be carried out efficiently; the scene command model pre-stores the first handling process based on different scenes, and matches the corresponding second handling process to the target disaster scene, which can make the process clear, reduce unnecessary steps, and help make decisions quickly, thereby improving rescue efficiency; when the commander understands the rescue operation of the target disaster scene, he can directly issue voice commands and automatically execute the corresponding functions based on the voice command model. When the user does not understand the rescue operation of the target disaster scene, the corresponding function command of the target disaster scene rescue can be automatically executed based on the preset scene command model. According to the different degrees of understanding of the target disaster scene by the commander, different methods are used to carry out rescue work, which can improve flexibility and convenience and reduce errors. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

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

[0042] Figure 1 Schematic diagram of the process of the automatic execution method of voice command provided in the embodiment of the present application Figure 1 ;

[0043] Figure 2 Schematic diagram of the process of the automatic execution method of voice command provided in the embodiment of the present application Figure 2 ;

[0044] Figure 3 Schematic diagram of the process of the automatic execution method of voice command provided in the embodiment of the present application Figure 3 ;

[0045] Figure 4 A schematic diagram of the structure of a voice command automatic execution device provided in an embodiment of the present application;

[0046] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0047] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0048] In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference. It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way. In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more.

[0049] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0050] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0051] In order to clearly understand the technical solution of the present application, the solution of the prior art is first introduced in detail. The existing on-site command system conducts command through telecommunication forms such as telephone, but when the on-site commander is not familiar with the disaster scene handling process, he does not know how to conduct on-site command through telecommunication, which will cause technical problems such as low on-site rescue efficiency. Other problems caused by the prior art: ① When the on-site environment is complex and the operating system is inconvenient, the system flexibility and convenience are low; ② When the on-site disaster scene is complex, the on-site information changes rapidly, and the information types are complex and diverse, it is impossible to quickly obtain on-site information, which makes it impossible for commanders to make decisions quickly; ③ There are no scenario-based handling instructions and processes, resulting in slow efficiency in uploading and issuing on-site instructions; ④ Lack of intelligent and information-based means makes it impossible to carry out rescue coordination work efficiently.

[0052] Therefore, in order to solve the technical problem of low on-site rescue efficiency caused by the existing on-site command system when the on-site commanders are not familiar with the disaster scene handling process, the study found that in order to solve this problem, ① the voice command model is used to automatically execute the functional instructions corresponding to the issued voice commands; ② it is determined whether a scene command model is needed; ③ after the user selects the target disaster scene, the scene command model is used to automatically recommend and execute related functional instructions.

[0053] Specifically, a first voice instruction is obtained, and a second function instruction corresponding to the first voice instruction is matched from a plurality of pre-stored first function instructions through a pre-stored voice instruction model; the first voice instruction and the second function instruction are matched according to a plurality of pre-stored first disposal processes through a pre-stored scene instruction model to obtain a matching result; wherein the matching result is used to indicate whether a second disposal process corresponding to both the first voice instruction and the second function instruction is matched from a plurality of first disposal processes; each first disposal process includes a process consisting of at least one first function instruction; when the matching result indicates that the second disposal process is matched, the second disposal process is executed; otherwise, the second function instruction is executed.

[0054] The method for automatically executing voice commands in an embodiment of the present invention is based on the principle of the above-mentioned working condition preset conditions. The present invention combines voice commands with functional commands, and uses the first voice command and the second functional command to determine whether to automatically execute the second disposal process or the second functional command based on the scene command model. When the user is familiar with the disaster rescue process, the system can automatically execute the corresponding functional command by issuing voice commands; when the user is unfamiliar with the disaster rescue process, the scene command model can be used to automatically recommend and execute related functional commands. Therefore, the method of the present application avoids the technical problem of low on-site rescue efficiency caused by the existing on-site command system when the on-site commander is unfamiliar with the disaster scene disposal process.

[0055] Based on the above creative findings, the technical solution of the present application is proposed.

[0056] The following is an introduction to the application scenarios of the voice command automatic execution method provided by the embodiment of the present invention. The voice command automatic execution method of this solution is applicable to the following scenarios: 1) Response to natural disasters. After natural disasters such as earthquakes and floods occur, the voice command automatic execution method of this solution can be used to automatically send instructions to evacuees, such as "Please go to the designated shelter", and convey safe shelter locations and precautions to residents; 2) Public safety management. During large-scale events, security personnel can use the voice command automatic execution method of this solution to quickly respond to emergencies, mobilize emergency resources, and automatically record and monitor patrol points to improve the efficiency of on-site safety management; 3) Medical emergency. Medical personnel can use the voice command automatic execution method of this solution to request the dispatch of emergency vehicles, or quickly obtain the required medical resources. They can also use voice commands to coordinate other rescue personnel to ensure the rapid transmission of information.

[0057] The method for automatically executing voice commands provided in this application is intended to solve the above technical problems in the prior art.

[0058] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0059] Figure 1 Schematic diagram of the process of the automatic execution method of voice command provided in the embodiment of the present application Figure 1 , the voice command automatic execution method provided in this embodiment includes the following steps:

[0060] S101, obtaining a first voice instruction, and matching a second function instruction corresponding to the first voice instruction from a plurality of pre-stored first function instructions through a pre-stored voice instruction model.

[0061] In this embodiment, by issuing a first voice command, the voice command model can automatically find the second function command corresponding to the first voice command. For example, if the user issues the first voice command "retrieve surveillance video within 5 kilometers around the incident site", the voice command model will first automatically convert the first voice command into a voice command that the model can recognize, "view surveillance video within 5 kilometers around the incident site", and then match the second function command corresponding to the first voice command from the pre-stored multiple first function commands based on the voice commands that the model can recognize (that is, each voice command in the voice command set). Converting the first voice command issued by the user into a voice command that the model can recognize can facilitate the voice command model to accurately recognize the voice command issued by the user and match the second function command corresponding to the first voice command issued by the user, facilitating subsequent related operations.

[0062] Through the voice command model, the first voice command issued by the user is converted into a corresponding second function command, and the corresponding function is automatically executed based on the second function command. Through the intelligent and information-based means of the voice command model, rescue coordination work can be carried out efficiently.

[0063] S102: Match the first voice instruction and the second function instruction using a pre-stored scene instruction model and according to a plurality of pre-stored first processing procedures to obtain a matching result.

[0064] In this embodiment, the matching result is used to indicate whether a second handling process corresponding to the first voice instruction and the second function instruction is matched from multiple first handling processes; each first handling process includes a process composed of at least one first function instruction.

[0065] A plurality of first disposal processes are pre-stored in the pre-stored scene instruction model, and the first voice instruction and the second function instruction are used to obtain matching results from the plurality of first disposal processes. In this embodiment, different target disaster scenes correspond to different first disposal processes. When the user selects the target disaster scene, the second disposal process corresponding to the first voice instruction and the second function instruction can be matched from the plurality of first disposal processes through the pre-stored scene instruction model. Specifically, for example, if the target disaster scene selected by the current user is a rainstorm disaster scene, and the current user issues the first voice instruction of "conducting a video conference with surrounding personnel", the corresponding second disposal process can be matched through the scene instruction set model, the first voice instruction and the second function instruction corresponding to the first voice instruction. To judge whether the second disposal process is matched is to judge whether the user has selected the target disaster scene. Matching the corresponding second disposal process for the target disaster scene can make the process clear, reduce unnecessary steps, help make decisions quickly, and thus improve rescue efficiency.

[0066] S103: When the matching result indicates that the second processing flow is matched, the second processing flow is executed; otherwise, the second function instruction is executed.

[0067] In this embodiment, if the second handling process is matched, the system automatically executes the second handling process. For example, the target disaster scene selected by the current user is a rainstorm disaster scene, and the first voice command is "conduct a video conference with surrounding personnel", and the second function command corresponding to the first voice command is "the system automatically initiates a video conference." The first handling process for rainstorm disaster scenes is: step 1 monitoring and early warning, step 2 review of on-site images, step 3 disaster analysis, step 4 on-site audio and video conference, step 5 generation of auxiliary plans, step 6 issuance of material dispatch instructions and force dispatch instructions, then the second handling process is step 1 generation of auxiliary plans and step 2 issuance of material dispatch instructions and force dispatch instructions.

[0068] When the commander understands the rescue operation of the target disaster scene, he can directly issue voice commands and automatically execute the corresponding functions based on the voice command model; when the user does not understand the rescue operation of the target disaster scene, the corresponding functional instructions of the rescue of the target disaster scene can be automatically executed based on the preset scene command model. According to the different degrees of understanding of the target disaster scene by the commander, different methods are used to carry out rescue work, which can improve flexibility and convenience and reduce errors.

[0069] The present application provides a method, apparatus, device, medium and product for automatic execution of voice commands. The method for automatic execution of voice commands includes: obtaining a first voice command, and matching a second function command corresponding to the first voice command from a plurality of pre-stored first function commands through a pre-stored voice command model; matching the first voice command and the second function command according to a plurality of pre-stored first disposal processes through a pre-stored scene command model to obtain a matching result, wherein the matching result is used to indicate whether a second disposal process corresponding to the first voice command and the second function command is matched from the plurality of first disposal processes, and the first disposal processes all include a process consisting of at least one first function command; when the matching result indicates that the second disposal process is matched, executing the second disposal process, otherwise, executing the second function command. Based on the above method, the following technical effects are achieved: through the voice command model, the first voice command issued by the user is converted into the corresponding second function command, and the corresponding function is automatically executed based on the second function command. Through the intelligent and information-based means of the voice command model, rescue coordination work can be carried out efficiently; the scene command model pre-stores the first handling process based on different scenes, and matches the corresponding second handling process to the target disaster scene, which can make the process clear, reduce unnecessary steps, and help make decisions quickly, thereby improving rescue efficiency; when the commander understands the rescue operation of the target disaster scene, he can directly issue voice commands and automatically execute the corresponding functions based on the voice command model. When the user does not understand the rescue operation of the target disaster scene, the corresponding function command of the target disaster scene rescue can be automatically executed based on the preset scene command model. According to the different degrees of understanding of the target disaster scene by the commander, different methods are used to carry out rescue work, which can improve flexibility and convenience and reduce errors.

[0070] Figure 2 Schematic diagram of the process of the automatic execution method of voice command provided in the embodiment of the present application Figure 2 .like Figure 2 As shown, the voice command automatic execution method provided in this embodiment is a further refinement of the voice command automatic execution method provided in the previous embodiment of the present invention. The voice command automatic execution method provided in this embodiment includes the following steps:

[0071] S201: Obtain a first voice instruction, and extract at least one second function keyword from the first voice instruction using a pre-stored voice instruction model.

[0072] As shown in Table 1, each functional instruction in the functional instruction set and its corresponding tag keyword are displayed. In this embodiment, each functional instruction in the functional instruction set is a first functional instruction, and the tag keyword corresponding to each functional instruction is a first functional keyword.

[0073] Table 1

[0074] Each functional instruction in the functional instruction set Tag keywords Visualization of site elements On-site elements, visualization Site element location and details Element positioning, details Disaster Analysis Disaster situation and analysis Peripheral analysis Peripheral, Research Surrounding video analysis Peripheral, Video Generate decision-making support reports Generate and assist decision-making reports Material dispatch Supplies, dispatch 3D model visualization 3D, visualization Audio and video conferencing Voice, video, conference Disaster impact analysis Disaster impact and analysis On-site support needs Site, demand, guarantee Issue tasks Issue, Task

[0075] In this embodiment, a function instruction set is pre-stored, the function instruction set includes multiple first function instructions, and each first function instruction corresponds to at least one first function keyword; each second function keyword is one of the multiple first function keywords.

[0076] All the first-level functions, second-level functions and fine-grained function sets of disaster emergency scenarios are sorted out, classified according to business rules, and a functional instruction set is generated. There is a lot of functional instruction data, and only some examples are shown below. After building the functional instruction set, it is necessary to annotate each functional instruction in the functional instruction set with keywords to extract the key triggering elements of each functional instruction.

[0077] S202: Match a second function instruction corresponding to the first voice instruction from multiple first function instructions according to the second function keyword.

[0078] In this embodiment, the first voice instruction is a voice instruction issued by a commander, which contains at least one second function keyword. By matching the second function keyword with the first function keyword, the second function instruction corresponding to the first voice instruction can be found.

[0079] Specifically, each voice instruction in the voice instruction set will have a corresponding tag keyword; similarly, each function instruction in the function instruction set will also have a corresponding tag keyword. The function instruction corresponding to the voice instruction can be determined by the voice instruction set and each voice instruction in the function instruction set and the corresponding tag keyword of each function instruction.

[0080] Each voice instruction in the voice instruction set and each functional instruction in the functional instruction set are associated and matched according to business rules, and trained after the matching is completed.

[0081] The voice command set and functional command set of this application are analyzed and mined in combination with on-site command experience, emergency plans, laws and regulations, disposal plans and other business knowledge. The command set focuses on encapsulating core functional elements such as disaster assessment, generation of auxiliary plans, viewing on-site disaster videos, audio and video calls, on-site IoT perception environment situation analysis, map route trajectory analysis, drone three-dimensional modeling visualization, and on-site element visualization, so as to comprehensively improve on-site command capabilities and efficiently link command commands.

[0082] Optionally, in this embodiment, the voice command model is obtained by training a voice command set and a function command set; the voice command set is obtained after classifying and keyword-labeling multiple third voice commands, and the function command set is obtained from multiple first function commands; each third voice command is an on-site voice command command.

[0083] Specifically, generating a voice command model includes the following steps: first, constructing a functional command set and a voice command set, and annotating keywords for each; then, building association relationships based on business rules; finally, through continuous training and testing, improving the marked keywords and matching relationships, continuously optimizing the model data, and generating a voice command model.

[0084] We sort out the functions that users often use, and combine them with the on-site command scenarios, the commander's habit of giving commands in a concise manner, and other information, and classify them according to business rules to generate a voice command set. There is a lot of voice command data, and only some examples are shown below. After building the voice command set, we need to annotate each voice command in the voice command set with keywords to extract the key triggering factors of each voice command.

[0085] As shown in Table 2, each voice instruction in the voice instruction set and its corresponding tag keyword are displayed. In this embodiment, each voice instruction in the voice instruction set is a first voice instruction, and the tag keyword corresponding to each voice instruction is a second function keyword.

[0086] Table 2

[0087] Voice commands in the voice command set Tag keywords "View Site Elements" On-site elements, visualization "View details of XX" Element positioning, details "Conducting peripheral research and analysis" Peripheral, Research "Check the scene around the incident site" Peripheral, Video "Analyze the situation around the incident site" Environmental situation and analysis "Generate decision support report" Generate and assist decision-making reports "Issue dispatch instructions to material units within the surrounding XX kilometers" Supplies, dispatch "Issue dispatch instructions to rescue teams within the surrounding XX kilometers" Strength, Team, Deployment "View the 3D model image of the drone on site" 3D, visualization "Conduct audio and video conferences with on-site personnel" Meeting, audio and video conference

[0088] For example, if the voice command in the voice command set after conversion from the first voice command is "view the on-site footage around the incident site", then the marking keyword (i.e., the second function keyword) corresponding to the first voice command is "surroundings, video"; then based on the second function keyword, the corresponding first function keyword "surroundings, video" is found, and the second function instruction "surrounding video analysis" can be found, and the corresponding function can be automatically executed.

[0089] Based on the actual situation at the disaster site, commanders can improve on-site command efficiency by issuing voice commands such as research and analysis, auxiliary decision-making, on-site situation analysis, uploading and issuing task instructions, and three-dimensional map visualization.

[0090] S203, a processing instruction set is pre-stored, the processing instruction set includes multiple first scene keywords, each first scene keyword and each first function instruction correspond to form a first processing flow, and the second scene keyword is extracted from the first voice instruction through the scene instruction model.

[0091] In this embodiment, the second scene keyword is one of the multiple first scene keywords.

[0092] Specifically, the processing instruction set includes several processing instructions, and each processing instruction corresponds to each voice instruction in the voice instruction set in Table 2, and each processing instruction is determined by the corresponding first scene keyword. The first processing flow is composed of one-to-one corresponding processing instructions and the first functional instruction set. Since each processing instruction corresponds to the first scene keyword, the first processing flow can also be composed of one-to-one corresponding first scene keyword and first functional instruction set.

[0093] S204: Match the second scene keyword and the second function instruction according to the processing instruction set to obtain a matching result.

[0094] In this embodiment, the matching result is used to indicate whether a second handling process corresponding to the first voice instruction and the second function instruction is matched from multiple first handling processes; each first handling process includes a process composed of at least one first function instruction.

[0095] Extract the second scene keyword in the first voice command, where the second scene keyword is one of multiple first scene keywords, and then combine it with the second function instruction, where the second function instruction is one of multiple first function instructions. Then, the second processing flow corresponding to the first voice command and the second function instruction can be found from the first processing flow.

[0096] S205. When the matching result indicates that the second processing flow is matched, display the full amount of the first functional instructions constituting the second processing flow.

[0097] In this embodiment, the second processing flow is composed of a series of processing instructions and their corresponding functional instructions, and the full amount of first functional instructions is composed of the one-to-one corresponding processing instructions and functional instructions.

[0098] S206: Obtain a third function instruction, and when executing the fourth function instruction, obtain a second voice instruction, and match at least one fifth function instruction corresponding to the second voice instruction from multiple first function instructions through a voice instruction model.

[0099] In this embodiment, the third functional instruction is used to instruct to start executing the second processing flow, and the fourth functional instruction is any one of the entire first functional instructions constituting the second processing flow.

[0100] The second voice instruction is a voice instruction newly issued by the system when executing the second processing flow starting with the third function instruction. Similarly, referring to the method steps in S101, at least one fifth function instruction corresponding to the second voice instruction can be matched, where at least refers to zero, one or more.

[0101] S207: Obtain a third processing procedure according to at least one fifth functional instruction and the second processing procedure, and execute the third processing procedure.

[0102] In this embodiment, at least one fifth function instruction is used to modify the second handling process to obtain the third handling process. That is, when executing the second handling process, the commander can modify the current handling process of the system by issuing voice instructions again to meet the actual needs on site.

[0103] If step replacement is performed, the fourth function instruction is replaced by the fifth function instruction;

[0104] If a step callback is performed, a fifth function instruction is inserted after the fourth function instruction (there may be multiple fifth function instructions, and each of them corresponds to at least one fourth function instruction);

[0105] If the step is paused, a clock can be inserted to pause the execution of the fourth function instruction when the preset time threshold is reached; a responder can also be inserted to respond to the fifth function instruction when the preset time threshold is reached; or a pause function can be inserted until the third voice instruction (i.e., a new voice instruction) is received.

[0106] By saying a sentence containing the key words of the voice control command, the system can control each command to be automatically executed or paused. Voice control commands include "pause", "next step", "previous step", "stop", "cancel automatic execution", "start" and other commands. For example, if the user says "pause command", the operation according to the system's command item by item will be stopped.

[0107] Therefore, when the disaster situation is complex, the on-site information changes quickly, and the information types are complex and diverse, voice commands can be used to make quick adjustments based on the actual situation to improve flexibility.

[0108] The present application provides a method, device, equipment, medium and product for automatic execution of voice commands. Based on the method for automatic execution of voice commands, the following technical effects are achieved: through a voice command model, a first voice command issued by a user is converted into a corresponding second function command, and a corresponding function is automatically executed based on the second function command. Through the intelligent and information-based means of the voice command model, rescue coordination work can be carried out efficiently; a first handling process based on different scenarios is pre-stored in the scene command model, and the corresponding second handling process is matched to the target disaster scene, which can make the process clear, reduce unnecessary steps, and help to make decisions quickly, thereby improving rescue efficiency; when the commander understands the rescue operation of the target disaster scene, the voice command can be directly issued, and the corresponding function can be automatically executed based on the voice command model. When the user does not understand the rescue operation of the target disaster scene, the corresponding function command of the rescue of the target disaster scene can be automatically executed based on the preset scene command model. According to the different degrees of understanding of the target disaster scene by the commander, different methods are used to carry out rescue work, which can improve flexibility and convenience and reduce errors; when the disaster situation on the scene is complex, the on-site information changes rapidly, and the information types are complex and diverse, voice commands can be used to make quick adjustments according to the actual situation to improve flexibility.

[0109] Figure 3 Schematic diagram of the process of the automatic execution method of voice command provided in the embodiment of the present application Figure 3 .like Figure 3 As shown, the voice command automatic execution method provided in this embodiment is a further refinement of the voice command automatic execution method provided in the first embodiment of the present invention. The voice command automatic execution method provided in this embodiment includes the following steps:

[0110] S301: Obtain a first voice instruction, and extract at least one second function keyword from the first voice instruction using a pre-stored voice instruction model.

[0111] In this embodiment, the implementation method and effect of S301 are similar to the implementation method and effect of S201 in the second embodiment of the present invention, and will not be described in detail here.

[0112] Optionally, in this embodiment, the voice command model is obtained by training a voice command set and a function command set; the voice command set is obtained after classifying and keyword-labeling multiple third voice commands, and the function command set is obtained from multiple first function commands; each third voice command is an on-site voice command command.

[0113] S302: Match a second function instruction corresponding to the first voice instruction from multiple first function instructions according to the second function keyword.

[0114] In this embodiment, the implementation method and effect of S302 are similar to the implementation method and effect of S202 in the second embodiment of the present invention, and will not be repeated here.

[0115] S303, a processing instruction set is pre-stored, the processing instruction set includes multiple first scene keywords, each first scene keyword and each first function instruction correspond to form a first processing flow, and the second scene keyword is extracted from the first voice instruction through the scene instruction model.

[0116] In this embodiment, the second scene keyword is one of the multiple first scene keywords.

[0117] In this embodiment, the implementation method and effect of S303 are similar to the implementation method and effect of S203 in the second embodiment of the present invention, and will not be repeated here.

[0118] Steps to generate a scenario instruction model: Based on the collected business information such as various emergency plans and on-site handling manuals, extract the handling instruction sets and handling processes for key disaster scenarios; then combine the business rules to associate each step of the scenario handling instruction set with the functional instruction set to generate a scenario instruction model.

[0119] S304: Match the second scene keyword and the second function instruction according to the processing instruction set to obtain a matching result.

[0120] In this embodiment, the matching result is used to indicate whether a second handling process corresponding to the first voice instruction and the second function instruction is matched from multiple first handling processes; each first handling process includes a process composed of at least one first function instruction.

[0121] In this embodiment, the implementation method and effect of S304 are similar to the implementation method and effect of S204 in the second embodiment of the present invention, and will not be repeated here.

[0122] S305 . When the matching result indicates that the second treatment process is matched, obtain a plurality of second controlled objects and a plurality of third controlled objects.

[0123] In this embodiment, each first functional instruction is executed by several first controlled objects; each second controlled object and each third controlled object is one of several first controlled objects; the second disposal process is executed by several second controlled objects, and the second functional instruction is executed by several third controlled objects.

[0124] S306, displaying the full amount of the first functional instructions constituting the second processing flow.

[0125] In this embodiment, the meaning of the full first function instruction in S306 is similar to the meaning of the full first function instruction in S205 in the second embodiment of the present invention, and will not be repeated here.

[0126] S307, obtaining a third function instruction, and when executing the sixth function instruction and any second controlled object does not execute the sixth function instruction, matching a fourth controlled object from a plurality of third controlled objects according to the second controlled object that does not execute the sixth function instruction.

[0127] In this embodiment, the third functional instruction is used to instruct the start of execution of the second processing flow; the sixth functional instruction is any one of the entire first functional instructions constituting the second processing flow.

[0128] S308. Execute the sixth function instruction through the fourth controlled object.

[0129] In this embodiment, if any functional instruction in the second handling process is not executed for various reasons, the system will automatically match the fourth controlled object from the third controlled object that executes the second functional instruction, and execute the sixth functional instruction through the fourth controlled object. That is, when any controlled object of a functional instruction in the second handling process cannot be executed, the controlled object of the functional instruction that cannot be executed is replaced with the controlled object of the second functional instruction, which can ensure the integrity of the handling process when the commander conducts on-site rescue command, thereby improving the reliability and fault tolerance of the system.

[0130] A method for automatically executing voice commands, serving on-site command centers and front-line commanders, realizes disaster situation analysis, comprehensive assessment, and command uploading and issuing based on a voice command model, assists on-site personnel in fully understanding the on-site disaster situation and making accurate assessments, and provides a new intelligent, voice-commanded rescue method.

[0131] The system supports deployment in a command box or command vehicle to facilitate efficient on-site command. Based on voice command models and scenario command models, the system issues commands through voice or automatically executes commands according to scenarios, assisting command personnel to fully understand the on-site disaster situation, make accurate judgments, improve on-site command efficiency, and enhance the flexibility and intelligence of disaster site system operations.

[0132] The present application provides a method, device, equipment, medium and product for automatic execution of voice commands. Based on the method for automatic execution of voice commands, the following technical effects are achieved: through a voice command model, a first voice command issued by a user is converted into a corresponding second function command, and the corresponding function is automatically executed based on the second function command. Through the intelligent and information-based means of the voice command model, rescue coordination work can be carried out efficiently; the scenario command model pre-stores a first handling process based on different scenarios, and matches the corresponding second handling process to the target disaster scenario, which can make the process clear, reduce unnecessary steps, and help make decisions quickly, thereby improving rescue efficiency; when the commander understands the rescue operation of the target disaster scenario, he can directly issue voice commands and automatically execute based on the voice command model. Corresponding functions, when the user does not understand the rescue operations of the target disaster scene, can automatically execute the corresponding functional instructions of the target disaster scene rescue based on the preset scene instruction model, and use different methods to carry out rescue work according to the different degrees of understanding of the target disaster scene by the commanders, which can improve flexibility and convenience and reduce errors; when the on-site disaster situation is complex, the on-site information changes rapidly, and the information types are complex and diverse, voice commands can be used to make quick adjustments according to actual conditions to improve flexibility; when any controlled object of a functional instruction in the second disposal process cannot be executed, the controlled object of the functional instruction that cannot be executed is replaced by the controlled object of the second functional instruction, which can ensure the integrity of the disposal process when the commander conducts on-site rescue command, thereby improving the reliability and fault tolerance of the system.

[0133] Figure 4 This is a schematic diagram of the structure of the voice command automatic execution device provided in the embodiment of the present application. Figure 4 As shown, in this embodiment, the voice command automatic execution device can be located in the electronic device. The voice command automatic execution device includes:

[0134] The corresponding module 401 is used to obtain a first voice instruction and match a second function instruction corresponding to the first voice instruction from a plurality of pre-stored first function instructions through a pre-stored voice instruction model;

[0135] The matching module 402 is used to match the first voice instruction and the second function instruction according to the pre-stored scene instruction model and multiple pre-stored first processing procedures to obtain a matching result; wherein the matching result is used to indicate whether a second processing procedure corresponding to the first voice instruction and the second function instruction is matched from the multiple first processing procedures; each first processing procedure includes a procedure composed of at least one first function instruction;

[0136] The execution module 403 is used to execute the second processing procedure when the matching result indicates that the second processing procedure is matched; otherwise, execute the second function instruction.

[0137] The stratum division conclusion extraction device provided in this embodiment can be executed Figure 1 The technical solution of the embodiment of the voice command automatic execution method shown in the figure has the same implementation principle and technical effect as Figure 1 The embodiments of the method for automatically executing voice commands shown are similar and will not be described in detail here.

[0138] At the same time, the voice instruction automatic execution device provided by the present invention further refines the voice instruction automatic execution device based on the voice instruction automatic execution device provided by the previous embodiment.

[0139] Optionally, in this embodiment, the corresponding module 401 is specifically used for:

[0140] A first voice instruction is obtained, and a second function instruction corresponding to the first voice instruction is matched from a plurality of pre-stored first function instructions through a pre-stored voice instruction model.

[0141] Optionally, when the corresponding module 401 matches the second function instruction corresponding to the first voice instruction from the pre-stored multiple first function instructions through the pre-stored voice instruction model, a function instruction set is pre-stored, and the function instruction set includes multiple first function instructions, and each first function instruction corresponds to at least one first function keyword;

[0142] Extracting at least one second function keyword from the first voice command through a pre-stored voice command model; wherein each second function keyword is one of the plurality of first function keywords;

[0143] According to the second function keyword, a second function instruction corresponding to the first voice instruction is matched from a plurality of first function instructions.

[0144] Optionally, in this embodiment, the matching module 402 is specifically used for:

[0145] Through the pre-stored scene instruction model, the first voice instruction and the second function instruction are matched according to the pre-stored multiple first handling processes to obtain a matching result; wherein the matching result is used to indicate whether the second handling process corresponding to the first voice instruction and the second function instruction is matched from the multiple first handling processes; each first handling process includes a process composed of at least one first function instruction.

[0146] Optionally, when the matching module 402 matches the first voice instruction and the second function instruction through a pre-stored scene instruction model and a plurality of pre-stored first processing procedures to obtain a matching result, a processing instruction set is pre-stored, and the processing instruction set includes a plurality of first scene keywords, and each first scene keyword and each first function instruction correspond to form a first processing procedure;

[0147] Extracting a second scene keyword from the first voice command through the scene command model; wherein the second scene keyword is one of the plurality of first scene keywords;

[0148] According to the processing instruction set, the second scene keyword and the second function instruction are matched to obtain a matching result.

[0149] Optionally, in this embodiment, the execution module 403 is specifically used to:

[0150] When the matching result indicates that the second processing flow is matched, the second processing flow is executed; otherwise, the second function instruction is executed.

[0151] Optionally, when executing the second processing procedure, the execution module 403 displays all the first functional instructions constituting the second processing procedure;

[0152] Obtain a third functional instruction, and sequentially execute all first functional instructions constituting a second processing flow; wherein the third functional instruction is used to instruct the start of the second processing flow.

[0153] Optionally, when the execution module 403 sequentially executes all the first functional instructions constituting the second processing flow, the fourth functional instruction is any one of the first functional instructions constituting the second processing flow; when executing the fourth functional instruction, the second voice instruction is obtained, and at least one fifth functional instruction corresponding to the second voice instruction is matched from the multiple first functional instructions through the voice instruction model;

[0154] According to at least one fifth functional instruction and the second processing flow, a third processing flow is obtained, and the third processing flow is executed.

[0155] Optionally, before executing the second processing flow, the execution module 403 executes each first functional instruction through a plurality of first controlled objects; obtains a plurality of second controlled objects and a plurality of third controlled objects; wherein each second controlled object and each third controlled object is one of the plurality of first controlled objects; the second processing flow is executed through the plurality of second controlled objects, and the second functional instruction is executed through the plurality of third controlled objects;

[0156] Optionally, when the execution module 403 sequentially executes all the first functional instructions constituting the second disposal process, the sixth functional instruction is any one of the first functional instructions constituting the second disposal process; when executing the sixth functional instruction, when any second controlled object does not execute the sixth functional instruction, a fourth controlled object is matched from a plurality of third controlled objects according to the second controlled object that does not execute the sixth functional instruction;

[0157] The sixth function instruction is executed through the fourth controlled object.

[0158] Optionally, in this embodiment, the voice command model in the corresponding module 401 is obtained by training a voice command set and a function command set; the voice command set is obtained after classifying and keyword-labeling multiple third voice commands, and the function command set is obtained from multiple first function commands; each third voice command is an instruction for on-site voice command.

[0159] The voice command automatic execution device provided in this embodiment can execute Figure 1 , Figure 2 and Figure 3 The technical solution of the embodiment of the voice command automatic execution method shown in the figure has the same implementation principle and technical effect as Figure 1 , Figure 2 and Figure 3 The embodiments of the method for automatically executing voice commands shown are similar and will not be described in detail here.

[0160] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device is intended to be used in various electronic devices that can execute the voice command automatic execution method, such as a microcomputer, a single-chip microcomputer, and other suitable computers. The components shown herein, their connections and relationships, and their functions are only examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0161] like Figure 5 As shown, the electronic device includes: at least one processor 501 and a memory 502. The electronic device also includes a communication component 503. The processor 501, the memory 502 and the communication component 503 are connected via a bus 504.

[0162] In the specific implementation process, at least one processor 501 executes the computer execution instructions stored in the memory 502, so that at least one processor 501 executes the voice instruction automatic execution method executed by the electronic device side as above.

[0163] The specific implementation process of the processor 501 can refer to the above-mentioned voice command automatic execution method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0164] In the above embodiments, it should be understood that the processor 501 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor 501 may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the invention may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0165] The memory 502 may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage.

[0166] The bus 504 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus 504 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus 504 in the drawings of the present application is not limited to only one bus or one type of bus.

[0167] The above-mentioned functions implemented by the electronic device and the main control device introduce the scheme provided by the embodiment of the present invention. It can be understood that in order to implement the above-mentioned functions, the electronic device or the main control device includes a hardware structure and / or software module corresponding to the execution of each function. In combination with the units and algorithm steps of each example described in the embodiment disclosed in the embodiment of the present invention, the embodiment of the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present invention.

[0168] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above-mentioned voice instruction automatic execution method is implemented.

[0169] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0170] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. The readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). The processor and the readable storage medium can also exist as discrete components in an electronic device or a main control device.

[0171] The memory 502 is a non-transitory computer-readable storage medium provided by the present invention. The non-transitory computer-readable storage medium of the present invention stores computer instructions, and the computer instructions are used to enable a computer to execute the voice instruction automatic execution method provided by the present invention.

[0172] The memory 502 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the voice command automatic execution method in the embodiment of the present invention (for example, Figure 4 The processor 501 executes various functional applications and data processing by running the non-transient software programs, instructions and modules stored in the memory 502, that is, the voice command automatic execution method in the above method embodiment is implemented.

[0173] At the same time, this embodiment also provides a computer program product, including a computer program, which is used to implement the voice instruction automatic execution method provided in the above embodiment when the computer program is executed by a processor.

[0174] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0175] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0176] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.

[0177] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.

[0178] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. If not specifically stated, the processor may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. If not specifically stated, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc.

[0179] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0180] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0181] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0182] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for automatically executing a voice command, characterized in that: include: Acquire a first voice command, and match a second function command corresponding to the first voice command from a plurality of pre-stored first function commands using a pre-stored voice command model; The first voice instruction and the second function instruction are matched according to a plurality of pre-stored first processing procedures through a pre-stored scene instruction model to obtain a matching result; wherein the matching result is used to indicate whether a second processing procedure corresponding to the first voice instruction and the second function instruction is matched from the plurality of first processing procedures; each of the first processing procedures includes a procedure consisting of at least one of the first function instructions; When the matching result indicates that the second handling process is matched, the second handling process is executed; otherwise, the second function instruction is executed.

2. The method for automatically executing voice commands according to claim 1, characterized in that: The executing the second disposal process includes: Displaying the full amount of first functional instructions constituting the second processing flow; Obtain a third functional instruction, and sequentially execute all first functional instructions constituting the second handling process; wherein the third functional instruction is used to instruct the start of execution of the second handling process.

3. The method for automatically executing voice commands according to claim 2, characterized in that: The fourth functional instruction is any one of the first functional instructions constituting the second processing flow; when executing the fourth functional instruction, the first functional instructions constituting the second processing flow are sequentially executed, including: Acquire a second voice instruction, and match at least one fifth function instruction corresponding to the second voice instruction from the plurality of first function instructions through the voice instruction model; A third processing procedure is obtained according to the at least one fifth functional instruction and the second processing procedure, and the third processing procedure is executed.

4. The method for automatically executing voice commands according to claim 2, characterized in that: Each of the first functional instructions is executed by a plurality of first controlled objects; Before executing the second disposal process, the method further includes: Acquire a plurality of second controlled objects and a plurality of third controlled objects; wherein each of the second controlled objects and each of the third controlled objects is one of the plurality of first controlled objects; the second treatment process is executed by the plurality of second controlled objects, and the second functional instruction is executed by the plurality of third controlled objects; The sixth function instruction is any one of the first function instructions constituting the second processing flow; when executing the sixth function instruction, the first function instructions constituting the second processing flow are sequentially executed, including: When any one of the second controlled objects does not execute the sixth functional instruction, matching a fourth controlled object from among the plurality of the third controlled objects according to the second controlled object that does not execute the sixth functional instruction; The sixth functional instruction is executed through the fourth controlled object.

5. The method for automatically executing voice commands according to any one of claims 1 to 4, characterized in that: A processing instruction set is pre-stored, the processing instruction set includes a plurality of first scenario keywords, each of the first scenario keywords and each of the first function instructions correspondingly constitute a first processing flow; The first voice instruction and the second function instruction are matched by the pre-stored scene instruction model according to the pre-stored plurality of first processing procedures to obtain a matching result, including: Extracting a second scene keyword from the first voice instruction through the scene instruction model; wherein the second scene keyword is one of the multiple first scene keywords; According to the processing instruction set, the second scene keyword and the second function instruction are matched to obtain the matching result.

6. The method for automatically executing voice commands according to any one of claims 1 to 4, characterized in that: A function instruction set is pre-stored, the function instruction set includes the plurality of first function instructions, and each of the first function instructions corresponds to at least one first function keyword; The matching of the second function instruction corresponding to the first voice instruction from a plurality of pre-stored first function instructions by using the pre-stored voice instruction model includes: Extracting at least one second function keyword from the first voice command by using the pre-stored voice command model; wherein each of the second function keywords is one of the plurality of the first function keywords; According to the second function keyword, a second function instruction corresponding to the first voice instruction is matched from the plurality of first function instructions.

7. The method for automatically executing voice commands according to claim 6, characterized in that: The voice instruction model is obtained by training the voice instruction set and the functional instruction set; the voice instruction set is obtained by classifying and keyword-labeling a plurality of third voice instructions, and the functional instruction set is obtained by the plurality of first functional instructions; each of the third voice instructions is an instruction for on-site voice command.

8. A device for automatically executing voice commands, characterized in that: include: A corresponding module, used for acquiring a first voice instruction, and matching a second function instruction corresponding to the first voice instruction from a plurality of pre-stored first function instructions through a pre-stored voice instruction model; A matching module, used to match the first voice instruction and the second function instruction according to a plurality of pre-stored first processing procedures through a pre-stored scene instruction model, and obtain a matching result; wherein the matching result is used to indicate whether a second processing procedure corresponding to the first voice instruction and the second function instruction is matched from the plurality of first processing procedures; each of the first processing procedures includes a procedure composed of at least one of the first function instructions; An execution module is used to execute the second processing procedure when the matching result indicates that the second processing procedure is matched; otherwise, execute the second function instruction.

9. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the voice instruction automatic execution method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the voice instruction automatic execution method according to any one of claims 1 to 7.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, it is used to implement the voice instruction automatic execution method as described in any one of claims 1 to 7.