Data processing method and device, electronic equipment, and storage medium
By using fingerprint recognition technology to initiate recording and generate a unique key, and combining environmental information and eye-tracking information to dynamically adjust the encryption level, the problem of insufficient data security in wearable devices is solved, and convenient and secure data processing is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING SUPERHEXA CENTURY TECH CO LTD
- Filing Date
- 2025-11-28
- Publication Date
- 2026-05-29
AI Technical Summary
In the data processing of wearable devices, traditional encryption and decryption methods are not secure enough, making them vulnerable to hacker attacks or data leaks, and failing to improve the security of user data.
By starting and stopping recording using fingerprint recognition technology, a unique key is generated, and the encryption level is dynamically adjusted by combining environmental information from the wearable device and the user's eye movement information to ensure the security of information during transmission and storage.
It achieves a deep integration of the convenience of data collection and operation of wearable devices with data security protection, enhances the security of user data, and prevents unauthorized interception, tampering, or access.
Smart Images

Figure CN121211486B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of data processing technology, and more specifically, relates to a data processing method and apparatus, electronic device, and storage medium. Background Technology
[0002] In today's digital age, wearable devices have become widely used in people's daily lives due to their convenience and functionality. However, information security issues are particularly prominent in the data processing of wearable devices. Information recorded by wearable devices, such as personal health data and videos of everyday life, often involves user privacy. Traditional data encryption and decryption methods are insufficiently secure, making them vulnerable to hacker attacks or data breaches, and failing to enhance the security of user data. Summary of the Invention
[0003] The purpose of this application is to provide a data processing method, apparatus, electronic device, and storage medium to enhance the security of user data.
[0004] A first aspect of this application provides a data processing method applied to a wearable device, comprising:
[0005] In response to obtaining the user's first fingerprint information, target information is recorded. The first fingerprint information is used to trigger the wearable device to start recording information. The target information is the video information and corresponding audio information of the wearable device within the current field of view.
[0006] In response to obtaining the user's second fingerprint information, recording of the target information is stopped, and the recorded target information is obtained; and a key corresponding to the recorded target information is generated based on the user's second fingerprint information.
[0007] The recorded target information is encrypted using a key to obtain encrypted information, which is then sent to a terminal device connected to the wearable device. The terminal device then decrypts the encrypted information based on the matching relationship between the user's third fingerprint information and second fingerprint information.
[0008] The encrypted information includes the encryption level of the recorded target information; the method for determining the encryption level includes:
[0009] The current working mode is determined based on the environmental information of the wearable device.
[0010] The initial encryption level of the recorded target information is determined based on the working mode;
[0011] Attention enhancement factors are determined based on the user's eye movement information; eye movement information refers to the duration of the user's gaze at the target information, and the attention enhancement factor represents the degree of attention the user pays to the target information.
[0012] The initial encryption level is adjusted based on the attention enhancement factor to obtain the encryption level of the recorded target information.
[0013] A second aspect of this application provides a data processing apparatus applied to a wearable device, an information acquisition module for recording target information in response to acquiring a user's first fingerprint information, wherein the first fingerprint information is used to trigger the wearable device to start information recording, and the target information is video information and corresponding audio information of the wearable device within its current field of view.
[0014] The key generation module is used to stop recording the target information in response to obtaining the user's second fingerprint information, obtain the recorded target information, and generate a key corresponding to the recorded target information based on the user's second fingerprint information.
[0015] The encrypted transmission module is used to encrypt the recorded target information based on a key to obtain encrypted information, and send the encrypted information to a terminal device connected to the wearable device, so that the terminal device can decrypt the encrypted information based on the matching relationship between the user's third fingerprint information and second fingerprint information;
[0016] The encrypted information includes the encryption level of the recorded target information; the method for determining the encryption level includes:
[0017] The current working mode is determined based on the environmental information of the wearable device.
[0018] The initial encryption level of the recorded target information is determined based on the working mode;
[0019] Attention enhancement factors are determined based on the user's eye movement information; eye movement information refers to the duration of the user's gaze at the target information, and the attention enhancement factor represents the degree of attention the user pays to the target information.
[0020] The initial encryption level is adjusted based on the attention enhancement factor to obtain the encryption level of the recorded target information.
[0021] A third aspect of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the computer program to implement the steps of the data processing method described above.
[0022] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the data processing method described above.
[0023] The beneficial effects of the data processing method, apparatus, electronic device, and storage medium provided in this application are as follows: First, this application uses the first fingerprint as the recording start command and the second fingerprint as the stop command, which can quickly complete the start and stop control of information collection without additional complex operations, greatly reducing the operational complexity of wearable devices; Second, the second fingerprint is directly associated with key generation, and the uniqueness and non-replicability of fingerprint biometrics are used to bind the key to the user's identity, eliminating the risk of the key being illegally cracked and stolen from the root; Third, the encryption level is determined by the initial strength through environmental information mapping working mode, and then dynamically adjusted by combining the attention enhancement factor corresponding to the user's eye movement fixation time, which not only ensures that the encryption strength is accurately matched with the security risks of the scene, but also optimizes the protection level according to the user's importance to the information, avoiding the waste of device computing power due to over-encryption or the risk of data leakage caused by insufficient encryption; Finally, the recorded information is transmitted to the terminal after being encrypted with a dedicated key, and decryption can only be performed by matching the third fingerprint with the second fingerprint, effectively preventing the data from being illegally intercepted, tampered with, or accessed during transmission or storage. This application achieves a deep integration of the convenience of wearable device data collection operation and data security protection, improving the security of user data. Attached Figure Description
[0024] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 A schematic flowchart illustrating a data processing method provided in an embodiment of this application;
[0026] Figure 2 A schematic flowchart illustrating a data processing method provided in another embodiment of this application;
[0027] Figure 3 This is a structural block diagram of a data processing apparatus provided in an embodiment of the present application;
[0028] Figure 4 This is a schematic block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0029] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0030] To make the objectives, technical solutions, and advantages of this application clearer, the following description will be provided in conjunction with the accompanying drawings and specific embodiments.
[0031] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating a data processing method provided in an embodiment of this application, which can be executed by an electronic device. The method may include:
[0032] S101: In response to obtaining the user's first fingerprint information, record the target information. The first fingerprint information is used to trigger the wearable device to start recording information. The target information is the video information and corresponding audio information of the wearable device within the current field of view.
[0033] In this embodiment, wearable devices refer to portable electronic devices that can be worn directly on a user's body or integrated into the user's clothing or accessories. Examples include smart glasses, which possess sensors, processors, and communication functions, enabling real-time collection of user data or environmental information. The first fingerprint information is a specific fingerprint registered by the user on the wearable device, used to trigger the wearable device to start the information recording function. The first fingerprint information can be an authentication identifier for a start command, recognized by the wearable device through fingerprint recognition technology, thereby initiating the information recording process.
[0034] In this embodiment, when the wearable device detects the user's first fingerprint information, it can initiate the recording operation of the target information. The target information to be recorded is the video information and corresponding audio information within the current field of view of the device. The first fingerprint information can serve as an instruction to start the information recording function. The wearable device recognizes the first fingerprint information through the fingerprint recognition module, thereby triggering the recording process.
[0035] For example, using smart glasses as an example, suppose a user wants to record the scenery along the way while running. After putting on the smart glasses, the user taps the fingerprint recognition area on the temple of the glasses to register their first fingerprint. The smart glasses then begin recording video and corresponding audio information of the area in front of them, such as roadside flowers and pedestrians, as well as the sound of the wind while running.
[0036] S102: In response to obtaining the user's second fingerprint information, stop recording the target information and obtain the recorded target information; and generate a key corresponding to the recorded target information based on the user's second fingerprint information.
[0037] In this embodiment, the second fingerprint information is fingerprint data provided by the user to trigger the wearable device to stop recording and generate an encryption key. The key is an encryption or decryption credential generated based on the second fingerprint information, used to encrypt and decrypt the target information.
[0038] In this embodiment, when the user places their finger on the fingerprint recognition module of the wearable device again and it is recognized as the second fingerprint information, the wearable device stops recording the target information. Simultaneously, the wearable device can utilize the unique characteristics of the second fingerprint information to generate a unique key using a specific encryption algorithm. The encryption algorithm in this embodiment can analyze features such as fingerprint ridges and minutiae to generate the key used to encrypt the target information.
[0039] Once the wearable device acquires and identifies the user's second fingerprint information, it can immediately terminate the ongoing recording of the target information, locking the collected video and audio data (i.e., the recorded target information) to prevent the data from being tampered with by subsequent unrelated operations. Simultaneously, the wearable device can generate a corresponding key based on this second fingerprint information (such as through encryption algorithms like hashing fingerprint features), strongly binding the key to the user's personal biometrics and ensuring that only the user possessing the second fingerprint can access the critical information needed for decryption.
[0040] For example, when the user wearing the smart glasses finishes running and reaches their destination, and wants to stop recording, they touch the fingerprint recognition area on the temple of the glasses again to register a second fingerprint. The smart glasses stop recording and generate a key based on the second fingerprint information. This key will be used to encrypt the video and audio information of the scenery along the running route that was just recorded.
[0041] S103: Encrypt the recorded target information based on the key to obtain encrypted information, and send the encrypted information to the terminal device connected to the wearable device so that the terminal device can decrypt the encrypted information based on the matching relationship between the user's third fingerprint information and the second fingerprint information.
[0042] In this embodiment, the encrypted information is a non-directly readable data form formed by encrypting the target information with a key, used to ensure the security of data transmission and storage. The terminal device is an electronic device (such as a mobile phone or tablet) that establishes a communication connection with the wearable device. It has fingerprint matching verification and data decryption functions and serves as the terminal for receiving and restoring encrypted information. The third fingerprint information is the fingerprint data provided by the user on the terminal device for decrypting the encrypted information; it needs to match the second fingerprint information to complete decryption authorization.
[0043] In this embodiment, the wearable device encrypts the recorded target information based on a generated proprietary key, converting the original video and audio data into encrypted information that cannot be directly read, preventing data interception or decryption during transmission. Subsequently, the wearable device sends the encrypted information to a pre-connected terminal device. The transmission method can depend on the communication protocol between the wearable device and the terminal device (such as Bluetooth, Wi-Fi, etc.). Upon receiving the encrypted information, the terminal device does not decrypt it directly but waits for the user to input a third fingerprint. This third fingerprint is then matched and verified against the second fingerprint used by the wearable device when generating the key. Only when the two match successfully will the terminal device use the matched fingerprint-associated key to decrypt the encrypted information, restoring the original video and audio data. If the match fails, decryption is impossible, ensuring that the data is only accessible to authorized users.
[0044] For example, after the smart glasses complete the recording of the target audio and video, they use a unique key generated based on the user's second fingerprint to encrypt the recorded audio and video data, generating an encrypted file that cannot be directly read. The smart glasses then send this encrypted file to a pre-bound mobile phone via Bluetooth. Upon receiving the encrypted file, the phone prompts the user to enter their fingerprint (third fingerprint) and automatically matches it with the second fingerprint for verification. If the match is successful, the phone uses the corresponding decryption logic to restore the original audio and video; if the match fails, it displays a decryption failure message indicating that the data cannot be accessed. This process can be performed within the app corresponding to the wearable device.
[0045] For example, a user opens the corresponding app for the smart glasses on their phone and enters their third fingerprint information on the app's interface. The phone then matches this third fingerprint information with the second fingerprint information used by the smart glasses to generate the key. If the match is successful, the phone decrypts the previously received encrypted information, allowing the user to watch videos of the scenery along their running route recorded by the smart glasses and listen to corresponding audio on their phone.
[0046] Please refer to Figure 2 , Figure 2This is a flowchart illustrating a data processing method provided in another embodiment of this application. In one embodiment of this application, the encrypted information includes the encryption level of the recorded target information.
[0047] In this embodiment, the encryption level is a hierarchical division that characterizes the encryption protection strength of the target information. Different levels correspond to different encryption algorithm strengths or key configurations.
[0048] The methods for determining the encryption level include:
[0049] S201: Determine the current working mode based on the environmental information of the wearable device.
[0050] In this embodiment, environmental information refers to data related to the current scene collected by the wearable device through sensors. The operating mode is a classification of the wearable device's operating state based on environmental information, such as: meeting mode, work mode, sports mode, or entertainment mode.
[0051] In this embodiment, the wearable device can collect real-time environmental information through camera image recognition or microphone ambient sound analysis. The wearable device has pre-defined mapping rules between environmental information and operating modes. Upon collecting environmental information, the wearable device can automatically match the corresponding operating mode, aiming to transform the safety risks of the objective scenario into quantifiable operating modes.
[0052] S202: Determine the initial encryption level of the recorded target information based on the working mode.
[0053] In this embodiment, the initial encryption level is a baseline value of encryption strength determined based on the working mode, reflecting the basic requirements of the scenario for data security.
[0054] In this embodiment, the wearable device pre-stores the correspondence between working modes and initial encryption levels. Different encryption levels correspond to different basic encryption algorithm strengths or key configurations. After determining the current working mode, the wearable device can directly call this correspondence to generate the initial encryption level for the recorded target information. This ensures that the initial encryption level setting matches the security requirements of the scenario, avoiding resource waste due to over-encryption or security risks due to insufficient encryption.
[0055] S203: Determine the attention enhancement factor based on the user's eye movement information; eye movement information is the duration of the user's gaze at the target information, and the attention enhancement factor represents the degree of attention the user pays to the target information.
[0056] In this embodiment, eye-tracking information refers to the duration of a user's gaze at the target information, collected by the wearable device through its eye-tracking sensor. The attention enhancement factor is a parameter derived from the user's eye-tracking information, used to reflect the degree of the user's attention to the target information. It is a key basis for adjusting the initial encryption level; a higher value indicates a higher degree of attention.
[0057] In this embodiment, the wearable device is equipped with an eye-tracking sensor that can capture the user's eye movement information in real time when viewing target information. The eye movement information is the duration of the user's gaze at the target information. The wearable device has a preset mapping rule between gaze duration and attention enhancement factor. For example, a gaze duration of 1-3 seconds corresponds to an enhancement factor of 1.0, 3-5 seconds corresponds to 1.2, and more than 5 seconds corresponds to 1.5. The longer the gaze duration, the higher the user's attention to the target information, and the larger the value of the attention enhancement factor.
[0058] S204: Adjust the initial encryption level based on the attention enhancement factor to obtain the encryption level of the recorded target information.
[0059] In this embodiment, the wearable device has a built-in preset adjustment algorithm. The initial encryption level and attention enhancement factor are input into the algorithm to dynamically adjust the initial encryption level. This ensures that the encryption level meets both the security requirements of the scenario and matches the user's level of attention to the information, thereby improving the accuracy of data security.
[0060] For example, suppose the encryption levels include a first encryption level and a second encryption level, where the first encryption level is higher than the second encryption level;
[0061] When users participate in project meetings wearing smart glasses, the glasses use a built-in camera to capture images of the meeting room scene and a microphone to collect low-noise and ambient sound from multiple speakers, completing environmental information collection. Based on preset mapping rules, the glasses automatically match the current working mode to meeting mode. The smart glasses pre-store the correspondence between meeting modes and the first encryption level, and then generate the initial encryption level of the recorded meeting audio and video as the second encryption level. During recording, the glasses' built-in eye-tracking sensor captures the user's eye movement information in real time. If the user's gaze at important presentation screens in the meeting lasts for more than 6 seconds, according to preset rules (more than 5 seconds corresponds to 1.5), the attention enhancement factor is determined to be 1.5. Finally, the glasses call an adjustment algorithm (final encryption level = initial encryption level × enhancement factor, rounded according to the level gradient). The second encryption level multiplied by 1.5 satisfies the threshold of the first encryption level, and the encryption level of the meeting audio and video is finally determined to be the first encryption level, accurately adapting to the high security requirements of the meeting scenario and the user's key focus, ensuring the security of sensitive meeting data.
[0062] As can be seen from the above, firstly, this embodiment uses the first fingerprint as the recording start command and the second fingerprint as the stop command, which can quickly complete the start and stop control of information collection without additional complex operations, greatly reducing the operational complexity of wearable devices; secondly, by directly associating the second fingerprint with key generation, the uniqueness and non-replicability of fingerprint biometrics are used to bind the key to the user's identity, eliminating the risk of the key being illegally cracked and stolen from the root; thirdly, the encryption level is determined by the initial strength through environmental information mapping working mode, and then dynamically adjusted by combining the attention enhancement factor corresponding to the user's eye movement fixation time, ensuring that the encryption strength is accurately matched with the security risks of the scene, and optimizing the protection level according to the user's importance to the information, avoiding the waste of device computing power due to over-encryption or the risk of data leakage caused by insufficient encryption; finally, the recorded information is transmitted to the terminal after being encrypted with a dedicated key, and decryption can only be performed by matching the third fingerprint with the second fingerprint, effectively preventing the data from being illegally intercepted, tampered with, or accessed during transmission or storage. This embodiment achieves a deep integration of the convenience of data collection operation and data security protection of wearable devices, comprehensively improving user efficiency and data security protection capabilities.
[0063] In one embodiment of this application, the encryption level includes: a first encryption level and a second encryption level, wherein the first encryption level is higher than the second encryption level;
[0064] Based on the matching relationship between the user's third fingerprint information and second fingerprint information, the encrypted information is decrypted, including:
[0065] In response to the encryption level being the first encryption level, the encrypted information is decrypted based on the first matching condition; the first matching condition is that the matching degree between the user's third fingerprint information and the second fingerprint information is greater than the first preset matching degree.
[0066] In response to the encryption level being the second encryption level, the encrypted information is decrypted based on the second matching condition; the second matching condition is that the matching degree between the user's third fingerprint information and the second fingerprint information is greater than the second preset matching degree; the first preset matching degree is greater than the second preset matching degree.
[0067] In this embodiment, the first encryption level represents a higher level of encryption protection, corresponding to more sensitive data, which requires stricter fingerprint matching conditions to decrypt. The second encryption level represents a lower level of encryption protection, corresponding to less sensitive data, which uses relatively lenient fingerprint matching conditions. The first preset matching degree is a fingerprint matching degree threshold set for the first encryption level; a value higher than the second preset matching degree is the standard for determining whether authentication of highly sensitive data has passed. The second preset matching degree is a fingerprint matching degree threshold set for the second encryption level; a value lower than the first preset matching degree is the standard for determining whether authentication of ordinary data has passed.
[0068] In this embodiment, the encrypted information is embedded with the corresponding encryption level during generation. After receiving the encrypted information sent by the wearable device, the terminal device first extracts the preset encryption level identifier (first encryption level or second encryption level) from the encrypted information. The terminal device needs to clearly define the encryption protection strength of the data before calling the corresponding authentication rules to avoid using lenient verification for highly sensitive data (first encryption level) or over-verifying ordinary data (second encryption level), ensuring that the verification process accurately matches the data security requirements.
[0069] When the terminal identifies the encryption level as Level 1, it indicates that the data is highly sensitive and requires stricter authentication standards. The terminal device can automatically invoke the first matching condition, activate the fingerprint acquisition module to obtain the user's input third fingerprint information, calculate the matching degree between the third fingerprint and the second fingerprint used to generate the key using a fingerprint recognition algorithm, and compare the calculation result with a first preset matching degree. Authentication is considered successful only when the matching degree exceeds this threshold; otherwise, authentication fails and decryption is rejected. When the terminal identifies the encryption level as Level 2, it indicates that the data is less sensitive and does not require overly stringent verification. The terminal device invokes the second matching condition, similarly collects the user's third fingerprint information, calculates its matching degree with the second fingerprint, but the comparison threshold is the second preset matching degree. Authentication is successful as long as the matching degree exceeds this threshold; otherwise, authentication fails. The aim is to appropriately relax the matching degree requirements without compromising basic security, avoiding authentication failures due to slight fingerprint wear, acquisition angle deviations, etc., improving the convenience of decrypting ordinary data, and balancing security and user experience.
[0070] In this embodiment, the terminal device will only invoke the decryption algorithm corresponding to the encryption level when the matching degree between the third fingerprint and the second fingerprint meets the corresponding preset conditions. Combined with the exclusive key unlocked after successful matching, the encrypted information is decrypted, restoring the original video and audio data. If the matching degree does not reach the corresponding preset threshold, the terminal will directly return a decryption failure message, refuse access to the data, and will not initiate the decryption algorithm. This ensures that data can only be obtained through authentication appropriate to the data security level, preventing unauthorized access to highly sensitive data while avoiding the cumbersome verification process of ordinary data, achieving a dynamic balance between security strength and verification convenience.
[0071] As can be seen from the above, this embodiment establishes a linkage mechanism between encryption level and fingerprint matching threshold. The highly sensitive first encryption level corresponds to a stricter first preset matching degree, significantly reducing the risk of highly important data being illegally decrypted; the less sensitive second encryption level is adapted to a relatively lenient second preset matching degree, avoiding over-verification that affects ease of use. This achieves both precise matching of security protection and data sensitivity, and balances security and user experience, improving the targeting and reliability of data decryption protection.
[0072] In one embodiment of this application, adjusting the initial encryption level based on an attention enhancement factor to obtain the encryption level of the recorded target information includes:
[0073] In response to the initial encryption level being the second encryption level and the attention enhancement factor being greater than the preset attention threshold, the encryption level of the recorded target information is adjusted to the first encryption level, and the first encryption level is used as the encryption level of the recorded target information.
[0074] In response to the initial encryption level being the second encryption level and the attention enhancement factor not exceeding the preset attention threshold, the second encryption level is used as the encryption level of the recorded target information;
[0075] In response to the initial encryption level being the first encryption level, the first encryption level is used as the encryption level for the recorded target information.
[0076] In this embodiment, the preset attention threshold is a critical parameter for determining whether to upgrade the second encryption level to the first encryption level. It is used to classify the user's level of attention to the target information. If the threshold is exceeded, it is considered as high attention, triggering the encryption level upgrade.
[0077] In this embodiment, when the wearable device determines the initial encryption level to be the second encryption level, and the calculated attention enhancement factor exceeds a preset attention threshold, it indicates that the user has a very high level of attention to the currently recorded target information. At this time, the device will trigger an encryption level upgrade operation, adjusting the original second encryption level to a more protective first encryption level, ensuring that the information that the user is highly concerned about can receive a higher level of security protection, and avoiding insufficient protection of important information due to a low initial scenario level.
[0078] If the initial encryption level is the second encryption level, and the attention enhancement factor does not exceed the preset attention threshold, it indicates that the user's level of attention to the target information is average. In this case, the device does not need to adjust the encryption level and can directly use the second encryption level as the final encryption level. This satisfies basic security requirements while avoiding over-encryption that would waste device computing power and resources, thus balancing security and efficiency.
[0079] When the initial encryption level is the first encryption level, the wearable device will directly use the first encryption level as the final encryption level, regardless of whether the attention enhancement factor exceeds the preset threshold. Because the basic security requirements of highly sensitive scenarios are inherently high, even if the user's attention is generally low in the short term, the data still possesses high sensitivity. Maintaining the first encryption level ensures that the data is always under high-strength protection, preventing a decrease in security level due to fluctuations in user attention.
[0080] For example, a user participates in a meeting wearing smart glasses. The preset attention threshold is 1.2, and the encryption level is divided into two levels: Level 1 and Level 2. If the meeting is a routine departmental work meeting, the glasses use a camera to identify the typical meeting room scene and a microphone to collect typical discussion sounds, matching the work mode to the normal meeting mode, with the initial encryption level being Level 2. During the meeting, when the leader assigns core work tasks, the eye-tracking sensor detects that the user gazes at key content of the presentation slides for up to 6 seconds, calculating an attention enhancement factor of 1.5. This value is greater than the preset threshold of 1.2, and the glasses automatically upgrade the encryption level to Level 1 to ensure the security of work information. If the user only records the routine meeting process, with a gaze duration of 2.5 seconds, the enhancement factor of 1.0 does not exceed the threshold, so the encryption level remains at Level 2 to avoid wasting computing power.
[0081] As can be seen from the above, this embodiment, through the adjustment rule of allowing upgrades at lower levels and not downgrading at higher levels, initially upgrades only highly sensitive information with attention enhancement factors exceeding a preset threshold to the first encryption level when it is set to the second encryption level. This avoids insufficient protection for important information in ordinary scenarios; while maintaining the original level for ordinary information of interest, it saves device computing power. Maintaining high protection at the initial first encryption level ensures the security of highly sensitive data, accurately matching the importance of information while balancing security and efficiency, thus improving the rationality of encryption protection.
[0082] In one embodiment of this application, decrypting encrypted information based on the matching relationship between the user's third fingerprint information and second fingerprint information includes:
[0083] If the third fingerprint information fails to match the second fingerprint information and the number of failed matches exceeds the preset number of matches, the third fingerprint information is locked so that it will not be matched with the second fingerprint information for a preset time period.
[0084] In response to receiving the fourth fingerprint information, the communication distance between the terminal device and the wearable device is determined. The fourth fingerprint information is different from the third fingerprint information.
[0085] If the communication distance is less than the preset communication distance, the fourth fingerprint information will be matched with the second fingerprint information;
[0086] Based on the matching relationship between the fourth fingerprint information and the second fingerprint information, the encrypted information is decrypted;
[0087] If the communication distance is not less than the preset communication distance, a prompt message will be output to inform the user that the terminal device cannot verify the fourth fingerprint information at this time.
[0088] In this embodiment, the preset matching count is the maximum number of times the terminal device allows the third fingerprint to fail to match the second fingerprint. The fourth fingerprint information is another fingerprint data provided by a user, different from the third fingerprint information, serving as a substitute verification credential after the third fingerprint is locked, used for flexible unlocking and decryption permissions. The communication distance is the real-time spatial distance between the terminal device and the wearable device, which can be detected and calculated through their communication modules. The preset communication distance is a critical distance value for determining whether the terminal and the wearable device are in a legitimate verification scenario; if it is less than this value, the scenario is considered legitimate, and subsequent matching operations are allowed.
[0089] In this embodiment, after receiving the user's third fingerprint information, the terminal device continuously compares the result with the second fingerprint information. When the number of failed matches exceeds a preset number, the terminal automatically triggers a locking mechanism, and will not accept matching requests between the third and second fingerprint information for a preset time period. The purpose is to prevent others from illegally obtaining decryption privileges by repeatedly trying different fingerprints through brute-force attacks, setting a security threshold based on the number of operations, and reducing the success rate of malicious attacks.
[0090] Once the third fingerprint is locked, if the terminal receives the fourth fingerprint information entered by the user, it will not immediately initiate matching. Instead, it will first detect the real-time communication distance between the terminal device and the wearable device via communication modules such as Bluetooth or Wi-Fi. This is because when a legitimate user decrypts, they usually hold both the terminal and the wearable device simultaneously, and the two are within close range; while when the fourth fingerprint is stolen remotely, the two are often separated. Distance detection can filter out illegal scenarios.
[0091] In this embodiment, if the detected communication distance is less than the preset communication distance, it indicates that the terminal device and the wearable device are within a close range controlled by the user, and the scenario is legal. At this time, the terminal can initiate the matching verification of the fourth fingerprint and the second fingerprint. If the two match successfully, the decryption algorithm of the corresponding encryption level is called, and the encrypted information is decrypted by combining the key; if the matching fails, the decryption rejection state is maintained, which not only ensures security, but also provides the user with an alternative verification option after the third fingerprint is locked, improving the flexibility of use.
[0092] If the detected communication distance is not less than the preset communication distance, it indicates that the terminal device and the wearable device may be in a separate state, posing a risk of remote misuse of the fourth fingerprint. In this case, the terminal will not initiate matching of the fourth fingerprint with the second fingerprint, but will directly output a prompt message, clearly informing the user that the current scenario does not meet the verification requirements and refusing the decryption operation. This further verifies the legality of the scenario, eliminates the possibility of remote unauthorized use of substitute fingerprints for decryption, and strengthens the comprehensiveness of data security protection.
[0093] For example, after a user records a company project meeting while wearing smart glasses, the encrypted audio and video are synchronized to the linked mobile phone, ready for decryption and viewing. The phone has a preset pairing count of 3 times, a preset time period of 30 minutes, and a preset communication distance of 1 meter. When the user first tries to decrypt using their commonly used index finger (third fingerprint information), if the finger sweats and the pairing fails 3 times consecutively, exceeding the preset pairing count, the phone automatically locks the index finger and indicates that the fingerprint cannot be verified within 30 minutes.
[0094] The user then attempted to decrypt using their middle finger (the fourth fingerprint, different from the index finger). The phone immediately detected the real-time communication distance between itself and the smart glasses via Bluetooth, finding a distance of 0.5 meters (less than the preset communication distance of 1 meter), thus determining the scenario to be legitimate. The phone then initiated a matching verification between the middle finger and the second fingerprint (the fingerprint used to generate the key). Upon successful matching, the corresponding encryption level's decryption algorithm was invoked, successfully restoring the conference audio and video.
[0095] If the user places their phone on their desk (1.5 meters away from the smart glasses, no less than the preset communication distance) and then enters their middle finger fingerprint, the phone will directly output a message saying "Device distance too far, unable to verify fingerprint," refusing to start the matching process. This avoids the risk of remotely stealing fingerprints for decryption, balancing security and flexibility of use.
[0096] As can be seen from the above, this embodiment effectively resists brute-force attacks by locking the third fingerprint that fails to match after a preset number of attempts; it avoids the inconvenience caused by locking with a single fingerprint by using a fourth fingerprint as an alternative verification option; and it eliminates the risk of remote theft by filtering legitimate scenarios through communication distance verification. This strengthens the security barrier of the decryption process while also taking into account usability, achieving a highly efficient balance between security protection and user experience.
[0097] In one embodiment of this application, the method further includes:
[0098] Perform content recognition on the recorded target information to determine the content sensitivity of the recorded target information;
[0099] The initial encryption level is adjusted based on content sensitivity to obtain the adjusted initial encryption level; where content sensitivity and encryption level are positively correlated.
[0100] The initial encryption level is adjusted based on the attention enhancement factor to obtain the encryption level of the recorded target information, including:
[0101] The initial encryption level is adjusted based on the attention enhancement factor to obtain the encryption level of the recorded target information.
[0102] In this embodiment, content sensitivity is a sensitivity index determined by content recognition technology based on the actual content of the recorded target information. It reflects the privacy or important attributes inherent in the information itself and is positively correlated with the encryption level.
[0103] In this embodiment, after recording the target information, the wearable device can activate its built-in content recognition module to comprehensively analyze the recorded video and audio data using technologies such as image recognition or audio recognition. Based on preset sensitive content judgment rules, the wearable device analyzes the sensitivity of the target information and ultimately determines the corresponding content sensitivity.
[0104] For example, after a user wears smart glasses to record a company project meeting, the target information is preprocessed. One key frame is extracted from the video every second, and blurry frames are filtered out to retain the core images. The audio is de-noised using speech-to-text technology to retain the effective dialogue content.
[0105] The video receiver detected the word "confidential" on the documents handed to it by the customer and captured two close-up shots of the customer's face (related to privacy); the audio receiver extracted two sensitive words, "bottom line for pricing" and "exclusivity clause for cooperation" through keyword matching (the preset sensitive word library is simplified and only contains high-frequency core sensitive words).
[0106] A "confidential" label earns 1 point, close-ups of faces earn 0.5 points each, and sensitive keywords earn 1 point each. The total score is 1 + 0.5 × 2 + 1 × 2 = 4 points. The score range is set as follows: 0-1 points for low sensitivity, 2-3 points for medium sensitivity, and 4 points and above for high sensitivity. Ultimately, the smart glasses quickly determine that the content of the target information is highly sensitive, which is both in line with the device's processing capabilities and meets actual security requirements.
[0107] In this embodiment, since content sensitivity is positively correlated with encryption level, the wearable device will substitute the determined content sensitivity into a preset adjustment rule. For example, if the initial encryption level is the second encryption level, and the content sensitivity is high, the initial encryption level will be upgraded to the adjusted initial encryption level (first encryption level); if the content sensitivity is low, the second encryption level will be maintained as the adjusted initial encryption level. The purpose is to overcome the limitations of determining the initial level solely based on the scenario (working mode), and to avoid insufficient protection due to low security requirements in the scenario but high sensitivity of the information itself, or waste of resources due to high security requirements in the scenario but low sensitivity of the information itself.
[0108] Wearable devices no longer directly adjust the original initial encryption level. Instead, they use the initial encryption level optimized for content sensitivity as a base, combined with a previously determined attention enhancement factor, and perform final optimization according to preset adjustment rules. For example, if the adjusted initial encryption level is the second encryption level and the attention enhancement factor exceeds a preset threshold, it is upgraded to the first encryption level; if the adjusted initial encryption level is the first encryption level, it is maintained regardless of the attention enhancement factor, ensuring that the final encryption level meets both objective security requirements and the user's level of importance to the information.
[0109] As can be seen from the above, this embodiment determines the sensitivity by identifying the actual content of the target information, and adjusts it in a positive correlation with the initial encryption level to obtain the optimized level. This overcomes the limitations of determining the initial level solely based on the scenario and avoids insufficient protection for scenarios with low sensitivity but highly sensitive content. Finally, an attention enhancement factor is used to complete the final adjustment, making the encryption level more accurate and balancing security protection with efficient use of device resources.
[0110] In one embodiment of this application, generating a key corresponding to the recorded target information based on the user's second fingerprint information includes:
[0111] Capacitance distribution features and fingerprint pattern features are extracted from the second fingerprint information;
[0112] The weights corresponding to capacitance distribution features and fingerprint pattern features are determined based on the ambient temperature and humidity information of the wearable device during its current operation.
[0113] The capacitance distribution features and fingerprint pattern features, along with their respective weights, are fused to obtain a comprehensive fingerprint feature.
[0114] Generate a key corresponding to the recorded target information based on comprehensive fingerprint features.
[0115] In this embodiment, the capacitance distribution feature is the capacitance value distribution data generated by the difference in distance between the ridges, valleys, and the sensor when the fingerprint comes into contact with the capacitive sensor, reflecting the physical characteristics of the fingerprint contact. The fingerprint ridge feature is the geometric pattern formed by the inherent ridges and valleys of the fingerprint, as well as the minutiae information, serving as a biometric identifier to distinguish different fingerprints. The comprehensive fingerprint feature is a unified feature data obtained by fusing the weighted capacitance distribution feature and the weighted fingerprint ridge feature using a preset algorithm.
[0116] In this embodiment, the fingerprint recognition module of the wearable device includes a capacitive sensor. When a user inputs a second fingerprint, the sensor simultaneously collects two types of features: capacitance distribution features and fingerprint ridge features. The purpose of collecting dual features is to compensate for the shortcomings of a single feature. For example, ridge features are easily affected by fingerprint wear, while capacitance distribution features can supplement the uniqueness of the contact layer, providing more comprehensive biometric support for key generation.
[0117] Wearable devices use built-in temperature and humidity sensors to collect real-time temperature and humidity information of the current working environment. Since ambient temperature and humidity affect the reliability of fingerprint feature acquisition, the device has a pre-defined mapping rule between temperature / humidity and feature weights. For example, in high humidity environments, the weight of capacitance distribution features decreases to 0.3, while the weight of fingerprint ridge features increases to 0.7; in normal temperature and humidity environments, both have a weight of 0.5. Through this rule, the wearable device can dynamically allocate the weights of the two types of features according to the actual environment, allowing the more reliable features to dominate during fusion, ensuring the stability of the overall feature.
[0118] Wearable devices incorporate a feature fusion algorithm that combines extracted capacitance distribution features and fingerprint pattern features with predetermined weights for calculation. For example, the capacitance distribution feature has a quantized value of A and a weight of... The fingerprint pattern feature quantization value is B, and the weight is Through the formula "Comprehensive Features = ( The goal is to obtain a comprehensive fingerprint feature. This involves integrating the advantages of dual features and combining them with environmentally adaptable weight adjustments to form a comprehensive feature that retains fingerprint uniqueness while resisting environmental interference, thus laying the foundation for generating a highly secure key.
[0119] The wearable device invokes a preset encrypted hash algorithm to perform an irreversible hash operation on the comprehensive fingerprint feature obtained in the third step, converting it into fixed-length binary data that cannot be directly reversed. This data is the exclusive key corresponding to the recorded target information. Because the comprehensive fingerprint feature possesses user uniqueness and environmental adaptability, the generated key also has strong uniqueness and anti-interference capabilities, and is deeply bound to the user's second fingerprint, ensuring that only the user holding that fingerprint can associate and decrypt the data, thus guaranteeing key security from the root.
[0120] As can be seen from the above, by extracting both fingerprint capacitance distribution and ridge features, the limitations of single features are overcome, resulting in a more comprehensive biometric basis for key generation. Dynamically adjusting the weights of these two types of features based on ambient temperature and humidity effectively counteracts the impact of environmental interference on feature acquisition, improving the stability of the comprehensive fingerprint features. Generating a key based on this stable and unique comprehensive feature strengthens the binding strength between the key and the user's biometrics, significantly reducing the risk of key cracking.
[0121] In one embodiment of this application, the encrypted information includes a preset validity period; the preset validity period is a valid access time limit set for the encrypted information;
[0122] The method for determining the preset validity period is as follows:
[0123] Determine the initial validity period based on the encryption level of the recorded target information;
[0124] The initial validity period is adjusted based on the attention enhancement factor to obtain the preset validity period;
[0125] Among them, the encryption level is negatively correlated with the initial validity period, and the attention enhancement factor is negatively correlated with the preset validity period;
[0126] Within the preset validity period, the preset validity period is cleared in response to the user's successful decryption of the encrypted information, and the encrypted information is cleared in response to the user's failure to decrypt the encrypted information.
[0127] In this embodiment, the preset validity period is a valid access time limit set for encrypted information. It is a dynamic time constraint generated by combining the encryption level and user attention, and its function is to limit the exposure time of encrypted information and reduce the risk of long-term storage. The initial validity period is a baseline value of validity period determined based on the encryption level. It is the basis of the preset validity period and is negatively correlated with the encryption level, reflecting the basic timeliness requirements of data classified according to security level.
[0128] In this embodiment, after determining the encryption level of the recorded target information, the wearable device invokes a preset mapping rule and generates an initial validity period based on the negative correlation between the two. The higher the encryption level, the shorter the initial validity period; the lower the encryption level, the longer the initial validity period. The purpose is to ensure that highly sensitive and important data is decrypted and used by legitimate users as quickly as possible, and shortening the validity period reduces the risk of long-term data storage or exposure; for ordinary data, the validity period can be appropriately extended to balance ease of use. For example, the first encryption level corresponds to an initial validity period of 1 day, and the second encryption level corresponds to an initial validity period of 7 days.
[0129] Because the attention enhancement factor is negatively correlated with the preset validity period, wearable devices will use the determined attention enhancement factor in a preset adjustment algorithm to compress or maintain the initial validity period. If the attention enhancement factor is high, the duration will be shortened from the initial validity period; if the factor is low, the initial validity period will remain unchanged. Important data that users are highly concerned about requires further shortening of exposure time to reduce the security risks of long-term storage; ordinary data that users are generally concerned about does not require additional time compression to ensure normal use. For example, with an initial validity period of 7 days and an attention enhancement factor of 1.5, the preset validity period is shortened to 3 days after adjustment.
[0130] Within a preset validity period, after receiving encrypted information, if the user successfully decrypts it, the preset validity period is automatically cleared, and the encrypted information becomes permanently accessible, ensuring legitimate users can use the data normally. If the user fails to decrypt, the encrypted information is directly deleted to prevent the data from remaining after the failure and to prevent subsequent unauthorized cracking or theft. This protects the rights of legitimate users while eliminating the security risk of data remaining long-term after decryption failure through the mechanism of destruction upon failure.
[0131] For example, a user wears smart glasses to record a confidential company project meeting. The glasses, through environmental recognition and attention analysis, determine the encryption level to be the first level. The preset mapping rule between encryption level and initial validity period is: the first encryption level corresponds to 1 day, and the second encryption level corresponds to 7 days; therefore, the initial validity period is 1 day. During recording, the eye-tracking sensor detects that the user's gaze duration on the core solution demonstration exceeds 5 seconds, and the attention enhancement factor is 1.5. Because the two are negatively correlated, the initial validity period is shortened to 0.5 days, and the final preset validity period is 12 hours.
[0132] The smart glasses send encrypted meeting audio and video with the specified validity period to the user's phone. The user has 10 hours to register a third fingerprint for decryption. Upon successful matching, the phone automatically clears the preset validity period, making the audio and video accessible indefinitely. If the user fails to match repeatedly due to fingerprint wear, the phone directly deletes the encrypted audio and video to prevent data leakage. If the user records ordinary work notes with an attention enhancement factor of 1.0 and an initial validity period of 7 days that has not been adjusted, the data will also be automatically deleted upon decryption failure.
[0133] As can be seen from the above, this embodiment dynamically sets the preset validity period through a dual-dimensional approach of encryption level and attention enhancement factor. Data with high sensitivity and high user attention corresponds to a shorter validity period, reducing the risk of leakage from long-term storage. Within the validity period, successful decryption clears the data to ensure legitimate use; failed decryption destroys the data, preventing potential subsequent unauthorized cracking.
[0134] In one embodiment of this application, the method further includes: a preset authorized fingerprint database;
[0135] The authorized fingerprint database stores the fifth fingerprint information of the authorized object, the corresponding authorized encryption level range, and the authorization validity period. The fifth fingerprint information is different from the first, second, third, and fourth fingerprint information.
[0136] In response to the terminal device not receiving a decryption request for the third or fourth fingerprint information, and receiving the fifth fingerprint information;
[0137] Verify that the fifth fingerprint information exists in the authorized fingerprint database and that the authorization period has not expired;
[0138] If the verification passes, determine whether the encryption level of the encrypted information falls within the authorized encryption level range corresponding to the fifth fingerprint information;
[0139] If so, match the fifth fingerprint information with the second fingerprint information based on the first or second matching condition corresponding to the encryption level;
[0140] If a match is successful, the encrypted information is decrypted; if a match fails, a decryption failure message is output, and the encrypted information is not cleared.
[0141] If the fifth fingerprint information is not in the authorized fingerprint database, the authorization period has expired, or the encryption level exceeds the authorized range, an unauthorized decryption prompt will be output directly.
[0142] In this embodiment, the authorized fingerprint database is a database that stores information related to the decryption of authorized objects, including the fifth fingerprint information, the range of authorized encryption levels, and the authorization validity period.
[0143] In this embodiment, an authorization fingerprint database is pre-built in the terminal device. The database explicitly stores four types of information: the fifth fingerprint information of the authorized object, the authorization encryption level range corresponding to the fingerprint (e.g., only decryption of second encryption level data is allowed), and the authorization validity period. The purpose is to define the authorization boundaries in advance to avoid subsequent authorization and decryption without a basis, and the data storage format is lightweight, without consuming too much device computing power.
[0144] The terminal device can monitor the source of decryption requests in real time. It will only initiate the authorized decryption process if it has not received a decryption request from the owner's third or fourth fingerprint, but has received a fifth fingerprint information alone. If it receives both the owner's (the owner of the wearable device) fingerprint and a fifth fingerprint request at the same time, it will prioritize responding to the owner's fingerprint for decryption, thus protecting the owner's control and avoiding conflicts between the authorized object and the owner's operations.
[0145] The terminal device first queries the authorized fingerprint database to verify whether the received fifth fingerprint information exists in the database and whether the corresponding authorization validity period has expired. If the fingerprint is not registered or the authorization has expired, the process is directly blocked to prevent expired authorization or access by unfamiliar fingerprints.
[0146] If the fifth fingerprint information is an authorized fingerprint, the terminal device can extract the actual encryption level of the encrypted information and determine whether it belongs to the authorized encryption level range corresponding to the fifth fingerprint, so as to prevent the authorized object from accessing highly sensitive data without authorization.
[0147] If the encryption level ranges match, the terminal device can reuse the existing decryption logic to match the fifth fingerprint information with the second fingerprint information of the generated key based on the matching conditions corresponding to the encryption level. Reusing existing matching rules reduces the computational burden on the device while ensuring consistency between the encryption level and the strictness of the matching.
[0148] If the match is successful, the terminal device will use the key to restore the encrypted information according to the decryption process of the corresponding encryption level, thereby enabling the authorized object to have legitimate access.
[0149] If the matching fails, only the "Decryption failed" message will be output without clearing the encrypted information. Since the authorized party is a legitimate collaborator, the failure may be due to objective reasons such as fingerprint collection errors. Retaining the data allows the party to try again, or the owner can decrypt it later to avoid accidental deletion and data loss.
[0150] For example, the project leader wears smart glasses to record a routine departmental work meeting, generating encrypted audio and video at the second encryption level and synchronizing it to their mobile phone. If the project leader is unable to decrypt the video personally due to a business trip, the owner pre-registers the fifth fingerprint of a colleague (the authorized recipient) in the phone's fingerprint database, setting the encryption level to "second encryption level only," with an authorization validity period of 3 days.
[0151] During a business trip, a colleague needed to review meeting minutes and initiated a decryption request on their phone using their fifth fingerprint. The phone did not receive the owner's third / fourth fingerprint request, triggering the authorization decryption process. First, it verifies that the fifth fingerprint exists in the authorized fingerprint database and its validity period has not expired. Then, it determines that the second encryption level of the encrypted information falls within the authorized scope. Finally, it reuses the second matching condition, matching the fifth fingerprint with the second fingerprint (the owner's fingerprint) used to generate the key.
[0152] After a successful match, the phone uses the key to decrypt the audio and video, allowing colleagues to view it smoothly. If the match fails due to a colleague's wet fingers, the phone only outputs a "Decryption failed, please try again" message without clearing the encrypted information. If a colleague attempts to decrypt another confidential meeting data at the first encryption level, the phone will determine that the encryption level exceeds the authorized scope and directly output a "Unauthorized to decrypt" message to ensure data security.
[0153] As can be seen from the above, this embodiment, by adding a limited decryption mechanism based on authorized fingerprints, not only addresses the information collaboration and sharing needs when the owner is unable to operate the system, but also strengthens the security defense by verifying the legality, timeliness, and encryption level range of authorized fingerprints. It reuses existing matching rules to adapt to the lightweight processing capabilities of devices, avoids accidental deletion by not clearing data in case of matching failures, and directly blocks access when unauthorized. Without violating the original security system, it achieves controllability and flexibility in authorized sharing, balancing collaboration efficiency and data security.
[0154] Corresponding to the data processing method in the above embodiments, Figure 3 This is a structural block diagram of a data processing apparatus provided according to an embodiment of this application. For ease of explanation, only the parts relevant to the embodiment of this application are shown. References Figure 3 The data processing device 20 includes: an information acquisition module 21, a key generation module 22, and an encrypted transmission module 23.
[0155] Information acquisition module 21 is used to record target information in response to acquiring the user's first fingerprint information. The first fingerprint information is used to trigger the wearable device to start information recording. The target information is the video information and corresponding audio information of the wearable device within the current field of view.
[0156] The key generation module 22 is used to stop recording the target information in response to obtaining the user's second fingerprint information, and obtain the recorded target information; and generate a key corresponding to the recorded target information based on the user's second fingerprint information.
[0157] Encryption transmission module 23 is used to encrypt the recorded target information based on the key to obtain encrypted information, and send the encrypted information to the terminal device connected to the wearable device, so that the terminal device can decrypt the encrypted information based on the matching relationship between the user's third fingerprint information and the second fingerprint information;
[0158] The encrypted information includes the encryption level of the recorded target information; the method for determining the encryption level includes:
[0159] The current working mode is determined based on the environmental information of the wearable device.
[0160] The initial encryption level of the recorded target information is determined based on the working mode;
[0161] Attention enhancement factors are determined based on the user's eye movement information; eye movement information refers to the duration of the user's gaze at the target information, and the attention enhancement factor represents the degree of attention the user pays to the target information.
[0162] The initial encryption level is adjusted based on the attention enhancement factor to obtain the encryption level of the recorded target information.
[0163] In one embodiment of this application, the encryption level includes: a first encryption level and a second encryption level, wherein the first encryption level is higher than the second encryption level;
[0164] Encrypted transmission module 23 is specifically used for:
[0165] In response to the encryption level being the first encryption level, the encrypted information is decrypted based on the first matching condition; the first matching condition is that the matching degree between the user's third fingerprint information and the second fingerprint information is greater than the first preset matching degree.
[0166] In response to the encryption level being the second encryption level, the encrypted information is decrypted based on the second matching condition; the second matching condition is that the matching degree between the user's third fingerprint information and the second fingerprint information is greater than the second preset matching degree; the first preset matching degree is greater than the second preset matching degree.
[0167] In one embodiment of this application, the encrypted transmission module 23 is further configured to:
[0168] In response to the initial encryption level being the second encryption level and the attention enhancement factor being greater than the preset attention threshold, the encryption level of the recorded target information is adjusted to the first encryption level, and the first encryption level is used as the encryption level of the recorded target information.
[0169] In response to the initial encryption level being the second encryption level and the attention enhancement factor not exceeding the preset attention threshold, the second encryption level is used as the encryption level of the recorded target information;
[0170] In response to the initial encryption level being the first encryption level, the first encryption level is used as the encryption level for the recorded target information.
[0171] In one embodiment of this application, the encrypted transmission module 23 is further configured to:
[0172] If the third fingerprint information fails to match the second fingerprint information and the number of failed matches exceeds the preset number of matches, the third fingerprint information is locked and will not be matched with the second fingerprint information for a preset time period.
[0173] In response to receiving the fourth fingerprint information, the communication distance between the terminal device and the wearable device is determined. The fourth fingerprint information is different from the third fingerprint information.
[0174] If the communication distance is less than the preset communication distance, the fourth fingerprint information will be matched with the second fingerprint information;
[0175] Based on the matching relationship between the fourth fingerprint information and the second fingerprint information, the encrypted information is decrypted;
[0176] If the communication distance is not less than the preset communication distance, a prompt message will be output to inform the user that the terminal device cannot verify the fourth fingerprint information at this time.
[0177] In one embodiment of this application, the data processing device 20 further includes: an encryption level adjustment module, specifically used for:
[0178] Perform content recognition on the recorded target information to determine the content sensitivity of the recorded target information;
[0179] The initial encryption level is adjusted based on content sensitivity to obtain the adjusted initial encryption level; where content sensitivity and encryption level are positively correlated.
[0180] The initial encryption level is adjusted based on the attention enhancement factor to obtain the encryption level of the recorded target information, including:
[0181] The initial encryption level is adjusted based on the attention enhancement factor to obtain the encryption level of the recorded target information.
[0182] In one embodiment of this application, the key generation module 22 is specifically used for:
[0183] Capacitance distribution features and fingerprint pattern features are extracted from the second fingerprint information;
[0184] The weights corresponding to capacitance distribution features and fingerprint pattern features are determined based on the ambient temperature and humidity information of the wearable device during its current operation.
[0185] The capacitance distribution features and fingerprint pattern features, along with their respective weights, are fused to obtain a comprehensive fingerprint feature.
[0186] Generate a key corresponding to the recorded target information based on comprehensive fingerprint features.
[0187] In one embodiment of this application, the encrypted information includes a preset validity period; the preset validity period is a valid access time limit set for the encrypted information;
[0188] The method for determining the preset validity period is as follows:
[0189] Determine the initial validity period based on the encryption level of the recorded target information;
[0190] The initial validity period is adjusted based on the attention enhancement factor to obtain the preset validity period;
[0191] Among them, the encryption level is negatively correlated with the initial validity period, and the attention enhancement factor is negatively correlated with the preset validity period;
[0192] Within the preset validity period, the preset validity period is cleared in response to the user's successful decryption of the encrypted information, and the encrypted information is cleared in response to the user's failure to decrypt the encrypted information.
[0193] See Figure 4 , Figure 4 This is a schematic block diagram of an electronic device provided according to an embodiment of this application. Figure 4 The electronic device 300 in this embodiment may include one or more processors 301, one or more input devices 302, one or more output devices 303, and one or more memories 304. The processors 301, input devices 302, output devices 303, and memories 304 communicate with each other via a communication bus 305. The memories 304 store computer programs, including program instructions. The processors 301 execute the program instructions stored in the memories 304. Specifically, the processors 301 are configured to invoke the program instructions to perform the functions of the modules in the aforementioned device embodiments, for example... Figure 3 The functions of the information acquisition module 21, the key generation module 22, and the encrypted transmission module 23 are shown.
[0194] It should be understood that, in the embodiments of this application, the processor 301 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0195] Input device 302 may include a touchpad, a fingerprint sensor (for collecting the user's fingerprint information and fingerprint orientation information), a microphone, etc., and output device 303 may include a display (LCD, etc.), a speaker, etc.
[0196] The memory 304 may include read-only memory and random access memory, and provides instructions and data to the processor 301. A portion of the memory 304 may also include non-volatile random access memory. For example, the memory 304 may also store information such as keys and encryption levels.
[0197] In specific implementations, the processor 301, input device 302, and output device 303 described in the embodiments of this application can execute the implementation methods described in the data processing methods provided in the embodiments of this application, or they can execute the implementation methods of the electronic devices described in the embodiments of this application, which will not be repeated here.
[0198] In another embodiment of this application, a computer-readable storage medium is provided. This computer-readable storage medium stores a computer program, which includes program instructions. When executed by a processor, the program instructions implement all or part of the processes in the methods described above. Alternatively, the computer program can instruct related hardware to complete the process. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include any entity or device capable of carrying computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0199] The computer-readable storage medium can be an internal storage unit of the electronic device in any of the foregoing embodiments, such as a hard disk or memory of the electronic device. The computer-readable storage medium can also be an external storage device of the electronic device, such as a plug-in hard disk, smart media card (SMC), secure digital card (SD), flash card, etc., equipped on the electronic device. Furthermore, the computer-readable storage medium can include both internal and external storage units of the electronic device. The computer-readable storage medium is used to store computer programs and other programs and data required by the electronic device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
[0200] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.
[0201] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the electronic devices and units described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0202] In the several embodiments provided in this application, it should be understood that the disclosed electronic devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the couplings or direct couplings or communication connections shown or discussed may be indirect couplings or communication connections through some interfaces or units, or they may be electrical, mechanical, or other forms of connection.
[0203] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments of this application, depending on actual needs.
[0204] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0205] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A data processing method, characterized in that, Applications in wearable devices, including: In response to obtaining the user's first fingerprint information, target information is recorded. The first fingerprint information is used to trigger the wearable device to start information recording. The target information is video information and corresponding audio information of the wearable device within the current field of view. In response to obtaining the user's second fingerprint information, recording of the target information is stopped, and the recorded target information is obtained; and a key corresponding to the recorded target information is generated based on the user's second fingerprint information. The recorded target information is encrypted using the key to obtain encrypted information, and the encrypted information is sent to a terminal device connected to the wearable device, so that the terminal device can decrypt the encrypted information based on the matching relationship between the user's third fingerprint information and the second fingerprint information. The step of decrypting the encrypted information based on the matching relationship between the user's third fingerprint information and the second fingerprint information includes: In response to the failure of the third fingerprint information to match the second fingerprint information, and the number of failed matches being greater than a preset number of matches, the third fingerprint information is locked so that it will not be matched with the second fingerprint information for a preset time period. In response to receiving fourth fingerprint information, the communication distance between the terminal device and the wearable device is determined, wherein the fourth fingerprint information is different from the third fingerprint information; If the communication distance is less than the preset communication distance, then the fourth fingerprint information is matched with the second fingerprint information; Based on the matching relationship between the fourth fingerprint information and the second fingerprint information, the encrypted information is decrypted; If the communication distance is not less than the preset communication distance, a prompt message is output. The prompt message is used to inform the user that the terminal device cannot verify the fourth fingerprint information at present. It also includes: a pre-defined authorized fingerprint database; The authorized fingerprint database stores the fifth fingerprint information of the authorized object, the corresponding authorized encryption level range, and the authorization validity period. The fifth fingerprint information is different from the first, second, third, and fourth fingerprint information. In response to the terminal device not receiving a decryption request for the third or fourth fingerprint information, and receiving the fifth fingerprint information; Verify that the fifth fingerprint information exists in the authorized fingerprint database and that the authorization validity period has not expired; If the verification passes, determine whether the encryption level of the encrypted information falls within the authorized encryption level range corresponding to the fifth fingerprint information; If so, match the fifth fingerprint information with the second fingerprint information based on the first or second matching condition corresponding to the encryption level; If a match is successful, the encrypted information is decrypted; if a match fails, a decryption failure message is output, and the encrypted information is not cleared. If the fifth fingerprint information is not in the authorized fingerprint database, the authorization period has expired, or the encryption level exceeds the authorized range, an unauthorized decryption prompt will be output directly. The encrypted information includes the encryption level of the recorded target information; the method for determining the encryption level includes: The current working mode is determined based on the environmental information of the wearable device. The initial encryption level of the recorded target information is determined based on the aforementioned working mode; An attention enhancement factor is determined based on the user's eye movement information; the eye movement information is the duration of the user's gaze at the target information, and the attention enhancement factor represents the degree of attention the user pays to the target information. The initial encryption level is adjusted based on the attention enhancement factor to obtain the encryption level of the recorded target information.
2. The data processing method as described in claim 1, characterized in that, The encryption levels include: a first encryption level and a second encryption level, wherein the first encryption level is higher than the second encryption level; Based on the matching relationship between the user's third fingerprint information and the second fingerprint information, the encrypted information is decrypted, including: In response to the encryption level being the first encryption level, the encrypted information is decrypted based on a first matching condition; the first matching condition is that the matching degree between the user's third fingerprint information and the second fingerprint information is greater than a first preset matching degree. In response to the encryption level being the second encryption level, the encrypted information is decrypted based on the second matching condition; the second matching condition is that the matching degree between the user's third fingerprint information and the second fingerprint information is greater than the second preset matching degree; the first preset matching degree is greater than the second preset matching degree.
3. The data processing method as described in claim 2, characterized in that, The process of adjusting the initial encryption level based on the attention enhancement factor to obtain the encryption level of the recorded target information includes: In response to the initial encryption level being the second encryption level and the attention enhancement factor being greater than a preset attention threshold, the encryption level of the recorded target information is adjusted to the first encryption level, and the first encryption level is used as the encryption level of the recorded target information; In response to the initial encryption level being the second encryption level and the attention enhancement factor not being greater than the preset attention threshold, the second encryption level is used as the encryption level of the recorded target information; In response to the initial encryption level being the first encryption level, the first encryption level is used as the encryption level of the recorded target information.
4. The data processing method as described in claim 1, characterized in that, Also includes: Perform content recognition on the recorded target information to determine the content sensitivity of the recorded target information; The initial encryption level is adjusted based on the content sensitivity to obtain an adjusted initial encryption level; wherein the content sensitivity and the encryption level are positively correlated. The process of adjusting the initial encryption level based on the attention enhancement factor to obtain the encryption level of the recorded target information includes: The initial encryption level is adjusted based on the attention enhancement factor to obtain the encryption level of the recorded target information.
5. The data processing method as described in claim 1, characterized in that, The step of generating the key corresponding to the recorded target information based on the user's second fingerprint information includes: Capacitance distribution features and fingerprint pattern features are extracted from the second fingerprint information; The weights corresponding to the capacitance distribution features and the fingerprint pattern features are determined based on the ambient temperature and humidity information of the wearable device during its current operation. The capacitance distribution features and the fingerprint pattern features, along with their respective weights, are fused to obtain a comprehensive fingerprint feature. A key corresponding to the recorded target information is generated based on the comprehensive fingerprint features.
6. The data processing method as described in claim 1, characterized in that, The encrypted information includes a preset validity period; the preset validity period is a valid access time limit set for the encrypted information. The method for determining the preset validity period is as follows: Based on the encryption level of the recorded target information, determine the initial validity period; The initial validity period is adjusted based on the attention enhancement factor to obtain the preset validity period; The encryption level is negatively correlated with the initial validity period, and the attention enhancement factor is negatively correlated with the preset validity period. Within the preset validity period, if the user successfully decrypts the encrypted information, the preset validity period is cleared; if the user fails to decrypt the encrypted information, the encrypted information is cleared.
7. A data processing apparatus, characterized in that, Applications in wearable devices, including: The information acquisition module is used to record target information in response to acquiring the user's first fingerprint information. The first fingerprint information is used to trigger the wearable device to start information recording. The target information is video information and corresponding audio information of the wearable device within the current field of view. The key generation module is used to stop recording the target information in response to obtaining the user's second fingerprint information, thereby obtaining the recorded target information; and to generate a key corresponding to the recorded target information based on the user's second fingerprint information. An encrypted transmission module is used to encrypt the recorded target information based on the key to obtain encrypted information, and send the encrypted information to a terminal device connected to the wearable device, so that the terminal device can decrypt the encrypted information based on the matching relationship between the user's third fingerprint information and the second fingerprint information; The encrypted transmission module is also specifically used for: In response to the failure of the third fingerprint information to match the second fingerprint information, and the number of failed matches being greater than a preset number of matches, the third fingerprint information is locked so that it will not be matched with the second fingerprint information for a preset time period. In response to receiving fourth fingerprint information, the communication distance between the terminal device and the wearable device is determined, wherein the fourth fingerprint information is different from the third fingerprint information; If the communication distance is less than the preset communication distance, then the fourth fingerprint information is matched with the second fingerprint information; Based on the matching relationship between the fourth fingerprint information and the second fingerprint information, the encrypted information is decrypted; If the communication distance is not less than the preset communication distance, a prompt message is output. The prompt message is used to inform the user that the terminal device cannot verify the fourth fingerprint information at present. It also includes: a pre-defined authorized fingerprint database; The authorized fingerprint database stores the fifth fingerprint information of the authorized object, the corresponding authorized encryption level range, and the authorization validity period. The fifth fingerprint information is different from the first, second, third, and fourth fingerprint information. In response to the terminal device not receiving a decryption request for the third or fourth fingerprint information, and receiving the fifth fingerprint information; Verify that the fifth fingerprint information exists in the authorized fingerprint database and that the authorization validity period has not expired; If the verification passes, determine whether the encryption level of the encrypted information falls within the authorized encryption level range corresponding to the fifth fingerprint information; If so, match the fifth fingerprint information with the second fingerprint information based on the first or second matching condition corresponding to the encryption level; If a match is successful, the encrypted information is decrypted; if a match fails, a decryption failure message is output, and the encrypted information is not cleared. If the fifth fingerprint information is not in the authorized fingerprint database, the authorization period has expired, or the encryption level exceeds the authorized range, an unauthorized decryption prompt will be output directly. The encrypted information includes the encryption level of the recorded target information; the method for determining the encryption level includes: The current working mode is determined based on the environmental information of the wearable device. The initial encryption level of the recorded target information is determined based on the aforementioned working mode; An attention enhancement factor is determined based on the user's eye movement information; the eye movement information is the duration of the user's gaze at the target information, and the attention enhancement factor represents the degree of attention the user pays to the target information. The initial encryption level is adjusted based on the attention enhancement factor to obtain the encryption level of the recorded target information.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 6.
9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 6.