Interactive safety management method, device, computer equipment and readable storage medium
Through voiceprint recognition and environmental status judgment, the problem of inefficiency caused by the complexity of identity verification in the human-computer voice interaction system is solved, the senseless confirmation and secure communication of identity authentication are achieved, and the user experience and information interaction efficiency are improved.
Patent Information
- Application Number
- CN202111265960.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-28
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-10-28
AI Technical Summary
When existing human-computer voice interaction systems provide confidential information services or transaction services, they need to invoke complex identity verification systems, resulting in cumbersome operations and inefficient information interaction, affecting user experience.
Use the voiceprint recognition model to determine whether the voice information sent by the client is sent by the client owner, and combine it with offline voice information to determine the environmental status. If it is a real person interaction and is not coercive, cancel the interception. If not, generate an alarm message to ensure identity authentication. safety and efficiency.
It achieves senseless confirmation of identity authentication, improves information interaction efficiency and user experience, avoids the use of complex systems such as face recognition and password input, and ensures the security of communication and transactions.
Smart Images

Figure CN114006747B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence biometric identification technology, and in particular to an interactive security management method, device, computer equipment and readable storage medium. Background Art
[0002] The human-computer voice interaction system is a technical science that studies the communication and exchange between people and computers through mutual understanding, and completes information management, service and processing functions for people to the greatest extent, making computers truly a harmonious assistant for people's work and study. Currently, the human-computer voice interaction system is commonly used to provide information services and transaction services to reduce labor cost investment.
[0003] However, the inventors realized that when the human-computer voice interaction system provides confidential information services or transaction services to the client, it needs to confirm whether the current client operator is the client owner. Therefore, it is usually necessary to call complex systems such as face recognition systems and / or password input and verification systems to verify the operator's identity, resulting in the operator having to operate a large number of processes to achieve identity authentication. This is not only cumbersome to operate, but also leads to low efficiency in information interaction, affecting user experience. Summary of the invention
[0004] The purpose of the present invention is to provide an interactive security management method, device, computer equipment and readable storage medium, which are used to solve the problem in the prior art that it is necessary to call complex systems such as face recognition systems and / or password input and verification systems to verify the identity of the operator, resulting in the operator having to operate a large number of processes to achieve identity authentication. This is not only cumbersome to operate, but also leads to low efficiency in information interaction, affecting the user experience.
[0005] To achieve the above object, the present invention provides an interactive safety management method, which is connected to a human-computer voice interaction system, comprising:
[0006] Get the online voice information sent by the client;
[0007] intercepting the online voice information, and determining whether the sender of the online voice information is the owner of the client through a preset voiceprint recognition model; if so, canceling the interception of the online voice information;
[0008] Sending the online voice information to a human-computer voice interaction system, and receiving feedback voice generated by the human-computer voice interaction system according to the online voice information;
[0009] The feedback voice is sent to the client.
[0010] In the above solution, after obtaining the online voice information sent by the client, the method further includes:
[0011] Call the offline listening thread to obtain the owner's offline voice information through the client;
[0012] The online voice information is intercepted, and the environmental status of the client is determined according to the offline voice information; if the environmental status is coercion, the online voice information is deleted and an alarm message is generated; if the environmental status is non-coercion, the interception of the online voice information is cancelled.
[0013] In the above solution, after obtaining the online voice information sent by the client, the method further includes:
[0014] The online voice information is intercepted, and the speaking scene of the online voice information is identified through a preset machine learning model; if the speaking scene is real-person interaction, the interception of the online voice information is cancelled; if the speaking scene is non-real-person interaction, the online voice information is deleted and an alarm message is generated.
[0015] In the above solution, judging whether the sender of the online voice information is the owner of the client by using a preset voiceprint recognition model includes:
[0016] Acquire a voiceprint library corresponding to the client, and extract a standard voiceprint model pre-registered by the client in the voiceprint library; wherein the standard voiceprint model is generated according to the registration voice information sent by the client during registration;
[0017] Identifying the online similarity between the standard voiceprint model and the online voice information by the voiceprint recognition model;
[0018] It is determined whether the online similarity exceeds a preset online threshold. If so, it is determined that the sender of the online voice information is the owner of the client; if not, it is determined that the sender of the online voice information is not the owner of the client.
[0019] In the above solution, judging the environment state of the client according to the offline voice information includes:
[0020] Performing voice recognition on the offline voice information through a preset voice recognition component to obtain offline text information;
[0021] Identify whether the offline text information has a preset duress field; if so, determine that the environmental state of the client is duress; if not, determine that the environmental state of the client is non-duress.
[0022] In the above solution, before sending the feedback voice to the client, the method further includes:
[0023] Determining whether the feedback voice contains an authorization instruction;
[0024] If the feedback voice does not contain the authorization instruction, sending the feedback voice to the client;
[0025] If the feedback voice contains the authorization instruction, the feedback voice is intercepted according to the authorization instruction, and a password dialog box is sent to the client; the password voice information sent by the client through the password dialog box is received, and it is determined whether the password voice information is consistent with the preset fixed password information; if so, the feedback voice is sent to the client; if not, the feedback information is deleted and the process ends.
[0026] In the above scheme, if the environmental state is coercion, after deleting the online voice information and generating an alarm message, the method further includes:
[0027] Constructing a pseudo feedback result according to the alarm information generated by the environmental state as coercion, and sending the pseudo feedback result to the client;
[0028] The pseudo feedback result is uploaded to the blockchain.
[0029] To achieve the above object, the present invention also provides an interactive safety management device, which is connected to the human-computer voice interaction system and includes:
[0030] Online voice module, used to obtain online voice information sent by the client;
[0031] An identity judgment module, used to intercept the online voice information and judge whether the sender of the online voice information is the owner of the client through a preset voiceprint recognition model; if so, cancel the interception of the online voice information;
[0032] An information interaction module, used to send the online voice information to the human-computer voice interaction system, and receive feedback voice generated by the human-computer voice interaction system according to the online voice information;
[0033] The voice feedback module is used to send the feedback voice to the client.
[0034] To achieve the above objectives, the present invention also provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor of the computer device implements the steps of the above interactive security management method when executing the computer program.
[0035] To achieve the above objectives, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program stored in the readable storage medium is executed by a processor, the steps of the above interactive security management method are implemented.
[0036] The interactive security management method, device, computer equipment and readable storage medium provided by the present invention determine whether the sender of online voice information is the owner of the client by means of a voiceprint recognition model, and confirm whether the online voice information is consistent with the voice pre-registered by the client in the voiceprint library according to the voiceprint characteristics of the online voice information, and then confirm that the online voice information is sent by the client owner; if so, it is determined that the sender of the online voice information is the owner of the client; if not, it is determined that the sender of the online voice information is not the owner of the client; and an alarm message is sent to the emergency contact of the client owner, or to a security application pre-registered by the client owner (for example: a security mailbox, WeChat, etc.) to ensure the security of subsequent communication / transactions.
[0037] By confirming that the operator is the client owner, secure communication and transactions can be achieved between the client and the human-computer voice interaction system. Because the identity of the client owner, the speaking scene, and the environmental status are confirmed, it can be achieved without the client performing any operation. This avoids the current human-computer voice interaction system needing to call a large number of complex systems such as face recognition systems, password input and verification systems to verify the operator's identity, which causes the operator to operate a large number of processes to achieve identity authentication. This achieves the technical effect of seamless identity authentication and improves information interaction efficiency and user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 This is a flow chart of Embodiment 1 of the interactive safety management method of the present invention;
[0039] Figure 2 A schematic diagram of an environment application of the interactive safety management method in Embodiment 2 of the interactive safety management method of the present invention;
[0040] Figure 3 is a specific method flow chart of the interactive safety management method in Embodiment 2 of the interactive safety management method of the present invention;
[0041] Figure 4 A schematic diagram of program modules of a third embodiment of an interactive security management device of the present invention;
[0042] Figure 5 Schematic diagram of the hardware structure of the computer device in the fourth embodiment of the computer device of the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0044] The interactive security management method, device, computer equipment and readable storage medium provided by the present invention are applicable to the technical field of artificial intelligence, and provide an interactive security management method based on an online voice module, an identity judgment module, an information interaction module and a voice feedback module. The present invention obtains the online voice information sent by the client; intercepts the online voice information, and determines whether the sender of the online voice information is the owner of the client through a preset voiceprint recognition model; if so, cancels the interception of the online voice information; if not, deletes the online voice information and generates an alarm message; sends the online voice information to the human-computer voice interaction system, and receives the feedback voice generated by the human-computer voice interaction system according to the online voice information; and sends the feedback voice to the client.
[0045] Embodiment 1:
[0046] See also Figure 1 , an interactive safety management method of this embodiment, connected with a human-computer voice interaction system, includes:
[0047] S100: Acquire online voice information sent by the client;
[0048] S102: intercepting the online voice information, and determining whether the sender of the online voice information is the owner of the client through a preset voiceprint recognition model; if yes, canceling the interception of the online voice information; if no, deleting the online voice information and generating an alarm message;
[0049] S105: sending the online voice information to a human-computer voice interaction system, and receiving a feedback voice generated by the human-computer voice interaction system according to the online voice information;
[0050] S107: Send the feedback voice to the client.
[0051] In an exemplary embodiment, an interactive dialog box capable of recording the online voice information is sent to the client, and the client is obtained from the interactive dialog box to record the online voice information in the form of voice. The interactive dialog box is an interactive interface for recording the voice information input by the client owner, and for sending and playing feedback voice to the client, wherein the interactive interface can be an app interactive interface, an h5 interactive interface, or a web interactive page.
[0052] Through the preset voiceprint recognition model, it is determined whether the sender of the online voice information is the owner of the client; if so, the interception of the online voice information is cancelled; if not, the online voice information is deleted and an alarm message is generated. According to the voiceprint characteristics of the online voice information, it is confirmed whether the online voice information is consistent with the voice pre-registered by the client in the voiceprint library, and then it is confirmed that the online voice information is sent by the client owner; if so, the sender of the online voice information is determined to be the owner of the client; if not, the sender of the online voice information is determined not to be the owner of the client; and the alarm message is sent to the emergency contact of the client owner, or the security application pre-registered by the client owner (for example: security mailbox, WeChat, etc.) to ensure the security of subsequent communication / transactions.
[0053] By confirming that the operator is the client owner, secure communication and transactions can be achieved between the client and the human-computer voice interaction system. Because the identity of the client owner, the speaking scene, and the environmental status are confirmed, it can be achieved without the client performing any operation, avoiding the current human-computer voice interaction system that needs to call a large number of complex systems such as face recognition systems, password input and verification systems to verify the operator's identity, resulting in the operator needing to operate a large number of processes to achieve identity authentication. The technical effect of seamless identity authentication is achieved, and the efficiency of information interaction and user experience are improved.
[0054] In the said Figure 1 In the example, the S102 is shown by the following annotations:
[0055] S102-1: intercepting the online voice message;
[0056] S102-2: Determine whether the sender of the online voice information is the owner of the client through a preset voiceprint recognition model;
[0057] S102-3: If yes, cancel the interception of the online voice message;
[0058] S102-4: If not, the online voice message is deleted and an alarm message is generated.
[0059] Embodiment 2:
[0060] This embodiment is a specific application scenario of the above-mentioned embodiment 1. Through this embodiment, the method provided by the present invention can be explained more clearly and specifically.
[0061] Below, the method provided by this embodiment is specifically described by taking the example of performing voiceprint recognition on whether the sender of online voice information is the owner of the client in a server running the interactive security management method. It should be noted that this embodiment is only exemplary and does not limit the scope of protection of the embodiment of the present invention.
[0062] Figure 2 The following is a schematic diagram showing an environment application of the interactive security management method according to the second embodiment of the present application.
[0063] In an exemplary embodiment, the server 2 where the interactive safety management method is located is connected to the human-computer voice interaction system 3 and the client 4 through a network; the server 2 can provide services through one or more networks, and the network 3 can include various network devices, such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices and / or the like. The network can include physical links, such as coaxial cable links, twisted pair cable links, optical fiber links, combinations thereof and / or the like. The network can include wireless links, such as cellular links, satellite links, Wi-Fi links and / or the like; the client 4 can be a computer device such as a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.
[0064] Figure 3 It is a specific method flow chart of an interactive security management method provided by an embodiment of the present invention, and the method specifically includes steps S200 to S209.
[0065] S200: Acquire online voice information sent by the client.
[0066] In this step, an interactive dialog box capable of recording the online voice information is sent to the client, and the online voice information recorded by the client in the form of voice is obtained from the interactive dialog box.
[0067] In this embodiment, the interactive dialog box is an interactive interface for recording voice information input by the client owner, and for sending and playing feedback voice to the client, wherein the interactive interface can be an app interactive interface, an h5 interactive interface, or a web interactive page.
[0068] In a preferred embodiment, the step of obtaining the online voice information sent by the client includes:
[0069] S01: receiving an interaction request sent by a client, and sending an interaction dialog box to the client according to the interaction request;
[0070] S02: Acquire online voice information entered by the client in the interactive dialog box.
[0071] Specifically, when the client needs to conduct voice communication to handle specific business, an interaction request sent by the client is received, wherein the interaction request records the target business that the client needs to handle; an interaction dialog box is sent to the client according to the interaction request, and the target business is associated with the interaction dialog box, so that the client can communicate with the server through the online voice information around the target business, thereby improving the efficiency of online communication.
[0072] S201: calling an offline listening thread to obtain the owner's offline voice information through the client;
[0073] In order to identify the current environment of the client's owner, so as to subsequently identify whether the owner's current environment is safe, this step obtains the owner's offline speech content by monitoring the offline voice information received by the client, so as to subsequently determine the environment by analyzing the offline voice information.
[0074] In a preferred embodiment, the monitoring of offline voice information collected by the client includes:
[0075] S11: receiving monitoring permission information sent by the client through the interactive dialog box.
[0076] S12: starting the monitoring thread according to the monitoring start instruction to monitor the offline voice information collected by the client.
[0077] Specifically, by receiving the monitoring permission information sent by the client through the interactive dialog box, it is ensured that the authorization of the client owner is accepted, and the offline voice information is monitored to avoid infringing the personal privacy of the owner due to monitoring his private information.
[0078] The monitoring thread is started according to the monitoring start instruction to achieve the technical effect of collecting the offline voice information. In this embodiment, a computer instruction is used to turn on the "microphone" function of the client, and a stack of offline voice information collected by the client microphone is collected and saved as the monitoring thread.
[0079] Further, in order to prevent the listening thread from occupying the microphone of the client for too long, starting the listening thread according to the listening start instruction includes:
[0080] Set the startup duration for the listening thread, for example: 10s;
[0081] Start the monitoring thread according to the monitoring start instruction;
[0082] When it is detected that the start time of the listening thread reaches the start time, the listening thread is closed to prevent the microphone of the client from being occupied for a long time, resulting in poor operation of the client.
[0083] S202: intercepting the online voice information, and determining whether the sender of the online voice information is the owner of the client through a preset voiceprint recognition model; if so, canceling the interception of the online voice information; if not, deleting the online voice information and generating an alarm message.
[0084] In order to confirm that the online voice message is sent by the client owner, thereby ensuring the security of subsequent communication; this step determines whether the sender of the online voice message is the owner of the client through a preset voiceprint recognition model; if so, the interception of the online voice message is cancelled; if not, the online voice message is deleted and an alarm message is generated, and the online voice message is confirmed according to the voiceprint features of the online voice message whether it is consistent with the voice pre-registered by the client in the voiceprint library; if so, the sender of the online voice message is determined to be the owner of the client; if not, the sender of the online voice message is determined not to be the owner of the client; and the alarm message is sent to the emergency contact of the client owner, or the security application pre-registered by the client owner (for example: security mailbox, WeChat, etc.) to ensure the security of subsequent communication / transactions.
[0085] In a preferred embodiment, the determining whether the sender of the online voice information is the owner of the client by using a preset voiceprint recognition model includes:
[0086] S21: Acquire a voiceprint library corresponding to the client, and extract a standard voiceprint model pre-registered by the client in the voiceprint library; wherein the standard voiceprint model is generated according to the registration voice information sent by the client during registration;
[0087] S22: Identifying the online similarity between the standard voiceprint model and the online voice information by using the voiceprint recognition model;
[0088] S23: Determine whether the online similarity exceeds a preset online threshold; if so, determine that the sender of the online voice information is the owner of the client; if not, determine that the sender of the online voice information is not the owner of the client.
[0089] Specifically, a voiceprint graph is used as the standard voiceprint model and the online voice information, a registration request sent by a client is received, and a voiceprint library associated with the client is created according to the registration request, wherein the voiceprint library is a database for storing the standard voiceprint model; standard voice information sent by the client is received, a standard voiceprint model of the client is constructed according to the standard voice information, and the standard voiceprint model is saved in the voiceprint library; wherein the owner can form standard voice information by reading specified text (including: words and / or numbers).
[0090] The voiceprint recognition model is a mixed Gaussian-universal background model, which is used to identify the similarity between the standard voiceprint model and the online voice information, wherein the mixed Gaussian-universal background model (Gaussian Mixture Model-Universal Background Model, GMM-UBM) projects the acoustic features into a high-dimensional space to obtain a high-dimensional mean supervector. UBM is trained using large-scale speaker corpora, so it can describe the common characteristics of speakers. Then, using UBM as the initial model, the target speaker data is used for adaptive training based on the maximum a posteriori probability (Maximum APosterior, MAP) to obtain the mixed Gaussian model (GMM) of the target speaker, that is, the standard voiceprint model. Among them, the common characteristics include: resonance mode characteristics, voice purity characteristics, average pitch characteristics and range characteristics.
[0091] The mixed Gaussian-universal background model is also used to score the online voice information by calculating the likelihood value to evaluate the similarity between the voiceprint features of the online voice information and the common features; if the score exceeds a preset similarity threshold, it is determined that the sender of the online voice information is the owner of the client; if the score does not exceed the preset similarity threshold, it is determined that the sender of the online voice information is not the owner of the client.
[0092] In the said Figure 3 In the example, the S202 is shown by the following annotations:
[0093] S202-1: intercepting the online voice message;
[0094] S202-2: Determine whether the sender of the online voice information is the owner of the client through a preset voiceprint recognition model;
[0095] S202-3: If yes, cancel the interception of the online voice message;
[0096] S202-4: If not, delete the online voice message and generate an alarm message.
[0097] S203: intercept the online voice information, and identify the speaking scene of the online voice information through a preset machine learning model; if the speaking scene is real-person interaction, cancel the interception of the online voice information; if the speaking scene is non-real-person interaction, delete the online voice information and generate an alarm message.
[0098] To identify the scene of the online voice information, in order to avoid the problem of reduced security of subsequent communication / transactions due to the online voice information being sent in the form of recordings, telephone calls, etc. This step uses a machine learning model to identify the speaking scene of the online voice information; if the speaking scene is a real-person interaction, the interception of the online voice information is cancelled; if the speaking scene is a non-real-person interaction, the online voice information is deleted and an alarm message is generated to avoid the use of recordings to replace real-person voices, or to remotely deceive the client owner through communication equipment to deceive the human-computer voice interaction system; and the alarm message is sent to the client owner's emergency contact, or to the client owner's pre-registered security application (for example: security mailbox, WeChat, etc.) to ensure the security of subsequent communication / transactions.
[0099] Specifically, a deep neural network is used as the machine learning model, which is used to identify whether the online voice information is sent based on a preset speaking scenario (for example, a recording, an online call, etc.); wherein the deep neural network (DNN) is a computer model used to identify the scenario in which the online voice information is located, and is trained by a back propagation algorithm. In this embodiment, the training method of the machine learning model includes:
[0100] S31: Acquire the registered voice information, and set the scene label of the registered voice information to real person interaction;
[0101] S32: performing scene processing on the registered voice information to obtain scene voice information, and setting the scene label of the scene voice information to non-human interaction;
[0102] In this step, the scene processing includes: recording scene processing: recording the registered voice information into a recording device, and playing the scene voice information obtained by the recording device with a scene label of non-human interaction;
[0103] Terminal scene processing: the registered voice information is played through the communication device to obtain scene voice information with a scene label of non-human interaction.
[0104] S33: Using the registered voice information with the scene label and the scene voice information as training samples, the deep neural network is trained by a back propagation algorithm to obtain the machine learning model that can identify the scene in which the online voice information is located.
[0105] In this step, the back propagation algorithm, referred to as BP algorithm, is a learning algorithm based on the gradient descent method and suitable for multi-layer neural networks. In this embodiment, the registered voice information and the scene voice information are used as the input of the deep neural network, and the scene labels, i.e., real-person interaction and non-real-person interaction, are used as the output of the deep neural network. The deep neural network is trained to finally obtain a machine learning model that can accurately judge the speaking scene of the voice information based on the input voice information.
[0106] In the said Figure 3 In the example, S203 is shown by the following annotations:
[0107] S203-1: intercepting the online voice message;
[0108] S203-2: Identify the speaking scene of the online voice information through a preset machine learning model;
[0109] S203-3: If the speaking scene is a real person interaction, cancel the interception of the online voice information;
[0110] S203-4: If the speaking scene is not a real person interaction, the online voice information is deleted and an alarm message is generated.
[0111] S204: intercepting the online voice information, and determining the environmental status of the client according to the offline voice information; if the environmental status is coercion, deleting the online voice information and generating an alarm message; if the environmental status is non-coercion, canceling the interception of the online voice information.
[0112] In order to identify the situation where the client owner is in a state of duress, resulting in the leakage of secrets or coerced transactions during the communication with the human-computer voice interaction system, this step determines whether the user is coerced based on the offline voice information, and judges the current environment of the client owner to quickly respond to the current environment of the owner; if the current owner of the client is in a state of duress, an alarm message is generated to ensure the safety of the client owner and the life and property of the owner.
[0113] In a preferred embodiment, judging the environment state of the client according to the offline voice information includes:
[0114] S41: performing voice recognition on the offline voice information through a preset voice recognition component to obtain offline text information;
[0115] In this step, AI-voice software is used as the voice recognition component; wherein, AI-voice software can realize the function of online voice-to-text conversion, and directly speaking can be converted into text; secondly, AI-voice software can realize the function of translation, and can automatically translate the received offline voice information into multiple voices, thereby expanding the scope of application.
[0116] S42: Identify whether the offline text information has a preset duress field; if so, determine that the environmental state of the client is duress; if not, determine that the environmental state of the client is non-duress.
[0117] In this step, the duress field is a text password pre-saved by the owner of the client, for example: 121, sorry, I'm nervous, etc. Once the owner of the client says the above password, it indicates that the owner is currently in a duress state; a duress regular expression is constructed based on the duress field, and the text consistent with the duress field in the offline text information is identified through the duress regular expression. If text consistent with the duress field is identified, it indicates that the client owner is currently in a duress state.
[0118] In the said Figure 3 In the example, the S204 is shown by the following annotations:
[0119] S204-1: intercepting the online voice message;
[0120] S204-2: Determine the environment status of the client according to the offline voice information;
[0121] S204-3: If the environmental status is coercion, deleting the online voice information and generating an alarm message;
[0122] S204-4: If the environmental status is non-coercive, cancel the interception of the online voice information.
[0123] S205: Sending the online voice information to the human-computer voice interaction system, and receiving feedback voice generated by the human-computer voice interaction system according to the online voice information.
[0124] In this step, if the operator is the client owner and the owner is not in a state of duress, the online voice message sent by the real owner is sent to the human-computer voice interaction system, and the corresponding feedback voice is obtained to achieve safe communication and transactions between the client and the human-computer voice interaction system. In addition, since the identity, speaking scene, and environmental status of the client owner can be confirmed without any operation by the client, the technical effect of non-sensing confirmation of identity, scene, and environment is achieved, which improves the efficiency of information interaction and user experience.
[0125] S206: Determine whether the feedback voice contains an authorization instruction.
[0126] In this step, the feedback voice exists in the form of a message, and the authorization instruction is issued by the human-computer voice interaction system in a scenario where a transaction needs to be conducted between the human-computer voice interaction system and the client, or a scenario where commercial secrets need to be communicated; the authorization instruction is stored in the message in the form of a message header.
[0127] S207: If the feedback voice does not contain the authorization instruction, send the feedback voice to the client.
[0128] S208: If the feedback voice contains the authorization instruction, intercept the feedback voice according to the authorization instruction and send a password dialog box to the client; receive the password voice information sent by the client through the password dialog box, and determine whether the password voice information is consistent with the preset fixed password information; if so, send the feedback voice to the client; if not, delete the feedback information and end.
[0129] To further ensure that the operator of the client is its owner, this step intercepts the feedback voice according to the authorization instruction sent by the human-computer voice interaction system, and sends a password dialog box to the client; receives the password voice information sent by the client through the password dialog box, and determines whether the password voice information is consistent with the preset fixed password information, and confirms again that the current online voice information sender of the client is its owner, further ensuring the security of communication and transactions between the client and the human-computer voice interaction system. Among them, the fixed password information is the password text information or password voice information pre-recorded or input by the client.
[0130] In a preferred embodiment, the fixed password information includes password text information and / or password voice information;
[0131] The determining whether the password voice information is consistent with the preset fixed password information includes:
[0132] S81: Convert the password voice information into password text information through a preset voice recognition component, and determine whether the password text information is consistent with the password text information; if so, determine that the password voice information is consistent with the fixed password information; if not, determine that the password voice information is inconsistent with the fixed password information.
[0133] In this step, AI-voice software is used as the voice recognition component; wherein, AI-voice software can realize the function of online voice-to-text conversion, and directly speaking can be converted into text; secondly, AI-voice software can realize the function of translation, and can automatically translate the received offline voice information into multiple voices, thereby expanding the scope of application.
[0134] S82: Determine whether the password voice information is consistent with the password voice information through the voiceprint recognition model; if so, determine that the password voice information is consistent with the fixed password information; if not, determine that the password voice information is inconsistent with the fixed password information.
[0135] In this step, the voiceprint recognition model is a mixed Gaussian-universal background model, which is used to identify the similarity between the password voiceprint model constructed by the password voice information and the password voice information, wherein the mixed Gaussian-universal background model (Gaussian Mixture Model-Universal Background Model, GMM-UBM) projects the acoustic features into a high-dimensional space to obtain a high-dimensional mean supervector. UBM is trained using large-scale speaker corpora, so it can describe the common characteristics of speakers. Then, using UBM as the initial model, the target speaker data is used for adaptive training based on the maximum a posteriori probability (Maximum A Posterior, MAP) to obtain the mixed Gaussian model (GMM) of the target speaker, that is, the password voiceprint model. Wherein, the common characteristics include: resonance mode characteristics, voice purity characteristics, average pitch characteristics and range characteristics.
[0136] The mixed Gaussian-universal background model is also used to score the password voice information by calculating the likelihood value to evaluate the similarity between the voiceprint features of the password voice information and the common features; if the score exceeds a preset similarity threshold, it is determined that the sender of the password voice information is the owner of the client; if the score does not exceed the preset similarity threshold, it is determined that the sender of the password voice information is not the owner of the client.
[0137] In the said Figure 3 In the example, the S208 is shown by the following annotations:
[0138] S208-1: intercepting the feedback voice according to the authorization instruction, and sending a password dialog box to the client;
[0139] S208-2: receiving the password voice information sent by the client through the password dialog box, and determining whether the password voice information is consistent with the preset fixed password information;
[0140] S208-3: If yes, sending the feedback voice to the client;
[0141] S208-4: If not, delete the feedback information and end.
[0142] S209: constructing a pseudo feedback result according to the alarm information generated by the environmental state as stress, and sending the pseudo feedback result to the client.
[0143] In order to prevent the client operator in a coercive environment from being unable to conduct transactions smoothly, which may cause harm to the coerced person, this step constructs a pseudo feedback result based on the alarm information generated for coercion according to the environmental state and sends it to the client, so as to prevent the coercer from inflicting harm on the owner because he finds that the owner has not operated according to his requirements.
[0144] In a preferred embodiment, the step of constructing a pseudo feedback result based on the alarm information generated by the environmental state as a stress, and sending the pseudo feedback result to the client includes:
[0145] S91: converting the online voice information into online text information through a preset voice recognition component;
[0146] In this step, AI-voice software is used as the voice recognition component; wherein, AI-voice software can realize the function of online voice-to-text conversion, and directly speaking can be converted into text; secondly, AI-voice software can realize the function of translation, and can automatically translate the received offline voice information into multiple voices, thereby expanding the scope of application.
[0147] S92: Generate a pseudo feedback result according to the keywords in the online text information by using a preset pseudo feedback strategy; wherein the keywords reflect the business operations that the client needs to perform;
[0148] In this step, the pseudo feedback strategy includes a key table recording the keywords and a feedback strategy associated with the keywords, and obtains the keywords in the online text information through a preset key regular expression, such as: purchasing products, providing information, providing account passwords, etc.
[0149] Exemplarily, the pseudo feedback strategy may include:
[0150] If the keyword is a product purchase, the corresponding feedback strategy may be that the product is sold out or the transaction is completed;
[0151] If the keyword is to provide information, the corresponding feedback strategy may be: no such information is found, or the connection is currently unavailable;
[0152] If the keyword is to provide an account password, the corresponding feedback strategy may be: the account has been cancelled, or the connection is currently unavailable, etc.;
[0153] Therefore, a pseudo-feedback strategy is constructed to avoid the situation where the coercer finds out that the owner has generated an alarm message and issues an alarm, which may cause the coercer to harm the owner.
[0154] S93: Send the false feedback result to the client and generate alarm information.
[0155] In this step, the alarm information is sent to the alarm command center, and the alarm information is sent to the emergency contact of the client owner, or the security application pre-registered by the client owner (for example: security mailbox, WeChat, etc.).
[0156] In a preferred embodiment, after sending the pseudo feedback result to the client, the method further includes:
[0157] The pseudo feedback result is uploaded to the blockchain.
[0158] It should be noted that the corresponding summary information is obtained based on the pseudo feedback result. Specifically, the summary information is obtained by hashing the pseudo feedback result, such as using the sha256s algorithm. Uploading the summary information to the blockchain can ensure its security and fairness and transparency to users. The user device can download the summary information from the blockchain to verify whether the pseudo feedback result has been tampered with. The blockchain referred to in this example is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. The blockchain can include the blockchain underlying platform, the platform product service layer, and the application service layer.
[0159] Embodiment three:
[0160] See also Figure 4 , an interactive safety management device 1 of this embodiment, connected to a human-machine voice interaction system 3, comprises:
[0161] The online voice module 10 is used to obtain the online voice information sent by the client;
[0162] The identity judgment module 12 is used to intercept the online voice information and judge whether the sender of the online voice information is the owner of the client through a preset voiceprint recognition model; if yes, cancel the interception of the online voice information; if no, delete the online voice information and generate an alarm message;
[0163] The information interaction module 15 is used to send the online voice information to the human-computer voice interaction system, and receive the feedback voice generated by the human-computer voice interaction system according to the online voice information;
[0164] The voice feedback module 17 is used to send the feedback voice to the client.
[0165] Optionally, the online voice module 10 further includes:
[0166] The dialogue scene unit 101 is used to receive an interaction request sent by a client, and send an interaction dialog box to the client according to the interaction request;
[0167] The voice receiving unit 102 is used to obtain the online voice information entered by the client in the interactive dialog box.
[0168] Optionally, the interactive safety management device 1 further includes:
[0169] The offline voice module 11 is used to call the offline monitoring thread to obtain the owner's offline voice information through the client;
[0170] Optionally, the offline voice module 11 further includes:
[0171] The permission confirmation module 111 is used to receive the monitoring permission information sent by the client through the interactive dialog box.
[0172] The voice monitoring unit 112 is used to start the monitoring thread according to the monitoring start instruction to monitor the offline voice information collected by the client.
[0173] Optionally, the identity determination module 12 further includes:
[0174] The model recognition unit 121 is used to obtain a voiceprint library corresponding to the client, and extract a standard voiceprint model pre-registered by the client in the voiceprint library; wherein the standard voiceprint model is generated according to the registration voice information sent by the client during registration;
[0175] An online similarity unit 122, configured to identify the online similarity between the standard voiceprint model and the online voice information through the voiceprint recognition model;
[0176] The online judgment unit 123 is used to judge whether the online similarity exceeds a preset online threshold. If so, it is determined that the sender of the online voice information is the owner of the client; if not, it is determined that the sender of the online voice information is not the owner of the client.
[0177] Optionally, the interactive safety management device 1 further includes:
[0178] The real person recognition module 13 is used to intercept the online voice information and identify the speaking scene of the online voice information through a preset machine learning model; if the speaking scene is a real person interaction, the interception of the online voice information is cancelled; if the speaking scene is a non-real person interaction, the online voice information is deleted and an alarm message is generated.
[0179] Optionally, the real person recognition module 13 further includes:
[0180] A registration marking unit 131 is used to obtain the registration voice information and set the scene label of the registration voice information to real person interaction;
[0181] A non-human creation unit 132, configured to perform scene processing on the registered voice information to obtain scene voice information, and set a scene label of the scene voice information as non-human interaction;
[0182] The model training unit 133 is used to use the registered voice information with the scene label and the scene voice information as training samples, train the deep neural network through the back propagation algorithm, and obtain the machine learning model that can recognize the scene in which the online voice information is located.
[0183] Optionally, the interactive safety management device 1 further includes:
[0184] The duress judgment module 14 is used to intercept the online voice information and judge the environmental status of the client according to the offline voice information; if the environmental status is duress, the online voice information is deleted and an alarm message is generated; if the environmental status is non-duress, the interception of the online voice information is cancelled.
[0185] Optionally, the duress determination module 14 further includes:
[0186] The text conversion unit 141 is used to perform speech recognition on the offline voice information through a preset speech recognition component to obtain offline text information;
[0187] The duress judgment unit 142 is used to identify whether the offline text information has a preset duress field; if so, determine that the environment state of the client is duress; if not, determine that the environment state of the client is non-duress.
[0188] Optionally, the interactive safety management device 1 further includes:
[0189] The authorization judgment unit 16 is used to judge whether the feedback voice contains an authorization instruction.
[0190] Optionally, the interactive safety management device 1 further includes:
[0191] The password judgment unit 18 is used to intercept the feedback voice according to the authorization instruction and send a password dialog box to the client; receive the password voice information sent by the client through the password dialog box, and judge whether the password voice information is consistent with the preset fixed password information; if so, send the feedback voice to the client; if not, delete the feedback information and end.
[0192] Optionally, the password determination unit 18 further includes:
[0193] The password text comparison unit 181 is used to convert the password voice information into password text information through a preset voice recognition component, and determine whether the password text information is consistent with the password text information; if so, determine that the password voice information is consistent with the fixed password information; if not, determine that the password voice information is inconsistent with the fixed password information.
[0194] The password voice comparison unit 182 is used to determine whether the password voice information is consistent with the password voice information through the voiceprint recognition model; if so, determine that the password voice information is consistent with the fixed password information; if not, determine that the password voice information is inconsistent with the fixed password information.
[0195] Optionally, the interactive safety management device 1 further includes:
[0196] The pseudo feedback module 19 is used to construct a pseudo feedback result according to the alarm information generated by the environmental state as coercion, and send the pseudo feedback result to the client.
[0197] Optionally, the pseudo feedback module 19 further includes:
[0198] An online text conversion unit 191, configured to convert the online voice information into online text information through a preset voice recognition component;
[0199] A pseudo feedback constructing unit 192, configured to generate a pseudo feedback result according to a keyword in the online text information by using a preset pseudo feedback strategy; wherein the keyword reflects a business operation that the client needs to perform;
[0200] The pseudo feedback output unit 193 is used to send the pseudo feedback result to the client and generate alarm information.
[0201] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0202] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0203] The present technical solution is applied to the field of biometrics of artificial intelligence, and determines whether the sender of the online voice information is the owner of the client through a voiceprint recognition model; wherein, a voiceprint spectrum is used as the online voice information, and a standard voiceprint model used in the voiceprint recognition model for comparison with the online voice information is used to realize voiceprint recognition of the similarity between the online voice information and the standard voiceprint model.
[0204] Embodiment 4:
[0205] To achieve the above purpose, the present invention also provides a computer device 5. The components of the interactive security management device of the third embodiment can be dispersed in different computer devices. The computer device 5 can be a smart phone, tablet computer, laptop computer, desktop computer, rack server, blade server, tower server or cabinet server (including independent server, or server cluster composed of multiple application servers) that executes the program. The computer device of this embodiment includes at least but is not limited to: a memory 51 and a processor 52 that can be connected to each other through a system bus, such as Figure 5 It should be pointed out that Figure 5 Only a computer device with components is shown, but it should be understood that implementing all of the components shown is not a requirement and more or fewer components may alternatively be implemented.
[0206] In this embodiment, the memory 51 (i.e., readable storage medium) includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 51 may be an internal storage unit of a computer device, such as a hard disk or memory of the computer device. In other embodiments, the memory 51 may also be an external storage device of a computer device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card, etc. equipped on the computer device. Of course, the memory 51 may also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the memory 51 is generally used to store the operating system and various application software installed on the computer device, such as the program code of the interactive security management device of the third embodiment. In addition, the memory 51 may also be used to temporarily store various data that have been output or are to be output.
[0207] The processor 52 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 52 is generally used to control the overall operation of the computer device. In this embodiment, the processor 52 is used to run the program code stored in the memory 51 or process data, such as running the interactive safety management device to implement the interactive safety management method of the first embodiment and the second embodiment.
[0208] Embodiment five:
[0209] To achieve the above purpose, the present invention also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, and the program implements the corresponding function when executed by the processor 52. The computer-readable storage medium of this embodiment is used to store a computer program that implements the interactive safety management method, and when executed by the processor 52, the interactive safety management method of Embodiment 1 and Embodiment 2 is implemented.
[0210] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0211] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method.
[0212] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. An interactive safety management method, connected with a human-computer voice interaction system, characterized in that: include: Get the online voice information sent by the client; intercepting the online voice information, and determining whether the sender of the online voice information is the owner of the client through a preset voiceprint recognition model; if so, canceling the interception of the online voice information; Intercepting the online voice information, and identifying the speaking scene of the online voice information through a preset machine learning model; If the speaking scene is a real person interaction, cancel the interception of the online voice information; If the speaking scene is not a real person interaction, the online voice information is deleted and an alarm message is generated; The training method of the machine learning model comprises: Acquire registration voice information, and set the scene label of the registration voice information to real person interaction; The registered voice information is subjected to scene processing to obtain scene voice information, and the scene label of the scene voice information is set to non-human interaction; wherein the scene processing includes: recording scene processing and terminal scene processing; the recording scene processing is to record the registered voice information into a recording device, and play the recording device to obtain scene voice information with a scene label of non-human interaction; the terminal scene processing is to play the registered voice information through a communication device to obtain scene voice information with a scene label of non-human interaction; The registered voice information with the scene label and the scene voice information are used as training samples, and a deep neural network is trained by a back propagation algorithm to obtain the machine learning model capable of identifying the scene in which the online voice information is located; the online voice information is sent to a human-computer voice interaction system, and feedback voice generated by the human-computer voice interaction system according to the online voice information is received; The feedback voice is sent to the client.
2. The interactive safety management method according to claim 1, characterized in that: After obtaining the online voice information sent by the client, the method further includes: Call the offline listening thread to obtain the owner's offline voice information through the client; The online voice information is intercepted, and the environmental status of the client is determined according to the offline voice information; if the environmental status is coercion, the online voice information is deleted and an alarm message is generated; if the environmental status is non-coercion, the interception of the online voice information is cancelled.
3. The interactive safety management method according to claim 1, characterized in that: The determining whether the sender of the online voice information is the owner of the client by using a preset voiceprint recognition model includes: Acquire a voiceprint library corresponding to the client, and extract a standard voiceprint model pre-registered by the client in the voiceprint library; wherein the standard voiceprint model is generated according to the registration voice information sent by the client during registration; Identifying the online similarity between the standard voiceprint model and the online voice information by the voiceprint recognition model; It is determined whether the online similarity exceeds a preset online threshold. If so, it is determined that the sender of the online voice information is the owner of the client; if not, it is determined that the sender of the online voice information is not the owner of the client.
4. The interactive safety management method according to claim 2, characterized in that: The determining the environment state of the client according to the offline voice information includes: Performing voice recognition on the offline voice information through a preset voice recognition component to obtain offline text information; Identify whether the offline text information has a preset duress field; if so, determine that the environmental state of the client is duress; if not, determine that the environmental state of the client is non-duress.
5. The interactive safety management method according to claim 1, characterized in that: Before sending the feedback voice to the client, the method further includes: Determining whether the feedback voice contains an authorization instruction; If the feedback voice does not contain the authorization instruction, sending the feedback voice to the client; If the feedback voice contains the authorization instruction, the feedback voice is intercepted according to the authorization instruction, and a password dialog box is sent to the client; the password voice information sent by the client through the password dialog box is received, and it is determined whether the password voice information is consistent with the preset fixed password information; if so, the feedback voice is sent to the client; if not, the feedback information is deleted and the process ends.
6. The interactive safety management method according to claim 2, characterized in that: If the environmental state is coercion, after deleting the online voice information and generating an alarm message, the method further includes: Constructing a pseudo feedback result according to the alarm information generated by the environmental state as coercion, and sending the pseudo feedback result to the client; The pseudo feedback result is uploaded to the blockchain.
7. An interactive safety management device, connected to a human-computer voice interaction system, characterized in that: include: Online voice module, used to obtain online voice information sent by the client; An identity judgment module, used to intercept the online voice information and judge whether the sender of the online voice information is the owner of the client through a preset voiceprint recognition model; if so, cancel the interception of the online voice information; A real person recognition module, used to intercept the online voice information and recognize the speaking scene of the online voice information through a preset machine learning model; If the speaking scene is a real person interaction, cancel the interception of the online voice information; If the speaking scene is not a real person interaction, the online voice information is deleted and an alarm message is generated; The training method of the machine learning model includes: obtaining registered voice information, setting the scene label of the registered voice information to real-person interaction; performing scene processing on the registered voice information to obtain scene voice information, and setting the scene label of the scene voice information to non-real-person interaction; wherein the scene processing includes: recording scene processing and terminal scene processing; the recording scene processing is to record the registered voice information into a recording device, play the recording device to obtain scene voice information with a scene label of non-real-person interaction; the terminal scene processing is to play the registered voice information through a communication device to obtain scene voice information with a scene label of non-real-person interaction; using the registered voice information with the scene label and the scene voice information as training samples, a deep neural network is trained through a back propagation algorithm to obtain the machine learning model that can identify the scene in which the online voice information is located; An information interaction module, used to send the online voice information to the human-computer voice interaction system, and receive feedback voice generated by the human-computer voice interaction system according to the online voice information; A voice feedback module is used to send the feedback voice to the client.
8. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor of the computer device executes the computer program, the steps of the interactive safety management method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program stored in the readable storage medium implements the steps of the interactive safety management method according to any one of claims 1 to 6 when executed by a processor.
