A safe encryption method and system based on voiceprint recognition

By comparing the identity information and device identification in the bank safe, and randomly generating the unlocking text, combined with the comparison of preset voiceprint features and voice features, the problem of leakage of voiceprint recognition encryption methods in the existing technology is solved, and the efficiency is improved Encrypted security and unlocking efficiency of the safe, and trigger theft alert in multi-person situations.

CN115484101BActive Publication Date: 2024-09-10SHENZHEN QIAO COMM TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211127354.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-16
Publication Date
2024-09-10
Estimated Expiration
2042-09-16

AI Technical Summary

Technical Problem

In the existing voiceprint recognition encryption method for bank safes, the text shouted by the operator each time it is opened remains unchanged, which easily leads to insufficient encryption effect and high risk of leakage.

Method used

After initially determining the identity information, the device identification information is obtained for comparison, specific text is randomly generated, and baseline voice features are generated based on the preset voiceprint features. The user performs voice input against the specific text in the Bluetooth connected device, and compares the voice features to unlock The safe ensures that the text is randomly generated each time it is unlocked, improving encryption security.

Benefits of technology

It enhances the encryption security of the safe, reduces the risk of leaking the voiceprint unlock text, improves the security and efficiency of each unlock, prevents the leakage of the preliminary encryption method, and triggers theft warning when necessary, improving the security of users and police reaction efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115484101B
    Figure CN115484101B
Patent Text Reader

Abstract

The present application relates to a safe encryption method and system based on voice and soundprint recognition, and the safe encryption method includes: after the identity information is preliminarily determined, the first device identification information bound to the identity information is obtained; after the user successfully connects to the Bluetooth device, the second device identification information corresponding to the Bluetooth device is obtained, and the first device identification is compared with the second device identification; if the comparison is successful, a specific text message is randomly generated according to the first device identification and sent to the Bluetooth device; a preset voiceprint feature corresponding to the identity information is obtained, and a reference voice feature corresponding to the specific text is generated according to the preset voiceprint feature; a comparison voice feature triggered by the user is obtained, and the comparison voice feature is compared with the reference voice feature, and the safe is unlocked if the comparison is successful. The present application has the effect of improving the encryption effect of the safe.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of safe encryption methods, and in particular to a safe encryption method and system based on voice print recognition. Background Art

[0002] At present, safes are widely used in situations where people need to store important items. With the continuous advancement of science and technology, the encryption method of safes has changed from traditional keys and mechanical locks to current passwords, fingerprints, remote APP unlocking, magnetic control, iris, face recognition and other methods; since voice and voiceprint features are one of the important biological characteristics of the human body and have strong individual specificity, they are often used in voiceprint recognition, voiceprint authentication and other fields as a feature of identity authentication. Therefore, voice and voiceprint recognition encryption methods have also appeared recently.

[0003] Currently, the method of voiceprint recognition for bank safes is as follows: when the safe is first used, the operator obtains a specific text, and then shouts the text into the microphone, the safe terminal performs voiceprint comparison and analysis, and then opens the safe door.

[0004] With respect to the above-mentioned related technologies, the inventor believes that the text shouted by the operator remains unchanged every time the safe is opened, which may easily lead to leakage of secrets, thereby making the encryption effect of the safe insufficient. Summary of the invention

[0005] In order to improve the encryption effect of the safe, the present application provides a safe encryption method and system based on voiceprint recognition.

[0006] The above-mentioned invention objective of the present application is achieved through the following technical solutions:

[0007] A safe encryption method based on voiceprint recognition, the safe encryption method comprising:

[0008] After the identity information is preliminarily determined, obtaining first device identification information bound to the identity information;

[0009] After the user successfully connects to the Bluetooth device, the second device identification information corresponding to the Bluetooth connected device is obtained, and the first device identification is compared with the second device identification;

[0010] If the comparison is successful, randomly generate and send specific text information to the Bluetooth connected device according to the second device identifier;

[0011] Acquire a preset voiceprint feature corresponding to the identity information, and generate a reference voice feature corresponding to the specific text according to the preset voiceprint feature;

[0012] Acquire the comparison voice feature triggered by the user, compare the comparison voice feature with the reference voice feature, and unlock if the comparison is successful.

[0013] By adopting the above technical solution, in order to improve the encryption security of the safe, the identity information is first preliminarily determined during decryption; then the first device identifier bound to the identity information is obtained, and when the user successfully connects to the Bluetooth, the second device identifier corresponding to the Bluetooth connected device that successfully connects to the safe is obtained, and the first device identifier is compared with the second device identifier to further determine whether the person being unlocked is the user of the safe, thereby improving the encryption security; then, only after the comparison is successful, in order to reduce the leakage of encrypted text unlocked by voiceprint, specific text information is randomly generated and sent to the Bluetooth connected device according to the second device identifier, and then the preset voiceprint feature corresponding to the identity information is obtained, and the specific text is converted into a reference voice feature through the preset voiceprint feature; finally, after the user performs voice input in the Bluetooth connected device against the specific text, the comparison voice feature triggered by the user is obtained, and then the comparison voice feature is compared with the reference voice feature, and the comparison is successful. The safe is unlocked; the above-mentioned method of preliminarily determining the identity information, comparing the device identifier and comparing the voice feature is sequentially adopted to achieve the unlocking of the safe, and the text unlocked by the voiceprint recognition of the safe is randomly generated each time, further improving the encryption effect of the safe.

[0014] In a preferred example, the present application can be further configured as follows: the method for preliminarily determining identity information includes:

[0015] Randomly determine a preliminary identity encryption method from a preset preliminary encryption method;

[0016] According to the initial encryption method of the identity, trigger a corresponding prompt instruction;

[0017] If a successful match result is obtained within the preset time, the identity information is preliminarily determined.

[0018] By adopting the above technical solution, in order to reduce the leakage of the preliminary encryption method before each unlocking, one of the pre-set multiple preliminary encryption methods is randomly determined as the identity preliminary encryption method; then according to the identity preliminary encryption method, the corresponding prompt instruction is triggered to remind the user to perform the corresponding unlocking operation; if a successful match result is obtained within the preset time, the identity information is preliminarily determined, thereby further improving the encryption effect of the safe.

[0019] In a preferred example, the present application may be further configured as follows: after triggering a corresponding prompt instruction according to the identity preliminary encryption method, the method includes:

[0020] If a match failure result is obtained within a preset time, the image information in front of the safe is obtained;

[0021] According to the image information, identifying and acquiring information on the number of people in the image;

[0022] If it is determined that the number of persons is greater than a predetermined number, a theft warning instruction is triggered.

[0023] By adopting the above technical solution, in order to improve the protection of the safe, if a matching failure result is obtained within a preset time, the user in front of the safe will be photographed through the camera of the safe to obtain image information in front of the safe, and then the number of people will be identified from the image. If it is determined that the number of people is greater than the predetermined number, it means that the user may be coerced to open the safe, then the theft warning instruction is triggered, and the police station is notified, thereby improving the efficiency of the police arriving at the scene; it also increases the self-help methods for the coerced users.

[0024] In a preferred example, the present application can be further configured as follows: the acquisition of the comparison voice feature triggered by the user, the comparison voice feature and the reference voice feature are compared, and unlocking is performed if the comparison is successful, including:

[0025] Encrypting the compared speech features by using a first specific algorithm to obtain encrypted information;

[0026] After the encrypted information is decrypted by a decryption algorithm corresponding to the first specific algorithm, it is compared with the reference voice feature, and unlocked if the comparison is successful.

[0027] By adopting the above technical solution, in order to improve the confidentiality of the comparison voice features transmitted from the Bluetooth connection device to the safe terminal, the comparison voice features are encrypted by a first specific algorithm to obtain encrypted information; then when the encrypted information is transmitted to the safe terminal, the encrypted information is decrypted by the corresponding decryption algorithm to obtain the comparison voice features, and then the comparison voice features are compared with the reference voice features. If the comparison is successful, the voice feature is unlocked, thereby further protecting the information unlocked by the user.

[0028] In a preferred example, the present application may be further configured as follows: encrypting the comparative speech features by a first specific algorithm to obtain encrypted information includes:

[0029] Encrypting the comparison voice feature and the reference voice feature respectively by a second specific algorithm to obtain a character string to be compared corresponding to the comparison voice feature and a reference character string corresponding to the reference voice feature;

[0030] The character string to be compared is encrypted using the first specific algorithm to obtain encrypted information.

[0031] By adopting the above technical solution, the comparison voice features and the reference voice features are first encrypted by the second specific algorithm to form a character string to be compared corresponding to the comparison voice features and a reference character string corresponding to the reference voice features, thereby achieving preliminary confidentiality of the comparison voice features and the reference voice features; then the character string to be compared is encrypted by the first specific algorithm to obtain encrypted information, thereby improving the confidentiality of the character string to be compared during transmission to the safe terminal.

[0032] In a preferred example, the present application may be further configured as follows: encrypting the comparative speech features respectively by a second specific algorithm includes:

[0033] randomly generating the second specific algorithm;

[0034] The second specific algorithm is sent to the corresponding Bluetooth connection device according to the second device identifier to encrypt the comparison voice feature.

[0035] By adopting the above technical solution, in order to reduce the leakage of the second specific algorithm before the comparison voice feature is encrypted each time, a second specific algorithm is randomly generated from a plurality of second specific algorithms; then the second specific algorithm is sent to the corresponding Bluetooth connection device according to the second device identifier to encrypt the comparison voice feature, thereby further improving the encryption effect of the safe.

[0036] In a preferred example, the present application may be further configured as follows: after decrypting the encrypted information by using a decryption algorithm corresponding to the first specific algorithm, the encrypted information is compared with the reference voice feature, and unlocking is performed if the comparison is successful, including:

[0037] Compare the character string to be compared with the reference character string;

[0038] If the match is consistent, unlock.

[0039] By adopting the above technical solution, after forming a character string to be compared corresponding to the comparison voice feature and a reference character string corresponding to the reference voice feature, and transmitting the character string to be compared encrypted by the first specific algorithm to the safe terminal, the character string to be compared is compared with the reference character string, and the lock is unlocked if the comparison is consistent; the comparison efficiency is improved by comparing the characters.

[0040] The second object of the invention is achieved by the following technical solutions:

[0041] A safe encryption system based on voiceprint recognition, the safe encryption system comprising:

[0042] A first device identification acquisition module, used to acquire first device identification information bound to the identity information after the identity information is preliminarily determined;

[0043] A second device identification acquisition module, used to obtain the second device identification information corresponding to the Bluetooth connected device after the user successfully connects to the Bluetooth device, and compare the first device identification with the second device identification;

[0044] A specific text generation and sending module, configured to randomly generate and send specific text information to the Bluetooth connected device according to the first device identifier if the comparison is successful;

[0045] A reference voice feature generation module, used to obtain a preset voiceprint feature corresponding to the identity information, and generate a reference voice feature corresponding to the specific text according to the preset voiceprint feature;

[0046] The comparison voice feature acquisition module is used to acquire the comparison voice feature triggered by the user, compare the comparison voice feature with the reference voice feature, and unlock the phone if the comparison is successful.

[0047] By adopting the above technical solution, in order to improve the encryption security of the safe, the identity information is first preliminarily determined during decryption; then the first device identifier bound to the identity information is obtained, and when the user successfully connects to the Bluetooth, the second device identifier corresponding to the Bluetooth connected device that successfully connects to the safe is obtained, and the first device identifier is compared with the second device identifier to further determine whether the person being unlocked is the user of the safe, thereby improving the encryption security; then, only after the comparison is successful, in order to reduce the leakage of encrypted text unlocked by voiceprint, specific text information is randomly generated and sent to the Bluetooth connected device according to the second device identifier, and then the preset voiceprint feature corresponding to the identity information is obtained, and the specific text is converted into a reference voice feature through the preset voiceprint feature; finally, after the user performs voice input in the Bluetooth connected device against the specific text, the comparison voice feature triggered by the user is obtained, and then the comparison voice feature is compared with the reference voice feature, and the comparison is successful. The safe is unlocked; the above-mentioned method of preliminarily determining the identity information, comparing the device identifier and comparing the voice feature is sequentially adopted to achieve the unlocking of the safe, and the text unlocked by the voiceprint recognition of the safe is randomly generated each time, further improving the encryption effect of the safe.

[0048] In summary, the present application includes at least one of the following beneficial technical effects:

[0049] 1. In order to improve the encryption security of the safe, the identity information is preliminarily determined during decryption; then the first device identifier bound to the identity information is obtained, and when the user successfully connects to the Bluetooth, the second device identifier corresponding to the Bluetooth connected device that successfully connects to the safe is obtained, and the first device identifier is compared with the second device identifier to further determine whether the person being unlocked is the user of the safe, thereby improving the encryption security; then, only after the comparison is successful, in order to reduce the leakage of encrypted text unlocked by voiceprint, a specific text message is randomly generated and sent to the Bluetooth connected device according to the second device identifier, and then the preset voiceprint feature corresponding to the identity information is obtained, and the specific text is converted into a reference voice feature through the preset voiceprint feature; finally, after the user performs voice input in the Bluetooth connected device against the specific text, the comparison voice feature triggered by the user is obtained, and then the comparison voice feature is compared with the reference voice feature, and the comparison is successful. The safe is unlocked; the above-mentioned method of preliminarily determining the identity information, comparing the device identifier and comparing the voice feature is sequentially adopted to achieve the unlocking of the safe, and the text unlocked by the voiceprint recognition of the safe is randomly generated each time, further improving the encryption effect of the safe;

[0050] 2. In order to reduce the leakage of the preliminary encryption method before each unlocking, a preliminary encryption method for identity is randomly determined from a plurality of pre-set preliminary encryption methods; then, according to the preliminary encryption method for identity, the corresponding prompt instruction is triggered to remind the user to perform the corresponding unlocking operation; if a successful match result is obtained within the pre-set time, the identity information is preliminarily determined, thereby further improving the encryption effect of the safe;

[0051] 3. In order to improve the confidentiality of the transmission of the comparison voice feature from the Bluetooth connection device to the safe terminal, the comparison voice feature is encrypted by a first specific algorithm to obtain encrypted information; then, when the encrypted information is transmitted to the safe terminal, the encrypted information is decrypted by a corresponding decryption algorithm to obtain the comparison voice feature, and then the comparison voice feature is compared with the reference voice feature. If the comparison is successful, the device is unlocked, thereby further protecting the information unlocked by the user;

[0052] 4. First, the comparison voice features and the reference voice features are encrypted by the second specific algorithm to form a character string to be compared corresponding to the comparison voice features and a reference character string corresponding to the reference voice features, thereby achieving preliminary confidentiality of the comparison voice features and the reference voice features; then, the character string to be compared is encrypted by the first specific algorithm to obtain encrypted information, thereby improving the confidentiality of the character string to be compared during transmission to the safe terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1It is a flow chart of a safe encryption method based on voiceprint recognition in one embodiment of the present application.

[0054] Figure 2 This is a flow chart of a method for preliminarily determining identity information in a safe encryption method based on voice print recognition in one embodiment of the present application.

[0055] Figure 3 This is a specific method flow chart of step S50 in the safe encryption method based on voice print recognition in one embodiment of the present application.

[0056] Figure 4 This is a specific method flow chart of step S51 in the safe encryption method based on voice print recognition in one embodiment of the present application.

[0057] Figure 5 It is a flow chart of a method for encrypting comparison voice features and reference voice features respectively by a second specific algorithm in a safe encryption method based on voice and voiceprint recognition in one embodiment of the present application.

[0058] Figure 6 This is a specific method flow chart of step S52 in the safe encryption method based on voice print recognition in one embodiment of the present application.

[0059] Figure 7 It is a principle block diagram of a safe encryption system based on voice print recognition in one embodiment of the present application. DETAILED DESCRIPTION

[0060] The present application is further described in detail below in conjunction with the accompanying drawings.

[0061] In one embodiment, if Figure 1 As shown, the present application discloses a safe encryption method based on voiceprint recognition, which specifically includes the following steps:

[0062] S10: After the identity information is preliminarily determined, first device identification information bound to the identity information is obtained.

[0063] In this embodiment, the identity information refers to information that can prove the identity of the safe user; the first device identification information refers to the Bluetooth specific string of the Bluetooth connection device bound by the safe user before using the safe.

[0064] Specifically, when the user needs to unlock the safe, the identity information is preliminarily determined first, and the identity of the user who is unlocking the safe is preliminarily determined; then the first device identifier bound to the identity information is obtained, that is, the Bluetooth specific string of the Bluetooth connection device bound to the user is obtained. In this embodiment, the Bluetooth connection device is a mobile phone or other Bluetooth connection device with Bluetooth connection, voice recording, and file encryption functions.

[0065] S20: After the user successfully connects to the Bluetooth device, obtain the second device identification information corresponding to the Bluetooth connected device, and compare the first device identification with the second device identification.

[0066] In this embodiment, the second device identification information refers to a Bluetooth specific character string of a Bluetooth connection device that has successfully connected to the safe terminal via Bluetooth.

[0067] Specifically, after completing the preliminary determination of the identity information, it is detected in real time whether there is a user Bluetooth connection. When it is determined that the user has successfully connected to the safe terminal through Bluetooth, the Bluetooth specific string of the Bluetooth connection device that has successfully connected to the safe terminal through Bluetooth is obtained, that is, the second device identifier is obtained, and then the first device identifier is compared with the second device identifier, that is, the Bluetooth specific string in the first device identifier is compared with the Bluetooth specific string of the second device identifier to determine whether the Bluetooth connection device that has successfully connected to the safe terminal through Bluetooth is a mobile phone or other Bluetooth connection device bound by the safe user before the safe is used, and the user is further limited to using the mobile phone or other Bluetooth connection device bound before the safe is used for connection.

[0068] S30: If the comparison is successful, a specific text message is randomly generated according to the second device identifier and sent to the Bluetooth connected device.

[0069] Specifically, if the Bluetooth specific string identified by the second device is the same as the Bluetooth specific string identified by the first device, that is, the comparison is successful, a specific text is first randomly generated, and then the specific text is sent to the Bluetooth connected device according to the second device identifier. Therefore, only after the preliminary determination of the identity information is completed each time, the user corresponding to the identity information can view the randomly generated specific text through the Bluetooth connected device, which greatly improves security.

[0070] In addition, in this embodiment, the safe user can be restricted to use a designated Bluetooth connection device to connect to the safe, so that the Bluetooth connection device can be pre-verified accordingly and measures to ensure data security can be taken, such as detecting Trojan viruses, installing other security software or other measures, to improve security.

[0071] S40: Obtaining a preset voiceprint feature corresponding to the identity information, and generating a reference speech feature corresponding to the specific text according to the preset voiceprint feature.

[0072] In this embodiment, the preset voiceprint feature refers to the voiceprint feature obtained by training the voice of the safe user before the safe is used.

[0073] Specifically, when the safe is bound to an identity, the safe user first inputs a text via a Bluetooth connection device to form a voice file, and then uses the voice file to identify the voiceprint features corresponding to the safe user; thus, after a specific text is randomly generated, the preset voiceprint features corresponding to the identity information are obtained, and then the specific text is immediately simulated through the preset voiceprint features during the voice recording of the specific text by the user who is unlocking the box, to obtain a benchmark voice feature, which is used to provide a comparison benchmark for the voice of the user who is unlocking the box for the specific text, thereby improving efficiency.

[0074] S50: Acquire the comparison voice feature triggered by the user, compare the comparison voice feature with the reference voice feature, and unlock if the comparison is successful.

[0075] In this embodiment, the comparison voice feature refers to a voice feature obtained by a user who is unlocking the device and performing voice recording of a specific text through a Bluetooth-connected device.

[0076] Specifically, after the user who is unlocking receives specific text from the Bluetooth connected device, he uses the voice recording function in the Bluetooth connected device to record the voice, that is, to obtain the comparison voice features triggered by the user, and then transmits the comparison voice features to the safe terminal through the Bluetooth transmission function, and then compares the comparison voice features with the benchmark voice features. If the comparison is successful, it means that the user who is unlocking is determined to be the safe user, then the unlocking instruction of the safe is triggered to open the safe. The above unlocking method needs to use the methods of preliminary determination of identity information, device identification comparison and voice feature comparison in sequence and meet the requirements at the same time to achieve the unlocking of the safe, which greatly improves the encryption effect of the safe.

[0077] In one embodiment, if Figure 2 As shown, the methods for initially determining identity information include:

[0078] S11: Randomly determine the identity preliminary encryption method from the preset preliminary encryption methods.

[0079] Specifically, in order to reduce the leakage of the preliminary encryption method before each unlocking, a preliminary encryption method for identity is randomly determined from the pre-set multiple preliminary encryption methods, so that the preliminary encryption method for identity is generated in real time, thereby improving security; in this embodiment: the pre-set multiple preliminary encryption methods include passwords, fingerprints, and irises, etc.

[0080] S12: triggering a corresponding prompt instruction according to the initial identity encryption method.

[0081] Specifically, after the initial identity encryption method is determined, the corresponding prompt instruction is triggered according to the initial identity encryption method to turn on the prompt light set at the edge of the safe corresponding to the encryption method, so that the user who is unlocking the safe can operate according to the initial identity encryption method corresponding to the position of the lit prompt light, thereby improving efficiency; for example, if the initial identity encryption method is randomly determined to be fingerprint, the safe terminal only controls the lights set around the fingerprint identifier to light up, and the user who is unlocking the safe can clearly know the unlocking operation that needs to be performed.

[0082] S13: If a successful match result is obtained within a preset time, the identity information is preliminarily determined.

[0083] In this embodiment, the preset time refers to the time required for a single input of unlocking information set in advance on the safe terminal.

[0084] Specifically, the calculation starts from the time when the initial encryption method for identity is determined and the corresponding position indicator light turns on. If the user who is unlocking correctly completes the unlocking operation within the preset time, a successful match result is obtained, thereby completing the preliminary determination of the identity information, and the user who is unlocking preliminarily meets the requirements for opening the safe; for example: the preset time is 15 seconds, then the match is successful only if the user who is unlocking correctly completes the unlocking operation within 15 seconds.

[0085] In one embodiment, if Figure 2 As shown, after step S12, the method further includes:

[0086] S14: If a matching failure result is obtained within a preset time, image information in front of the safe is obtained.

[0087] Specifically, if the unlocking operation corresponding to the preliminary identity encryption method is not correctly completed within the preset time, a matching failure result is obtained, that is, the safe is determined to be in an abnormal unlocking operation; then the image in front of the safe is captured by a camera installed in the safe, and the image information in front of the safe is obtained, which is used to identify the number of people in front of the safe to determine whether there is a theft, thereby further improving the encryption effect of the safe.

[0088] S15: According to the image information, identify and obtain the number of people in the image.

[0089] Specifically, after obtaining the image information in front of the safe, the image recognition function is used to identify the number of people appearing in the image; since in the case of theft of a bank safe, there will usually be multiple people in front of the safe, it is only necessary to identify the number of people in the image to determine whether there has been a theft, greatly improving the recognition efficiency and the time to determine whether theft has occurred.

[0090] S16: If it is determined that the number of people is greater than the predetermined number, a theft warning instruction is triggered.

[0091] In this embodiment, the predetermined number refers to the number of personnel required to normally open the safe.

[0092] Specifically, if it is determined that the number of people is greater than a predetermined number, that is, it is determined that the safe has been stolen, a theft warning instruction is triggered, so that the alarm pre-installed in the police station sounds an alarm, allowing the police station to arrive at the bank more quickly to handle the matter, thereby improving the efficiency of handling the theft case.

[0093] In one embodiment, if Figure 3 As shown, the specific method of step S50 includes:

[0094] S51: Encrypt the compared voice features using a first specific algorithm to obtain encrypted information.

[0095] In this embodiment, the first specific algorithm refers to an algorithm used to encrypt a voice file.

[0096] Specifically, in order to improve the confidentiality of the transmission of the comparison voice features from the Bluetooth connection device to the safe terminal, the Bluetooth transmission function is used to send the first specific algorithm to the Bluetooth connection device. After obtaining the comparison voice features triggered by the user, the comparison voice features are encrypted in the Bluetooth connection device through the first specific algorithm through the file encryption function to obtain encrypted information.

[0097] S52: After decrypting the encrypted information using a decryption algorithm corresponding to the first specific algorithm, the encrypted information is compared with the reference voice feature, and unlocked if the comparison is successful.

[0098] Specifically, after the encrypted information is transmitted to the safe terminal, the safe terminal decrypts the encrypted information through the decryption algorithm corresponding to the first specific algorithm, and obtains the comparison voice feature again, and then compares the comparison voice feature with the reference voice feature generated in the safe terminal. If the comparison determines that the comparison voice feature is the voice recorded by the safe user, the comparison is successful, and then it is determined that the user who is unlocking is qualified to open the safe, thereby triggering the safe unlocking instruction to unlock the safe. This method makes the encryption effect of the voiceprint encryption method stronger.

[0099] In one embodiment, if Figure 4 As shown, the specific method of step S51 includes:

[0100] S511: Encrypt the comparison voice feature and the reference voice feature respectively by using a second specific algorithm to obtain a character string to be compared corresponding to the comparison voice feature and a reference character string corresponding to the reference voice feature.

[0101] In this embodiment, the second specific algorithm refers to an algorithm for converting a voiceprint into a character string.

[0102] Specifically, since the data structure of the acquired voice features is complex and the time taken for comparison is long, the Bluetooth transmission function is used to send the second specific algorithm to the Bluetooth connection device. After the comparison voice features triggered by the user are obtained, the comparison voice features are encrypted in the Bluetooth connection device through the second specific algorithm through the file encryption function, and the character string to be compared corresponding to the comparison voice features and the benchmark character string corresponding to the benchmark voice features are obtained. The time taken for subsequent character string comparison is short, thereby improving the comparison efficiency. Therefore, even if the information is leaked during the subsequent Bluetooth transmission process and after the benchmark voice features are generated, only the character string is obtained, and the comparison voice features and the benchmark voice features cannot be obtained, thereby further improving the confidentiality of the comparison voice features transmitted from the Bluetooth connection device to the safe terminal.

[0103] S512: Encrypt the character string to be compared using a first specific algorithm to obtain encrypted information.

[0104] Specifically, after obtaining the character string to be compared corresponding to the comparison voice feature, the character string to be compared is encrypted by using the first specific algorithm sent to the Bluetooth connection device using the Bluetooth transmission function to obtain encrypted information; thereby, the confidentiality of the comparison voice feature during Bluetooth transmission is higher.

[0105] In one embodiment, if Figure 5 As shown, the method of encrypting the comparison voice feature and the reference voice feature respectively by a second specific algorithm includes:

[0106] S513: Randomly generate a second specific algorithm.

[0107] Specifically, in order to reduce the possibility of leakage of the second specific algorithm during multiple openings of the safe, when the user who is unlocking the safe receives a specific text in the Bluetooth connected device, the safe terminal randomly selects and generates one of the second specific algorithms from multiple specific algorithms. Therefore, before each opening of the safe, it is impossible to know the algorithm used to convert the comparison voice features and the baseline voice features into the character string, thereby further improving the confidentiality of the comparison voice features after Bluetooth transmission and the generation of the baseline voice features.

[0108] S514: Sending a second specific algorithm to a corresponding Bluetooth connection device according to the second device identifier to encrypt the comparison voice feature.

[0109] Specifically, after the second specific algorithm is randomly generated, the second specific algorithm is sent to the Bluetooth connected device corresponding to the value through the Bluetooth transmission function according to the second device identification; when the user who is unlocking uses the voice recording function in the Bluetooth connected device to complete the voice recording and obtains the comparative voice features, the comparative voice features are encrypted through the second specific algorithm, thereby improving the encryption effect.

[0110] In one embodiment, if Figure 6 As shown, the method of step S52 includes:

[0111] S521: Compare the character string to be compared with the reference character string.

[0112] Specifically, after the comparison voice features and the benchmark voice features are encrypted through the second specific algorithm to obtain the character string to be compared and the benchmark character string, and the character string to be compared is encrypted through the first specific algorithm, and then the encrypted information is transmitted to the safe terminal through the Bluetooth transmission function, it is only necessary to decrypt the character string to be compared through the decryption algorithm corresponding to the first specific algorithm, and then directly compare the character string to be compared with the benchmark character string, thereby improving the comparison efficiency.

[0113] S522: If the comparison is consistent, unlock.

[0114] Specifically, if the comparison result between the character string to be compared and the reference character string is consistent or within the allowable error range, the safe unlocking instruction is triggered to unlock the safe.

[0115] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0116] In one embodiment, a safe encryption system based on voice and voiceprint recognition is provided, and the safe encryption system based on voice and voiceprint recognition corresponds one-to-one to the safe encryption method based on voice and voiceprint recognition in the above embodiment. Figure 7 As shown, the safe encryption system based on voice and voiceprint recognition includes a first device identification acquisition module, a second device identification acquisition module, a specific text generation and sending module, a reference voice feature generation module and a comparison voice feature acquisition module. The detailed description of each functional module is as follows:

[0117] A first device identification acquisition module, used to acquire first device identification information bound to the identity information after the identity information is preliminarily determined;

[0118] A second device identification acquisition module, used to obtain the second device identification information corresponding to the Bluetooth connected device after the user successfully connects to the Bluetooth device, and compare the first device identification with the second device identification;

[0119] A specific text generation and sending module, configured to randomly generate and send specific text information to the Bluetooth connected device according to the first device identifier if the comparison is successful;

[0120] A reference voice feature generation module, used to obtain a preset voiceprint feature corresponding to the identity information, and generate a reference voice feature corresponding to the specific text according to the preset voiceprint feature;

[0121] The comparison voice feature acquisition module is used to obtain the comparison voice feature triggered by the user, compare the comparison voice feature with the reference voice feature, and unlock the phone if the comparison is successful.

[0122] Optionally, the first device identification acquisition module includes:

[0123] A preliminary encryption method determination submodule, used to randomly determine the identity preliminary encryption method from a preset preliminary encryption method;

[0124] The prompt instruction triggering submodule is used to trigger the corresponding prompt instruction according to the initial identity encryption method;

[0125] The matching result determination submodule is used to preliminarily determine the identity information if a successful matching result is obtained within a preset time.

[0126] Optionally, the first device identification acquisition module further includes:

[0127] An image acquisition submodule, for acquiring image information in front of the safe if a matching failure result is obtained within a preset time;

[0128] The image number recognition submodule is used to identify and obtain the number of people in the image based on the image information;

[0129] The theft warning trigger submodule is used to trigger the theft warning instruction if it is determined that the number of people is greater than a predetermined number.

[0130] Optionally, the comparison voice feature acquisition module includes:

[0131] An encrypted information acquisition submodule, used to encrypt the compared voice features through a first specific algorithm to obtain encrypted information;

[0132] The voice feature comparison submodule is used to decrypt the encrypted information using a decryption algorithm corresponding to the first specific algorithm, and then compare it with the reference voice feature. If the comparison is successful, the voice is unlocked.

[0133] Optionally, the encrypted information acquisition submodule includes:

[0134] A secondary encryption unit, used to encrypt the comparison voice feature and the reference voice feature respectively through a second specific algorithm to obtain a character string to be compared corresponding to the comparison voice feature and a reference character string corresponding to the reference voice feature;

[0135] The encryption information acquisition unit is used to encrypt the character string to be compared through a first specific algorithm to obtain encryption information.

[0136] Optionally, the secondary encryption unit includes:

[0137] A specific algorithm generating subunit, used for randomly generating a second specific algorithm;

[0138] The voice feature encryption subunit is used to send the second specific algorithm to the corresponding Bluetooth connection device according to the second device identifier to encrypt the comparison voice feature.

[0139] Optionally, the speech feature comparison submodule includes:

[0140] A string comparison unit, used to compare the string to be compared with the reference string;

[0141] The unlocking unit is used to unlock if the comparison is consistent.

[0142] For the specific definition of the safe encryption system based on voice and voiceprint recognition, please refer to the definition of the safe encryption method based on voice and voiceprint recognition above, which will not be repeated here. Each module in the above-mentioned safe encryption system based on voice and voiceprint recognition can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0143] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A safe encryption method based on voiceprint recognition, It is characterized in that The safe encryption method comprises: After the identity information is preliminarily determined, obtaining first device identification information bound to the identity information; After the user successfully connects to the Bluetooth device, the second device identification information corresponding to the Bluetooth connected device is obtained, and the first device identification is compared with the second device identification; If the comparison is successful, randomly generate and send specific text information to the Bluetooth connected device according to the second device identifier; Acquire a preset voiceprint feature corresponding to the identity information, and generate a reference voice feature corresponding to the specific text according to the preset voiceprint feature; the reference voice feature is generated by: after randomly generating the specific text, acquire the preset voiceprint feature corresponding to the identity information, and then immediately simulate the specific text by using the preset voiceprint feature during the voice recording of the specific text by the user who is unlocking the device, to obtain the reference voice feature; Acquire the comparison voice feature triggered by the user, compare the comparison voice feature with the reference voice feature, and unlock if the comparison is successful; The obtaining of the comparison voice feature triggered by the user, comparing the comparison voice feature with the reference voice feature, and unlocking the device if the comparison is successful, includes: Encrypting the compared speech features by using a first specific algorithm to obtain encrypted information; After decrypting the encrypted information using a decryption algorithm corresponding to the first specific algorithm, the encrypted information is compared with the reference voice feature, and unlocked if the comparison is successful; The step of encrypting the compared voice features by using a first specific algorithm to obtain encrypted information includes: Encrypting the comparison voice feature and the reference voice feature respectively by a second specific algorithm to obtain a character string to be compared corresponding to the comparison voice feature and a reference character string corresponding to the reference voice feature; The character string to be compared is encrypted using the first specific algorithm to obtain encrypted information.

2. According to claim 1, the safe encryption method based on voiceprint recognition, It is characterized in that The method for preliminarily determining identity information includes: Randomly determine a preliminary identity encryption method from a preset preliminary encryption method; According to the initial encryption method of the identity, trigger a corresponding prompt instruction; If a successful match result is obtained within the preset time, the identity information is preliminarily determined.

3. The safe encryption method based on voiceprint recognition according to claim 2, It is characterized in that After triggering a corresponding prompt instruction according to the initial identity encryption method, the method includes: If a match failure result is obtained within a preset time, the image information in front of the safe is obtained; According to the image information, identifying and acquiring information on the number of people in the image; If it is determined that the number of persons is greater than a predetermined number, a theft warning instruction is triggered.

4. The safe encryption method based on voiceprint recognition according to claim 1, It is characterized in that The step of respectively encrypting the compared speech features by a second specific algorithm comprises: randomly generating the second specific algorithm; The second specific algorithm is sent to the corresponding Bluetooth connection device according to the second device identifier to encrypt the comparison voice feature.

5. The safe encryption method based on voiceprint recognition according to claim 1, It is characterized in that After the encrypted information is decrypted by the decryption algorithm corresponding to the first specific algorithm, it is compared with the reference voice feature, and unlocking is performed if the comparison is successful, including: Compare the character string to be compared with the reference character string; If the match is consistent, unlock.

6. A safe encryption system based on voiceprint recognition, It is characterized in that The safe encryption system comprises: A first device identification acquisition module, used to acquire first device identification information bound to the identity information after the identity information is preliminarily determined; A second device identification acquisition module, used to obtain the second device identification information corresponding to the Bluetooth connected device after the user successfully connects to the Bluetooth device, and compare the first device identification with the second device identification; A specific text generation and sending module, configured to randomly generate and send specific text information to the Bluetooth connected device according to the first device identifier if the comparison is successful; A reference voice feature generation module is used to obtain a preset voiceprint feature corresponding to the identity information, and generate a reference voice feature corresponding to the specific text according to the preset voiceprint feature; the reference voice feature generation method is: after randomly generating a specific text, the preset voiceprint feature corresponding to the identity information is obtained, and then immediately when the user who is unlocking is recording the voice of the specific text, the specific text is simulated by the preset voiceprint feature to obtain the reference voice feature; A comparison voice feature acquisition module is used to acquire the comparison voice feature triggered by the user, and compare the comparison voice feature with the reference voice feature. If the comparison is successful, the voice is unlocked; The comparative speech feature acquisition module includes: An encrypted information acquisition submodule, used to encrypt the compared voice features through a first specific algorithm to obtain encrypted information; A voice feature comparison submodule, used to decrypt the encrypted information using a decryption algorithm corresponding to the first specific algorithm, and then compare it with the reference voice feature, and unlock the device if the comparison is successful; The encrypted information acquisition submodule includes: A secondary encryption unit, used to encrypt the comparison voice feature and the reference voice feature respectively through a second specific algorithm to obtain a character string to be compared corresponding to the comparison voice feature and a reference character string corresponding to the reference voice feature; The encryption information acquisition unit is used to encrypt the character string to be compared through a first specific algorithm to obtain encryption information.

7. The safe encryption system based on voiceprint recognition according to claim 6, It is characterized in that The first device identification acquisition module includes: A preliminary encryption method determination submodule, used to randomly determine the identity preliminary encryption method from a preset preliminary encryption method; A prompt instruction triggering submodule, used to trigger a corresponding prompt instruction according to the identity preliminary encryption method; The matching result determination submodule is used to preliminarily determine the identity information if a successful matching result is obtained within a preset time.

8. The safe encryption system based on voiceprint recognition according to claim 6, It is characterized in that The comparative speech feature acquisition module comprises: A voice feature encryption submodule, used for encrypting the compared voice feature through a first specific algorithm to obtain encrypted information; The voice feature comparison submodule is used to decrypt the encrypted information using a decryption algorithm corresponding to the first specific algorithm, and then compare it with the reference voice feature, and unlock the phone if the comparison is successful.