Terminal equipment privacy data sharing and viewing method and related device

The neural network classification model identifies and encrypts private data on smartphones, allowing only authorized devices and users to view it. This solves the problem of smartphone users mistakenly sharing private data in social software and significantly reduces the risk of privacy leaks.

CN118761097APending Publication Date: 2024-10-11HUBEI QIGUANG TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411141708.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-10
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Smartphone users mistakenly share private data in social software due to the order of file storage and the large number of contact groups, resulting in the risk of privacy leakage.

Method used

The neural network classification model automatically identifies private data and restricts its sharing to authorized devices. The data packet is encrypted using the identification information of the target device and decrypted through user biometric characteristics to ensure that only authorized users can view it.

Benefits of technology

It effectively avoids the risk of leakage caused by mistaken sharing of private data, improves data security and traceability, and ensures that only authorized devices and users can receive and view sensitive information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118761097A_ABST
    Figure CN118761097A_ABST
Patent Text Reader

Abstract

The invention provides a terminal equipment privacy data sharing and viewing method and a related device. The sharing method comprises the steps that in response to a received sharing instruction for first private data, a corresponding authorized device list is displayed according to a classification identifier of the data, and the classification identifier is generated through a neural network classification model; in response to the authorization device selection instruction, determining identification information of a target authorization device and a user biological recognition feature; generating an encrypted data packet of the first private data by using the identification information; and the encrypted data packet of the first privacy data and the user biological recognition feature are associated and sent to the target authorization device. The privacy leakage risk caused by misoperation and the like is avoided by limiting the sharing of the privacy data to the equipment authorized according to the specific classification. The identification and classification of the private data can be automatically performed by the terminal device, and the shared data can be viewed only when the biological characteristics of the user of the authorized device are matched. Therefore, the leakage risk of the privacy data is further reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of terminal technology, and in particular to a method for sharing and viewing private data of a terminal device and a related device. Background Art

[0002] In recent years, the performance of terminal devices such as smartphones has become increasingly powerful and has been integrated into people's daily lives and work in all aspects. People use smartphones to take photos in various occasions, chat with others through social software, and send and receive various data or pictures.

[0003] Smartphone users often share data (e.g., pictures) through social software (e.g., instant messaging software). Since various files are usually stored together in the order in which they are received or taken, and the number of contacts and groups in social software is relatively large, there is a situation where users send files to irrelevant users or groups, resulting in privacy leakage and other serious consequences. Summary of the invention

[0004] According to a first aspect of the present disclosure, a method for sharing privacy data of a terminal device is proposed, comprising: in response to receiving a sharing instruction for first privacy data, displaying a list of authorized devices corresponding to the classification identifier of the first privacy data according to the classification identifier of the first privacy data, wherein the classification identifier of the first privacy data is generated by a neural network classification model; in response to an authorization device selection instruction based on the authorized device list, determining identification information of a target authorized device corresponding to the selection instruction and a user biometric feature of the target authorized device; generating an encrypted data packet of the first privacy data using the identification information of the target authorized device; and associating the encrypted data packet of the first privacy data with the user biometric feature and sending it to the target authorized device.

[0005] According to the second aspect of the present disclosure, a method for viewing privacy data of a terminal device is proposed, including: receiving an encrypted data packet of associated first privacy data and a user biometric feature; in response to the received user biometric feature matching a preset user biometric feature, decrypting the encrypted data packet of the first privacy data using identification information of the terminal device to obtain the first privacy data; and presenting the first privacy data in a privacy data viewing interface.

[0006] According to a third aspect of the present disclosure, a terminal device is proposed, comprising: a processor; and a memory on which executable code is stored, and when the executable code is executed by the processor, the processor executes the method based on the first or second aspect.

[0007] According to a fourth aspect of the present disclosure, a non-transitory machine-readable storage medium is provided, on which executable code is stored. When the executable code is executed by a processor of an electronic device, the processor is caused to execute the method described in the first or second aspect.

[0008] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising computer program instructions, which, when executed by a processor, implement the steps of the method according to the first or second aspect.

[0009] As a result, the sharing device is restricted to only share private data with authorized devices according to specific categories, thus avoiding the risk of privacy leakage caused by misoperation, etc. The identification and classification of private data can be automatically performed by the terminal device, and the shared data needs to match the biometrics of the authorized device user before it can be further viewed, thus further reducing the risk of private data leakage. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and other objects, features and advantages of the present disclosure will become more apparent through a more detailed description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components in the exemplary embodiments of the present disclosure.

[0011] Figure 1 An exemplary hardware structure block diagram of a terminal device according to an embodiment of the present disclosure is shown.

[0012] Figure 2 A schematic flowchart of a method for sharing private data of a terminal device according to an embodiment of the present disclosure is shown.

[0013] Figure 3 An example of privacy classification, storage and viewing of pictures according to an embodiment of the present disclosure is shown.

[0014] Figure 4 An example of authorized device addition and setting operations according to an embodiment of the present disclosure is shown.

[0015] Figure 5 A complete process example of private picture sharing according to an embodiment of the present disclosure is shown.

[0016] Figure 6 A schematic flowchart of a method for viewing private data of a terminal device according to an embodiment of the present disclosure is shown.

[0017] Figure 7 Accordingly, an example of receiving and viewing a shared private picture according to the present disclosure is shown.

[0018] Figure 8An example of a device to be authorized making an authorization request according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0019] The embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0020] The terms "first", "second", etc. in the specification and claims of the present invention are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable under appropriate circumstances, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0021] Common examples of end devices that are either sharers or receivers of images, files, or other data include smartphones, tablets, laptops, and desktops. Figure 1 1 shows an exemplary hardware structure block diagram of a terminal device according to an embodiment of the present disclosure. The terminal device may be an exemplary mobile phone 100 having the hardware structure shown. Figure 1 As shown, the mobile phone 100 may specifically include: a radio frequency (RF) circuit 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a short-range wireless communication module 170, a processor 180, and a power supply 190. Those skilled in the art will appreciate that Figure 1 The structure of the mobile phone 100 shown in the figure does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0022] Combine the following Figure 1 The components of the mobile phone 100 are described in detail:

[0023] The RF circuit 110 can be used for receiving and sending signals during information transmission or calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 180 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, etc. In addition, the RF circuit 110 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, and the wireless communication can include Global System For Mobile Communications (Global System For Mobile Communications, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Time Division Code Division Multiple Access (Time-Division Code Division Multiple Access, TD-SCDMA), Long Term Evolution (Long Term Evolution, LTE), New Radio (New Radio, NR), GNSS, FM, low-orbit satellite connection and / or IR technology, etc. The GNSS may include a Global Positioning System (GPS), a Global Navigation Satellite System (GLONASS), a BeiDou Navigation Satellite System (BDS), a Quasi-Zenithsatellite System (QZSS) and / or a Satellite Based Augmentation System (SBAS), etc.

[0024] The memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as pictures, audio data, phone books, etc.), etc. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. For example, the memory 120 may store an operating system and application code to perform the sharing or viewing method described below.

[0025] The input unit 130 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone 100. Specifically, the input unit 130 may include a touch panel 131 and other input devices 132. The touch panel 131, also known as a touch screen, can collect user touch operations on or near it, and drive the corresponding connection device according to a pre-set program. In addition to the touch panel 131, the input unit 130 may also include other input devices 132. Specifically, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.

[0026] The display unit 140 can be used to display information input by the user or information provided to the user and various menus of the mobile phone, such as displaying different applications. The display unit 140 may include a display panel 141. Optionally, the display panel 141 may be configured in the form of a liquid crystal display, a light emitting diode, an organic light emitting diode, an active matrix organic light emitting diode, etc. Further, the touch panel 131 may cover the display panel 141. When the touch panel 131 detects a touch operation on or near it, it is transmitted to the processor 180 to determine the type of touch event. Subsequently, the processor 180 provides a corresponding visual output on the display panel 141 according to the type of touch event. Although in Figure 1 In the embodiment, the touch panel 131 and the display panel 141 are used as two independent components to realize the input and output functions of the mobile phone, but in some embodiments, the touch panel 131 and the display panel 141 can be integrated into a touch screen to realize the input and output functions of the mobile phone.

[0027] The mobile phone 100 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 141 and / or the backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0028] The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the mobile phone. The audio circuit 160 can transmit the received audio data to the speaker 161 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then the audio data is output to the processor 180 for processing, and then sent to another electronic device through the RF circuit 110, or the audio data is output to the memory 120 for further processing.

[0029] Communication technologies such as Wi-Fi, Bluetooth, Near Field Communication (NFC) and Ultra Wide Band (UWB) belong to short-range wireless transmission technologies. The mobile phone can help users send and receive emails, browse web pages and access streaming media through the short-range wireless module 170, which provides users with wireless broadband Internet access. The above-mentioned short-range wireless module 170 may include a Wi-Fi chip, a Bluetooth chip, an NFC chip and a UWB chip. The Wi-Fi chip can realize the function of Wi-Fi Direct connection between the mobile phone 100 and other electronic devices, and can also make the mobile phone 100 work in an AP mode (Access Point mode) that can provide wireless access services and allow other wireless devices to access, or work in a STA mode (Station mode) that can connect to an AP but does not accept wireless devices to access, thereby establishing point-to-point communication between the mobile phone 100 and other Wi-Fi devices.

[0030] The processor 180 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 120, and calling data stored in the memory 120, it executes various functions of the mobile phone and processes data, thereby monitoring the mobile phone as a whole. Optionally, the processor 180 may include one or more processing units; optionally, the processor 180 may include, for example, an application processor (Application Processor, AP), a modem processor, a graphics processor (Graphics Processing Unit, GPU), an image signal processor (Image Signal Processor, ISP), a controller, a video codec, a digital signal processor (Digital Signal Processor, DSP), a baseband processor, and / or a neural network processor (Neural-Network Processing Unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors.

[0031] The mobile phone 100 also includes a power source 190 (such as a battery) for supplying power to various components. Preferably, the power source can be logically connected to the processor 180 through a power management system, so that the power management system can manage functions such as charging, discharging, and power consumption.

[0032] The software system of the mobile phone 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture, etc. For example, the Android system or the IOS (IOperating System) both adopt a layered architecture.

[0033] The mobile phone 100 may also include a camera. Optionally, the position of the camera on the mobile phone may be front-mounted, rear-mounted, or include both front-mounted and rear-mounted cameras, which is not limited in the embodiments of the present disclosure. As the functions of the mobile phone 100 become increasingly powerful, people will use cameras to take pictures or videos of various shooting objects in various scenarios. The pictures or videos obtained thereby may be private data with privacy implications.

[0034] Here, "privacy data" generally refers to data that the user of the terminal device does not want to be disclosed or known to others (or people outside a certain range). Although the "privacy" of data focuses on the subjective unwillingness of the user to disclose it, in actual operation, the terminal device can determine the privacy of the data through the user's active operation (for example, the user actively marks certain pictures as private pictures), or automatically determine the privacy of the data through certain objective judgment criteria, such as the automatic classification based on neural networks in the public sharing method described below. These objective judgment criteria can be some recognized privacy judgment criteria (that is, most people think it involves "privacy"). For example, under normal circumstances, property status, physical condition, etc. are considered to be privacy that should not be disclosed.

[0035] For example, after viewing his paper medical examination report, the user took a photo of the medical examination report. The photo of the medical examination report can generally be considered as a private photo containing private content because it contains the user's personal physical condition information. The picture will be stored in the mobile phone's gallery together with regular pictures (and videos). The user may want to share the physical examination photos (private photos) with his parents or spouse through social software, and also share food photos (non-private photos) with friends. When sharing, the user may accidentally share private pictures with other users who are currently chatting on the social software, or accidentally click on private photos when sharing daily photos with others, resulting in privacy leaks.

[0036] To this end, the present disclosure proposes a terminal device private data sharing method and a corresponding viewing method. By limiting the sharing of private data to devices authorized according to specific classifications, the risk of privacy leakage caused by misoperation can be avoided. The identification and classification of private data can be automatically performed by the terminal device, and the shared data needs to match the user biometric features of the authorized device user before it can be further viewed. In this way, the risk of private data leakage is further reduced.

[0037] In the present disclosure, the terminal device executing the private data sharing method may also be referred to as a "sharing device", and the terminal device receiving the shared private data may also be referred to as a "target authorized device". The terminal device executing the private data viewing method may also be referred to as a "receiving device".

[0038] Figure 2 A schematic flow chart of a method for sharing private data of a terminal device according to an embodiment of the present disclosure is shown. The method is executed by a sharing device.

[0039] In the use scenario of the terminal device, the private data may be pictures in particular. In the following description, pictures are mainly used as examples of private data. However, it should be understood that in other embodiments, the private data may also include other types of files, such as text files (which may also include pictures related to the text content), etc.

[0040] In step S210, in response to receiving a sharing instruction for the first privacy data, a list of authorized devices corresponding to the classification identifier of the first privacy data is displayed according to the classification identifier of the first privacy data. In the example where the privacy data is a picture, the user can, for example, select the picture to be shared in the gallery as the first privacy data and perform a sharing operation (for example, select the picture and choose to share). Since the first privacy data is data that has been deemed by the terminal device to be unsuitable for public disclosure and has a specific privacy data classification (for example, as will be described in detail below, privacy data can have different classifications: document data, property data, physical condition data, or data that is not suitable for public disclosure based on region), in response to receiving a sharing instruction, the terminal device will only display a list of devices that are authorized to view the classified data for selection.

[0041] As a result, users can only share private data of a specific category with devices that are authorized to view the classified data, thereby avoiding the occurrence of erroneous operations of users transmitting private data to unauthorized devices.

[0042] In the sharing method disclosed herein, a certain data in the terminal device is private data and corresponds to a specific classification, which is automatically determined by the terminal device rather than identified by the user. Specifically, the classification identification of the first private data can be generated by a neural network classification model. For example, the neural network classification model can use the picture taken or received by the terminal device as the model input for inference, and determine whether the corresponding picture corresponds to a certain classification of the private data based on the output result of the model and add the corresponding identification.

[0043] In step S220, in response to an authorization device selection instruction based on the authorization device list, identification information corresponding to a target authorization device of the selection instruction and a user biometric feature of the target authorization device are determined.

[0044] In the present disclosure, the authorized device list displayed by the terminal device is operable, so that the user can input an operation instruction (i.e., an authorized device selection instruction) based on the authorized device list. For example, the user can select a target authorized device (e.g., a target authorized device) with which to share the first private data by clicking on one or more authorized devices in the authorized device list. Figure 5As shown, in the "Device List that Meets the Authorization Scope" interface, you can click the send button after "Device 1 of User B" to select the device as the target authorized device for the current sharing operation). The terminal device can determine the target authorized device by identifying the authorized device selection instruction.

[0045] In the terminal device, the authorized device and the relevant identity information obtained during the device authorization process can be stored together, for example, in the authorized device list under the corresponding category. The relevant "identity" information obtained during the device authorization process may include the identity information of the device, and may also include the identity information of the user using the device. In one embodiment, the relevant "identity" information obtained during the device authorization process may include: the identification information of the device (for example, the device unique identifier, and in some embodiments also includes the personal account information of the specific user using the device) and the user biometric characteristics of the device user, such as fingerprint feature information. Therefore, after the user selects a specific device based on the authorized device list, the terminal device can determine the target authorized device currently being shared, and accordingly determine the identification information and user biometric characteristics of the target authorized device.

[0046] In step S230, an encrypted data packet of the first private data may be generated using the identification information of the target authorized device.

[0047] Specifically, a key may be obtained based on the identification information, and the key may be used to encrypt the first private data to generate an encrypted data packet of the first private data. In one embodiment, the identification information itself may be directly used as a key to encrypt the first private data. In another embodiment, the first private data may be encrypted using a key generated based on the identification information (in this case, the target authorized device needs to know the rule for generating a key based on the identification information).

[0048] Then, in step S240, the encrypted data packet of the first private data is associated with the user's biometric identification feature and sent to the target authorization device.

[0049] In one embodiment, the encrypted data packet of the first private data and the user's biometric identification feature can be sent to the target authorization device at the same time. Then, the user of the target authorization device can first input his or her own biometric identification feature according to the prompt, for example, input a fingerprint, and after the biometric identification feature input by the user successfully matches the received user's biometric identification feature, the target authorization device directly decrypts the encrypted data packet according to its own identification information to obtain the first private data.

[0050] In order to further increase security, in one embodiment, the user's biometric features may be sent to the target authorization device first. If the target authorization device receives the user's biometric features and the user's own biometric features input based on them can match the received user's biometric features (by returning matching confirmation information according to the agreement, or directly returning matching verification information generated based on the biometric features input by the user, and this matching verification information should be different from the sent user's biometric features), then the target authorization device can be considered to be used by the target user when authorized, and continue to send the encrypted data packet of the first private data. In another embodiment, the encrypted data packet of the first private data and the user's biometric features can be sent together, but the encrypted data packet of the first private data is further encrypted using the user's biometric features, so that the target authorization device can also successfully decrypt to obtain the encrypted data packet of the first private data only when the input biometric features can match the sent user's biometric features. Subsequently, the target authorization device can decrypt the encrypted data packet based on its own identification information to obtain the first private data.

[0051] Therefore, the terminal device private data sharing method disclosed in the present invention automatically identifies private data through a neural network classification model, and allows only selection from a list of authorized devices under the corresponding classification when sharing private data, thereby avoiding the risk of users mistakenly sending private data. By encrypting and sending private data in association with the user's biometric features, the private data can only be received and viewed by specific authorized users of the target authorized device, further ensuring the security of the private data.

[0052] In order to further improve the security and traceability of private data sharing, blockchain can be used to record each sharing. To this end, the terminal device private data sharing method disclosed in the present invention can also include: using the identification information corresponding to the target authorized device to generate an operation record of the first private data; adding the operation record to the blockchain node.

[0053] Blockchain is a decentralized distributed database consisting of a series of sequentially connected data blocks (herein, "data blocks" may also be referred to as "data blocks" or "blocks"), each of which contains a certain number of transaction records or other information. These blocks form an unalterable chain through cryptographic technology, and each block contains the hash value of the previous block, thereby ensuring the integrity and security of the data. Blockchain nodes are responsible for storing data blocks and are the storage units in the blockchain, which can keep data synchronized and always up to date. Any node can quickly determine whether any block has changed. When a new full node joins the blockchain network, it downloads a copy of all the blocks on the current chain. When the new node is synchronized with other nodes and updated to the latest blockchain version, it can receive any new blocks like other nodes.

[0054] In the present disclosure, after receiving data of an operation record generated according to a sharing operation of private data, a blockchain node can generate a new block and connect it to the blockchain, thereby fixing the sharing operation on the blockchain.

[0055] The operation record can be a record that describes the current sharing operation, which usually needs to indicate the sharing party, the target party, the specific sharing content and the sharing time. In one embodiment, the sharing party and the target party include not only their respective devices, but also the user account of the device. At this time, an example of the operation information is as follows:

[0056] - User A (user account) sends the image to the user through the device (device unique identifier)

[0057] B (user account) device (device unique identifier), the hash value of the original image specific hash algorithm:

[0058] ****, Beijing time YYYY / MM / DDDD HH:MM:SS

[0059] The terminal device may add the above operation information to the blockchain node after or at the same time as executing step S240, thereby making an unchangeable record of the sharing operation. Thus, by searching the blockchain node, the sharing operation can be traced back, thereby further enhancing security. In some embodiments, the terminal device may perform a sending operation of associating the encrypted data packet of the first private data with the user's biometric identification feature to the target authorized device via a dedicated server. The dedicated server may also perform an adding operation of adding the operation record to the blockchain node.

[0060] As mentioned above, the privacy data sharing method disclosed in the present invention may correspond to a privacy picture sharing method. In this case, the privacy data is a privacy picture. Thus, the method shown also includes: using the aforementioned neural network classification model to classify the picture taken by the terminal device; and in response to the picture being determined to be a privacy picture, putting the picture into the privacy picture area for encrypted storage.

[0061] Exemplarily, the neural network classification model in the present disclosure can be obtained based on pre-set privacy picture classification training. The terminal device is provided with a privacy picture area corresponding to each privacy picture classification. The privacy picture classified by the neural network classification model can be placed in the corresponding type of privacy picture area for encrypted storage.

[0062] Among them, encrypted storage is a data storage method in which the stored data is protected by encryption technology to ensure that only authorized users can access and decrypt the data. In encrypted storage, data is encrypted before storage, and only authorized users with decryption keys can access the data. In the present disclosure, the decryption parameters containing the owner's personal account can be used as the decryption key to decrypt the encrypted stored private pictures.

[0063] For the convenience of explanation, in the following description combined with examples, the terminal device that executes the above sharing method of the present disclosure may be referred to as device 1 of user A, that is, user A uses his device 1 to perform the sharing operation. Device 1 may execute the privacy picture sharing method of the present disclosure in response to the operation of user A. Accordingly, the target authorized device (that is, the target device on which user A uses his device 1 to perform the sharing operation) is referred to as device 1 of user B, that is, user B may use his device 1 to receive and view the shared privacy pictures. It should be understood that the "device 1" in "user A's device 1" and "user B's device 1" here is not the same device, but a device used by user A and user B respectively.

[0064] Figure 3 An example of privacy classification, storage and viewing of pictures according to an embodiment of the present disclosure is shown. As shown in the figure, pictures taken by the camera of the terminal device (as well as pictures received from other channels, such as pictures received and stored from social software) can be managed in a unified gallery. The gallery can be a terminal device (e.g. Figure 1The picture management software that comes with the operating system of the mobile phone 100 shown in the figure, for example, can be a gallery APP. The gallery can apply for a specific area in the memory for the storage of pictures, and in some embodiments, these pictures can be stored in the cloud. The pictures in the gallery can be classified using a neural network classification model. Here, the neural network classification model is an AI (Artificial Intelligence) model that can classify the pictures as input into private pictures and non-private pictures, and in some embodiments, classify the private pictures in a more fine-grained manner. Whenever a new picture is stored, the gallery APP can call the neural network classification model to classify the picture; or classify a batch of pictures one by one when the predetermined operating conditions are met. In one embodiment, the neural network classification model can correspond to a two-classification model, and the two classifications correspond to the private picture class and the non-private picture class respectively. In another embodiment, the neural network classification model can correspond to a multi-classification model (i.e., an N classification model, N is greater than 2), one of the N classifications corresponds to the non-private picture class, and the remaining N-1 classifications each correspond to a sub-classification under the private picture class. It should be understood that the neural network classification model called by the gallery APP is a trained neural network model. The model can be trained using images corresponding to each category and their labels as training data.

[0065] Figure 3 The neural network classification model (AI model) shown can be a five-classification model. That is, it is a model that can not only determine whether a picture is a private picture, but also determine the category to which the private picture belongs. The five categories correspond to privacy category 1, privacy category 2, privacy category 3, privacy category 4 and non-privacy category, respectively. As shown in the figure, the AI ​​model can automatically identify and classify the pictures in the gallery (img1 to img15 are shown), that is, these pictures are sent to the AI ​​model one by one or in batches as input, and the reasoning result corresponding to each picture is given as the classification result. For example, img2 and img6 are identified as privacy category 1 (marked with diagonal lines in the figure), img7 is identified as privacy category 2 (marked with horizontal lines in the figure), img4, img8 and img11 are identified as privacy category 3 (marked with grayscale in the figure), img13 is identified as privacy category 4 (marked with grids in the figure), and other pictures in img1 to img15 are identified as non-privacy pictures. It should be understood that the purpose of using different filling formats (eg, oblique lines, horizontal lines, grids, and grayscale) to distinguish different privacy classifications is to facilitate understanding rather than to imply any actual display content.

[0066] In one embodiment, in order to ensure the security of pictures in the terminal device, picture classification can be completed on the terminal device. Therefore, using a neural network classification model to classify pictures taken by the terminal device includes: using a neural network classification model stored on the terminal device to complete the predictive classification of pictures taken by the terminal device on the terminal device. In this case, the AI ​​model is stored on the terminal device and reasoning is completed. Considering the limitations of computing power and storage on the terminal device, the AI ​​model can be performed quantitative storage and reasoning.

[0067] In another embodiment, the classification of images can be performed on the server side, but the images uploaded to the server side can be processed to avoid privacy leakage. At this time, using the neural network classification model to classify the images taken by the terminal device can include: extracting the image features of the image to be classified in a way that the original image cannot be restored, and uploading the image features to the neural network classification model of the server for classification. In one embodiment, the image can be anonymized before uploading the image to remove any information that may identify an individual. For example, faces can be blurred, key areas can be blocked, key information (for example, a complete sequence of numbers in a photo of an ID card) can be altered, etc. These blurring, blocking and altering need to be performed in an irreversible manner to avoid the leakage of key information.

[0068] After the classification and identification of the pictures are completed, the classified privacy pictures can be encrypted and stored based on the classification. At this time, in response to the picture being determined as a privacy picture, the picture is placed in the privacy picture area for encrypted storage, including: in response to the picture being determined as a specific category of privacy pictures, the picture is placed in the privacy picture area corresponding to the classification folder for encrypted storage. In one embodiment, the encryption parameters may include the current user's personal account. In the case of encrypted storage using symmetric encryption, the encryption parameters may be the same as the decryption parameters mentioned above. Furthermore, the encrypted file can be associated with the fingerprint feature data of the owner. Figure 3 As shown, after being identified and classified, the pictures can be added to the private album for encrypted storage and stored separately according to specific categories.

[0069] The private album can only be viewed by the owner. In other words, the viewing of the private album requires identity verification. When user A wishes to view the category 3 album as shown in the figure, he needs to log in to the owner's personal account and pass the verification of the user's biometric features (for example, fingerprint verification) to prove that he is user A. Furthermore, since the picture itself is also stored encrypted, it needs to be encrypted using a password containing the owner's personal account or based on the owner's personal account. Therefore, after entering the album, the decryption parameters containing the owner's personal account can be used to decrypt the picture before the private picture can be displayed on the terminal device, for example Figure 3 As shown, pictures img4, img8 and img11 are displayed under category 3 album.

[0070] In addition, it should be understood that Figure 3 Privacy category 1, privacy category 2, privacy category 3 and privacy category 4 are used to correspond to different generalized privacy categories. In actual operations, different privacy categories may involve more specific privacy categories.

[0071] In one embodiment, privacy category 1 may correspond to certificate data. Specifically, certificate data may be certificate information involving personal privacy, such as pictures of identity cards, real estate certificates, driver's licenses, education certificates, graduation certificates, marriage certificates, divorce certificates, etc.; it may also be private information involving organizations, such as pictures of business licenses, etc. Privacy category 2 may correspond to property data (or payment data). Specifically, property data is a picture containing payment or property information (here it may refer to narrow property including currency or stocks and bonds, etc.), such as screenshots of payment apps and bank apps, etc. (in one embodiment, the application running in the foreground can also be detected when taking a screenshot, and the screenshot can be classified based on the application); for example, the text contained in the picture involves judging property information including bank account number, bank password, payment-related account password, etc. after OCR (Optical Character Recognition); it may also be other pictures that are judged to involve property data through picture recognition. Privacy category 3 may correspond to physical condition data. Specifically, physical condition data is a picture related to the physical condition of a natural person, especially the owner of the machine as a natural person, such as pictures of physical examination reports that are not suitable for public disclosure, pictures of body parts, pictures of personal behavior, etc. Privacy category 4 may correspond to data that is not suitable for public disclosure based on region. Data that is not suitable for public disclosure based on region may be data that is not suitable for public disclosure at the current location of the terminal device, for example, photos of exposed hair that are not suitable for public disclosure in certain areas. An example of privacy classification is shown above. It should be understood that privacy pictures may also include other different classifications, or more, fewer, different levels of classification, etc. This disclosure is not limited here. The AI ​​model can be trained according to the adopted classification criteria, so that the trained AI model can encrypt and store the privacy pictures according to the above classification based on the classification results of picture recognition. In some embodiments, the AI ​​model can be continuously iterated to expand the type set or improve the recognition accuracy.

[0072] Since the terminal device privacy data sharing method disclosed in the present invention only supports sharing privacy data with authorized devices, before the sharing operation, it is necessary to perform an authorization operation on other devices that want to share it. In one embodiment, the authorization operation can be performed on other known devices, such as devices of relatives. In other embodiments, the authorization operation needs to receive an authorization request from other devices to complete ("other devices" can be considered as "devices to be authorized" after issuing an authorization request). To this end, in one embodiment, the privacy data sharing method disclosed in the present invention may also include: in response to obtaining an authorization request from a device to be authorized, displaying an authorization configuration interface, the authorization configuration interface includes privacy data classification options set in the terminal device, the authorization request includes the identification information of the device to be authorized and the user biometric features of the device to be authorized; in response to a classification selection instruction based on the authorization configuration interface, determining one or more target privacy data classifications indicated by the classification selection instruction; and saving the identification information of the device to be authorized and the user biometric features of the device to be authorized, and adding the device to be authorized to the list of authorized devices corresponding to the one or more target privacy data classifications.

[0073] In the present disclosure, the authorization configuration interface displayed by the terminal device is an operable interface, which allows the user to select the privacy data category that the device wants to authorize to view from the privacy data category list. Figure 4 An example of the related authorization configuration operation is shown in FIG. The terminal device can determine the authorized scope of the user who can share the authorized device by identifying the user's selection of the privacy data classification option.

[0074] For ease of understanding, Figure 4 An example of authorized device addition and setting operations according to an embodiment of the present disclosure is shown. Figure 4 In the example, the authorization request of the authorized device is received by scanning the QR code displayed by the device to be authorized. To this end, the user of the terminal device (i.e., user A) can click the "Scan code to add a privacy photo sharing authorized device" button as shown in the figure in the gallery device page of the gallery APP, and in the subsequent code scanning interface, align the QR code displayed by the device to be authorized (for example, device 1 of user B) with the code scanning box to obtain the authorization request of the device to be authorized. In response to obtaining the authorization request, the authorization configuration interface is displayed. Figure 4In the example, the "private photo sharing device authorization list" interface can be displayed first, and the "set authorization scope" button after each authorization item can enter the setting interface of the shareable private photo scope for the authorization item. As shown in the figure, by scanning the authorization request QR code displayed on user B's device 1, "user B's device 1" is the fourth authorized device authorized by "user A's device 1" after "user 1's device 1", "user 2's device 1" and "user 2's device 2".

[0075] Since the purpose of authorization is to associate users who can view private data, authorization is not only authorization for a specific device, but also authorization for a specific device used by a specific user (which also means that when receiving shared data, it is necessary not only to verify the identity of the specific device, but also to verify the identity of the specific user, for example, based on fingerprint features). For this reason, the displayed authorized device list is not just a list of devices, but a list of specific users and their specific devices (that is, the displayed authorization item is "Device X of User X", not just "Device X"). It should be understood that "Device 1" in "Device 1 of User 1", "Device 1 of User 2" and "Device 1 of User B" does not mean that User 1, User 2 and User B all use the same device, but refers to this as the first device authorized by the user. Similarly, "Device 2 of User 2" in the list refers to the second authorized device of "User 2". For example, User 2 is the spouse of User A, Device 1 of User 2 is the user's mobile phone, and Device 2 of User 2 is the user's tablet computer, which facilitates the reception of private data on different terminals. In addition, it should be clear that the authorized device is a specific device under a specific account, and multiple devices under the same account cannot share authorization. In other words, after "user 2's device 1" is authorized, "user 2's device 2" will not be automatically authorized, but in one embodiment needs to make an authorization request on its own, and will only be authorized after user A authorizes his device 1.

[0076] After adding "User B's Device 1" to the authorization list, you can click the "Set Authorization Scope" button after the authorization item to enter the "Scope of Private Photos Shared by User B's Device 1" interface, that is, the authorization configuration interface for this specific device. In this interface, user A can check the category range that allows "User B's Device 1" to receive private pictures, such as categories 1, 3, and 4 shown in the figure. Subsequently, when user A uses his device 1 to share private pictures, if the private pictures belong to categories 1, 3, or 4, the option "User B's Device 1" will be displayed in the authorized device list.

[0077] It should be understood that Figure 4Only the relevant interface operations during authorization are shown. In the background of the terminal device, "user B's device 1" can be added to the list of authorized devices corresponding to one or more target privacy data categories based on the selection of user A, and the identification information and user biometric features of "user B's device 1" can be saved together. The identification information and user biometric features of user B's device 1 can be provided by user B's device 1 when requesting authorization, and the saved identification information and user biometric features of user B's device 1 can be used for identity authentication and encryption during subsequent picture sharing, as described in steps S230 and S240.

[0078] In the case where the private data is picture data, the sharing method described in steps S210 to S240 usually also needs to be performed in the gallery APP. Figure 5 A complete process example of private picture sharing according to an embodiment of the present disclosure is shown. Here, user A wants to use device 1 under his name to send picture img8 to device 1 of user B. Since picture img8 is identified as a private picture of category 3, it is necessary to share it through the private picture sharing method of the present disclosure.

[0079] As shown in the figure, user A enters the display interface of "Category 3 Album" by clicking the Category 3 Album icon in the private album. In some embodiments, before entering the display interface of "Category 3 Album", account login and fingerprint verification are required to confirm that the current operation is by user A. In the display interface of "Category 3 Album", user A selects the picture img8 to share. At this time, the display interface jumps to the "Device List that Meets the Authorization Scope" interface, which only displays devices that are authorized to receive Category 3 pictures, including user 2's device 1 and user B's device 1, as shown in the figure. The user determines that user 2's device 1 is the target authorized device by clicking the send button followed by user B's device 1. At this time, the gallery APP can read the identification information and user biometric features saved when the authorization setting was performed on user B's device 1, and use the identification information to encrypt img8 to obtain an encrypted image (specifically, the image img8 can be encrypted using user B's account information and the device unique identifier of user B's device 1 as parameters to obtain an encrypted image) and use the encrypted image together with the user's biometric feature information (the "associated fingerprint recognition feature" shown in the figure) as the data to be shared. At the same time, the gallery APP can generate an operation record based on the current sharing operation, and use it as operation information. In the example shown in the figure, user A's device 1 does not directly send the data to be shared to user B's device 1, but sends the shared data together with the operation information of this sharing to the server. The server can send the encrypted image data and the associated fingerprint recognition feature to the target device, that is, user B's device 1; at the same time, the operation information is added to the blockchain node.

[0080] In some embodiments, the original first private data is not directly encrypted and sent, but is sent after being processed. In one embodiment, an invisible watermark may be added to the first private data, and the first private data with the invisible watermark added is encrypted to generate an encrypted data packet of the first private data.

[0081] To this end, step S230 may include: using the identification information corresponding to the target authorized device, the identification information corresponding to the terminal device, the first private data unique identifier and the current time to generate an invisible watermark and add it to the first private data; and using the identification information corresponding to the target authorized device to encrypt the first private data to which the invisible watermark is added to generate an encrypted data packet of the first private data. The added invisible watermark information can be used as a traceability and accountability certificate. For example, when the shared first private data is leaked in some way, the invisible watermark information on the leaked private data can be used to know which authorized device and which sharing operation caused the leak.

[0082] As an alternative or in addition, the metadata in the original first private data may be deleted, thereby avoiding unnecessary information leakage. In this case, step S230 may include: copying the first private data; removing the metadata contained in the copied first private data; and encrypting the copied first private data with the metadata removed using the identification information corresponding to the target authorized device to generate an encrypted data packet of the first private data.

[0083] Accordingly, in Figure 5 In the example, in order to generate an encrypted image, you can first copy a copy of the original image data of img8 and remove the metadata such as the shooting location, camera parameters, and shooting time of the photo. Subsequently, you can obtain the account currently logged in to the device (the user's owner account), the device unique identifier (the unique identifier of user A's device), the data representing the original image content (for example, the original image hash value), and the current actual time and other parameters, and generate the current operation information based on the above parameters. An invisible watermark is generated based on the current operation information and added to the image to obtain the image of device 1 to be sent to user B. It should be understood that the current operation information used to generate the watermark can be the same as the operation information used to add to the blockchain node (for example, corresponding to the example of the operation information given above), that is, the same operation information can be reused by adding a watermark and adding to the blockchain node.

[0084] The present disclosure may also be implemented as a method for viewing private data of a terminal device. Figure 6The following is a schematic flow chart of a method for viewing private data on a terminal device according to an embodiment of the present disclosure. The method can be executed by a target authorized device that receives the shared data (i.e., an encrypted data packet of the first private data), for example, by device 1 of user B in the above example. For ease of understanding, Figure 7 Accordingly, an example of receiving and viewing a shared private picture according to the present disclosure is shown.

[0085] In step S610, a sharing message of an encrypted data packet for sharing first private data and user biometric feature data sent by a sharing device is received. Here, the first private data may be a private picture, such as picture img8 of privacy category 3 in the above example. The sharing device (device 1 of user A) may send an encrypted data packet for sharing the first private data and user biometric feature data directly or via a server. In one embodiment, the encrypted data packet of the first private data and the user biometric feature data may be sent simultaneously as described above. In another embodiment, the user biometric feature data may be sent first as described above, and then the encrypted data packet of the first private data may be sent after matching with the biometric feature data input by the user.

[0086] No matter how the shared device is sent, Figure 7 As shown, the information sent can only be obtained after the user viewing the device confirms. Specifically, after receiving the encrypted data packet of the first private data and the user's biometric feature data (or after receiving a sharing request that does not contain the complete data as above), the device 1 of user B displays a notification box, which displays the message "Do you want to receive the private picture from the device 1 of user A?" and provides two buttons, yes and no. User B can complete the reception of the encrypted data packet of the sent first private data and the user's biometric feature data by selecting yes. If user B selects no, the device 1 of user B can discard the received encrypted data packet of the first private data and the user's biometric feature data (or refuse to receive subsequent data when only a sharing request is received).

[0087] In step S620, in response to the received biometric feature matching the user biometric feature data, the encrypted data packet of the first private data is decrypted using the identification information of the terminal device. Since the user biometric feature data from the sharing device is received in the previous step S610, the matching verification of the biometric feature can be directly performed. Figure 7In the example, when user B selects the Yes button, the interface will jump to the biometric input interface (the fingerprint input interface is shown in the figure). User B can then enter the fingerprint at the specified location, and after the input fingerprint matches the received user biometric feature data, the encrypted data packet of the first private data, that is, the encrypted image img8, is decrypted. Since the encrypted data packet of the first private data is encrypted by the sharing device using the identification information of the target authorized device, the terminal device as the target authorized device can decrypt it using its own identification information, for example, using the account of user B and the device unique identifier of user B's device 1 to decrypt the encrypted data packet.

[0088] Then, in step S630, the first private data is presented in the private data viewing interface. Figure 7 As shown, the decrypted img8 can be viewed in a dedicated privacy photo receiving and decoding.

[0089] It should be understood that Figure 6 The viewing method shown can be regarded as the target authorized device executing on the sharing device Figure 2 After the sharing method is shown, the corresponding operation is performed. That is, on the sharing device, it includes: in response to the first private data being selected for sharing on the sharing device, displaying a list of authorized devices corresponding to the classification identifier of the first private data according to the classification identifier of the first private data, and in response to an authorization device selection instruction based on the authorized device list, determining the identification information corresponding to the target authorized device corresponding to the selection instruction and the user biometric feature of the target authorized device, wherein the target authorized device corresponds to the terminal device, and the classification identifier of the first private data is generated by a neural network classification model.

[0090] Furthermore, in order to ensure the privacy and security of shared data, operations in the private data viewing interface may be restricted. In one embodiment, the private data viewing interface prohibits screenshots, copying, and forwarding of the private data. Furthermore, each subsequent viewing of the private data viewing interface may require verification of the account number, device unique identifier, and fingerprint feature.

[0091] Since private images are only shared with authorized devices, before user B's device 1 can view the shared private images, it needs to interact with user A's device 1 and become an authorized device of user A's device 1. Figure 4As shown, the device to be authorized can send the authorization request by displaying a QR code and having the sharing device scan the QR code. Therefore, if user A wants to add user B as a user with whom he wants to share private photos, user B needs to click the UI control in the gallery APP of his specific device (for example, user B's device 1) to display the QR code. To this end, the privacy sharing method of the terminal device of the present disclosure may also include: in response to receiving a request to become an authorized device, presenting a prompt to enter the biometric feature (in some implementations, such as the following Figure 8 In the example shown, if the user account has not been logged in at this time, it is necessary to enter identification information, for example, by logging in to the account); in response to the received user biometric feature matching the preset user biometric feature, a QR code requesting authorization is presented. In one embodiment, the QR code includes the user biometric feature and the identification information of the terminal device. In another embodiment, the QR code does not include the complete data required for authorization. At this time, in response to the QR code being scanned (or in response to a request sent by the scanning device after the QR code is scanned), the sharing device can send a notification to the target authorization device, so that the target authorization device can set the device that scans the QR code as a sharing device and send the complete identification information and the user biometric feature data to the sharing device.

[0092] In the present disclosure, the interface for the authorized device to make an authorization request is an operational interface, for example, a gallery setting interface in a gallery APP, where the user can input the required information (for example, biometric features and, optionally, account information as identification information) according to the system prompts. After obtaining the necessary information and performing the operation, the terminal device can generate a QR code for requesting authorization and display it.

[0093] Specifically, Figure 8 An example of an authorization request for a device to be authorized according to an embodiment of the present disclosure is shown. As shown in the figure, user B can select the "Add the current device of the current user to the authorization list of other devices" button in the gallery setting interface of the gallery APP of his device 1. If user B has not logged in to the system account, the account login box will pop up as shown in the figure and the fingerprint input box will pop up after user B enters the correct user name and password. If user B enters the fingerprint in the correct position, the verification is passed and a QR code for requesting authorization is displayed. The QR code data may include user B's system account nickname, account unique identifier, unique identifier of the current device used by user B (that is, user B's device 1), and fingerprint recognition features entered by user B. For example, Figure 8The QR code shown can include data after parsing: ("nickname": "user B", "userid": "1234567890", "deviceid": "demo_deviceid", "fingerprint_feature_code": "demo_fingerprint_feature_code"), that is, including nickname (nickname), user ID (useid), device ID (deviceid), fingerprint feature (fingerprint_feature_code). In addition, it should be understood that Figure 8 The data given include samples (demo), but in actual operation these demos can correspond to real data.

[0094] So, user A can Figure 4 As shown, by scanning the QR code, relevant information of user B's device 1 is obtained and authorization of user B's device 1 is completed.

[0095] In one embodiment, in order to prevent the biometric feature from being abused, the device 1 of user B may generate the user biometric feature in a way that the original fingerprint information cannot be restored. In other words, the user biometric feature sent by the device 1 of user B to the device 1 of user A can be used by the device 1 of user A to verify the identity of user B who receives the shared image, but cannot be used for other operations.

[0096] From the above, a method for sharing private data of a terminal device and a corresponding viewing method are disclosed. By limiting the sharing of private data to only authorized devices, serious risks caused by users sending data by mistake are avoided. Since the private image data transmitted over the air is encrypted, there is no risk of leakage if it is intercepted in the middle. Furthermore, since private photos can be automatically identified, converted to file types and encrypted in the device, the security of private data can be guaranteed in unexpected situations such as device loss. Operation information can be generated based on the sharing operation, which can be used to add an invisible watermark to the private data to be shared and / or added as a blockchain node, thereby serving as an additional means of accountability. Furthermore, after the private photo image is sent to the target authorized device, it can only be viewed by the target user of the target authorized device, and cannot be downloaded, shared or screenshotted, thereby ensuring the security of the data after sharing.

[0097] The embodiment of the present application discloses a complete privacy protection scheme for sharing photos in a smartphone gallery, including: using an AI model to automatically identify pictures in the gallery to determine whether they are private photos; converting the file type of private photos and encrypting the data; adding private photos to the gallery private album, which can only be viewed by the owner; private photos can only be shared with authorized devices by default, and the authorized device information includes the personal account of the owner of the device, the unique device identifier, and the fingerprint identification feature of the owner; when a user shares private photos, the authorized devices that meet the conditions are displayed; after the user selects the authorized device to share, the picture finally sent to the user is obtained, as well as the operation information corresponding to the operation; the target image data is encrypted using the target user account and the unique device identifier as parameters and sent together with the associated fingerprint identification feature to the target authorized device, and the operation information is added to the blockchain node. The above operation can be achieved by integrating the "private photo sharing" function in the gallery APP.

[0098] Accordingly, the terminal device can Figure 8 The interactive method shown becomes an authorized device, and after receiving the private data shared as above as the target authorized device, it can view it permanently, but cannot share it. These operations can also be achieved by integrating the "private photo sharing" function in the gallery APP.

[0099] In one embodiment, the present disclosure may also be implemented as a terminal device, including: a processor; and a memory, on which executable code is stored, and when the executable code is executed by the processor, the processor executes the above-mentioned privacy data sharing or viewing method.

[0100] In one embodiment, the present disclosure may also be implemented as a non-temporary machine-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of an electronic device, the processor executes the privacy data sharing or viewing method as described above.

[0101] In one embodiment, the present disclosure may also be implemented as a computer program product, including computer program instructions, characterized in that when the computer program instructions are executed by a processor, the method for sharing or viewing private data as described above is implemented.

[0102] Those skilled in the art will further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or a combination of both.

[0103] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the system and method according to multiple embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0104] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for sharing private data of a terminal device, include: In response to receiving a sharing instruction for first private data, displaying a list of authorized devices corresponding to the classification identifier of the first private data according to the classification identifier of the first private data, where the classification identifier of the first private data is generated by a neural network classification model; In response to an authorized device selection instruction based on the authorized device list, determining identification information of a target authorized device corresponding to the selection instruction and a user biometric feature of the target authorized device; Encrypting the first private data using the identification information of the target authorized device to generate an encrypted data packet of the first private data; as well as The encrypted data packet of the first private data is associated with the user biometric feature and sent to the target authorization device, and the target authorization device is used to decrypt the encrypted data packet of the first private data in response to the user biometric feature matching the preset user biometric feature.

2. The method according to claim 1, further comprising: include: generating an operation record of the first private data using identification information of the target authorized device; as well as The operation record is added to the blockchain node.

3. The method according to claim 1, further comprising: include: In response to obtaining an authorization request from a device to be authorized, displaying an authorization configuration interface, the authorization configuration interface including privacy data classification options set in the terminal device, the authorization request including identification information of the device to be authorized and a user biometric feature of the device to be authorized; In response to a category selection instruction based on the authorization configuration interface, determining one or more target privacy data categories indicated by the category selection instruction; as well as The identification information of the device to be authorized and the biometric features of the user of the device to be authorized are saved, and the device to be authorized is added to the authorized device list corresponding to the one or more target privacy data categories.

4. The method according to claim 3, in, The authorization request of the device to be authorized is received by scanning a QR code displayed by the device to be authorized.

5. The method according to claim 1, in, Generating an encrypted data packet of the first private data using the identification information of the target authorized device includes: Generate an invisible watermark using the identification information corresponding to the target authorized device, the identification information corresponding to the terminal device, the first private data unique identifier and the current time, and add the invisible watermark to the first private data; and The first private data to which the invisible watermark is added is encrypted using the identification information corresponding to the target authorized device to generate an encrypted data packet of the first private data.

6. The method according to claim 1, in, Generating an encrypted data packet of the first private data using the identification information corresponding to the target authorized device includes: copying the first private data; removing metadata included in the copied first private data; and The copied first private data with metadata removed is encrypted using identification information corresponding to the target authorized device to generate an encrypted data packet of the first private data.

7. A method for viewing private data of a terminal device, include: receiving an encrypted data packet of associated first private data and a user biometric feature; In response to the received user biometric identification feature matching the preset user biometric identification feature, decrypting the encrypted data packet of the first private data using the identification information of the terminal device to obtain the first private data; and The first privacy data is presented in a privacy data viewing interface.

8. The method according to claim 7, in, The private data viewing interface prohibits screenshots, copying and forwarding of the private data.

9. The method according to claim 7, further comprising: include: In response to receiving a selection requesting to become an authorized device, presenting a prompt to enter a user biometric characteristic; In response to the received user biometric feature matching the preset user biometric feature, a QR code requesting authorization is presented, the QR code including the user biometric feature and identification information of the terminal device.

10. A terminal device, include: processor; as well as A memory having executable codes stored thereon, which, when executed by the processor, causes the processor to execute the method according to any one of claims 1 to 9.

11. A non-transitory machine-readable storage medium having executable codes stored thereon, which, when executed by a processor of an electronic device, causes the processor to execute a method according to any one of claims 1 to 9.

12. A computer program product comprising computer program instructions, It is characterized in that When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 9 is implemented.