Sensitive data information transmission method and device, storage medium and electronic equipment

Through the deep learning model to identify and encrypt the private data areas in the image, combined with encoding and decoding technology, the problem of improper handling of sensitive data areas in the existing technology is solved, and the secure transmission and protection of image data is realized.

CN118764567APending Publication Date: 2024-10-11XIAN WANXIANG ELECTRONICS TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410934678.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing real-time encoding methods lack differentiated processing of sensitive data areas in images, leading to security risks.

Method used

The deep learning model identifies private data areas in images, encrypts and encodes them, and decrypts and decodes them on zero terminals to ensure the protection of private data.

Benefits of technology

Effectively identify and protect private data areas in images, prevent data leakage, and improve the security of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764567A_ABST
    Figure CN118764567A_ABST
Patent Text Reader

Abstract

The invention relates to a sensitive data information transmission method and device, a storage medium and electronic equipment. Comprising the steps of obtaining a target image uploaded by a current user; identifying a privacy data area in the target image through a target discrimination model; when the privacy data area is identified in the target image, encrypting image data of the privacy data area to obtain encrypted image data; encoding the encrypted image data and the image data of the non-privacy data area to obtain overall encoded image data; and sending the overall coded image data to a zero terminal, so that the zero terminal decrypts the coded image data of the privacy data area to obtain decrypted image data. According to the method, the privacy data area can be identified, the image data of the privacy data area can be encrypted and coded, and then the coded image data of the privacy data area can be decrypted and decoded at the zero terminal, so that the original privacy data area is reconstructed, and the purpose of protecting the personal privacy data in the image is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] Current real-time encoding methods, such as VGTP, usually uniformly encode and decode the entire image data without considering the content of the image itself. This means that all areas are treated equally during the encoding process, and no special treatment is given to sensitive data areas. And when the encoded data is transmitted to the display end for decoding and display, there is a lack of distinction between sensitive data areas, which brings security risks.

[0003] Therefore, it is necessary to provide a new technical solution to improve one or more problems existing in the above solutions.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The purpose of this application is to provide a sensitive data information transmission method, device, storage medium and electronic device, thereby overcoming one or more problems caused by the limitations and defects of related technologies at least to a certain extent.

[0006] According to a first aspect of an embodiment of the present application, a method for transmitting sensitive data information is provided, the method comprising:

[0007] Get the target image uploaded by the current user;

[0008] Identify the private data region in the target image by using a target discrimination model; wherein the target discrimination model is obtained by pre-training a deep learning model using target privacy training data, and the target privacy training data is image data containing annotations of the private data region;

[0009] When a private data area is identified in the target image, encrypting image data of the private data area to obtain encrypted image data;

[0010] Encoding the encrypted image data and the image data in the non-privacy data area to obtain overall encoded image data; wherein the overall encoded image data includes the encoded image data in the privacy data area and the encoded image data in the non-privacy data area;

[0011] The whole encoded image data is sent to the null terminal, so that the encoded image data in the private data area is decrypted at the null terminal to obtain decrypted image data, and the decrypted image data and the encoded image data in the non-private data area are decoded and displayed.

[0012] In an embodiment of the present application, the identifying the private data area in the target image includes:

[0013] Output the coordinates and size of the privacy data area.

[0014] In an embodiment of the present application, encrypting the image data in the private data area includes:

[0015] Extracting pixel features of the private data area according to the coordinates and the size, wherein the pixel features include pixel values ​​and colors;

[0016] The pixel features of the private data area are encrypted.

[0017] In an embodiment of the present application, before identifying the private data area in the target image by using the target discrimination model, the method further includes: training the target discrimination model by the following method:

[0018] Collect a large amount of image data containing private data areas;

[0019] Annotating the private data area in the image data using an annotation tool to generate initial private training data including a bounding box and a category label;

[0020] Scaling and normalizing the initial privacy training data to adapt to the input size of the deep learning model; then, after performing data augmentation to increase data diversity and model robustness, converting the initial privacy training data into target privacy training data in a format that conforms to the deep learning model training required; wherein the bounding box coordinates are normalized to a range of [0,1];

[0021] The target privacy training data is input into the deep learning model, and the deep learning model is trained several times based on the deep learning algorithm. When the accuracy of the trained deep learning model in identifying the privacy data area reaches a preset threshold, the deep learning model currently trained is determined as the target discrimination model.

[0022] In an embodiment of the present application, the target privacy training data includes: general privacy training data, and personalized privacy training data; wherein the general privacy training data refers to privacy training data containing a general privacy data area, and the personalized privacy training data refers to privacy training data containing a privacy data area generated by the current user's annotation.

[0023] According to a second aspect of an embodiment of the present application, a method for transmitting sensitive data information is provided, the method comprising:

[0024] The null terminal receives the overall coded image data; wherein the overall coded image data includes the coded image data of the private data area and the coded image data of the non-private data area;

[0025] decrypting the encoded image data in the private data area to obtain decrypted image data;

[0026] The decrypted image data and the encoded image data in the non-private data area are decoded and displayed.

[0027] According to a third aspect of an embodiment of the present application, a sensitive data information transmission device is provided, the device comprising:

[0028] The acquisition module is used to obtain the target image uploaded by the current user;

[0029] an identification module, configured to identify the private data region in the target image by using a target discrimination model; wherein the target discrimination model is obtained by pre-training a deep learning model using target privacy training data, and the target privacy training data is image data containing annotations of the private data region;

[0030] an encryption module, configured to encrypt image data of a private data area when a private data area is identified in the target image to obtain encrypted image data;

[0031] An encoding module, used for encoding the encrypted image data and the image data in the non-privacy data area to obtain overall encoded image data; wherein the overall encoded image data includes the encoded image data in the privacy data area and the encoded image data in the non-privacy data area;

[0032] The sending module is used to send the whole encoded image data to the null terminal, so that the encoded image data in the private data area is decrypted at the null terminal to obtain decrypted image data, and the decrypted image data and the encoded image data in the non-private data area are decoded and displayed.

[0033] According to a fourth aspect of an embodiment of the present application, a sensitive data information transmission device is provided, the device comprising:

[0034] A receiving module, configured for the null terminal to receive the overall coded image data; wherein the overall coded image data includes the coded image data of the private data area and the coded image data of the non-private data area;

[0035] A decryption module, used for decrypting the encoded image data in the private data area to obtain decrypted image data;

[0036] The decryption and display module is used to decode and display the decrypted image data and the encoded image data in the non-privacy data area.

[0037] According to a fifth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the steps of the sensitive data information transmission method described in any one of the above embodiments are implemented.

[0038] According to a sixth aspect of an embodiment of the present application, there is provided an electronic device, including:

[0039] Processor; and

[0040] A memory, configured to store executable instructions of the processor;

[0041] The processor is configured to execute the steps of the sensitive data information transmission method in any one of the above embodiments by executing the executable instructions.

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

[0043] In one embodiment of the present application, the target discrimination model established by the deep learning model using the above method is used to identify the privacy data area in the target image, encrypt the image data in the privacy data area, and encode the encrypted image data and the image data in the non-privacy data area. After receiving the overall encoded image data, the zero terminal decrypts the encoded image data in the privacy data area to obtain decrypted image data, and decodes and displays the decrypted image data and the encoded image data in the non-privacy data area. During the encoding and decoding process, the present application identifies the privacy data area, encrypts and encodes the image data in the privacy data area, and then sends it to the zero terminal, decrypts and decodes the encoded image data in the privacy data area at the zero terminal, and reconstructs the original privacy data area, thereby achieving the purpose of protecting personal privacy data in the image.

[0044] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0046] Figure 1A flowchart schematically showing a method for transmitting sensitive data information in an exemplary embodiment of the present application;

[0047] Figure 2 A flowchart schematically showing a method for transmitting sensitive data information in an exemplary embodiment of the present application;

[0048] Figure 3 A block diagram schematically shows a sensitive data information transmission device in an exemplary embodiment of the present application;

[0049] Figure 4 A block diagram schematically shows a sensitive data information transmission device in an exemplary embodiment of the present application;

[0050] Figure 5 A schematic diagram of a program product in an exemplary embodiment of the present application is schematically shown;

[0051] Figure 6 A schematic diagram of an electronic device in an exemplary embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0052] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0053] In addition, the accompanying drawings are only schematic illustrations of the present application and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0054] This example implementation first provides a sensitive data information transmission method. Figure 1 As shown in , the method includes: steps S101 to S105.

[0055] Step S101: Acquire the target image uploaded by the current user.

[0056] Step S102: identifying the private data region in the target image through a target discrimination model; wherein the target discrimination model is obtained by pre-training a deep learning model using target privacy training data, and the target privacy training data is image data containing annotations of the private data region.

[0057] Step S103: when a private data area is identified in the target image, the image data of the private data area is encrypted to obtain encrypted image data.

[0058] Step S104: Encode the encrypted image data and the image data in the non-privacy data area to obtain overall encoded image data; wherein the overall encoded image data includes the encoded image data in the privacy data area and the encoded image data in the non-privacy data area.

[0059] Step S105: sending the whole encoded image data to the null terminal, so that the encoded image data in the private data area is decrypted at the null terminal to obtain decrypted image data, and the decrypted image data and the encoded image data in the non-private data area are decoded and displayed.

[0060] In one embodiment of the present application, the target discrimination model established by the deep learning model using the above method is used to identify the privacy data area in the target image, encrypt the image data in the privacy data area, and encode the encrypted image data and the image data in the non-privacy data area. After receiving the overall encoded image data, the zero terminal decrypts the encoded image data in the privacy data area to obtain decrypted image data, and decodes and displays the decrypted image data and the encoded image data in the non-privacy data area. During the encoding and decoding process, the present application identifies the privacy data area, encrypts and encodes the image data in the privacy data area, and then sends it to the zero terminal, decrypts and decodes the encoded image data in the privacy data area at the zero terminal, and reconstructs the original privacy data area, thereby achieving the purpose of protecting personal privacy data in the image.

[0061] Next, we will refer to Figure 1 Each step of the above method in this example implementation is described in more detail.

[0062] In step S101, the target image uploaded by the current user is obtained. It can be understood that since the target image involves a private data area and a non-private data area, the target image obtained here is intended to facilitate the subsequent identification of the private data area in the target image.

[0063] In step S102, the private data area in the target image is identified through a target discrimination model; wherein the target discrimination model is obtained by pre-training a deep learning model using target privacy training data, and the target privacy training data is image data containing private data area annotations.

[0064] It is understandable that the cloud server may be a virtual machine. After the target discrimination model is deployed on the cloud server, the privacy data area in the target image uploaded by the current user can be identified.

[0065] This application uses a target discrimination model trained by a deep learning model to accurately identify the privacy data area in the target image data. Among them, the target discrimination function in this application is trained in the following way:

[0066] First, collect a large amount of image data containing private data areas; then use annotation tools to annotate the private data areas in the image data to generate initial private training data containing bounding boxes and category labels; then preprocess the initial private training data, including scaling and normalization operations. The initial private data is scaled and normalized to adapt to the input size of the deep learning model; then data enhancement is performed to increase data diversity and model robustness, and then the initial private training data is converted to the format required for deep learning model training, and the bounding box coordinates are normalized to the range of [0,1].

[0067] Finally, the target privacy training data is input into the deep learning model, and the deep learning model is trained several times based on the deep learning algorithm. When the accuracy of the trained deep learning model in identifying the privacy data area reaches the preset threshold, the currently trained deep learning model is determined as the target discrimination model. The preset threshold is set according to actual needs, generally set to 95% or higher.

[0068] In one embodiment, when the preset threshold is 95%, and when the accuracy of the trained deep learning model in identifying the privacy data area reaches 95%, the currently trained deep learning model is determined as the target discrimination model.

[0069] It should be noted that the target privacy training data includes general privacy training data and personalized privacy training data; among them, general privacy training data refers to privacy training data containing general privacy data areas, and personalized privacy training data refers to privacy training data containing privacy data areas generated by the current user's annotations.

[0070] Common privacy data includes images of common privacy data such as ID number, home address, telephone number, name, bank account information, various account passwords, etc.

[0071] The privacy data area generated by the current user's annotation refers to the privacy data image annotated by the current user and related to his or her own needs. For example, if the current user is a policeman, the name of his or her unit, police number, position, license plate number, portrait, etc. can be marked as privacy data.

[0072] In one embodiment, identifying a private data area in a current image includes:

[0073] Output the coordinates and size of the privacy data area.

[0074] It should be understood that when the discriminant model identifies the private data area in the current image, it actually outputs the coordinates and size of the private data area in the current image, so as to quickly identify the private data area in the current image.

[0075] In step S103, when a private data region is identified in the target image, image data of the private data region is encrypted to obtain encrypted image data.

[0076] It should be understood that when the target discrimination model is used to identify the private data area in the target image, the image data in the private data area needs to be encrypted, and encryption algorithms can generally be used for encryption. Specifically, it can be: first generate a key for Advanced Encryption Standard (AES) encryption, and use an asymmetric encryption algorithm (Rivest-Shamir-Adleman, RSE) to encrypt the key to ensure the security of the encrypted key. Use the encrypted key to encrypt the image data in the private data area to obtain encrypted image data. Among them, the Advanced Encryption Standard is a symmetric encryption algorithm.

[0077] In one embodiment, encrypting the image data in the private data area includes:

[0078] Extracting pixel features of the private data area according to the coordinates and size, wherein the pixel features include pixel value and color;

[0079] Encrypt the pixel features of the private data area.

[0080] It should be understood that when encrypting the image data of the private data area, the present application needs to quickly extract the pixel features of the private data area according to the coordinates of the private data area in the target image and the size it occupies, and then encrypt the pixel features of the private data area to obtain encrypted image data.

[0081] Since the pixel features include pixel values ​​and colors, encrypting the pixel features means encrypting the pixel values ​​and colors.

[0082] In step S104, the encrypted image data and the image data in the non-privacy data area are encoded to obtain overall encoded image data; wherein the overall encoded image data includes the encoded image data in the privacy data area and the encoded image data in the non-privacy data area.

[0083] It should be understood that after the encrypted image data is obtained, it is encrypted to obtain the coded image data of the private data area. In addition, the coded image data of the non-private data area needs to be encoded to obtain the coded image data of the non-private data area. The coded image data of the private data area and the coded image data of the non-private data area constitute the overall coded image data.

[0084] In step S105, the whole encoded image data is sent to the null terminal, so that the encoded image data in the private data area is decrypted at the null terminal to obtain decrypted image data, and the decrypted image data and the encoded image data in the non-private data area are decoded and displayed.

[0085] It should be understood that the coded image data of the private data area and the coded image data of the non-private data area are sent to the zero terminal, and then the current user uses the private key to decrypt the transmitted encrypted key at the zero terminal, and uses the decrypted key to decrypt the coded image data of the private data area to obtain the decrypted image data, that is, to reconstruct the original private data area. After reconstructing the original private data area, the zero terminal decodes and displays the decrypted image data and the coded image data of the non-private data area, ensuring the restoration and protection of the private data area.

[0086] This example implementation also provides a method for transmitting sensitive data information. Figure 2 As shown in , the method includes: step S201 to step S203.

[0087] Step S201: the null terminal receives the overall coded image data; wherein the overall coded image data includes the coded image data in the private data area and the coded image data in the non-private data area.

[0088] Step S202: decrypting the encoded image data in the private data area to obtain decrypted image data.

[0089] Step S203: Decode and display the decrypted image data and the encoded image data in the non-privacy data area.

[0090] It should be noted that, although the steps of the method in the present application are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be decomposed into multiple steps for execution, etc. In addition, it is also easy to understand that these steps may be, for example, executed synchronously or asynchronously in multiple modules / processes / threads.

[0091] Furthermore, in this exemplary embodiment, a sensitive data information transmission device is also provided. Figure 3 As shown in , the device 300 may include an acquisition module 301, an identification module 302, an encryption module 303, an encoding module 304 and a sending module 305. The acquisition module 301 is used to acquire the target image uploaded by the current user; the identification module 302 is used to identify the private data area in the target image through a target discrimination model; wherein the target discrimination model is obtained by pre-training the deep learning model with target privacy training data, and the target privacy training data is image data containing the annotation of the private data area; the encryption module 303 is used to encrypt the image data of the private data area when the private data area is identified in the target image to obtain encrypted image data; the encoding module 304 is used to encode the encrypted image data and the image data of the non-private data area to obtain the overall encoded image data; wherein the overall encoded image data includes the encoded image data of the private data area and the encoded image data of the non-private data area; the sending module 305 is used to send the overall encoded image data to the zero terminal, so that the encoded image data of the private data area is decrypted at the zero terminal to obtain the decrypted image data, and the decrypted image data and the encoded image data of the non-private data area are decoded and displayed.

[0092] In one embodiment, it further includes:

[0093] The output module is used to output the coordinates and size of the privacy data area.

[0094] In one embodiment, it further includes:

[0095] The training module is used to train the target discrimination model in the following way:

[0096] Collect a large amount of image data containing private data areas;

[0097] Use annotation tools to annotate the private data areas in the image data and generate initial private training data containing bounding boxes and category labels;

[0098] The initial privacy training data is scaled and normalized to adapt to the input size of the deep learning model. After that, data augmentation is performed to increase data diversity and model robustness, and then the initial privacy training data is converted into target privacy training data in the format required for deep learning model training. The bounding box coordinates are normalized to the range of [0,1].

[0099] The target privacy training data is input into the deep learning model, and the deep learning model is trained several times based on the deep learning algorithm. When the accuracy of the trained deep learning model in identifying the privacy data area reaches a preset threshold, the currently trained deep learning model is determined as the target discrimination model.

[0100] In this example implementation, a sensitive data information transmission device is also provided. Figure 4 The device 400 includes: a receiving module 401, a decryption module 402 and a decryption display module 403. The receiving module 401 is used to receive the whole coded image data at the zero terminal; the whole coded image data includes the coded image data of the private data area and the coded image data of the non-privacy data area; the decryption module 402 is used to decrypt the coded image data of the private data area to obtain the decrypted image data; the decryption display module 403 is used to decode and display the decrypted image data and the coded image data of the non-privacy data area.

[0101] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0102] It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the implementation mode of the present application, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of a module or unit described above can be further divided into multiple modules or units for concretization. The components displayed as modules or units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the present application scheme. Those of ordinary skill in the art can understand and implement it without paying creative work.

[0103] In an exemplary embodiment of the present application, a computer-readable storage medium is also provided, on which a computer program is stored, and when the program is included in a processor and executed, the steps of the sensitive data information transmission method described in any of the above embodiments can be implemented. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of various exemplary embodiments of the present invention described in the sensitive data information transmission method section of this specification.

[0104] refer to Figure 5 As shown, a program product 500 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0105] The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0106] The computer readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by an instruction execution system, an apparatus, or a device or used in combination with it. The program code contained on the readable storage medium may be transmitted with any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.

[0107] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0108] In an exemplary embodiment of the present application, an electronic device is further provided, which may include a processor and a memory for storing executable instructions of the processor, wherein the processor is configured to execute the steps of the sensitive data information transmission method described in any one of the above embodiments by executing the executable instructions.

[0109] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".

[0110] Refer to the following Figure 6 The electronic device 600 according to this embodiment of the present invention is described. Figure 6 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0111] like Figure 6 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different system components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.

[0112] The storage unit stores a program code, which can be executed by the processing unit 610, so that the processing unit 610 performs the steps of various exemplary embodiments of the present invention described in the sensitive data information transmission method section of this specification. For example, the processing unit 610 can perform the following steps: Figure 1Follow the steps shown in .

[0113] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .

[0114] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.

[0115] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0116] The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0117] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation method of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server or a network device, etc.) to execute the above-mentioned sensitive data information transmission method according to the implementation method of the present application.

[0118] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary technical means in the art that are not disclosed in the present application.

Claims

1. A sensitive data information transmission method, characterized in that: The method includes: Get the target image uploaded by the current user; Identify the private data region in the target image by using a target discrimination model; wherein the target discrimination model is obtained by pre-training a deep learning model using target privacy training data, and the target privacy training data is image data containing annotations of the private data region; When a private data area is identified in the target image, encrypting image data of the private data area to obtain encrypted image data; Encoding the encrypted image data and the image data in the non-privacy data area to obtain overall encoded image data; wherein the overall encoded image data includes the encoded image data in the privacy data area and the encoded image data in the non-privacy data area; The whole encoded image data is sent to the null terminal, so that the encoded image data in the private data area is decrypted at the null terminal to obtain decrypted image data, and the decrypted image data and the encoded image data in the non-private data area are decoded and displayed.

2. The sensitive data information transmission method according to claim 1, characterized in that: The identifying the private data area in the target image includes: Output the coordinates and size of the privacy data area.

3. The sensitive data information transmission method according to claim 1, characterized in that: The encrypting the image data in the private data area includes: Extracting pixel features of the private data area according to the coordinates and the size, wherein the pixel features include pixel values ​​and colors; The pixel features of the private data area are encrypted.

4. The sensitive data information transmission method according to claim 1, characterized in that: Before identifying the private data area in the target image by using the target discrimination model, the method further includes: training the target discrimination model by: Collect a large amount of image data containing private data areas; Annotating the private data area in the image data using an annotation tool to generate initial private training data including a bounding box and a category label; Scaling and normalizing the initial privacy training data to adapt to the input size of the deep learning model; then, after performing data augmentation to increase data diversity and model robustness, converting the initial privacy training data into target privacy training data in a format that conforms to the deep learning model training required; wherein the bounding box coordinates are normalized to a range of [0,1]; The target privacy training data is input into the deep learning model, and the deep learning model is trained several times based on the deep learning algorithm. When the accuracy of the trained deep learning model in identifying the privacy data area reaches a preset threshold, the deep learning model currently trained is determined as the target discrimination model.

5. The sensitive data information transmission method according to any one of claims 1 to 4, characterized in that: The target privacy training data includes: general privacy training data and personalized privacy training data; wherein the general privacy training data refers to privacy training data containing a general privacy data area, and the personalized privacy training data refers to privacy training data containing a privacy data area generated by the current user's annotation.

6. A sensitive data information transmission method, characterized in that: The method includes: The null terminal receives the overall coded image data; wherein the overall coded image data includes the coded image data of the private data area and the coded image data of the non-private data area; decrypting the encoded image data in the private data area to obtain decrypted image data; The decrypted image data and the encoded image data in the non-private data area are decoded and displayed.

7. A sensitive data information transmission device, characterized in that: The device includes: The acquisition module is used to obtain the target image uploaded by the current user; an identification module, configured to identify the private data region in the target image by using a target discrimination model; wherein the target discrimination model is obtained by pre-training a deep learning model using target privacy training data, and the target privacy training data is image data containing annotations of the private data region; an encryption module, configured to encrypt image data of a private data area when a private data area is identified in the target image to obtain encrypted image data; An encoding module, used for encoding the encrypted image data and the image data in the non-privacy data area to obtain overall encoded image data; wherein the overall encoded image data includes the encoded image data in the privacy data area and the encoded image data in the non-privacy data area; The sending module is used to send the whole encoded image data to the null terminal, so that the encoded image data in the private data area is decrypted at the null terminal to obtain decrypted image data, and the decrypted image data and the encoded image data in the non-private data area are decoded and displayed.

8. A sensitive data information transmission device, characterized in that: The device includes: A receiving module, configured for the null terminal to receive the overall coded image data; wherein the overall coded image data includes the coded image data of the private data area and the coded image data of the non-private data area; A decryption module, used for decrypting the encoded image data in the private data area to obtain decrypted image data; The decryption and display module is used to decode and display the decrypted image data and the encoded image data in the non-privacy data area.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the sensitive data information transmission method described in any one of claims 1 to 6 are implemented.

10. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the steps of the sensitive data information transmission method according to any one of claims 1 to 6 by executing the executable instructions.

Citation Information

Cited By

  • Image data acquisition method and system of image processing chip

    CN119728870A