WO2022100588A1 - Procédé et dispositif de collecte d'images - Google Patents

Procédé et dispositif de collecte d'images Download PDF

Info

Publication number
WO2022100588A1
WO2022100588A1 PCT/CN2021/129649 CN2021129649W WO2022100588A1 WO 2022100588 A1 WO2022100588 A1 WO 2022100588A1 CN 2021129649 W CN2021129649 W CN 2021129649W WO 2022100588 A1 WO2022100588 A1 WO 2022100588A1
Authority
WO
WIPO (PCT)
Prior art keywords
collection
indication
picture file
electronic device
favorite
Prior art date
Application number
PCT/CN2021/129649
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 WO2022100588A1 publication Critical patent/WO2022100588A1/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Definitions

  • the embodiments of the present application relate to the field of intelligent terminals, and in particular, to a method and device for collecting pictures.
  • the photographing function has become the most concerned feature of consumers. Consumers can mark the most frequently viewed pictures as "Personal Favorites" through smart terminals, so that they can more easily find them in the "Personal Favorites” directory.
  • the embodiments of the present application provide a method and device for collecting pictures, which can avoid the phenomenon that the collected pictures are lost.
  • an embodiment of the present application provides a picture collection method, which is applied to an electronic device.
  • the method includes: acquiring a collection operation for a first picture file; in response to the collection operation, generating a first picture file including a first collection indication ; recording a second collection indication corresponding to the first picture file in the media database according to the first collection indication; displaying a collection mark associated with the first picture file based on the second collection indication.
  • a first collection indication is recorded in the picture file, so that as long as the picture file is not lost in the future, it can be restored based on the first collection indication Information that the picture file is saved, so the solution can reduce the probability of losing the picture collection information.
  • the method further includes, in response to the collection operation for the first picture file, recording a third collection indication corresponding to the first picture file in the media database.
  • the first favorite instruction can be recorded in the picture file, and the third favorite instruction can be recorded in the media database at the same time.
  • the electronic device may display the favorite mark associated with the picture file based on the third favorite indication stored in the media database.
  • an operation of recording the second collection instruction corresponding to the first picture file in the media database according to the first collection instruction is triggered after the loss event of the third collection instruction is detected. That is to say, when the picture collection indication in the media database is lost, the second collection indication can be restored in the media database according to the collection indication saved in the picture file, so that the electronic device can be based on the new first collection indication stored in the media database. 2.
  • Favorite indicator to display the associated favorite mark of the picture file.
  • the method further includes acquiring an unfavorite operation for the first picture file; and in response to the unfavorite operation, deleting the first favorite instruction contained in the first picture file. That is to say, when the user's operation of canceling the favorite is acquired, the favorite instruction contained in the first picture file is deleted synchronously.
  • the electronic device may also delete the favorite instruction corresponding to the first picture file in the media database in response to the cancel operation.
  • the third collection loss event includes a media data deletion event. After the media data deletion event is detected, the third favorite indication recorded in the media database will be cleared.
  • the third collection indication loss event is often caused by the user mistakenly triggering the deletion of the media, or the third-party file cleaning software is deleted when cleaning up the storage. These are not the operations that the user wants, because the previously collected pictures cannot be found.
  • the format in which the first collection indication is recorded in the first picture file is an exchangeable image file format EXIF.
  • the first collection indication is stored in a manufacturer comment field of the first picture file.
  • the first collection indication is stored in the manufacturer's comment field in a tag image file format TIFF.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor and a memory, the memory is used to store computer program code, and the computer program code includes computer instructions, when the processor executes the computer instructions, the electronic device is made to execute the following: The method of the above first aspect and any possible design manners thereof.
  • an embodiment of the present application provides a computer storage medium, where the computer storage medium includes computer instructions, and when the computer instructions are executed on a device, the device is made to perform the first aspect and any possible design of the embodiments of the present application. way method.
  • the embodiments of the present application provide a computer program product, which, when the computer program product runs on a computer, enables the computer to execute the method described in the first aspect and any possible design manners of the embodiments of the present application.
  • FIG. 1 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
  • Fig. 2 is the data structure schematic diagram of a kind of Joint Photographic Experts Group (Joint Photographic Experts Group, JPEG) image file that the embodiment of this application provides;
  • FIG. 3 is a schematic diagram of a data structure of an EXIF image file provided by an embodiment of the present application.
  • FIG. 4 is an exemplary user interface of an electronic device provided by an embodiment of the present application.
  • 5A-5F illustrate example user interfaces for bookmarking pictures on an electronic device in accordance with certain embodiments
  • 6A shows a flowchart of a method for bookmarking pictures on an electronic device according to some embodiments
  • 6B-6C illustrate example user interfaces for media data deletion on an electronic device in accordance with certain embodiments
  • 6D illustrates a flowchart of a method for media data deletion on an electronic device, according to some embodiments.
  • FIGS. 7-8 show schematic diagrams of fields for storing a picture file of a favorite indication, according to some embodiments.
  • An embodiment of the present application provides a method for collecting pictures, and the method for collecting pictures can be applied to an electronic device for collecting a first picture.
  • the picture files in the embodiments of the present application include picture files obtained by encoding and compressing images collected by the electronic device through the camera, such as JPEG picture files, and also include picture files saved by the electronic device and obtained from the network or other devices.
  • a bookmark mark may be displayed on the first picture when browsing, which is used to indicate that the first picture is a favorite picture.
  • the user can view the first picture in the collection under a specific collection directory, so as to quickly find the picture that has been collected.
  • the electronic device in the embodiment of the present application may be a mobile phone, a tablet computer, a personal computer (PC), a personal digital assistant (PDA), a netbook, a wearable electronic device, and an augmented reality (AR) ⁇ Virtual reality (virtual reality, VR) equipment, vehicle computer and other electronic equipment.
  • AR augmented reality
  • VR Virtual reality
  • FIG. 1 taking a mobile phone as an example of the electronic device 100 , various components of the electronic device 100 are specifically introduced. It should be understood that the electronic device 100 shown in FIG. 1 is only an example, and the electronic device 100 may have more or fewer components than those shown in FIG. 1 , two or more components may be combined, or Different component configurations are possible.
  • the various components shown in the figures 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, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, And a subscriber identification module (subscriber identification module, SIM) card interface 195 and so on.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light.
  • a pressure sensor 180A a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light.
  • a pressure sensor 180A a pressure sensor 180A
  • a gyroscope sensor 180B an air pressure sensor 180C
  • a magnetic sensor 180D a magnetic sensor 180D
  • an acceleration sensor 180E a distance sensor 180F
  • a proximity light sensor 180G a fingerprint sensor 180H
  • the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), 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. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • graphics processor graphics processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the controller may be the nerve center and command center of the electronic device 100 .
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the charging management module 140 is used to receive charging input from the charger.
  • the wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through 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 may be provided in the same device as at least part of the modules of the processor 110 .
  • 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-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 passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 110, and may 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), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • 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 on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • global positioning system global positioning system, GPS
  • global navigation satellite system global navigation satellite system, GLONASS
  • Beidou navigation satellite system beidou navigation satellite system, BDS
  • quasi-zenith satellite system quadsi -zenith satellite system, QZSS
  • SBAS satellite based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
  • the electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 .
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing the 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, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 100 and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal.
  • Speaker 170A also referred to as 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 referred to as "earpiece” is used to convert audio electrical signals into sound signals.
  • the microphone 170C also called “microphone” or “microphone”, is used to convert sound signals into electrical signals.
  • the earphone jack 170D is used to connect wired earphones.
  • the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be provided on the display screen 194 .
  • the gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 .
  • the air pressure sensor 180C is used to measure air pressure.
  • the magnetic sensor 180D includes a Hall sensor.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
  • Distance sensor 180F for measuring distance.
  • the electronic device 100 can measure the distance through infrared or laser.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the temperature sensor 180J is used to detect the temperature.
  • Touch sensor 180K also called "touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the keys 190 include a power-on key, a volume key, and the like.
  • Motor 191 can generate vibrating cues.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card.
  • JPEG is an international image compression standard.
  • JFIF JPEG File Interchange Format
  • JPEG/JFIF is the most commonly used format for storing and transmitting pictures on the World Wide Web.
  • JPEG image files ie, image files in JPEG format
  • JPEG identification or "JPEG segment”
  • JPEG segment which are used to mark the information segment of the JPEG image file.
  • JPEG identification or "JPEG segment”
  • 0xFFD8 is used to mark the beginning of the image information
  • 0xFFD9 is used to mark the end of the image information.
  • An EXIF image file (ie, an image file in EXIF format) is one of the above-mentioned JPEG image files, and follows the JPEG standard.
  • the EXIF images add the capture parameters of the images captured by the camera to the JPEG image files.
  • the first shooting parameters may include: shooting date, shooting equipment parameters (such as the brand and model of the camera, lens parameters, flash parameters, etc.), shooting parameters (such as shutter speed, aperture F value, ISO speed, focal length, light metering, etc.) mode, etc.), image processing parameters (such as sharpening, contrast, saturation, white balance, etc.) and GPS positioning data of the captured image, etc.
  • the EXIF image file may include EXIF information
  • the EXIF information includes an EXIF field 301 and a Maker Note field 302
  • the above-mentioned shooting parameters are stored in the EXIF field 301 .
  • the image data field 303 of the EXIF picture file is used to store image data.
  • the Maker Note field 302 is a field reserved for manufacturers to store manufacturer-specific note data.
  • the format of the first picture file in the embodiment of the present application may be EXIF (that is, the first picture file may be an EXIF picture file), and the collection information in the first picture file may be stored in the Maker Note field 302 of the EXIF picture file.
  • the collection information can be recorded in the first picture file.
  • the electronic device 100 can recover and extract whether the first picture file is saved according to the first picture file, which can reduce the phenomenon that the saved picture is lost, thereby improving the user experience.
  • the file format of the first picture in the embodiment of the present application includes but is not limited to EXIF, and the first picture in the embodiment of the present application may also be other format files including a reserved field, and the reserved field can be used to save the collection indicated information.
  • the above-mentioned reserved field includes but is not limited to the above-mentioned Maker Note field, and the reserved field may be any field in the first picture that can be used to save picture collection information, which is not limited in this embodiment of the present application.
  • Figure 4 illustrates an exemplary user interface 401 of the electronic device 100, optionally displayed on the display screen 194 of the electronic device 100, according to some embodiments.
  • user interface 401 optionally includes the following elements or a subset or superset thereof:
  • signal strength eg mobile network, Wi-Fi
  • the icons shown in FIG. 4 are only exemplary, and the electronic device 100 may also include other application programs and other user interfaces.
  • FIG. 5A-5F illustrate example user interfaces for bookmarking pictures stored by an electronic device, according to some embodiments.
  • Figures 5A-5F illustrate a collection method in a gallery application, but this collection method can also be used for many other applications (eg, file management applications), the gallery application is only an illustrative example.
  • FIG. 5A shows a gesture for executing or launching a view picture type application.
  • launch gesture 502 is directed to “Gallery” icon 413 , indicating that the user requests execution of the gallery application represented by “Gallery” icon 413 .
  • FIG. 5A takes a gallery application as an example for illustration, other picture-type applications (eg, file management 417, camera 441) can also perform picture browsing and bookmarking operations.
  • the initiation gesture is represented by contact 502 of the user's finger on the "Gallery" icon 413, shown as a dashed ellipse.
  • the electronic device 100 displays a gallery application view 504 corresponding to the "Gallery" icon 413 as shown in Figure 5B.
  • FIG. 5B shows a gallery application view 504 according to one embodiment.
  • Gallery application view 504 contains several functional options for photos 506, albums 508, moments 510 and discoveries 512.
  • the Photos 506 option if selected, may display the user's pictures in chronological order.
  • the Album 508 option if selected, can display pictures according to different album categories. If the moment 510 option is selected, it can help users select photos and videos taken at a certain time period or place by time and place, and intelligently generate video clips from these photos and videos, so that users can recall the good times they have experienced.
  • the discovery 512 option is selected, the electronic device 100 can intelligently classify the pictures in the gallery by categories such as portrait, location, scenery, food, etc., so as to help the user to organize and view the pictures more quickly.
  • the photo 506 option in FIG. 5B is selected (for example, the icon color of the photo 506 option is grayed out or filled with other colors), the gallery application view 504 displays the user's pictures in the order of shooting time, and the "today” 514 in FIG. 5B is classified The bottom shows photos 518, 520, 522, etc. taken today, and the "yesterday” 516 category shows photos 524, 526, etc. taken yesterday.
  • a picture viewing user interface 528 as shown in FIG. 5C is displayed.
  • the picture viewing user interface 528 contains the Favorites 530 functional options.
  • the favorites 530 option is selected (eg, the favorites 530 option's heart icon is filled with black, becoming icon 532 in FIG. 5D , and The icon's text becomes "Unfavorite").
  • the collected photos will be presented in the personal collection album (for example, the personal collection album shown in FIG. 5F has already recorded the photos 518 that the user has just collected), and the collected photos will have the collection mark 534 shown in FIG. 5E and the collection mark 534 shown in FIG. 5F .
  • Favorite mark 536 in the Favorites directory is shown.
  • FIG. 6A is a flowchart of a method for collecting pictures according to one embodiment. As shown in FIG. 6A, the collection scheme includes S605-S615.
  • the favorite 530 option is selected (eg, the favorite 530 option).
  • the heart-shaped icon of is filled with black, becomes icon 532 in FIG. 5D, and the text of the icon becomes "Unfavorite").
  • Table 1 presents an example of the picture information recorded in the internal storage database file, including serial number, picture path, picture name, name of the folder where the picture is located, and collection identifier. Still taking the photo shown in FIG. 5B as an example, it is assumed that the index of the photo in FIG. 5B is recorded in Table 1, wherein the name of the picture is “photo” plus the label and suffix “jpg” shown in FIG. 5B as the photo name. (For example, the name of the photo 518 in FIG. 5B is "photo 518.jpg", and the name of the photo 520 is "photo 520.jpg").
  • a favorite identifier of "NULL" indicates that the picture is not favorited (for example, the photo 520 and photos 522, 526, etc. in first picture file 518). That is, the first favorite indication uses 1 to represent that the picture is favorited.
  • the gallery 413 when the user views the gallery 413, the gallery 413 reads the first favorite indication from the media database (eg, the data directory shown in Table 1 shown above), and displays the favorite mark associated with the first picture file . For example, a favorite mark 534 as shown in FIG. 5E and a favorite mark 536 in the personal favorites list as shown in FIG. 5F are displayed.
  • the media database eg, the data directory shown in Table 1 shown above
  • the electronic device 100 cannot restore the favorite pictures.
  • the user has to add the favorite pictures one by one again. pictures, affecting the user experience. For example, for photo 518, if a first favorite indication loss event corresponding to photo 518 is detected, the first favorite indication "1" corresponding to photo 518 in Table 1 is cleared or becomes "NULL".
  • the favorite identifier of the photo 518 changes from "1" recorded in Table 1 to "NULL" (as shown in Table 2).
  • all media data are cleared, that is, Table 1 becomes an empty table (as shown in Table 3).
  • FIG. 6B-6C illustrate example user interfaces for deleting media data, according to some embodiments. Deleting media data or clearing the media database belongs to an example of a first collection indicating a loss event.
  • a media storage interface 620 entered by the user from the application management interface is shown.
  • the media storage interface 620 includes a storage option 622, and the storage option 622 is selected.
  • the user interface 624 shown in FIG. 6C can be displayed, and the user interface 624 shows the storage space occupied by the media storage. It can be seen that the storage space occupied by the media storage application is 43.67MB, and the storage capacity of the media storage data is 70.11MB.
  • the user interface 624 also includes a delete data option 626.
  • the data in the media database will be deleted, that is, the index information of the media files stored in the electronic device 100 (eg, the first index of the photo 518 in Table 1).
  • Favorite indication "1" will be deleted.
  • the media database is cleaned (or the media data is deleted) as only one example of a first collection indicating a loss event.
  • the first favorite indicating loss event is an event other than the unfavorite operation triggered by the user (for example, the operation of clicking the unfavorite icon 532 in FIG. 5D to cancel the favorite of the picture 518 ). That is, the first favorite indication loss event is not any event expected by the user to cause the first favorite indication to be lost.
  • the electronic device 100 cannot restore the favorite pictures.
  • the user has to add the favorite pictures one by one again.
  • the solution of FIG. 6D is proposed.
  • the collection instruction is synchronously recorded in the picture file, so that even if the media database record is lost, as long as the picture file is not lost, the saved picture can be restored by relying on the picture file.
  • FIG. 6D is a flowchart of a picture collection method according to one embodiment. As shown in Figure 6D, the method includes S630-S645:
  • the favorite 530 option in response to detecting a favorite operation on the first picture file (eg, a click operation on the favorite 530 option), the favorite 530 option is in a selected state (eg, the heart icon of the favorite 530 option is Filled with black, it becomes the icon 532 in Figure 5D, and the text of the icon becomes "Unfavorite").
  • a favorite operation on the first picture file eg, a click operation on the favorite 530 option
  • the favorite 530 option is in a selected state (eg, the heart icon of the favorite 530 option is Filled with black, it becomes the icon 532 in Figure 5D, and the text of the icon becomes "Unfavorite").
  • a preset field (such as a Maker Note field) of a first picture file (such as an EXIF image file) in this embodiment of the present application may be used to save a first favorite indication of the first picture file.
  • the first favorite indication may indicate that the first picture file is favorited by the user.
  • FIG. 7 shows a schematic diagram of a data structure example of a Maker Note field provided by an embodiment of the present application.
  • the format in which the first favorite indication is stored in the TIFF field 302d in FIG. 7 is the IFD format.
  • one or more IFDs may be stored in the TIFF field 302d.
  • the TIFF field 302d includes IFD0 and IFD1. Taking IFD0 as an example, the IFD information in the TIFF field 302d is described:
  • IFD0 includes a directory field and a data field
  • the directory field of IFD0 is used to store the directory of sub-IFDs (such as sub-IFD1 and sub-IFD2, etc.) in IFD0 and the connection end tag of this IFD0.
  • the data field of IFD0 is used to save sub-IFDs (such as sub-IFD1 and sub-IFD2, etc.).
  • the connection end tag of IFD0 is used to indicate the position where IFD0 ends.
  • the feature information in this embodiment of the present application may be stored in a directory or in a data field.
  • each sub-IFD may also include a directory field and a data field.
  • sub-IFD1 in IFD0 includes a directory field and a data field.
  • the functions of the directory field and the data field of the sub-IFD1 reference may be made to the introduction of the directory field and the data field of the IFD in this embodiment of the present application, which will not be repeated in this embodiment of the present application.
  • the TIFF field 302d includes two IFDs (eg, IFD0-IFD1).
  • FIG. 8 shows a schematic structural diagram of the directory of the IFD shown in FIG. 7 .
  • the directory of the IFD includes a plurality of tag items, and each tag item includes a tag identifier (Identity, ID), a tag type and a tag value (a first favorite indication).
  • the tag value in the embodiment of the present application is used to record the first favorite indication.
  • the tag type corresponding to the tag ID 0x001 is Unsigned long, and the tag value is used to record The first favorite indication (for example, when the tag value is 1, it indicates that the picture is favorited; when the tag value is 0, it indicates that the picture is not favorited).
  • the first favorite indication may also be stored in the data field of IDF0 and the sub-IFD of IDF0, and may also be stored in other IDFs (eg, IDF1).
  • Step S637 in response to the favorite operation for the first picture file, a third favorite indication corresponding to the first picture file is recorded in the media database (S637).
  • Step S637 is similar to the method of recording the favorite indication of the picture file in the media database described in step S610, and the description is not repeated here.
  • a third collection indicating a loss event is detected (S639), eg, the media database is cleaned (or the media data is deleted).
  • the third favorite indicating loss event is an event other than the unfavorite operation triggered by the user (for example, the operation of clicking the unfavorite icon 532 in FIG. 5D to unfavorite the picture 518 ). That is, the third favorite indicates that the loss event is not what the user intended.
  • the favorite identifier of the photo 518 changes from "1" recorded in Table 1 to "NULL" (as shown in Table 2).
  • Table 1 becomes an empty table (as shown in Table 3).
  • S640 Record a second collection indication corresponding to the first picture file in the media database according to the first collection indication.
  • the electronic device 100 scans the first picture file, obtains the first collection indication from the file content of the first picture file, and records the information corresponding to the first picture file in the media database according to the first collection indication.
  • Second collection instruction the electronic device records the second collection indication corresponding to the first picture file in the media database according to the first collection indication, that is, re-sets the collection identifier corresponding to the first picture file in the media database to "1" ( That is, restore the media database shown in Table 1).
  • the gallery 413 when the user views the gallery 413, the gallery 413 reads the second favorite indication from the media database and displays the favorite mark associated with the first picture file. For example, a favorite mark 534 as shown in Figures 5E and 5F is displayed.
  • the electronic device 100 can also restore the picture according to the collection indication contained in the file of the picture (for example, the collection indication stored in the Maker Note field). Favorite mark.
  • the embodiments of the present application also provide an electronic device, the electronic device includes a processor and a memory, the memory is used to store computer program codes, and the computer program codes include computer instructions, when the processor executes the computer instructions, the electronic device is made to perform the above-mentioned implementation. method described in the example.
  • the embodiments of the present application also provide a computer program product containing instructions, when the computer program product is run on the electronic device, the electronic device is made to execute the method described in the above embodiments.
  • the embodiments of the present application further provide a computer-readable storage medium, including instructions, when the instructions are executed on the electronic device, the electronic device is made to execute the method described in the foregoing embodiments.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions when loaded and executed on a computer, result in whole or in part of the processes or functions described herein.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, or the like that includes an integration of one or more available media.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk), and the like.
  • the process can be completed by instructing the relevant hardware by a computer program, and the program can be stored in a computer-readable storage medium.
  • the program When the program is executed , which may include the processes of the foregoing method embodiments.
  • the aforementioned storage medium includes: ROM or random storage memory RAM, magnetic disk or optical disk and other mediums that can store program codes.

Abstract

L'invention concerne un procédé et un dispositif de collecte d'images, qui réduisent la perte d'images collectées par enregistrement d'informations de collecte dans un fichier image. Le procédé comprend les étapes consistant à : acquérir une opération de collecte pour un premier fichier image; générer un premier fichier image contenant une première indication de collecte en réponse à l'opération de collecte; selon la première indication de collecte, enregistrer dans une base de données multimédia une deuxième indication de collecte correspondant au premier fichier image; et selon la deuxième indication de collecte, afficher une étiquette de collecte associée au premier fichier image.
PCT/CN2021/129649 2020-11-13 2021-11-09 Procédé et dispositif de collecte d'images WO2022100588A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011269045.0 2020-11-13
CN202011269045.0A CN114500737B (zh) 2020-11-13 2020-11-13 一种图片收藏方法、设备及计算机存储介质

Publications (1)

Publication Number Publication Date
WO2022100588A1 true WO2022100588A1 (fr) 2022-05-19

Family

ID=81490825

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/129649 WO2022100588A1 (fr) 2020-11-13 2021-11-09 Procédé et dispositif de collecte d'images

Country Status (2)

Country Link
CN (1) CN114500737B (fr)
WO (1) WO2022100588A1 (fr)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156416A (zh) * 2014-07-31 2014-11-19 百度在线网络技术(北京)有限公司 在图片文件中写入内容信息及读取内容信息的方法、装置
CN106202366A (zh) * 2016-07-07 2016-12-07 腾讯科技(深圳)有限公司 一种图片处理方法、装置及系统
WO2018153100A1 (fr) * 2017-02-27 2018-08-30 华为技术有限公司 Procédé d'affichage d'objet collecté et terminal
US10079835B1 (en) * 2015-09-28 2018-09-18 Symantec Corporation Systems and methods for data loss prevention of unidentifiable and unsupported object types
CN109040474A (zh) * 2018-10-26 2018-12-18 Oppo广东移动通信有限公司 照片显示方法、装置、终端及存储介质
CN112308098A (zh) * 2019-07-26 2021-02-02 杭州海康威视数字技术股份有限公司 一种图像处理方法及装置
CN113505259A (zh) * 2021-06-28 2021-10-15 惠州Tcl云创科技有限公司 基于智能识别的媒体文件标签方法、装置、设备及介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760448B (zh) * 2016-02-03 2019-11-15 北京金山安全软件有限公司 一种图片处理方法、装置及电子设备
CN107193981A (zh) * 2017-05-26 2017-09-22 腾讯科技(深圳)有限公司 收藏文件显示、处理方法及装置、计算机存储介质及设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156416A (zh) * 2014-07-31 2014-11-19 百度在线网络技术(北京)有限公司 在图片文件中写入内容信息及读取内容信息的方法、装置
US10079835B1 (en) * 2015-09-28 2018-09-18 Symantec Corporation Systems and methods for data loss prevention of unidentifiable and unsupported object types
CN106202366A (zh) * 2016-07-07 2016-12-07 腾讯科技(深圳)有限公司 一种图片处理方法、装置及系统
WO2018153100A1 (fr) * 2017-02-27 2018-08-30 华为技术有限公司 Procédé d'affichage d'objet collecté et terminal
CN109040474A (zh) * 2018-10-26 2018-12-18 Oppo广东移动通信有限公司 照片显示方法、装置、终端及存储介质
CN112308098A (zh) * 2019-07-26 2021-02-02 杭州海康威视数字技术股份有限公司 一种图像处理方法及装置
CN113505259A (zh) * 2021-06-28 2021-10-15 惠州Tcl云创科技有限公司 基于智能识别的媒体文件标签方法、装置、设备及介质

Also Published As

Publication number Publication date
CN114500737A (zh) 2022-05-13
CN114500737B (zh) 2023-02-03

Similar Documents

Publication Publication Date Title
WO2022257977A1 (fr) Procédé de projection d'écran pour dispositif électronique, et dispositif électronique
CN111143586B (zh) 一种图片处理方法及相关装置
CN114153356A (zh) 消息处理方法及电子设备
CN113254409B (zh) 文件共享方法、系统及相关设备
CN114461111B (zh) 启动功能的方法及电子设备
CN115756270B (zh) 一种内容分享的方法、装置及系统
WO2022160993A1 (fr) Procédé et dispositif de partage de données multimédias
CN110955788A (zh) 一种信息显示方法及电子设备
WO2019153286A1 (fr) Procédé et dispositif de classification d'images
WO2020192716A1 (fr) Procédé de commutation de langue système et appareil associé
WO2022100588A1 (fr) Procédé et dispositif de collecte d'images
CN112835610A (zh) 一种构建应用程序资源包的方法、构建装置及终端设备
WO2022206764A1 (fr) Procédé d'affichage, dispositif électronique et système
CN110851637A (zh) 一种图片搜索方法及设备
WO2022037725A1 (fr) Procédé et appareil de récupération de service de système, et dispositif électronique
WO2022166435A1 (fr) Procédé de partage d'image et dispositif électronique
WO2021244614A1 (fr) Procédé et système de recherche de contenu de stockage et dispositif électronique
CN113934352B (zh) 通知消息处理方法、电子设备和计算机可读存储介质
JP7462659B2 (ja) 情報表示方法および装置
WO2024083133A1 (fr) Procédé de gestion de données distribuées, dispositif électronique et système
WO2022222866A1 (fr) Procédé d'affichage de contenu et dispositif électronique
WO2022161058A1 (fr) Procédé de photographie pour image panoramique, et dispositif électronique
CN115857964A (zh) 应用程序安装方法及相关设备
CN116527805A (zh) 卡片显示方法、电子设备及计算机可读存储介质
CN115460445A (zh) 电子设备的投屏方法和电子设备

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: 21891108

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: 21891108

Country of ref document: EP

Kind code of ref document: A1