WO2021027633A1 - Procédé de traitement d'image et appareil associé - Google Patents

Procédé de traitement d'image et appareil associé Download PDF

Info

Publication number
WO2021027633A1
WO2021027633A1 PCT/CN2020/106822 CN2020106822W WO2021027633A1 WO 2021027633 A1 WO2021027633 A1 WO 2021027633A1 CN 2020106822 W CN2020106822 W CN 2020106822W WO 2021027633 A1 WO2021027633 A1 WO 2021027633A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
picture
application
picture data
private information
Prior art date
Application number
PCT/CN2020/106822
Other languages
English (en)
Chinese (zh)
Inventor
徐顺海
周涌
段晓冬
李俊
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021027633A1 publication Critical patent/WO2021027633A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/535Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • G06F21/6254Protecting personal data, e.g. for financial or medical purposes by anonymising data, e.g. decorrelating personal data from the owner's identification

Definitions

  • This application relates to the field of information processing technology, and in particular to an image processing method and related devices.
  • this application provides an image processing method, including: a first electronic device receives a user's first input for a first application. In response to the first input, the first electronic device obtains first picture data. When the first application does not have permission to access the private information of the picture, the first electronic device deletes the private information in the first picture data. The first electronic device sends the first picture data after the private information is deleted to the second electronic device through the first application.
  • the method when the first application has permission to access the private information of the picture, the method further includes: when the first electronic device determines that the avatar information corresponding to the account on the second electronic device is included in the first application In a picture data, the first electronic device sends the encrypted first picture data and the key to the second electronic device through the first application. Wherein, the key is used for the second electronic device to decrypt private information.
  • the first electronic device determines that the avatar information corresponding to the account on the second electronic device is not included in the first picture data
  • the first picture data after the private information is encrypted by the first electronic device is sent to the first application The second electronic device. In this way, it can be realized that only the recipient whose account avatar is in the picture can obtain the private information in the picture, which protects the privacy of the user.
  • the first electronic device acquiring the first picture data specifically includes: a storage path for the first electronic device to acquire the first picture data; the first electronic device according to the storage of the first picture data Path to obtain the first picture data.
  • the method further includes: the first electronic device sends the first picture data to the second electronic device through the first application .
  • the privacy information includes one or more of the following: shooting address information, shooting time information, shooting device model information, shooting mode information, and portrait mood information.
  • the present application provides a first electronic device, including: an input module, configured to receive a user's first input for a first application.
  • the obtaining module is configured to obtain first picture data in response to the first input.
  • the processing module is used to delete the private information in the first picture data when the first application does not have permission to access the private information of the picture.
  • the sending module is used to send the first picture data after deleting the private information to the second electronic device through the first application.
  • the user can set the permission of the application to access the private information in Exif data on the first electronic device.
  • the first electronic device can In the process of obtaining the original image of the picture or obtaining the Exif data separately, the application dynamically deletes the private information in the Exif data (such as GPS location information, picture shooting time, picture shooting model, etc.). In this way, it can be realized that the first electronic device does not change the picture data stored in the mobile phone itself, and when reading the picture data or reading the Exif data in the picture data, the private information in the Exif data is dynamically deleted, thereby protecting user privacy.
  • the private information in the Exif data is dynamically deleted, thereby protecting user privacy.
  • the input module is also used to receive a second input from the user.
  • the first electronic device further includes: a setting module, configured to enable or disable the permission of the first application to access the private information of the picture in response to the second input. In this way, the user can set the permission to obtain the private information in the picture for the application on the first electronic device, and protect the privacy of the user for different applications.
  • the first electronic device further includes: an encryption module configured to encrypt the private information in the first picture data when the first application has permission to access the private information of the picture.
  • the sending module is further configured to send the first image data encrypted with the private information to the second electronic device through the first application when the second electronic device does not have the right to obtain the private information of the first picture data.
  • the first electronic device further includes: an encryption module configured to encrypt the private information in the first picture data when the first application has permission to access the private information of the picture.
  • the sending module is also used to send the first image data and key after encrypting the private information to the first application through the first application when the second electronic device has the authority to obtain the private information of the first image data.
  • the key is used for the second electronic device to decrypt the encrypted private information in the first picture data. In this way, when the electronic device 100 shares the picture with other devices, it can prevent the other devices from acquiring the private information in the picture, thereby protecting the privacy of the user.
  • the first electronic device further includes: an encoding and decoding module, configured to decode the first picture data, and store the decoded first picture data in a designated buffer.
  • the processing module is specifically configured to delete the private information in the first picture data in the designated cache. In this way, the picture data stored in the mobile phone itself is not changed, and the private information in the Exif data is dynamically deleted when the picture data is read or the Exif data in the picture data is read.
  • the obtaining module is specifically configured to: in response to the first input, obtain a storage path of the first picture data; and obtain the first picture data according to the storage path of the first picture data.
  • the sending module is further configured to send the first picture data to the second electronic device when the first application has permission to access the private information of the picture.
  • the privacy information includes one or more of the following: shooting address information, shooting time information, shooting device model information, shooting mode information, and portrait mood information.
  • this application provides a first electronic device, including one or more processors, one or more memories, and a touch screen.
  • the one or more memories are coupled with one or more processors, and the one or more memories are used to store computer program codes.
  • the computer program codes include computer instructions.
  • the one or more processors execute the computer instructions
  • the first electronic The device executes the image processing information method in any one of the possible implementation manners of any of the foregoing aspects.
  • an embodiment of the present application provides a computer storage medium, including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the image processing information in any one of the possible implementations of any of the above aspects method.
  • the embodiments of the present application provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute the image processing information method in any one of the possible implementations of any of the above aspects.
  • FIG. 1 is a schematic diagram of a picture file format provided by an embodiment of the application
  • FIG. 2 is a schematic diagram of the flow of reading original pictures by an application in the related technology provided by this application;
  • FIGS. 8A-8B are schematic diagrams of another set of interfaces provided by an embodiment of this application.
  • FIGS. 10A-10F are schematic diagrams of another set of interfaces provided by an embodiment of the application.
  • FIGS. 11A-11E are schematic diagrams of another set of interfaces provided by an embodiment of this application.
  • the tag value corresponding to the GPS version is "0", the tag value corresponding to the GPS north and south latitude is “1”, the tag value corresponding to the GPS latitude is “2”, and the GPS east-west longitude
  • the corresponding tag value is "3”
  • the tag value corresponding to the GPS longitude value is "4"
  • the tag value corresponding to the GPS altitude reference value is "5"
  • the tag value corresponding to the GPS altitude is “6”
  • the GPS time stamp corresponds to
  • the tag value is "7”
  • the tag value corresponding to the GPS measured satellite is "8”
  • the tag value corresponding to the GPS receiver status is "9”
  • the tag value corresponding to the GPS measurement mode is "10”
  • the value is "11”
  • the tag value corresponding to the GPS speed unit is “12”
  • the tag value corresponding to the GPS receiver speed is “13”
  • the tag value corresponding to the GPS moving direction reference is “14”
  • FIG. 2 shows the flow of reading original pictures by an application in the related technology of the present application.
  • the process of reading image data by applications on mobile phones, tablets and other electronic devices can be as follows:
  • the picture reading request may include information such as picture address, operation type, conversion operation, and so on.
  • the electronic device may use a uniform resource identifier (URI) to represent each available resource (for example, pictures, video clips, etc.).
  • URI generally consists of three parts: the naming mechanism for accessing resources (scheme), the hostname where the resources are stored (hostname), and the name of the resource itself (path).
  • the picture acquisition module can convert the URI of the picture into the storage path of the picture.
  • the URI of all picture folders on the electronic device may be "content://media/external", where the URI of picture A in all pictures may be "content://media/external/images/media/212304 ".
  • the image acquisition module can convert the URI of the image A into the storage path of the image, where the storage path of the image A can be "file://storage/emulated/0/Android/data/com.zn_android.zn/cache /PostPicture/20190905193015.jpg".
  • the above examples are only used to explain the application and should not constitute a limitation.
  • the picture information stored in the bottom layer has to undergo codec conversion before it can become our common picture file.
  • the picture processing module Through the picture processing module, the picture can be decoded, inverted, and cropped.
  • the upper-layer application may obtain the picture from the cache according to the calling interface returned by the cache module.
  • some applications on the electronic device can also obtain the Exif data of the picture separately.
  • the gallery application may obtain the GPS location information and the thumbnail of the picture from the Exif data of the picture.
  • the gallery application can classify the pictures according to the GPS location information of the pictures, and display the thumbnails corresponding to the pictures with the GPS location information in the same area on the same page of the gallery application interface In the display area.
  • the picture gallery application can also obtain the shooting time and thumbnail of the picture from the Exif data of the picture. After the gallery application obtains the shooting time and thumbnail of the picture, the gallery application can classify the pictures according to the shooting time of the picture, and display the thumbnails corresponding to the pictures in the same time period in the same display area of the gallery application interface in.
  • the electronic device 100 displays a gallery interface 410.
  • the gallery interface 410 may include one or more folders.
  • the one or more folders are distinguished by address names.
  • the address names of the aforementioned one or more folders may include Guangzhou, Shenzhen, Wuhan, Shanghai, Beijing, Zhuhai, etc.
  • the address name of the folder 411 may be "Shenzhen”. It means that the shooting addresses of the pictures in the folder 411 are all in "Shenzhen".
  • the original picture data will carry the corresponding Exif data.
  • the Exif data may include shooting location information (for example, GPS positioning information), shooting time, shooting device model, shooting mode, portrait mood information, etc. This information does not affect the imaging and display effect of the picture, but it will expose personal privacy data. For example, when an electronic device uses WeChat to send the original image, it will send out the real image file together with Exif data, causing the leakage of user privacy data.
  • FIG. 5 shows a schematic structural diagram of the electronic device 100.
  • the electronic device 100 shown in FIG. 5 is only an example, and the electronic device 100 may have more or fewer components than those shown in FIG. 5, two or more components may be combined, or Can have different component configurations.
  • the various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
  • the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2.
  • Mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display 194, And subscriber identification module (subscriber identification module, SIM) card interface 195 and so on.
  • SIM subscriber identification module
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the electronic device 100.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • the I2C interface is a two-way synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may include multiple sets of I2C buses.
  • the processor 110 can couple the touch sensor 180K, charger, flash, camera 193, etc., respectively through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement the touch function of the electronic device 100.
  • the PCM interface can also be used for audio communication to sample, quantize and encode analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones and play audio through the headphones. This interface can also be used to connect other electronic devices, such as AR devices.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor battery capacity, battery cycle times, battery health status (leakage, impedance) and other parameters.
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering and amplifying the received electromagnetic waves, and then transmitting them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is processed by the baseband processor and then passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic wave radiation via the antenna 2.
  • the electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor.
  • the GPU is a microprocessor for image processing, connected to the display 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, etc.
  • the display screen 194 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
  • the electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
  • the ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transfers the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats.
  • the electronic device 100 may include 1 or N cameras 193, and N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects the frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in a variety of encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function.
  • the data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 100.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc.
  • UFS universal flash storage
  • the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A also called a “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the user can approach the microphone 170C through the mouth to make a sound, and input the sound signal to the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device 100 emits infrared light to the outside through the light emitting diode.
  • the electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100.
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, etc.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 executes to reduce the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
  • the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function.
  • the application processor may analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
  • the button 190 includes a power button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
  • touch operations applied to different applications can correspond to different vibration feedback effects.
  • Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100.
  • the electronic device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 may also be compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the electronic device 100 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of the present invention takes an Android system with a layered architecture as an example to exemplify the software structure of the electronic device 100.
  • FIG. 6 is a software structure block diagram of an electronic device 100 according to an embodiment of the present invention.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the system library, and the kernel layer (not shown in the figure).
  • the application layer can include a series of application packages.
  • the application package may include a setting application 601, a social application 602 (for example, WeChat, QQ, etc.), a gallery application 603 and other applications.
  • the setting application 601 includes a filtering switch for private information, which is used to turn on/off the filtering function for private information of pictures.
  • the setting application 601 can also modify the setting parameters of the application.
  • Applications such as the social application 602 and the gallery application 603 can be used to obtain the original image data, Exif data, thumbnail data, etc. of the image file on the electronic device.
  • the social application 602 can also send the original image data to the contact's device.
  • the application framework layer may include an Exif data acquisition module 604, an Exif data optimization module 605, a thumbnail acquisition module 606, an original image acquisition module 607, and so on.
  • the application framework layer may also include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc. (all not shown in the figure).
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the content provider is used to store and retrieve data and make these data accessible to applications.
  • the data may include video, image, audio, phone calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls that display text and controls that display pictures.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • the system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a drawing engine for 2D drawing.
  • the media library includes a picture codec library 608, and the picture codec library 608 can be used to code and decode pictures.
  • the Exif data optimization module 605 can determine whether the application B has permission to access the private information in the picture file. If the application B does not have permission to access the private information in the image file, the Exif data optimization module 605 can call the Exif data acquisition module 604 to filter out the private information in the Exif data after acquiring the Exif data.
  • the Exif data optimization module 605 can determine whether the application C has permission to access the private information in the picture file. If the application C does not have permission to access the private information in the image file, the Exif data optimization module 605 can call the thumbnail acquisition module 606 to obtain the thumbnail data and thumbnail exif information, filter out the private information in the thumbnail exif information, and Provide an interface for application C to call the thumbnail data and thumbnail exif information after filtering the private information.
  • the Exif data optimization module 605 can determine whether the application C has permission to access the thumbnails in the picture folder. If the application C does not have the permission to access the thumbnails, the Exif data optimization module 606 can instruct to shrink The thumbnail image acquisition module 606 rejects the application C's thumbnail acquisition request.
  • the following describes the user interface (UI) involved in the user setting permissions for the application in the embodiment of the present application.
  • the electronic device 100 may display a home screen interface 710 on the touch screen.
  • the home screen interface 710 displays a page on which application icons are placed.
  • the page includes multiple application icons (for example, weather application icons, stock application icons). Icon, calculator application icon, setting application icon 711, mail application icon, Alipay application icon, Facebook application icon, browser application icon, gallery application icon, music application icon, video application icon, WeChat application icon).
  • a page indicator is also included below the multiple application icons to indicate the positional relationship between the currently displayed page and other pages.
  • There are multiple tray icons below the page indicator (such as dial-up application icon, information application icon, contact application icon, camera application icon). The tray icon remains displayed when the page is switched.
  • the page can include multiple application icons and page indicators ; The page indicator may not be a part of the page and exist alone. The above-mentioned tray icon is also optional, which is not limited in the embodiment of the application.
  • the electronic device 100 may receive an input operation (for example, a single click) of the user with respect to the setting application icon 711, and in response to the input operation, the electronic device 100 may display the setting main interface 720 as shown in FIG. 7B.
  • an input operation for example, a single click
  • the main setting interface 720 display includes wireless and network settings, device connection settings, application settings 721, battery settings, display settings, sound settings, storage settings, security and privacy settings. Entry, user and account setting entries, system setting entries, etc.
  • wireless and network setting items can be used to set up WLAN, dual card management, mobile network, etc.
  • the device connection setting item can be used to set Bluetooth, NFC, mobile phone screen projection, etc.
  • the application setting item 721 can be used to set permission management, default applications, application clones, and so on.
  • the battery setting item can be used to set the power saving mode and display the power consumption ranking and so on.
  • the display setting item can be used to set the display brightness, desktop style, font and display size of the electronic device, etc.
  • the sound setting item can be used to set DND, ringtone, vibration, etc.
  • the storage settings entry can be used to clean up memory acceleration and so on.
  • Security and privacy can be used to set face unlock, fingerprint, lock screen password and so on.
  • User and account setting items can be used to set up multiple users, cloud space, accounts, and so on.
  • the system setting item can be used to set the system navigation mode, software update, language and input method, etc.
  • the electronic device 100 may receive an input operation (for example, a single click) of the user on the application setting item 721, and in response to the input operation, the electronic device 100 may display an application setting interface 730 as shown in FIG. 7C.
  • an input operation for example, a single click
  • the electronic device 100 may receive an input operation (for example, a single click) of the user for the authority management setting item 731, and in response to the input operation, the electronic device 100 may display the authority management interface 740 as shown in FIG. 7D.
  • an input operation for example, a single click
  • the authority management interface 740 can display storage authority setting items, phone authority setting items, location information authority setting items, camera authority setting items, microphone authority setting items, address book authority setting items, and information authority setting items. Entry, picture permission setting entry 741, etc.
  • the storage permission setting item can be used to set the permission of an application program installed on the electronic device 100 to access the storage.
  • the phone permission setting item can be used to set the permission of the installed application of the electronic device 100 to access the phone function.
  • the location information setting item can be used to set the permission of the application installed on the electronic device 100 to open the location function.
  • the camera permission setting item can be used to set the permission of an application installed on the electronic device 100 to open the camera function.
  • the microphone permission setting item can be used to set the permission of an application installed on the electronic device 100 to turn on the microphone function.
  • the address book permission setting entry can be used to set the permission of the application installed on the electronic device 100 to access the address book.
  • the information authority setting item can be used to set the authority of the applications installed on the electronic device 100 to read SMS/MMS, send SMS/MMS, and receive SMS/MMS.
  • the picture permission setting item can be used to set the permission of the application installed on the electronic device 100 to access the picture file stored on the electronic device 100 (for example, obtaining the private information in the picture file, the permission to separately obtain the Exif data of the picture file, and obtaining the thumbnail Permissions, etc.).
  • the electronic device 100 may receive an input operation (for example, a click) of the user for the picture permission setting item 741, and in response to the input operation, the electronic device 100 may display a picture permission setting interface 750 as shown in FIG. 7E.
  • an input operation for example, a click
  • the picture permission setting interface 750 may include a picture privacy information filtering item 751, a picture thumbnail filtering item 752, and so on.
  • the picture privacy information filtering entry 751 can be used to set the permission of the application to access the private information in the picture file stored on the electronic device 100.
  • the picture thumbnail filtering entry 752 can be used to set the permission of the application to access thumbnails in the picture files stored on the electronic device 100.
  • the electronic device 100 may receive the user's input operation on the picture privacy information filtering item 751, and in response to the input operation, the electronic device 100 may receive the picture privacy information setting interface 760 as shown in FIG. 7F.
  • the picture privacy information setting interface 760 may display one or more application setting options (for example, WeChat setting options, Facebook setting options, Twitter setting options, QQ setting options, gallery setting options, etc. ).
  • application setting options for example, WeChat setting options, Facebook setting options, Twitter setting options, QQ setting options, gallery setting options, etc.
  • the switch control can be used to turn on or turn off the privacy information filtering function when the application accesses pictures.
  • the switch control 761 on the WeChat application option can be used to turn on/off the filtering function of private information when the WeChat application accesses pictures.
  • the picture privacy information setting interface 760 may also display a selection all switch 762. When the selection all switch is turned on, the setting application can turn on the switches corresponding to all application setting options in the picture privacy information setting interface 760. Control.
  • the electronic device 100 may receive a user's input operation on the switch control 761, and in response to the input operation, the electronic device 100 may enable privacy information filtering when the WeChat application accesses pictures.
  • the picture privacy information setting interface 760 is on the WeChat application option.
  • the switch control 761 can be in an on state.
  • the electronic device 100 displays a picture browsing interface 810.
  • the picture browsing interface 810 can display the picture 811 and the shooting location 812 corresponding to the picture 811 (for example, "Shenzhen") and the shooting time 813 (for example, "July 15, 2019 3:54 pm"), Picture detail information control 814, sharing function control, favorite function control, edit function control, delete function control, more function control and so on.
  • the electronic device 100 may receive a user's input operation (for example, a click) on the picture detailed information control 814, and in response to the input operation, the electronic device 100 may display a picture detailed information window 820 as shown in FIG. 8B.
  • a user's input operation for example, a click
  • the electronic device 100 may send the image file stored locally on the electronic device 100 to other devices through a communication application (such as a WeChat application, etc.).
  • a communication application such as a WeChat application, etc.
  • the electronic device 100 can filter the private information in the picture file before the communication application obtains the picture file.
  • the privacy information may include one or more of shooting address information, shooting device model, shooting mode, shooting time, portrait mood information, and so on. In this way, the electronic device 100 does not change the original picture data stored in the mobile phone itself, and when reading the picture data, it dynamically deletes the private information in the picture data, which protects user privacy.
  • the electronic device 100 may receive an input operation (for example, a click) of the user on the WeChat application icon 911, and in response to the input operation, the electronic device 100 may display the WeChat application interface 920 as shown in FIG. 9B.
  • an input operation for example, a click
  • the WeChat application interface 920 includes a message browsing page 921 and a menu 923.
  • the menu 923 includes a WeChat control 924, a contact control 925, a discovery control 926, and a my control 927.
  • the WeChat control 924 is used to trigger the terminal 100 to display the message browsing page 921.
  • the contact control 925 can be used to trigger the terminal 100 to display a page that includes multiple WeChat contact options.
  • the discovery control 926 can be used to trigger the terminal 100 to display a page that includes functional controls such as Moments and Sweep.
  • the my control 927 can be used to trigger the terminal 100 to display a page including the personal information of the WeChat user and other information.
  • the message browsing page 921 includes one or more message options (for example, the message option 922 of the contact "MAC”, the message option of the contact "Kate”, the message option of the email reminder, the message option of the subscription number, the contact The message option of the group “workgroup 1", the message option of WeChat sports, the message option of the contact group “fitness group”).
  • message options for example, the message option 922 of the contact "MAC", the message option of the contact "Kate”, the message option of the email reminder, the message option of the subscription number, the contact The message option of the group “workgroup 1", the message option of WeChat sports, the message option of the contact group "fitness group”).
  • the electronic device 100 may receive an input operation (such as a single click) of the user for more controls 934, and in response to the input operation, the electronic device 100 may display a function control page 935 as shown in FIG. 9D.
  • an input operation such as a single click
  • the voice input function control can be used to trigger the collection of the user's voice and send it to the contact's device.
  • the collection function control can be used to open files (for example, pictures, documents, music, videos, etc.) collected by the user on the WeChat application.
  • the electronic device 100 receives a user's input operation (for example, a single click) on the album function control 936, and in response to the input operation, the electronic device 100 may display a picture selection interface 940 as shown in FIG. 9E.
  • a user's input operation for example, a single click
  • the picture selection interface 940 may include thumbnails of one or more pictures. Among them, each thumbnail can be displayed with a mark. This mark can be used to indicate whether the user has selected the picture corresponding to the thumbnail.
  • the picture corresponding to the thumbnail 941 may be the picture 811 in FIG. 8A, and a mark 942 is displayed on the thumbnail 941.
  • the mark 942 is currently in an unselected state to indicate that the picture corresponding to the thumbnail 941 is not selected. Selected by the user.
  • the picture selection interface 940 may include an original picture selection control 943, and the original picture function control 943 may be used for the electronic device 100 to send the picture selected by the user to the contact's device without compression.
  • the original image function control 943 is currently in a closed state, which is used to indicate that the current electronic device 100 will compress the image to be sent selected by the user.
  • the user has selected the picture corresponding to the thumbnail 941.
  • the mark 942 on the thumbnail 941 is in the selected state.
  • the original image function control 943 is in an on state.
  • the electronic device 100 may display a sending control 944 on the picture selection interface 940.
  • the electronic device 100 can receive the user's input operation (for example, click) on the sending control 944, and in response to the input operation, the electronic device 100 can determine whether the WeChat application has permission to access the private information of the picture (for example, shooting address information, shooting time , Shooting device model, shooting mode, etc.), if the WeChat application does not have permission to access the private information of the picture, the electronic device 100 filters (can also be called deleting) the picture before the WeChat application obtains the picture corresponding to the thumbnail 941 Private information in the Exif data of the picture (for example, shooting address information, shooting time, shooting device model, shooting mode, etc.).
  • the electronic device 100 filters (can also be called deleting) the picture before the WeChat application obtains the picture corresponding to the thumbnail 941 Private information in the Exif data of the picture (for example, shooting address information, shooting time, shooting device model, shooting mode, etc.).
  • the electronic device 100 may filter out the private information in the Exif data of the picture when encoding and decoding the picture corresponding to the thumbnail 941, and save the picture data after the filtering (also called deletion) of the private information. Into the cache for the WeChat application to read. In another possible implementation manner, the electronic device 100 may also store the encoded and decoded picture data in a cache after encoding and decoding the picture corresponding to the thumbnail 941, and then filter (also referred to as deleting) the cache. After the private information in the Exif data of the image data, the image data after filtering out the private information is returned to the WeChat application.
  • the electronic device 100 does not change the original picture data stored in the mobile phone itself, and when reading the picture data, it dynamically deletes the private information in the picture data, which protects user privacy.
  • the electronic device 100 does not change the original picture data stored in the mobile phone itself, and when reading the picture data, it dynamically deletes the private information in the picture data, which protects user privacy.
  • the electronic device 100 filters out the private information in the picture selected by the user (for example, shooting address information, shooting time, shooting device model, shooting mode, etc.), it can send the filtered picture with private information to the contact's device on.
  • the private information in the picture selected by the user for example, shooting address information, shooting time, shooting device model, shooting mode, etc.
  • the electronic device 100 can directly send the filtered private information picture to the server of the WeChat application, and then the server sends the filtered private information picture to the contact's device ( For example, the electronic device 101).
  • the electronic device 100 may send a picture with filtered private information to a file server of a WeChat application. Then, the electronic device 100 sends the link of the picture to the contact's device (for example, the electronic device 101) through the communication server of the WeChat application. After obtaining the link of the picture through the communication server of the WeChat application, the device of the contact (such as the electronic device 101) can download the picture from the server according to the link of the picture.
  • the electronic device 100 may display the thumbnail 951 in the chat interface 930 after sending the picture corresponding to the thumbnail 941 to the contact (for example, “MAC”) through the WeChat application.
  • the thumbnail 951 and the thumbnail 941 in FIG. 9E are from the same picture.
  • the device of the contact may be the electronic device 101.
  • the electronic device 101 displays a chat interface 1010 of the WeChat application.
  • the contact person of the chat interface 1010 is “Daniel”.
  • the device of the contact "Daniel” may be the electronic device 100 in the foregoing embodiment.
  • the chat interface 1010 displays the name of the contact (such as "Daniel"), the avatar of the contact, the chat message 1015, the voice input control 1011, the text input control 1012, the expression control 1013, more controls 1014, and so on.
  • the chat message 1015 is a thumbnail corresponding to the picture sent by the device (electronic device 100) of the contact "Daniel".
  • the electronic device 101 may receive an input operation (for example, a click) of the user for the chat message 1015, and in response to the input operation, the electronic device 101 may display a picture display interface 1020 as shown in FIG. 10B.
  • an input operation for example, a click
  • the electronic device 101 may display a picture display interface 1020 as shown in FIG. 10B.
  • the electronic device 101 may display a picture 1021 and a save control 1022.
  • the picture 1021 is sent by the electronic device 100 to the electronic device 101 through the WeChat application.
  • the save control 1022 may be used to trigger the electronic device 101 to save the picture 1021 to a local folder (for example, the storage path of the picture 1021 may be "internal storage/DCIM/Wexin/IMG_20190715_155430").
  • the electronic device 101 After the electronic device 101 stores the picture 1021 locally, the user can view the picture 1021 and related information of the picture 1021 in the gallery application.
  • the WeChat album interface 1040 displays thumbnails including one or more pictures (for example, the thumbnail 1041 of the aforementioned picture 1021, etc.).
  • the electronic device 101 can receive an input operation (for example, a click) of the thumbnail 1041 by the user, and in response to the input operation, the electronic device 101 can display a picture browsing interface 1050 as shown in FIG. 10E.
  • an input operation for example, a click
  • the picture browsing interface 1050 displays pictures 1021, the time the picture was saved (for example, "8:08 am on November 15, 2019"), picture details control 1052, sharing function control, and collection function Controls, edit function controls, delete function controls, more function controls, etc.
  • the electronic device 101 may receive a user's input operation (for example, a click) on the picture detailed information control 1052, and in response to the input operation, the electronic device 100 may display a picture detailed information window 1060 as shown in FIG. 10F.
  • a user's input operation for example, a click
  • the application on the electronic device 100 can separately obtain the Exif data of the picture.
  • the electronic device 100 can determine whether the application has the right to obtain the Exif data of the picture. If the application does not have permission to access the private information in the picture file on the electronic device 100, the electronic device 100 can filter the private information in the Exif data before the application obtains the Exif data of the picture. In this way, the electronic device 100 may not change the original picture data stored in the mobile phone itself, and when the application reads the Exif data, the private information in the picture data is dynamically deleted, thereby protecting user privacy.
  • the cloud server may encrypt the private information in the Exif data of the picture, and then send the encrypted private information to the user B's device (for example, the electronic device 101).
  • the electronic device 100 shares the picture with other devices, it can prevent the other devices from acquiring the private information in the picture, thereby protecting the privacy of the user.
  • the function window 1120 may display that it includes one or more function options (for example, a top option, a delete option, a rename option, a sharing option 1121, an option to move into another album, etc.).
  • one or more function options for example, a top option, a delete option, a rename option, a sharing option 1121, an option to move into another album, etc.
  • the electronic device 100 may receive an input operation (for example, a click) of the user for the sharing option 1121, and in response to the input operation, the electronic device 100 may display an album sharing interface 1130 as shown in FIG. 11C.
  • an input operation for example, a click
  • each album to be shared includes one or more pictures.
  • the publicly shared album control 1135 can be used to open or close the publicly selected album. Currently, the publicly shared album control 1135 is closed.
  • the album address sending control 1136 can be used to trigger the electronic device 100 to send the acquisition address of the selected album to other devices.
  • the electronic device 100 may receive an input operation (for example, a click) of the user for the publicly shared album control 1135, and in response to this operation, the electronic device 100 may enable the function of publicly sharing the album.
  • an input operation for example, a click
  • the user name of the cloud account A logged in on the electronic device 100 may be "Daniel”
  • the electronic device 101 may log in to the cloud account B
  • the user name of the cloud account B may be "MAC”.
  • the electronic device 101 can obtain the album (or picture) shared by the electronic device 100 through the cloud account A in the following ways: 1.
  • the electronic device 101 can scan the two-dimensional code 1137 of the album sharing interface 1130 shown in FIG. 11D to obtain Go to the acquisition address of the album to be shared by the electronic device 100 (for example, the aforementioned travel album 1111).
  • the electronic device 100 can receive and respond to the input operation of the album address sending control 1136 shown in FIG. 11C, and send the acquisition address of the album to be shared (for example, the travel album 1111) to the electronic device 101 through social applications.
  • the electronic device 100 can add the cloud account B corresponding to the electronic device 101 to the album member list, and send the acquisition address of the album to be shared (for example, the travel album 1111 described above) to the electronic device 101 logged in to the cloud account B through the cloud server.
  • the electronic device 100 may add the cloud account B corresponding to the electronic device 101 to the album member list.
  • the list of album members may display an identifier 1131 corresponding to the cloud account A logged in on the electronic device 100 and an identifier 1138 corresponding to the cloud account B logged in on the electronic device 101.
  • the electronic device 100 may send the acquisition address of the photo album (for example, travel photo album 1111) to be shared to the electronic device 101 with the cloud account B through the cloud server.
  • the photo album for example, travel photo album 1111
  • the electronic device 101 may send an album acquisition request to the cloud server according to the acquisition address.
  • the cloud server may send thumbnails corresponding to each picture included in the album to be shared (for example, travel album 1111) to the electronic device 101.
  • the electronic device 101 may display a cloud album interface 1210.
  • the cloud album interface 1210 displays thumbnails (for example, thumbnails 1211, 1212) of picture files included in an album to be shared by the electronic device 100 (for example, the travel album 1111).
  • the electronic device 101 can receive the user's input operation on the thumbnail 1211. In response to the input operation, the electronic device 101 can obtain the obtaining address of the picture file corresponding to the thumbnail 1211, and download the picture file from the cloud server according to the obtaining address of the picture file The picture file to the local.
  • the cloud server may send the picture file to the electronic device 101 after encrypting the private information in the Exif data in the picture file.
  • the electronic device 101 may receive and respond to the user's input operation (for example, clicking) on the thumbnail 1211, and obtain the image file corresponding to the thumbnail 1211 from the cloud server. After obtaining the picture file corresponding to the thumbnail 1211, the electronic device 101 may store it in the cache, and obtain the non-private information in the main image data and Exif data from the picture file, and display the picture 1221.
  • the cloud server can send the image file A with the encrypted private information to the electronic device 101.
  • the electronic device 100 can allow different recipients to set different image file acquisition permissions, and can realize that the device of the recipient specified by the user (such as relatives, colleagues, etc.) can obtain the private information in the shared image file, and other recipients
  • the device of a party (such as a stranger) cannot obtain the private information in the shared picture file, which protects the privacy of the user.
  • the electronic device 100 may first encrypt the private information in the local picture, and then send the encrypted picture data and the key to the cloud server.
  • the electronic device 100 may send the identification of the device that has the authority to obtain the private information in the picture to be shared to the cloud server.
  • the cloud server receives a request from another device (such as electronic device 101) to obtain a picture to be shared, the cloud server can determine the other device (such as electronic device 101) according to the device identification (such as cloud account) of the other device (such as electronic device 101) 101) Is there permission to obtain the private information of the picture to be shared.
  • the cloud server may send the encrypted private information to the picture to be shared and the key to the other device (such as the electronic device 101). If other devices do not have permission to obtain the private information of the picture to be shared, the cloud server may send the encrypted private information to the picture to be shared to other devices (for example, the electronic device 101).
  • the electronic device 100 can send the picture to be shared to the receiving device (for example, the electronic device 101) through the application A.
  • the electronic device 100 can delete the private information in the picture to be shared, and then delete the private information through the application A Send the picture to be shared to the receiving device. In this way, it can be realized that only the recipient whose account avatar is in the picture can obtain the private information in the picture, which protects the privacy of the user.
  • the electronic device 100 can encrypt the private information and use the picture to be shared through the application A.
  • the decrypted key is sent to the second electronic device.
  • the electronic device 100 can send the encrypted private information to the receiving device (electronic device 101) through the application A. ).
  • the electronic device 100 may upload all local picture files to a cloud server for storage through application A (for example, a cloud photo album application).
  • the electronic device 100 can browse the image files stored in the storage space of the cloud account A on the cloud server by logging into the cloud account A on the application A.
  • the electronic device 100 can share the picture to be shared selected by the user on the cloud server to devices corresponding to other cloud accounts.
  • the cloud server may determine whether the avatar information of the cloud account logged in on the receiving device (for example, the electronic device 101) requesting to obtain the picture to be shared is included in the picture to be shared. If yes, the cloud server can send the picture to be shared to the receiving device (for example, the electronic device 101).
  • the cloud server can delete the private information in the picture to be shared, and then send the picture to be shared with the deleted private information to the receiving device (for example, the electronic device 101). In this way, it can be realized that only the recipient whose account avatar is in the picture can obtain the private information in the picture, which protects the privacy of the user.
  • the cloud server may encrypt the private information to be shared and the key for decryption Send to the second electronic device.
  • the cloud server may send the encrypted private information to the picture to be shared to the receiving device (electronic device 101).
  • FIG. 13 shows a picture processing method provided by an embodiment of the present application.
  • the first electronic device may be the aforementioned electronic device 100
  • the second electronic device may be the aforementioned electronic device 101.
  • the method includes:
  • the first electronic device receives a user's first input for a first application.
  • the first application may be the WeChat application in the embodiment shown in FIGS. 9A to 9G, and the first input may be an input operation (for example, a single click) on the sending control 944 shown in FIG. 9F.
  • the first electronic device acquires first picture data in response to the first input.
  • the first electronic device may first obtain the storage path of the first picture data, and then obtain the first picture data according to the storage path of the first picture data.
  • the first picture data may be a picture file corresponding to the thumbnail 941 in the embodiment shown in FIG. 9F.
  • the first electronic device may determine whether the first application has the permission to access the private information of the picture, and if it does not have the permission, the first electronic device may delete the private information in the first picture data.
  • the private information may include one or more of the following: shooting address information, shooting time information, shooting device model information, shooting mode information, portrait mood information, and so on.
  • the private information also includes some other information selected by the user from the Exif data.
  • the process of deleting the private information in the first picture data by the first electronic device can be implemented in the following two ways: 1.
  • the first electronic device can decode the first picture data first, and decode the decoded first picture data Store in the designated cache. Then, the first electronic device deletes the private information in the first picture data in the designated cache. 2.
  • the first electronic device may first decode the first picture data and delete the private information in the first picture data in the coding and decoding stage. Then, the first electronic device may store the first picture data after the private information is deleted in the designated cache.
  • the first electronic device sends the first picture data with the private information deleted to the second electronic device.
  • the first electronic device may be the electronic device 100 in the foregoing embodiment
  • the second electronic device may be the electronic device 101 in the foregoing embodiment.
  • the first electronic device may shrink The picture file corresponding to the thumbnail 941 is sent to the second electronic device (electronic device 101) after the private information is deleted.
  • the method before the first electronic device receives the user's first input for the first application, the method further includes: the first electronic device receives the user's second input. In response to the second input, the first electronic device turns on or turns off the permission of the first application to access the private information of the picture. In this way, the user can set the permission to obtain the private information in the picture for the application on the first electronic device, and protect the privacy of the user for different applications.
  • the embodiments shown in FIGS. 7A to 7G which are not repeated here.
  • the method further includes: the first electronic device encrypts the private information in the first picture data.
  • the first electronic device sends the encrypted first picture data and the key to the second electronic device through the first application .
  • the key is used for the second electronic device to decrypt the encrypted private information in the first picture data.
  • the method when the first application has permission to access the private information of the picture, the method further includes: when the first electronic device determines that the avatar information corresponding to the account on the second electronic device is included in the first application In a picture data, the first electronic device sends the first picture data to the second electronic device through the first application. When the first electronic device determines that the avatar information corresponding to the account on the second electronic device is not included in the first picture data, the first electronic device deletes the private information in the first picture data, and will delete the private information The first picture data is sent to the second electronic device through the first application. In this way, it can be realized that only the recipient whose account avatar is in the picture can obtain the private information in the picture, which protects the privacy of the user. For specific content, please refer to the foregoing embodiment, which will not be repeated here.
  • the method further includes: the first electronic device downloads The thumbnail is obtained from the exchangeable image file format Exif data of the first picture data.
  • the first electronic device displays the thumbnail.
  • the method further includes: the first electronic device sends the first picture data to the second electronic device through the first application .
  • the private information may include one or more of the following: shooting address information, shooting time information, shooting device model information, shooting mode information, portrait mood information, and so on.
  • FIG. 14 shows a schematic diagram of functional units of an electronic device 1400 provided in the present application.
  • the electronic device 1400 may be the first electronic device (electronic device 100) in the foregoing embodiment.
  • the electronic device 1400 includes:
  • the input module 1410 is configured to receive a user's first input for the first application.
  • the obtaining module 1420 is configured to obtain first picture data in response to the first input.
  • the processing module 1430 is configured to delete the private information in the first picture data when the first application does not have permission to access the private information of the picture.
  • the sending module 1440 is configured to send the first picture data after deleting the private information to the second electronic device through the first application.
  • the first electronic device further includes: an encryption module configured to encrypt the private information in the first picture data when the first application has permission to access the private information of the picture.
  • the sending module 1440 is further configured to send the first image data encrypted with the private information to the second electronic device through the first application when the second electronic device does not have the authority to obtain the private information of the first image data . In this way, when the first electronic device shares the picture with other devices, it can prevent the other devices from acquiring the private information in the picture, thereby protecting the privacy of the user.
  • the first electronic device further includes: an encryption module configured to encrypt the private information in the first picture data when the first application has permission to access the private information of the picture.
  • the sending module 1440 is further configured to send the first image data and key after the encrypted private information to the first application through the first application when the second electronic device has the authority to obtain the private information of the first image data.
  • the second electronic device wherein, the key is used for the second electronic device to decrypt the encrypted private information in the first picture data. In this way, when the electronic device 100 shares the picture with other devices, it can prevent the other devices from acquiring the private information in the picture, thereby protecting the privacy of the user.
  • the processing module 1430 is further configured to determine whether the avatar information corresponding to the account on the second electronic device is included in the first picture data.
  • the sending module 1440 is further configured to send the first image data to the second image data through the first application when the processing module determines that the avatar information corresponding to the account on the second electronic device is included in the first image data.
  • Electronic equipment The sending module 1440 is further configured to, when the processing module determines that the avatar information corresponding to the account on the second electronic device is not included in the first picture data, send the first application after deleting the private information through the first application.
  • the picture data is given to the second electronic device. In this way, it can be realized that only the recipient whose account avatar is in the picture can obtain the private information in the picture, which protects the privacy of the user.
  • the first electronic device further includes: an encoding and decoding module, configured to decode the first picture data, and store the decoded first picture data in a designated buffer.
  • the processing module 1430 is specifically configured to delete the private information in the first picture data in the designated cache. In this way, the picture data stored in the mobile phone itself is not changed, and the private information in the Exif data is dynamically deleted when the picture data is read or the Exif data in the picture data is read.
  • the first electronic device further includes: a coding and decoding module, configured to decode the first picture data.
  • the processing module is specifically configured to delete the private information in the first picture data, and store the first picture data after deleting the private information in a designated cache. In this way, the picture data stored in the mobile phone itself is not changed, and the private information in the Exif data is dynamically deleted when the picture data is read or the Exif data in the picture data is read.
  • the obtaining module 1420 is specifically configured to: in response to the first input, obtain a storage path of the first picture data; obtain the first picture data according to the storage path of the first picture data .
  • the sending module 1440 is further configured to send the first picture data to the second electronic device when the first application has permission to access the private information of the picture.
  • the privacy information includes one or more of the following: shooting address information, shooting time information, shooting device model information, shooting mode information, and portrait mood information.
  • the user can set the permission of the application to access the private information in the Exif data on the first electronic device.
  • the first electronic device can use the application In the process of obtaining the original picture of the picture or separately obtaining the Exif data, the private information in the Exif data (such as GPS location information, picture shooting time, picture shooting model, etc.) is dynamically deleted.
  • the first electronic device does not change the picture data stored in the mobile phone itself, and when reading the picture data or reading the Exif data in the picture data, the private information in the Exif data is dynamically deleted, thereby protecting user privacy.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Medical Informatics (AREA)
  • Telephone Function (AREA)

Abstract

L'invention concerne un procédé de traitement d'image qui se rapporte au domaine du traitement d'informations. Le procédé comprend les étapes suivantes : un premier dispositif électronique reçoit une première entrée d'un utilisateur pour une première application; en réponse à la première entrée, le premier dispositif électronique acquière des premières données d'image; lorsque la première application n'est pas autorisée à accéder à des informations de confidentialité d'une image, le premier dispositif électronique supprime les informations de confidentialité dans les premières données d'image; et le premier dispositif électronique envoie les premières données d'image, après suppression des informations de confidentialité, à un second dispositif électronique au moyen de la première application. Ainsi, la suppression dynamique, lorsque les données d'image sont envoyées au moyen de l'application, des informations de confidentialité dans les données d'image sans données d'image originales stockées dans un téléphone mobile proprement dit sont modifiées, protégeant la vie privée de l'utilisateur.
PCT/CN2020/106822 2019-08-09 2020-08-04 Procédé de traitement d'image et appareil associé WO2021027633A1 (fr)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201910735943.1 2019-08-09
CN201910735943 2019-08-09
CN201911209308.6 2019-11-30
CN201911209308.6A CN111143586B (zh) 2019-08-09 2019-11-30 一种图片处理方法及相关装置

Publications (1)

Publication Number Publication Date
WO2021027633A1 true WO2021027633A1 (fr) 2021-02-18

Family

ID=70517473

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/106822 WO2021027633A1 (fr) 2019-08-09 2020-08-04 Procédé de traitement d'image et appareil associé

Country Status (2)

Country Link
CN (1) CN111143586B (fr)
WO (1) WO2021027633A1 (fr)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111143586B (zh) * 2019-08-09 2023-09-08 华为技术有限公司 一种图片处理方法及相关装置
CN112163200A (zh) * 2020-09-27 2021-01-01 维沃移动通信(杭州)有限公司 图片处理方法、装置及电子设备
CN114547631B (zh) * 2020-11-18 2023-03-28 成都鼎桥通信技术有限公司 终端控制方法、装置及终端
CN112887590B (zh) * 2021-01-11 2022-12-27 北京小米移动软件有限公司 图像处理方法、装置及存储介质
CN112887799B (zh) * 2021-03-11 2023-07-25 北京小米移动软件有限公司 影像资源分享方法、装置及介质
CN114288500B (zh) * 2021-12-02 2024-03-19 中国科学院深圳先进技术研究院 一种基于模糊熵特征提取的人机通气异步检测模型及装置
CN116095226B (zh) * 2022-08-03 2023-11-21 荣耀终端有限公司 照片处理方法、电子设备和可读存储介质
CN115374482B (zh) * 2022-10-24 2023-09-22 荣耀终端有限公司 图像处理方法及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007088754A (ja) * 2005-09-21 2007-04-05 Olympus Imaging Corp コンテンツデータ処理装置及びコンテンツデータ処理プログラム
CN101188656A (zh) * 2006-11-20 2008-05-28 佳能株式会社 信息处理设备及其控制方法
CN101656816A (zh) * 2008-08-18 2010-02-24 索尼株式会社 信息记录设备、成像设备、信息记录方法和程序
US20120249853A1 (en) * 2011-03-28 2012-10-04 Marc Krolczyk Digital camera for reviewing related images
CN111143586A (zh) * 2019-08-09 2020-05-12 华为技术有限公司 一种图片处理方法及相关装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5150572B2 (ja) * 2009-07-13 2013-02-20 日本電信電話株式会社 プライバシー保護システム及びプライバシー保護方法
US9571785B2 (en) * 2014-04-11 2017-02-14 International Business Machines Corporation System and method for fine-grained control of privacy from image and video recording devices
CN104318177A (zh) * 2014-10-29 2015-01-28 小米科技有限责任公司 终端设备中数据的保护方法及装置
CN109688145B (zh) * 2015-12-23 2021-07-16 北京奇虎科技有限公司 隐私信息的保护方法及装置
CN106778335B (zh) * 2016-11-30 2019-09-24 Oppo广东移动通信有限公司 一种应用安装的隐私保护方法及装置、移动终端
CN107025410A (zh) * 2017-03-17 2017-08-08 北京珠穆朗玛移动通信有限公司 图片显示方法及电子装置
CN107133498B (zh) * 2017-04-20 2020-02-14 北京安云世纪科技有限公司 一种隐私应用管理方法和装置及移动终端
CN107889070B (zh) * 2017-11-08 2020-12-22 Oppo广东移动通信有限公司 图片处理方法、装置、终端及计算机可读存储介质
CN109815679B (zh) * 2018-12-26 2021-03-23 维沃移动通信有限公司 权限管理方法和移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007088754A (ja) * 2005-09-21 2007-04-05 Olympus Imaging Corp コンテンツデータ処理装置及びコンテンツデータ処理プログラム
CN101188656A (zh) * 2006-11-20 2008-05-28 佳能株式会社 信息处理设备及其控制方法
CN101656816A (zh) * 2008-08-18 2010-02-24 索尼株式会社 信息记录设备、成像设备、信息记录方法和程序
US20120249853A1 (en) * 2011-03-28 2012-10-04 Marc Krolczyk Digital camera for reviewing related images
CN111143586A (zh) * 2019-08-09 2020-05-12 华为技术有限公司 一种图片处理方法及相关装置

Also Published As

Publication number Publication date
CN111143586B (zh) 2023-09-08
CN111143586A (zh) 2020-05-12

Similar Documents

Publication Publication Date Title
WO2021027633A1 (fr) Procédé de traitement d'image et appareil associé
WO2020253719A1 (fr) Procédé de d'enregistrement d'écran et dispositif électronique
WO2020155014A1 (fr) Système et un procédé de partage de dispositif domestique intelligent, et dispositif électronique
WO2020010584A1 (fr) Procédé de récupération de données lors de la restauration des réglages d'usine d'un terminal, et terminal
WO2021159746A1 (fr) Procédé et système de partage de fichiers et dispositif associé
US20210289075A1 (en) Method for Presenting Video on Electronic Device When There Is Incoming Call and Electronic Device
WO2020150917A1 (fr) Procédé de gestion d'autorisation d'application et dispositif électronique
WO2020224447A1 (fr) Procédé et système pour ajouter un dispositif de maison intelligente à des contacts
WO2021052204A1 (fr) Procédé de découverte de dispositif basé sur un carnet d'adresses, procédé de communication audio et vidéo, et dispositif électronique
US12028300B2 (en) Method, apparatus, and system for sending pictures after thumbnail selections
WO2023015963A1 (fr) Procédé de gestion de fichier, dispositif électronique et support de stockage lisible par ordinateur
CN111615820B (zh) 通过向grs服务器发送关键值进行域名解析的方法及设备
WO2022037480A1 (fr) Procédé de traitement de tâche et dispositif électronique associé
CN113536374A (zh) 图像隐私的保护方法及电子设备
CN114553814A (zh) 处理推送消息的方法和装置
EP4293997A1 (fr) Procédé d'affichage, dispositif électronique et système
WO2020192716A1 (fr) Procédé de commutation de langue système et appareil associé
CN114064160A (zh) 应用图标布局方法及相关装置
US11470153B2 (en) Photo sharing method and electronic device
WO2020051916A1 (fr) Procédé permettant de transmettre des informations et dispositif électronique
WO2020216144A1 (fr) Procédé d'ajout de contact mail, et dispositif électronique
US20230342335A1 (en) File sharing method and electronic device
EP4400980A1 (fr) Procédé de gestion de fichier multimédia et appareil associé
EP4345590A1 (fr) Système et procédé de synchronisation de tâches, et dispositif
WO2022222733A1 (fr) Procédé de transmission de données et dispositif associé

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20852217

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20852217

Country of ref document: EP

Kind code of ref document: A1