Information transmission method and device, equipment and storage medium

By using biometric data as encryption and decryption keys, the problems of complex passwords and easy leakage in the existing technology are solved, and high security and convenience of information transmission are achieved.

CN119341731APending Publication Date: 2025-01-21BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310890715.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-19
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

When ensuring security, existing information transmission methods have problems such as complex passwords, inconvenient memory, and the need to manually enter passwords and passwords are easily leaked, making it difficult to take into account both security and convenience.

Method used

The information is encrypted using the first biometric data of the user of the first device, and the encrypted information is sent to the second device. The second device decrypts the information using the second biometric data, using the biometric data as the encryption/decryption key. key.

Benefits of technology

Because biometric data is unique and difficult to forge and copy, it improves the controllability and security of the key, reduces the risk of the key being cracked or stolen, and improves the security of information transmission between devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119341731A_ABST
    Figure CN119341731A_ABST
Patent Text Reader

Abstract

The invention relates to an information transmission method and device, equipment and a storage medium, which are applied to first equipment, and the method comprises the following steps: receiving encrypted information sent by second equipment; wherein the encrypted information is generated after the second equipment encrypts information by using first biological characteristic data of a user of the first equipment; acquiring second biological characteristic data; and decrypting the encrypted information by using the second biological characteristic data to obtain a decryption result. Through the method, the controllability of the secret key is improved, the risk that the secret key is cracked or stolen can be reduced, and the security of information transmission between devices can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to an information transmission method and apparatus, device, and storage medium. Background Art

[0002] With the rapid development of Internet technology, information security has become increasingly important. Usually, when transmitting information, password encryption methods are used to protect information security and prevent it from being stolen.

[0003] The method of encrypting information with a password is simple and easy to use, but there are still problems such as complex passwords, inconvenient to remember, manual password input, and easy leakage of passwords. Therefore, how to improve the security of information transmission and take into account convenience while ensuring security still needs to be explored. Summary of the invention

[0004] The present invention provides an information transmission method, device, equipment, and storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an information transmission method, which is applied to a first device and includes:

[0006] Receiving encrypted information sent by a second device; wherein the encrypted information is generated by the second device encrypting the information using the first biometric data of the user of the first device;

[0007] acquiring second biometric data;

[0008] The encrypted information is decrypted using the second biometric data to obtain a decryption result.

[0009] In some embodiments, the encrypted information carries the first biometric data, and the decrypting the encrypted information using the second biometric data to obtain a decryption result includes:

[0010] Comparing the second biometric data with the first biometric data in the encrypted information to obtain a comparison result;

[0011] When the comparison result meets the preset comparison threshold, the decrypted information is obtained.

[0012] In some embodiments, decrypting the encrypted information using the second biometric data to obtain a decryption result includes:

[0013] When the comparison result does not meet the preset comparison threshold, a decryption failure result is obtained, and a decryption failure alarm message is output.

[0014] In some embodiments, the method further comprises:

[0015] detecting an instruction to open the encrypted information;

[0016] The obtaining of the second biometric characteristic data comprises:

[0017] According to the instruction, starting the camera of the first device to collect a face image;

[0018] Feature extraction is performed on the face image, and face data after feature extraction is used as the second biometric feature data.

[0019] In some embodiments, the method further comprises:

[0020] If no face is detected within a predetermined time period of collecting facial images by the camera, or a face other than the user is detected, exit the interface currently displayed by the first device.

[0021] In some embodiments, the method further comprises:

[0022] Detecting whether the face image captured by the camera is a living body image;

[0023] The step of extracting features from the face image and using the face data after the feature extraction as the second biometric feature data includes:

[0024] In the case that the face image is a living body image, feature extraction is performed on the face image, and face data after feature extraction is used as the second biometric feature data.

[0025] In some embodiments, starting the camera of the first device to capture a facial image according to the instruction includes:

[0026] According to the instruction, starting the three-dimensional camera of the first device to collect a three-dimensional face image;

[0027] The step of extracting features from the face image and using the face data after the feature extraction as the second biometric feature data includes:

[0028] The facial contour features, facial expression features and facial accessory features of the three-dimensional facial image are extracted, and the facial contour features, facial expression features and facial accessory features are used as the second biometric feature data.

[0029] According to a second aspect of an embodiment of the present disclosure, there is provided an information transmission method, which is applied to a second device, and includes:

[0030] Acquire first biometric data of a user of the first device;

[0031] Encrypting information using the first biometric data to obtain encrypted information;

[0032] The encrypted information is sent to the first device; wherein the encrypted information is used by the first device to decrypt using the second biometric data.

[0033] According to a third aspect of an embodiment of the present disclosure, there is provided an information transmission apparatus, which is applied to a first device, and the apparatus includes:

[0034] A receiving module, configured to receive encrypted information sent by a second device; wherein the encrypted information is generated by the second device encrypting the information using the first biometric data of the user of the first device;

[0035] A first acquisition module configured to acquire second biometric data;

[0036] The decryption module is configured to decrypt the encrypted information using the second biometric data to obtain a decryption result.

[0037] In some embodiments, the decryption module is further configured to compare the second biometric data with the first biometric data in the encrypted information to obtain a comparison result; when the comparison result meets a preset comparison threshold, the decrypted information is obtained.

[0038] In some embodiments, the decryption module is further configured to obtain a decryption failure result and output a decryption failure alarm message when the comparison result does not meet a preset comparison threshold.

[0039] In some embodiments, the apparatus further comprises:

[0040] A first detection module, configured to detect an instruction to open the encrypted information;

[0041] The first acquisition module is further configured to start the camera of the first device to capture a facial image according to the instruction; perform feature extraction on the facial image, and use the facial data after feature extraction as the second biometric data.

[0042] In some embodiments, the apparatus further comprises:

[0043] The exit module is configured to exit the interface currently displayed by the first device if no face is detected within a predetermined time period of collecting facial images by the camera, or if a face other than the user is detected.

[0044] In some embodiments, the apparatus further comprises:

[0045] A second detection module is configured to detect whether the face image captured by the camera is a living body image;

[0046] The first acquisition module is further configured to, when the face image is a living body image, perform feature extraction on the face image, and use the face data after feature extraction as the second biometric feature data.

[0047] In some embodiments, the first acquisition module is further configured to start the three-dimensional camera of the first device to capture a three-dimensional face image according to the instruction; extract facial contour features, facial expression features and facial accessory features of the three-dimensional face image, and use the facial contour features, facial expression features and facial accessory features as the second biometric data.

[0048] According to a fourth aspect of an embodiment of the present disclosure, there is provided an information transmission apparatus, which is applied to a second device, and the apparatus includes:

[0049] A second acquisition module is configured to acquire first biometric data of a user of the first device;

[0050] an encryption module, configured to encrypt information using the first biometric data to obtain encrypted information;

[0051] The sending module is configured to send the encrypted information to the first device; wherein the encrypted information is used by the first device to decrypt using the second biometric data.

[0052] According to a fifth aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device comprising:

[0053] processor;

[0054] a memory for storing processor-executable instructions;

[0055] The processor is configured to execute the information transmission method as described in the first aspect or the second aspect above.

[0056] According to a sixth aspect of an embodiment of the present disclosure, there is provided a storage medium, including:

[0057] When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the information transmission method as described in the first aspect or the second aspect above.

[0058] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0059] In an embodiment of the present disclosure, the second device uses the first biometric data of the user of the first device to encrypt information and then sends it to the first device. The first device uses the second biometric data to decrypt the encrypted information, wherein the encryption and decryption keys use biometric data. Since biometric data is unique and difficult to imitate and copy, compared with the encryption and decryption method of using an agreed password, there is no need for the user to remember and maintain the password, thereby improving the controllability of the key, reducing the risk of the key being cracked or stolen, and improving the security of information transmission between devices.

[0060] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0062] Figure 1 This is an example diagram of an application scenario of an information transmission method in an embodiment of the present disclosure.

[0063] Figure 2 The present invention is a schematic diagram of a method for transmitting information in related technology.

[0064] Figure 3 This is a flow chart of an information transmission method shown in the embodiment of the present disclosure. Figure 1 .

[0065] Figure 4 This is an example diagram of three-dimensional face image acquisition provided by an embodiment of the present disclosure.

[0066] Figure 5 This is an example diagram of feature points of a three-dimensional face image in an embodiment of the present disclosure.

[0067] Figure 6 This is a flow chart of an information transmission method shown in the embodiment of the present disclosure. Figure 2 .

[0068] Figure 7 It is an interactive example diagram of an information transmission method in an embodiment of the present disclosure.

[0069] Figure 8 This is an example of an information transmission device in the embodiment of the present disclosure. Figure 1 .

[0070] Fig. 9 This is an example of an information transmission device in the embodiment of the present disclosure. Figure 2 .

[0071] Fig.10It is a block diagram of a device according to an exemplary embodiment. DETAILED DESCRIPTION

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

[0073] Figure 1 FIG. 1 is an example diagram of an application scenario of an information transmission method in an embodiment of the present disclosure, such as Figure 1 As shown, sender A needs to transmit information to receiver B. For example, sender A transmits files to receiver B via Bluetooth or Wi-Fi; sender A shares network configuration information with receiver B, etc. The above information is encrypted before transmission, and the encryption before transmission can improve the security of transmission, wherein sender A can be the second device that sends information, and receiver B can be the first device that receives the encrypted information. In the disclosed embodiment, the first device and the second device can be smart phones, tablet computers, smart speakers, smart wearable devices, etc., which are not limited here.

[0074] Figure 2 It is a schematic diagram of an information transmission method in the related technology, such as Figure 2 As shown, it includes the following parts: sender A encrypts the plaintext using the key in L1 according to the encryption algorithm (that is, the information is encrypted using the password) to generate the ciphertext identified by L2; then sender A sends the ciphertext L2 to receiver B; after receiving the ciphertext, receiver B decrypts the ciphertext using the key in L3 according to the corresponding decryption algorithm (that is, the decrypted information is decrypted using the password) to obtain the plaintext identified by L4 (that is, the information before encryption), for example, the password is a password composed of agreed numbers and / or letters, symbols, etc.

[0075] Figure 2 The method shown has at least the following problems: (1) For information transmission scenarios with high security requirements, it is usually necessary to design a longer and more complex password; (2) The operator needs to remember and safely save the password; (3) The password needs to be changed regularly to improve the security of the password; (4) A third party can also decrypt and obtain information after obtaining the password; (5) The decrypted information may be viewed by people other than specific personnel; (6) The password needs to be manually entered to perform decryption, and the user experience is not smooth. In this regard, the embodiments of the present disclosure provide an information transmission method for at least improving one or more of the above problems.

[0076] Figure 3 This is a flow chart of an information transmission method shown in the embodiment of the present disclosure. Figure 1 , applied to the first device, such as Figure 3 As shown, the following steps are included:

[0077] S11, receiving encrypted information sent by a second device; wherein the encrypted information is generated by the second device encrypting the information using the first biometric data of the user of the first device;

[0078] S12, obtaining second biometric data;

[0079] S13: Decrypt the encrypted information using the second biometric data to obtain a decryption result.

[0080] In the disclosed embodiment, the first biometric data of the user of the first device may be face data, fingerprint data, iris data or voiceprint data, etc. The first biometric data may be the user's data collected and obtained in the information entry environment. In the information entry environment, the first device may prompt the user to cooperate to obtain first biometric data of better quality. The first biometric data may be the first device collecting images or sounds in the information entry environment and using the original collected data as the first biometric data; or the first device extracts features from the collected images or sounds and then uses the extracted features as the first biometric data; in addition, the first biometric data may also be the data obtained after the first device sends the original collected data to the second device and the second device extracts features.

[0081] Exemplarily, the first device may collect a two-dimensional or three-dimensional facial image of the user, and then use the facial image itself or data obtained after feature extraction of the facial image as the first biometric data; or, the first device may collect the voiceprint information of the user, and then use the voiceprint information itself or data obtained after feature extraction of the voiceprint information as the first biometric data.

[0082] Taking 3D face image acquisition as an example, Figure 4 is an example diagram of a three-dimensional face image acquisition provided by an embodiment of the present disclosure, such as Figure 4 As shown, the user of the first device uses the three-dimensional (3D) camera in the mobile phone to record his own 3D face image within the field of view indicated by A. When recording the 3D face image, the user of the first device needs to look directly at the 3D camera and record the complete facial information by turning his head up and down and left and right, so that the first biometric data can more accurately represent the user face of the first device.

[0083] In the embodiment of the present disclosure, the 3D camera for recording the 3D face image may be a structured light camera, a 3D TOF (Time offlight, time of flight) camera, etc., and the performance thereof may be as shown in Table 1 below:

[0084]

[0085] Through the above-mentioned performance 3D camera, based on the cooperation of the user of the first device, the second device can obtain the first biometric data of better quality.

[0086] It should be noted that, in the embodiments of the present disclosure, the first biometric data of the user of the first device may be stored in the second device in advance, so that the second device can use the first biometric data to encrypt information before transmitting the information to the first device. Exemplarily, the first device and the second device are devices in the same local area network. After the first device and the second device complete network configuration, the second device can use the aforementioned method to obtain and store the first biometric data of the user of the first device.

[0087] In addition, in the embodiment of the present disclosure, when the second device uses the first biometric data to encrypt information, for example, the first biometric data may be inserted into the information, or the first biometric data may be used to shift, map, or perform other transformations on the information based on a predetermined encryption algorithm.

[0088] In step S11, the first device may receive data obtained by encrypting information using the first biometric data by the second device, for example, the data may be received via Bluetooth or Wi-Fi.

[0089] In step S12, the first device obtains second biometric data, and the second biometric data may be data collected and obtained by the first device in real time.

[0090] In step S13, the first device uses the second biometric data to decrypt the encrypted information received in step S11. For example, for a method of inserting the first biometric data into the information to obtain encrypted information, the second biometric data and the encrypted information can be compared to obtain the decrypted information; for example, for a method of using the first biometric data to transform information based on a predetermined encryption algorithm, the second biometric data can be used to obtain the decrypted information based on a predetermined decryption algorithm.

[0091] It can be understood that if the first biometric data and the second biometric data are data associated with the same biometric of the same user, then in step S13, it is more likely that the first device uses the second biometric data to decrypt the encrypted information to obtain the decrypted information; and if the first biometric data and the second biometric data are not data of the same biometric of the same user, the decryption will fail. In this way, the security of information transmission can be improved.

[0092] In the disclosed embodiment, the encryption and decryption keys use biometric data. Since biometric data is unique and difficult to imitate and copy, compared with the method of encrypting and decrypting with an agreed password, there is no need for the user to remember and maintain the password, thereby improving the controllability of the key, reducing the risk of the key being cracked or stolen, and improving the security of information transmission between devices.

[0093] In some embodiments, the encrypted information carries the first biometric data, and the decrypting the encrypted information using the second biometric data to obtain a decryption result includes:

[0094] Comparing the second biometric data with the first biometric data in the encrypted information to obtain a comparison result;

[0095] When the comparison result meets the preset comparison threshold, the decrypted information is obtained.

[0096] As mentioned above, the first biometric data can be inserted into the information to obtain the encrypted information, that is, the encrypted information is obtained by adjusting the format of the original information. The first biometric data can be inserted as a whole into the head, middle or tail of the information, or can be inserted into different positions in the information.

[0097] In the embodiment of the present disclosure, when the first device performs decryption, it compares the second biometric data with the first biometric data at a predetermined position in the encrypted information for similarity, so as to obtain the decrypted information according to the comparison result. When performing feature comparison, for example, the Euclidean distance or correlation coefficient between the first biometric data and the second biometric data can be calculated.

[0098] Generally, if the first biometric data and the second biometric data are from the same biometric of the same user, the consistency of the corresponding comparison result will be relatively high, for example, the Euclidean distance is small, or the correlation coefficient is large; and if the first biometric data and the second biometric data are from different users, the consistency of the corresponding comparison result will be relatively low. Based on this, the embodiment of the present disclosure can compare the comparison result with the preset comparison threshold to determine whether the second biometric data is reliable, and if it is reliable (if the comparison result meets the preset comparison threshold), the first device can obtain the decrypted information.

[0099] It can be understood that in the embodiments of the present disclosure, the method of obtaining decrypted information by performing feature comparison in combination with a preset comparison threshold is highly intelligent and can improve decryption efficiency.

[0100] In some embodiments, decrypting the encrypted information using the second biometric data to obtain a decryption result includes:

[0101] When the comparison result does not meet the preset comparison threshold, a decryption failure result is obtained, and a decryption failure alarm message is output.

[0102] In the embodiment of the present disclosure, if the comparison result does not meet the preset comparison threshold, it means that the second biometric data is not likely to be the biometric data of the user of the first device, and the corresponding decryption will fail. In the case of decryption failure, the first device will output an alarm message, for example, the first device itself outputs the alarm message through screen display or sound broadcast so that the user of the first device can be informed; in addition, the first device can also output the alarm message to the second device so that the user of the second device can be informed.

[0103] It can be understood that in the embodiment of the present disclosure, when the comparison result does not meet the preset comparison threshold, it means that the second biometric data may not be the data of the user of the first device. At this time, an alarm message of decryption failure is output, which helps the user of the first device or the second device to immediately know that there is a risk in the current information transmission, and is highly intelligent.

[0104] In some embodiments, the method further comprises:

[0105] detecting an instruction to open the encrypted information;

[0106] The obtaining of the second biometric characteristic data comprises:

[0107] According to the instruction, starting the camera of the first device to collect a face image;

[0108] Feature extraction is performed on the face image, and face data after feature extraction is used as the second biometric feature data.

[0109] In an embodiment of the present disclosure, the first device may determine a detected touch operation on the encrypted information as an instruction to open the encrypted information, or may determine a detected voice instruction containing predetermined voice content as an instruction to open the encrypted information; wherein the touch operation is, for example, a click operation on the encrypted information; and the predetermined voice content is, for example, "display information". The embodiment of the present disclosure does not limit the manner in which the first device detects the instruction to open the encrypted information.

[0110] After the first device detects the instruction to open the encrypted information, it starts the camera of the first device to collect the face image in real time. During the process of collecting the face image, the interface of the first device may display a shooting frame to prompt the user to collect the face, or may not display the shooting frame and collect the face image without the user noticing. The camera of the first device may be a three-dimensional camera or a two-dimensional camera, which is not limited in the embodiments of the present disclosure.

[0111] After the first device collects the face image, it extracts features of the face image, such as extracting geometric features, texture features, expression features, etc. of the face, and then uses the face data after feature extraction as the second biometric data. It should be noted that in the embodiment of the present disclosure, the first biometric data is also obtained using the same feature extraction method as the second biometric data.

[0112] It can be understood that in the embodiments of the present disclosure, on the one hand, by real-time triggering to start the camera to capture facial images to obtain the second biometric data, the first device can successfully decrypt the second biometric data only when the user currently collecting the data is the user of the first biometric data. Therefore, in this way, designated personnel can be restricted from viewing information, which can improve the security of information transmission. On the other hand, based on the facial collection method, there is no need for the user to manually enter a password, and facial images can be collected and the second biometric data can be obtained without the user's perception, so the intelligence will be better.

[0113] In some embodiments, the method further comprises:

[0114] If no face is detected within a predetermined time period of collecting facial images by the camera, or a face other than the user is detected, exit the interface currently displayed by the first device.

[0115] In an embodiment of the present disclosure, a face detection algorithm may be configured in the first device to detect whether a face exists, wherein the face detection algorithm is, for example, based on the structural distribution characteristics and / or skin color characteristics of the face, and its purpose is to detect whether a face exists and the number of faces.

[0116] In addition, in the embodiments of the present disclosure, a face detection algorithm may not be configured, but features may be extracted from the collected image using a preset feature extraction method for a face image, and then the extracted features (such as the second biometric data) are compared with the first biometric data in the encrypted information, and the comparison result is used to determine whether a face exists or whether a face other than the user exists. Exemplarily, if the extracted features have a low similarity to the first biometric data, it means that a face image may not have been collected, or multiple face images may have been collected.

[0117] It should be noted that when the first device determines whether a face other than the user is collected, for example, it may consider that a face other than the user is collected when multiple faces are detected based on a face detection algorithm, or it may consider that a face other than the user is collected when the similarity between the extracted feature data and the first biometric data is low.

[0118] In the embodiment of the present disclosure, if the first device does not detect a face within a predetermined time period, or detects a face other than the user, it means that the person viewing the decrypted information includes a non-designated person, or the designated person may have misoperated to cause the first device to detect an opening instruction and thus collect a face image. At this time, the first device exits the interface currently displayed by the first device, for example, closing the information interaction interface between the first device and the second device in the first device. The designated person is a person other than the user of the first device.

[0119] It can be understood that the embodiment of the present disclosure can reduce the risk of leakage of information displayed on the first device by immediately closing the display interface when no face is detected or the face of an unspecified person is detected.

[0120] It should be noted that in the embodiment of the present disclosure, when the first device determines that no face is detected, or a face other than the user is detected, it can output an alarm message for the user of the first device to view, and can also output the alarm message to the second device for the user of the second device to view.

[0121] In some embodiments, the method further comprises:

[0122] Detecting whether the face image captured by the camera is a living body image;

[0123] The step of extracting features from the face image and using the face data after the feature extraction as the second biometric feature data includes:

[0124] In the case that the face image is a living body image, feature extraction is performed on the face image, and face data after feature extraction is used as the second biometric feature data.

[0125] In the disclosed embodiment, the first device can locate key points of the face and track the face in the collected face image. If the size and position of the face change within a preset time, or the position of the key points changes, it means that the object currently collected by the camera is a living object, and the corresponding face image is a living image. In addition, it is also possible to determine whether the photographed object is a living object based on the infrared image collected by the infrared camera. If it is determined to be a living object based on the infrared camera, it can be determined that the face image collected by the camera is a living image.

[0126] In the embodiment of the present disclosure, the first device performs feature extraction to obtain second biometric data when the face image is a live image in order to decrypt the encrypted information. It can be understood that by performing liveness detection in advance, common attacks such as photos, videos, masks, and screen shots can be reduced, thereby improving the security of information transmission.

[0127] It should be noted that, in the embodiment of the present disclosure, the first device may also output an alarm message when detecting that the face image is a non-living image.

[0128] In some embodiments, the first biometric data is three-dimensional facial feature data of the user; and starting the camera of the first device to capture a facial image according to the instruction includes:

[0129] According to the instruction, starting the three-dimensional camera of the first device to collect a three-dimensional face image;

[0130] The step of extracting features from the face image and using the face data after the feature extraction as the second biometric feature data includes:

[0131] The facial contour features, facial expression features and facial accessory features of the three-dimensional facial image are extracted, and the facial contour features, facial expression features and facial accessory features are used as the second biometric feature data.

[0132] In the disclosed embodiment, the first biometric data may be the feature data corresponding to the aforementioned 3D face image collected by the 3D camera. After the first device detects the instruction to open the encrypted information, it can collect the 3D face image of the user currently using the first device based on the 3D camera, and extract the facial contour features, facial expression features and facial accessories features of the 3D face image. Among them, the facial contour features include the 3D shape, relative position, proportion and other features of the eyes, nose, mouth, ears, eyebrows and other facial features, and may also include the shape and size of the head, as well as the shape, size, convexity or wrinkles of the face, forehead, eyes, cheekbones, cheeks, hair, jaw, neck and other parts. The facial expression features may include whether the eyes are open, as well as expressions such as smiling, frowning, and tilting the head; the facial accessories features may include whether glasses, hats, masks, earrings or necklaces are worn.

[0133] Figure 5 : is an example diagram of feature points of a three-dimensional face image in an embodiment of the present disclosure, and the corresponding Table 2 is a feature classification table:

[0134]

[0135] It should be noted that in the embodiments of the present disclosure, the features in the first biometric data and the second biometric data include the above-mentioned facial contour features, facial expression features, and facial accessories features. After the first device obtains the second biometric data based on the same feature extraction method as that for obtaining the first biometric data, it can use the second biometric data to decrypt the information decrypted using the first biometric data.

[0136] It can be understood that in the embodiments of the present disclosure, collecting three-dimensional facial images helps to increase the difficulty of malicious attacks, and can reduce the impact of lighting, thereby improving the robustness of obtaining second biometric data based on three-dimensional facial images; in addition, extracting multiple types of features based on three-dimensional facial images can also more comprehensively characterize users. Therefore, through the method of extracting three-dimensional facial images and multiple types of features, it helps to improve feature quality, thereby helping to improve the security of information transmission.

[0137] In summary, the information transmission method of the present disclosure has the following advantages over the method using passwords:

[0138]

[0139] Figure 6 This is a flow chart of an information transmission method shown in the embodiment of the present disclosure. Figure 2 , applied to the second device, such as Figure 6 As shown, the following steps are included:

[0140] S21, obtaining first biometric data of a user of a first device;

[0141] S22, encrypting information using the first biometric data to obtain encrypted information;

[0142] S23. Send the encrypted information to the first device; wherein the encrypted information is used by the first device to decrypt using the second biometric data.

[0143] In the disclosed embodiment, the first biometric data of the user of the first device may be data collected and obtained in an information entry environment. The second device may, for example, store the first biometric data of the user of the first device after joining the local area network where the first device is located, so that when information needs to be transmitted to the first device, the first biometric data is obtained from the storage space and encrypted. After the second device encrypts the information using the first biometric data, it sends the encrypted information to the first device so that the first device can decrypt it using the second biometric data.

[0144] Figure 7 is an interactive example diagram of an information transmission method in an embodiment of the present disclosure, such as Figure 7 As shown, the following steps are included:

[0145] S31, the second device obtains first biometric data of a user of the first device;

[0146] S32. The second device encrypts information using the first biometric data to obtain encrypted information;

[0147] S33. The second device sends the encrypted information to the first device;

[0148] S34, the first device obtains second biometric data;

[0149] S35. The first device decrypts the encrypted information using the second biometric data to obtain a decryption result.

[0150] It can be understood that in the embodiments of the present disclosure, the second device uses the first biometric data of the user of the first device to encrypt the information and then sends it to the first device, and the first device uses the second biometric data to decrypt the encrypted information, wherein the encryption and decryption keys use the biometric data. Since the biometric data is unique and difficult to be imitated and copied, the encryption and decryption method based on the agreed password does not require the user to remember and maintain the password, thereby improving the controllability of the key, reducing the risk of the key being cracked or stolen, and improving the security of information transmission between devices.

[0151] It should be noted that in the above method of the specific implementation mode, the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.

[0152] Figure 8 This is an example of an information transmission device in the embodiment of the present disclosure. Figure 1 , applied in the first device, refer to Figure 8 , the device comprises:

[0153] The receiving module 101 is configured to receive encrypted information sent by the second device; wherein the encrypted information is generated by the second device encrypting the information using the first biometric data of the user of the first device;

[0154] A first acquisition module 102, configured to acquire second biometric data;

[0155] The decryption module 103 is configured to decrypt the encrypted information using the second biometric data to obtain a decryption result.

[0156] In some embodiments, the decryption module 103 is further configured to compare the second biometric data with the first biometric data in the encrypted information to obtain a comparison result; when the comparison result meets a preset comparison threshold, the decrypted information is obtained.

[0157] In some embodiments, the decryption module 103 is further configured to obtain a decryption failure result and output a decryption failure warning message when the comparison result does not meet a preset comparison threshold.

[0158] In some embodiments, the apparatus further comprises:

[0159] A first detection module 104, configured to detect an instruction to open the encrypted information;

[0160] The first acquisition module 102 is further configured to start the camera of the first device to capture a facial image according to the instruction; perform feature extraction on the facial image, and use the facial data after feature extraction as the second biometric data.

[0161] In some embodiments, the apparatus further comprises:

[0162] The exit module 105 is configured to exit the interface currently displayed by the first device if no face is detected within a predetermined time period of collecting facial images by the camera, or a face other than the user is detected.

[0163] In some embodiments, the apparatus further comprises:

[0164] A second detection module 106 is configured to detect whether the face image captured by the camera is a living body image;

[0165] The first acquisition module 102 is further configured to, when the face image is a living body image, perform feature extraction on the face image, and use the face data after feature extraction as the second biometric feature data.

[0166] In some embodiments, the first acquisition module 102 is further configured to start the three-dimensional camera of the first device to capture a three-dimensional face image according to the instruction; extract facial contour features, facial expression features and facial accessory features of the three-dimensional face image, and use the facial contour features, facial expression features and facial accessory features as the second biometric data.

[0167] Fig. 9 This is an example of an information transmission device in the embodiment of the present disclosure. Figure 2 , applied to the second device, refer to Fig. 9 , the device comprises:

[0168] A second acquisition module 201 is configured to acquire first biometric data of a user of a first device;

[0169] An encryption module 202, configured to encrypt information using the first biometric data to obtain encrypted information;

[0170] The sending module 203 is configured to send the encrypted information to the first device; wherein the encrypted information is used by the first device to decrypt using the second biometric data.

[0171] about Figure 8 and Fig. 9 The specific manner in which each module performs operations in the device in the illustrated embodiment has been described in detail in the embodiment of the method, and will not be elaborated on here.

[0172] Fig.10 8 is a block diagram of a device apparatus 800 according to an exemplary embodiment. For example, the device 800 may be a first device or a second device, for example, the first device and the second device are both smart phones.

[0173] Reference Fig.10 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0174] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0175] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0176] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.

[0177] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0178] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0179] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0180] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0181] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as Wi-Fi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0182] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0183] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0184] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a first device, enables the first device to perform an information transmission method, the method comprising:

[0185] Receiving encrypted information sent by a second device; wherein the encrypted information is generated by the second device encrypting the information using the first biometric data of the user of the first device;

[0186] acquiring second biometric data;

[0187] The encrypted information is decrypted using the second biometric data to obtain a decryption result.

[0188] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a second device, enables the second device to perform an information transmission method, the method comprising:

[0189] Acquire first biometric data of a user of the first device;

[0190] Encrypting information using the first biometric data to obtain encrypted information;

[0191] The encrypted information is sent to the first device; wherein the encrypted information is used by the first device to decrypt using the second biometric data.

[0192] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims above.

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

Claims

1. An information transmission method, characterized in that: Applied in a first device, the method includes: Receiving encrypted information sent by a second device; wherein the encrypted information is generated by the second device encrypting the information using the first biometric data of the user of the first device; acquiring second biometric data; The encrypted information is decrypted using the second biometric data to obtain a decryption result.

2. The method according to claim 1, characterized in that The encrypted information carries the first biometric data, and the encrypted information is decrypted using the second biometric data to obtain a decryption result, including: Comparing the second biometric data with the first biometric data in the encrypted information to obtain a comparison result; When the comparison result meets the preset comparison threshold, the decrypted information is obtained.

3. The method according to claim 2, characterized in that The decrypting the encrypted information by using the second biometric data to obtain a decryption result includes: When the comparison result does not meet the preset comparison threshold, a decryption failure result is obtained, and a decryption failure alarm message is output.

4. The method according to claim 1, characterized in that The method further comprises: detecting an instruction to open the encrypted information; The obtaining of the second biometric characteristic data comprises: According to the instruction, starting the camera of the first device to collect a face image; Feature extraction is performed on the face image, and face data after feature extraction is used as the second biometric feature data.

5. The method according to claim 4, characterized in that The method further comprises: If no face is detected within a predetermined time period of collecting facial images by the camera, or a face other than the user is detected, exit the interface currently displayed by the first device.

6. The method according to claim 4, characterized in that The method further comprises: Detecting whether the face image captured by the camera is a living body image; The step of extracting features from the face image and using the face data after the feature extraction as the second biometric feature data includes: In the case that the face image is a living body image, feature extraction is performed on the face image, and face data after feature extraction is used as the second biometric feature data.

7. The method according to claim 4, characterized in that The first biometric data is three-dimensional facial feature data of the user; and starting the camera of the first device to capture a facial image according to the instruction includes: According to the instruction, starting the three-dimensional camera of the first device to collect a three-dimensional face image; The step of extracting features from the face image and using the face data after the feature extraction as the second biometric feature data includes: The facial contour features, facial expression features and facial accessory features of the three-dimensional facial image are extracted, and the facial contour features, facial expression features and facial accessory features are used as the second biometric feature data.

8. An information transmission method, characterized in that: Applied in the second device, the method includes: Acquire first biometric data of a user of the first device; Encrypting information using the first biometric data to obtain encrypted information; The encrypted information is sent to the first device; wherein the encrypted information is used by the first device to decrypt using the second biometric data.

9. An information transmission device, characterized in that: Applied in a first device, the apparatus comprises: A receiving module, configured to receive encrypted information sent by a second device; wherein the encrypted information is generated by the second device encrypting the information using the first biometric data of the user of the first device; A first acquisition module configured to acquire second biometric data; The decryption module is configured to decrypt the encrypted information using the second biometric data to obtain a decryption result.

10. An information transmission device, characterized in that: Applied in a second device, the apparatus comprises: A second acquisition module is configured to acquire first biometric data of a user of the first device; an encryption module, configured to encrypt information using the first biometric data to obtain encrypted information; The sending module is configured to send the encrypted information to the first device; wherein the encrypted information is used by the first device to decrypt using the second biometric data.

11. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the information transmission method as described in any one of claims 1 to 7; or, is configured to execute the information transmission method as described in claim 8.

12. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor in an electronic device, the electronic device is enabled to execute the information transmission method as described in any one of claims 1 to 7, or is configured to execute the information transmission method as described in claim 8.