Intelligent police service operation method, device and equipment and storage medium

By recognizing target intents through voice commands, police operation processes are optimized. The use of pre-configured intent templates and historical intents improves the operational efficiency and accuracy of the intelligent policing system, thereby enhancing the user experience.

CN121662034APending Publication Date: 2026-03-13国家超级计算天津中心 +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-31
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

Existing intelligent policing methods are inefficient, requiring manual selection of numerous policing functions, resulting in low collaborative efficiency.

Method used

By recognizing the target intent through voice commands, prioritizing the matching of pre-configured intent templates or historical intents, generating target information and confirming it, and continuing the operation based on the user's affirmative response, the intelligent operation process of the police system is optimized.

Benefits of technology

It has improved the efficiency of police collaboration and user experience, and enhanced the accuracy and efficiency of intelligent policing operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121662034A_ABST
    Figure CN121662034A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent police service operation method, device and equipment and a storage medium, and the intelligent police service operation method comprises the steps: responding to a received voice instruction of a current user for a police service system, carrying out the intention recognition of the voice instruction, and obtaining a target intention; if the pre-configured intention template matched with the target intention does not exist, the historical intention matched with the target intention does not exist, and the target intention comprises a plurality of sub-intentions, operating the police service system according to the first sub-intention, and generating first target information; and if the positive reply of the current user for the first target information is received, continuing to operate the police service system according to the logic relationship among the plurality of sub-intentions. The working mode of police service work is optimized, the intelligent degree is improved, the police service cooperation efficiency is improved, and the use experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intent recognition technology, and in particular to an intelligent policing operation method, apparatus, device, and storage medium. Background Technology

[0002] Police collaboration refers to the joint handling of routine police work by the police system. For example, it involves finding Zhang San's contact information from the police system, contacting Zhang San to discuss specific matters, or generating a weekly police report to review the week's dispatch situation.

[0003] The existing intelligent policing operation method is as follows: to implement a police collaboration function (such as asking for Zhang San's contact information), it is necessary to manually select from a large number of specific police functions, which is inefficient.

[0004] In view of the above, this application is hereby submitted. Summary of the Invention

[0005] To address the aforementioned technical problems, this invention provides an intelligent policing operation method, apparatus, equipment, and storage medium, which optimizes the working methods of policing, enhances the level of intelligence, improves the efficiency of police collaboration, and enhances the user experience.

[0006] In a first aspect, embodiments of the present invention provide an intelligent policing operation method, the method comprising:

[0007] In response to receiving a voice command from the current user for the police system, the system performs intent recognition on the voice command to obtain the target intent;

[0008] Determine whether a pre-configured intent template matches the target intent;

[0009] If no pre-configured intent template matches the target intent, then determine whether there is a historical intent matching the target intent in the knowledge base matching the current user;

[0010] If there is no historical intent matching the target intent in the knowledge base matched with the current user, and the target intent includes multiple sub-intents, the police system is operated according to the first sub-intent in the target intent to obtain a first operation result;

[0011] First target information is generated based on the result of the first operation and the target intent.

[0012] The system confirms the first target information with the current user, and if an affirmative response is received from the current user regarding the first target information, it continues to operate the police system according to the logical relationship between the plurality of sub-intents and other sub-intents besides the first sub-intent.

[0013] Furthermore, if a pre-configured intent template that matches the target intent exists, second target information is generated based on the parameter information associated with the pre-configured intent template that matches the target intent;

[0014] Confirm the second target information with the current user;

[0015] If an affirmative response is received from the current user regarding the second target information, the police system is operated according to the operation path indicated by the pre-configured intent template that matches the target intent.

[0016] Furthermore, if a historical intent matching the target intent exists in the knowledge base that matches the current user, then third target information is generated according to the association information of the historical intent;

[0017] Confirm the third target information with the current user;

[0018] If an affirmative response is received from the current user regarding the third target information, the police system is operated according to the operation path associated with the historical intent that matches the target intent.

[0019] Furthermore, after confirming the third target information with the current user, the method further includes:

[0020] If the current user receives an error correction instruction for the third target information, the police system is operated according to the error correction instruction to obtain a second operation result, and a fourth target information is generated based on the second operation result and the historical intent.

[0021] Confirm the fourth target information with the current user.

[0022] Furthermore, it also includes:

[0023] If a positive response from the current user is received regarding the fourth target information, new historical intent association information is generated based on the historical intent association information, the error correction instruction, and the fourth target information, and the new historical intent association information is saved to the knowledge base.

[0024] Furthermore, confirming the first target information to the current user includes:

[0025] If the current environment is an outdoor environment, the first target information will be broadcast via voice.

[0026] If the current environment is indoors, the first target information is announced via voice and / or displayed on the screen.

[0027] Furthermore, determining whether a historical intent matching the target intent exists in the knowledge base matching the current user includes:

[0028] Determine the knowledge base that matches the current user based on the current user's identification information;

[0029] The similarity between each historical intent in the knowledge base that matches the current user and the target intent is calculated respectively.

[0030] Based on the calculated similarity, it is determined whether there is a historical intent that matches the target intent.

[0031] Secondly, embodiments of the present invention provide an intelligent police operation device, comprising:

[0032] The recognition module is used to respond to the voice command received from the current user for the police system, perform intent recognition on the voice command, and obtain the target intent;

[0033] The first determining module is used to determine whether there is a pre-configured intent template that matches the target intent;

[0034] The second determining module is used to determine whether there is a historical intent matching the target intent in the knowledge base matching the current user if there is no pre-configured intent template matching the target intent.

[0035] The first operation module is used to operate the police system according to the first sub-intention of the target intention if there is no historical intention matching the target intention in the knowledge base matched with the current user, and the target intention includes multiple sub-intentions, and to obtain a first operation result.

[0036] A first generation module is configured to generate first target information based on the first operation result and the target intent;

[0037] The first confirmation module is used to confirm the first target information with the current user;

[0038] And a continuation operation module, used to continue operating the police system according to other sub-intents besides the first sub-intent if an affirmative response from the current user is received regarding the first target information, based on the logical relationship between the plurality of sub-intents.

[0039] Thirdly, embodiments of the present invention provide an electronic device, the electronic device comprising:

[0040] Processor and memory;

[0041] The processor executes the steps of the intelligent policing operation method described in any embodiment by calling the program or instructions stored in the memory.

[0042] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing a program or instructions that cause a computer to perform the steps of the intelligent policing operation method described in any embodiment.

[0043] The embodiments of the present invention have the following technical effects:

[0044] Controlling the police system via voice commands optimizes police work, enhances intelligence, improves police collaboration efficiency, and enhances the user experience. Specifically, to ensure efficiency and accuracy, upon identifying a target intent, the system first checks if a pre-configured intent template matches the target intent. If not, it further checks the knowledge base for historical intents that match the target intent. Furthermore, for each specific operation performed by the police system, a corresponding operation result is generated and confirmed with the current user. Only upon receiving a positive response does the system continue with subsequent operations, ensuring that the executed operations meet user expectations, thus improving the accuracy of intelligent execution. Attached Figure Description

[0045] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0046] Figure 1 This is a flowchart of an intelligent policing operation method provided by an embodiment of the present invention. Figure 1 ;

[0047] Figure 2 This is a flowchart of an intelligent policing operation method provided by an embodiment of the present invention. Figure 2 ;

[0048] Figure 3 This is a flowchart of an intelligent policing operation method provided by an embodiment of the present invention. Figure 3 ;

[0049] Figure 4 This is a schematic diagram of the structure of an intelligent police operation device provided in an embodiment of the present invention;

[0050] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0051] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.

[0052] The purpose of this application is to provide an intelligent policing operation method based on a large model, optimize the way police work is carried out, and improve the level of intelligence and office efficiency.

[0053] Example 1

[0054] Figure 1 This is a flowchart illustrating an intelligent policing operation method provided in an embodiment of the present invention. This intelligent policing operation method is executed by an intelligent policing operation device, which can be implemented in software and / or hardware and integrated into a policing collaboration system. See also... Figure 1 The intelligent policing operation method specifically includes the following steps:

[0055] S110. In response to receiving a voice command from the current user for the police system, perform intent recognition on the voice command to obtain the target intent.

[0056] Specifically, the voice command is input into a large language model, which then performs intent recognition on the voice command to obtain the target intent.

[0057] To ensure the accuracy of intent recognition, after recognizing the target intent, the system asks the current user whether the target intent is correct (for example, if the current user says "Please check Zhang San's contact number", the system asks the current user "Do you want to check Zhang San's contact number?"). If the system receives an affirmative answer from the current user, it continues to perform subsequent operations; otherwise, it prompts the current user to re-enter the voice command so that the accurate target intent can be obtained by performing the intent recognition operation again.

[0058] In some implementations, if the system detects a problem with the user's intended target, it guides the user to re-enter the voice command. For example, if the user says, "Please look up Zhang San's contact number," and the system determines through matching that there is no one named Zhang San in the system, it prompts the user, "Please confirm if the name is Zhang San. There is no such person in the system," thus guiding the user to correct the error.

[0059] S120. Determine whether there is a pre-configured intent template that matches the target intent.

[0060] To improve efficiency and accuracy, the system incorporates several commonly used intent templates (referred to as pre-configured intent templates). These pre-configured intent templates indicate a specific intent and the operation path required to achieve it. Therefore, obtaining the operation path from a pre-configured intent template is more efficient and accurate than determining the operation path in real time. Thus, when a user's target intent is identified, the system prioritizes determining whether a pre-configured intent template matches that intent.

[0061] When determining whether a pre-configured intent template matches the target intent, the similarity between the encoding of the target intent and the reference encoding associated with each pre-configured intent template can be calculated. If there is a reference encoding with a high similarity to the encoding of the target intent (e.g., exceeding a set threshold), then it is determined that a pre-configured intent template matches the target intent.

[0062] S130. If there is no pre-configured intent template matching the target intent, determine whether there is a historical intent matching the target intent in the knowledge base matching the current user.

[0063] The knowledge base matched with the current user refers to a library specifically maintained for the current user. It stores the historical intents that the current user has previously sent to the system, as well as the link information extracted from the execution process of the historical intents. This may involve the user's error correction to the system and the system's error correction to the user, as well as the representation of user habits. Therefore, directly obtaining the link information extracted from the execution process of the historical intents can avoid repeatedly performing the error correction process and repeatedly adapting to user habits, thereby improving efficiency and accuracy.

[0064] In some implementations, determining whether a historical intent matching the target intent exists in the knowledge base matched with the current user includes:

[0065] Based on the current user's identification information (e.g., user account), a knowledge base matching the current user is determined; the similarity between each historical intent in the knowledge base matching the current user and the target intent is calculated; based on the calculated similarity, it is determined whether there is a historical intent matching the target intent. If there is a historical intent with a similarity greater than a threshold, it is determined that there is a historical intent matching the target intent.

[0066] S140. If there is no historical intent matching the target intent in the knowledge base that matches the current user, and the target intent includes multiple sub-intents, then the police system is operated according to the first sub-intent in the target intent to obtain the first operation result.

[0067] Specifically, the function expression information and operation interface for executing the function can be sorted out in advance for various functions of the police system. When the first sub-intention is identified, the operation interface to be called to operate the police system is determined by searching the function expression information that matches the first sub-intention. The operation of the police system is then realized through the operation interface.

[0068] For example, if the target intent is "Help me write a police report and send it to Captain Zhang", it includes two sub-intents: "Write a police report" and "Send the written police report to Captain Zhang". First, the first sub-intent "Write a police report" is executed. The functional expression information that matches it is "Write a police report". The operation interface associated with the functional expression information "Write a police report" is A. Then, the process of operating the police system according to the first sub-intent in the target intent and obtaining the first operation result is to call the operation interface A and obtain the result returned by the operation interface A (i.e., the first operation result).

[0069] S150. Generate first target information based on the result of the first operation and the target intent.

[0070] The purpose of generating the first target information based on the first operation result and the target intent is to allow the user to confirm whether the first operation result is what they wanted, and to confirm the actions to be taken after obtaining the first operation result, thus ensuring the correctness of subsequent operations. Therefore, the first target information is information that allows the user to confirm the first operation result and subsequent actions.

[0071] S160. Confirm the first target information with the current user, and if an affirmative response is received from the current user regarding the first target information, continue to operate the police system according to the logical relationship between the multiple sub-intents and other sub-intents besides the first sub-intent.

[0072] For example, if the target intent is "Help me write a weekly police report and send it to Captain Zhang," which includes two sub-intents: "Write a weekly police report" and "Send the written weekly police report to Captain Zhang," then the first sub-intent "Write a weekly police report" will be executed first. Then, the first target information "This week's police report is xxxx. Do you want to send this content to Captain Zhang?" If an affirmative response is received from the user, such as a voice feedback "yes," then the operation of sending the generated weekly police report to Captain Zhang will be executed.

[0073] In some implementations, confirming the first target information to the current user includes: if the current environment is an outdoor environment, broadcasting the first target information via voice; if the current environment is an indoor environment, broadcasting the first target information via voice and / or displaying it on the screen.

[0074] In this embodiment, to ensure efficient and accurate execution, upon identifying a target intent, the system first determines whether a pre-configured intent template matching the target intent exists. If not, it further determines whether a historical intent matching the target intent exists in the knowledge base. Furthermore, for each specific operation performed by the police system, a corresponding operation result is generated and confirmed with the current user. Only upon receiving a positive response does the system continue with subsequent operations, ensuring that the executed operations meet user expectations and thus improving the accuracy of intelligent execution. By using voice commands, the system optimizes the workflow of police work, enhances intelligence, improves police collaboration efficiency, and enhances the user experience.

[0075] Example 2

[0076] Based on the above embodiments, this embodiment adds the following steps after step S120: If a pre-configured intent template matching the target intent exists, second target information is generated based on the parameter information associated with the pre-configured intent template matching the target intent; the second target information is confirmed with the current user; if a positive response from the current user regarding the second target information is received, the police system is operated according to the operation path indicated by the pre-configured intent template matching the target intent. The pre-configured intent template indicates a clear intent, as well as the parameters and operation path required to achieve that intent. Therefore, compared to determining the parameters and operation path required to achieve the intent in real time, obtaining the parameters and operation path from the pre-configured intent template has higher efficiency and accuracy. Therefore, when the target intent of the current user is identified, it is prioritized to determine whether a pre-configured intent template matching the target intent exists.

[0077] like Figure 2 As shown, the intelligent policing operation method includes the following steps:

[0078] S210. In response to receiving a voice command from the current user for the police system, perform intent recognition on the voice command to obtain the target intent.

[0079] S220. Determine if a pre-configured intent template that matches the target intent exists.

[0080] S230. If a pre-configured intent template that matches the target intent exists, generate second target information based on the parameter information associated with the pre-configured intent template that matches the target intent.

[0081] For example, if the target intent is "Open my to-do page", the system identifies and determines that the target intent "Open my to-do page" is highly matched with the pre-configured intent template "Open in-app interface". The parameter information associated with the pre-configured intent template "Open in-app interface" is "Application name: Kexin Collaboration, Page name: My to-do". Then the system generates the second target information "Do you want to open the Kexin Collaboration's My to-do page?" The second target information generated based on the parameter information associated with the matched pre-configured intent template is more in line with the user's needs, and it can still provide the second target information that meets the user's needs even when the user's voice command is not perfect.

[0082] S240. Confirm the second target information with the current user; if a positive response from the current user is received regarding the second target information, operate the police system according to the operation path indicated by the pre-configured intent template that matches the target intent.

[0083] Confirming the second target information to the current user specifically involves either verbally announcing the second target information or displaying it on the screen.

[0084] The user's affirmative response to the second target information can be expressed through voice statements such as "yes," "correct," or "right," or it can be a confirmation command triggered by the display screen.

[0085] For example, if the target intent is "Open my to-do page", the system identifies and determines that the target intent "Open my to-do page" is highly matched with the pre-configured intent template "Open in-app interface". The parameter information associated with the pre-configured intent template "Open in-app interface" is "Application name: Kexin Collaboration, Page name: My to-do". Then the system generates a second target information "Do you want to open the Kexin Collaboration's My to-do page?". If the system receives an affirmative response from the user, it will operate the police system according to the operation path indicated by the pre-configured intent template "Open in-app interface".

[0086] Example 3

[0087] Based on the above embodiments, this embodiment adds the following steps after step S130: If a historical intent matching the target intent exists in the knowledge base matched with the current user, then third target information is generated according to the association information of the historical intent; the third target information is confirmed with the current user; if a positive response from the current user regarding the third target information is received, the police system is operated according to the operation path associated with the historical intent matching the target intent. The knowledge base matched with the current user refers to a library specifically maintained for the current user, which stores historical intents previously issued by the current user to the system, as well as link information and parameter information extracted from the execution process of the historical intents. Before determining the final link information and parameter information, it may involve user error correction to the system and system error correction to the user, as well as the representation of user habits. Therefore, directly obtaining the link information extracted from the execution process of the historical intents can avoid repeatedly executing the error correction process and repeatedly adapting to user habits, thereby improving efficiency and accuracy.

[0088] like Figure 3 As shown, the intelligent policing operation method includes the following steps:

[0089] S310, In response to receiving the current user's voice command for the police system, perform intent recognition on the voice command to obtain the target intent.

[0090] S320. Determine if a pre-configured intent template that matches the target intent exists.

[0091] S330. If there is no pre-configured intent template that matches the target intent, determine whether there is a historical intent that matches the target intent in the knowledge base that matches the current user.

[0092] S340. If there is a historical intent that matches the target intent in the knowledge base that matches the current user, then generate third target information according to the association information of the historical intent.

[0093] S350: Confirm the third target information with the current user.

[0094] S360. If an affirmative response is received from the current user regarding the third target information, the police system is operated according to the operation path associated with the historical intent that matches the target intent.

[0095] For example, if a user says, "Write me this week's police report and send it to Captain Zhang," the system identifies that this intent highly matches the user's historical intent "write a police report" in their knowledge base. Then, it generates third-party target information based on the associated information of the historical intent "write a police report." The associated information for the historical intent "write a police report" includes: sending the report to Captain Zhang. The system then replies: "Do you want to send the completed report to Captain Zhang?" If the user confirms, the system operates on the police system according to the operation path associated with the historical intent "write a police report." For example, the operation path associated with the historical intent "write a police report" is: 1. Extract "police data" from the "Science and Technology Collaboration" application and "police dispatch data" from the "Traffic Management Collaboration" application for this week and last week; 2. Use the above data to create "data plots"; 3. Use the above data to generate a "police report" and ask the user for confirmation.

[0096] To further ensure accuracy, the system will continue to reply: "This week's police report is as follows: xxx. Would you like to send it to Captain Zhang San?" Upon receiving an affirmative reply from the user, the system will then send it to Captain Zhang San. If the generated report does not meet the user's requirements, the user may request further corrections. The system will modify the report according to the user's correction instructions and confirm with the user again.

[0097] For example, if the user adds: "This time, let's add some network information data as well." the system's internal logic is: "Extract application data," re-draft the data, regenerate the weekly police report, and ask the user for confirmation. The system replies: "The weekly police report after adding network information data is as follows: xxx. Can you send it to Captain Zhang San now?" If the user replies: "Okay, continue sending it to Captain Zhang," the system will execute the operation of sending the weekly report to Captain Zhang San and reply: "Okay, the weekly police report has been sent to Captain Zhang San."

[0098] Each time a user adds a new intent, the corresponding historical intents and their associated information are sorted out and stored in the user's knowledge base to assist in responding to the user's voice commands in the future, thereby improving response efficiency and accuracy.

[0099] In general, after confirming the third target information to the current user, the process also includes: if a correction instruction for the third target information is received from the current user, then the police system is operated according to the correction instruction to obtain a second operation result, and a fourth target information is generated based on the second operation result and historical intent; and the fourth target information is confirmed to the current user.

[0100] If a positive response is received from the current user regarding the fourth objective information, new historical intent association information is generated based on the historical intent association information, error correction instructions, and the fourth objective information, and the new historical intent association information is saved to the knowledge base.

[0101] In some implementations, historical dialogue records stored in the user's memory bank can also be used to help the model extract contextual information. The data in the memory bank is time-sensitive and will be cleared after exceeding the storage limit or the time limit.

[0102] The user's personal knowledge base contains data covering their personal habits (e.g., the user's use of "Zhang Dui" actually refers to "Zhang San Captain"), template-free intents, and execution logic. This knowledge base is linked to the user's personal account. By referencing historical intents in the user's personal knowledge base, the efficiency and accuracy of intent recognition and execution can be improved. For example, if a user says, "Help me write a weekly police report and send it to Zhang Dui," the system's internal logic is as follows: the recognized text "Help me write a weekly police report and send it to Zhang Dui" can be broken down into two sub-intents: "Help me write a weekly police report" and "Send a message to Zhang Dui." "Help me write a weekly police report" cannot be matched with any configured intent templates. The "Send a message to Zhang Dui" intent highly matches the existing intent "Send a message to a contact person." The necessary information for this intent is "message content" and "contact person name." Based on the text information, the contact person name is inferred to be the frequently used contact "Zhang San Captain," and the message content is "a weekly police report." A weekly police report is generated, and the user is asked for confirmation.

[0103] The system replied: "The following police report xxx has been generated. Do you want to send this content to Captain Zhang San?" The user replied: "Don't make things up. Check the police data for this week in the Science and Technology Collaboration and the dispatch data for this week in the Traffic Management Collaboration. Write it based on these two."

[0104] The system's internal logic is as follows: Based on the text "Don't make things up, check this week's police data in the Science and Technology Collaboration and this week's dispatch data in the Traffic Management Collaboration, and write based on these two," the system recognizes the intent to "extract application data" twice, executes the function call to obtain the data, presumably uses the above data to generate the "Weekly Police Report," and asks the user for confirmation.

[0105] The system replied: The police data for this week in the Science and Technology Information Collaboration is as follows: xxx; the data for this week in the Traffic Management Collaboration is as follows: xxx; based on the above data, the weekly police report is as follows: xxx. Do you want to send this content to Captain Zhang San?

[0106] User: Could you adjust last week's data again, create a comparison chart, and refine the wording of the weekly report?

[0107] Internal system logic:

[0108] Based on the text "Please adjust last week's data again, create a comparison chart, and refine the wording of the weekly report." and the information above, the intent to "extract application data" and "data plotting" is identified. It is inferred that the "police report" will be generated using "refined" language, and the process will be executed, with confirmation requested from the user.

[0109] System reply: Below is a data comparison chart of last week and this week. Based on the above data, the following weekly police report has been generated: xxx. Do you want to send this content to Captain Zhang San?

[0110] User: Yes, send it.

[0111] System reply: Okay, the weekly police report has been sent to Captain Zhang San.

[0112] After completing the intent recognition and function call, the system will save all dialogue information and function call logic to the memory of the current dialogue. During subsequent model self-updates, the word record will be organized into the following three data categories:

[0113] Error correction command: Generate a "Weekly Police Report" using concise text.

[0114] Personal usage habits: Team Leader Zhang  Team Leader Zhang (Third Captain)

[0115] Personal Knowledge Base: Template-free Intent "Write a Police Report Weekly", 1. Extract "Police Data" from the "Science and Technology Collaboration" application and "Police Dispatch Data" from the "Traffic Management Collaboration" application for this week and last week; 2. Use the above data to perform "Data Plotting"; 3. Use the above data to generate the "Police Report Weekly".

[0116] When the same intent of the user is identified again, the above process will be followed, which can improve efficiency and accuracy.

[0117] Example 4

[0118] Based on the above embodiments, this embodiment provides an intelligent police operation device, such as... Figure 4 As shown, it includes:

[0119] The recognition module 410 is used to respond to the voice command received from the current user for the police system, to perform intent recognition on the voice command, and to obtain the target intent.

[0120] The first determining module 420 is used to determine whether there is a pre-configured intent template that matches the target intent.

[0121] The second determining module 430 is used to determine whether there is a historical intent matching the target intent in the knowledge base matching the current user if there is no pre-configured intent template matching the target intent.

[0122] The first operation module 440 is used to operate the police system according to the first sub-intention of the target intention if there is no historical intention matching the target intention in the knowledge base matched with the current user, and the target intention includes multiple sub-intentions, so as to obtain a first operation result.

[0123] The first generation module 450 is used to generate first target information based on the first operation result and the target intent.

[0124] The first confirmation module 460 is used to confirm the first target information with the current user.

[0125] And, the continued operation module 470 is used to continue operating the police system according to other sub-intents besides the first sub-intent if it receives an affirmative response from the current user for the first target information, according to the logical relationship between the plurality of sub-intents.

[0126] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. For example... Figure 5 As shown, the electronic device 200 includes one or more processors 201 and memory 202.

[0127] The processor 201 may be a central processing unit (CPU) or other form of processing unit with data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 200 to perform desired functions.

[0128] The memory 202 may include one or more computer program products, which 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, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 201 may execute the program instructions to implement the intelligent policing operation method of any embodiment of the present invention described above, and / or other desired functions. Various contents such as initial external parameters and thresholds may also be stored in the computer-readable storage medium.

[0129] In one example, the electronic device 200 may further include an input device 203 and an output device 204, these components being interconnected via a bus system and / or other forms of connection mechanisms (not shown). The input device 203 may include, for example, a keyboard, a mouse, etc. The output device 204 may output various information to the outside, including warning messages, braking force, etc. The output device 204 may include, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, etc.

[0130] Of course, for the sake of simplicity, Figure 5 Only some of the components of the electronic device 200 relevant to the present invention are shown, omitting components such as buses, input / output interfaces, etc. In addition, the electronic device 200 may include any other suitable components depending on the specific application.

[0131] In addition to the methods and devices described above, embodiments of the present invention may also be computer program products, which include computer program instructions that, when executed by a processor, cause the processor to perform the steps of the intelligent policing operation method provided in any embodiment of the present invention.

[0132] The computer program product can be written in any combination of one or more programming languages ​​to perform the operations of the embodiments of the present invention. The programming languages ​​include object-oriented programming languages ​​such as Java and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0133] Furthermore, embodiments of the present invention may also be computer-readable storage media storing computer program instructions thereon, which, when executed by a processor, cause the processor to perform the steps of the intelligent policing operation method provided in any embodiment of the present invention.

[0134] The computer-readable storage medium may be any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof.

[0135] It should be noted that the terminology used in this invention is for describing specific embodiments only and is not intended to limit the scope of this application. As shown in this specification, unless the context clearly indicates otherwise, words such as "a," "an," "an," and / or "the" do not specifically refer to the singular and may include the plural. The terms "comprising," "including," or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, or apparatus. Without further limitations, an element defined by the phrase "comprising an..." does not exclude the presence of other identical elements in the process, method, or apparatus that includes said element.

[0136] It should also be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention. Unless otherwise expressly specified and limited, the terms "installed," "connected," "linked," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components. For those skilled in the art, the specific meaning of the above terms in the present invention can be understood according to the specific circumstances.

[0137] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the technical solutions of the embodiments of the present invention.

Claims

1. A method for intelligent policing operations, characterized in that, include: In response to receiving a voice command from the current user for the police system, the system performs intent recognition on the voice command to obtain the target intent; Determine whether a pre-configured intent template matches the target intent; If no pre-configured intent template matches the target intent, then determine whether there is a historical intent matching the target intent in the knowledge base matching the current user; If there is no historical intent matching the target intent in the knowledge base matched with the current user, and the target intent includes multiple sub-intents, the police system is operated according to the first sub-intent in the target intent to obtain a first operation result; First target information is generated based on the result of the first operation and the target intent. The system confirms the first target information with the current user, and if an affirmative response is received from the current user regarding the first target information, it continues to operate the police system according to the logical relationship between the plurality of sub-intents and other sub-intents besides the first sub-intent.

2. The intelligent policing operation method according to claim 1, characterized in that, If a pre-configured intent template that matches the target intent exists, second target information is generated based on the parameter information associated with the pre-configured intent template that matches the target intent; Confirm the second target information with the current user; If an affirmative response is received from the current user regarding the second target information, the police system is operated according to the operation path indicated by the pre-configured intent template that matches the target intent.

3. The intelligent policing operation method according to claim 1, characterized in that, If a historical intent matching the target intent exists in the knowledge base that matches the current user, then third target information is generated according to the association information of the historical intent; Confirm the third target information with the current user; If an affirmative response is received from the current user regarding the third target information, the police system is operated according to the operation path associated with the historical intent that matches the target intent.

4. The intelligent policing operation method according to claim 3, characterized in that, After confirming the third target information with the current user, the method further includes: If the current user receives an error correction instruction for the third target information, the police system is operated according to the error correction instruction to obtain a second operation result, and a fourth target information is generated based on the second operation result and the historical intent. Confirm the fourth target information with the current user.

5. The intelligent policing operation method according to claim 4, characterized in that, Also includes: If a positive response from the current user is received regarding the fourth target information, new historical intent association information is generated based on the historical intent association information, the error correction instruction, and the fourth target information, and the new historical intent association information is saved to the knowledge base.

6. The intelligent policing operation method according to claim 1, characterized in that, The step of confirming the first target information to the current user includes: If the current environment is an outdoor environment, the first target information will be broadcast via voice. If the current environment is indoors, the first target information is broadcast via voice and / or displayed on the screen.

7. The intelligent policing operation method according to claim 1, characterized in that, The step of determining whether a historical intent matching the target intent exists in the knowledge base that matches the current user includes: Determine the knowledge base that matches the current user based on the current user's identification information; The similarity between each historical intent in the knowledge base that matches the current user and the target intent is calculated respectively. Based on the calculated similarity, it is determined whether there is a historical intent that matches the target intent.

8. An intelligent police operation device, characterized in that, include: The recognition module is used to respond to the voice command received from the current user for the police system, perform intent recognition on the voice command, and obtain the target intent; The first determining module is used to determine whether there is a pre-configured intent template that matches the target intent; The second determining module is used to determine whether there is a historical intent matching the target intent in the knowledge base matching the current user if there is no pre-configured intent template matching the target intent. The first operation module is used to operate the police system according to the first sub-intention of the target intention if there is no historical intention matching the target intention in the knowledge base matched with the current user, and the target intention includes multiple sub-intentions, and to obtain a first operation result. A first generation module is configured to generate first target information based on the first operation result and the target intent; The first confirmation module is used to confirm the first target information with the current user; And a continuation operation module, used to continue operating the police system according to other sub-intents besides the first sub-intent if an affirmative response from the current user is received regarding the first target information, based on the logical relationship between the plurality of sub-intents.

9. An electronic device, characterized in that, The electronic device includes: Processor and memory; The processor executes the steps of the intelligent policing operation method as described in any one of claims 1 to 7 by calling the program or instructions stored in the memory.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a program or instructions that cause a computer to perform the steps of the intelligent policing operation method as described in any one of claims 1 to 7.