Image processing method and electronic device

By embedding hidden data storing path information into the image, indirect transmission of the original image is achieved, solving the problems of detail loss and quality degradation caused by encoding processing during image transmission, and providing a high-quality image transmission experience.

CN122268991APending Publication Date: 2026-06-23HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411922221.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

During image transmission, third-party applications encode the original image, resulting in loss of image details and quality degradation, which affects the user experience.

Method used

By sending a first image containing hidden data to the receiving device, the hidden data identifies the storage path information of the original image in the cloud server, enabling the receiving device to obtain the original image and avoiding direct transmission and encoding processing.

Benefits of technology

It maintains the original quality and detail of the image, solves the problem of image loss caused by encoding processing, and provides a natural image transmission experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122268991A_ABST
    Figure CN122268991A_ABST
Patent Text Reader

Abstract

This application provides an image processing method and an electronic device, relating to the field of terminal technology. The technical solution provided by this application can effectively avoid the problem of image detail loss and reduced image quality caused by encoding processing of transmitted images during image transmission. The method can be applied to a first device, and includes: in response to a trigger operation to send an original image, acquiring a first image, the first image including hidden data, the hidden data being used to identify the storage path information of the original image in a first cloud server; and sending the first image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and in particular to an image processing method and an electronic device. Background Technology

[0002] In actual image transmission, the image sent by the sender to the receiver (also known as the original image) is first uploaded to the cloud server corresponding to the third-party application. After receiving the original image, the cloud server typically encodes it to reduce its file size and alleviate storage and transmission burdens before sending the encoded image to the receiver. However, the encoding methods used by the cloud server usually involve compression or format conversion. These methods lose detail information and reduce image quality, resulting in a significant difference in quality and detail between the image received by the receiver and the original image sent by the sender, thus impacting the user experience. Summary of the Invention

[0003] This application provides an image processing method and an electronic device that can effectively avoid the loss of image details and reduced image quality caused by encoding the transmitted image during image transmission.

[0004] To achieve the above objectives, this application adopts the following technical solution:

[0005] In a first aspect, this application provides an image processing method applied to a first device, the method comprising:

[0006] In response to a trigger operation to send an original image, a first image is acquired, the first image including hidden data, the hidden data being used to identify the storage path information of the original image in a first cloud server; the first image is then sent.

[0007] Based on the image processing method provided in this application, by sending a first image containing hidden data to a second device, indirect transmission of the original image storage path information is achieved. This enables the second device to obtain the storage path information of the original image in the first cloud server based on the hidden data, and to obtain the original image based on the storage path information. The above method avoids direct transmission of the original image and the encoding processing that may be required, allowing the second device to obtain the original image with its format intact and details undamaged. This effectively solves the problem of detail loss and quality degradation caused by encoding processing during image transmission.

[0008] Furthermore, compared to directly sending QR codes or text links to a second device, the above method can more naturally transmit the original image between different devices without affecting the user's visual experience, effectively avoiding the inconvenience caused by directly sending QR codes or text links.

[0009] Optionally, the first device may send the first image to the second device.

[0010] Optionally, the first device may send a first image to a second cloud server, wherein the second cloud server may be a cloud server corresponding to a third-party application that connects the first device and the second device.

[0011] Optionally, the hidden data may not be displayed at all in the first image; alternatively, the hidden data may be displayed in a less obvious manner, or displayed or prompted to the user in other ways that the first image contains hidden data.

[0012] In one possible implementation of the first aspect, acquiring the first image in response to a triggering operation that sends the original image includes:

[0013] In response to the triggering operation, the storage path information is obtained;

[0014] The original image is edited based on the storage path information to obtain the first image.

[0015] Optionally, the LSB algorithm can be used to edit the original image to obtain the first image. That is, the stored path information can be embedded into the original image as watermark information in the LSB algorithm to form the first image.

[0016] In one possible implementation of the first aspect, following the triggering operation, the method further includes:

[0017] Display the first authorization control; in response to the triggering operation of the first authorization control, send the original image to the first cloud server; correspondingly, obtaining the storage path information includes: obtaining the storage path information sent by the first cloud server.

[0018] Therefore, in some cases, if the sending user has not authorized the cloud space album service, authorization will be requested when the user needs to select a picture to send. After the user agrees to the authorization, the picture will be uploaded to the cloud space and a sharing link will be generated. Then, hidden data will be added to the picture in the album before sending, which improves data security.

[0019] In another possible implementation of the first aspect, the original image is uploaded to the first cloud server before the triggering operation (e.g., when the cloud photo album service is enabled), and then after the triggering operation, the first image containing hidden data is generated and sent. The generation or sending of storage path information by the first cloud server can occur before or after the triggering operation; the generation of the first image containing hidden data can also occur before or after the triggering operation. This application does not limit the execution order of these steps. For example, if the sending user has enabled the cloud photo album service, all user photos should have been uploaded to the cloud. When the user needs to select an image to send, storage path information is generated, and then the original image is added to the album before being sent.

[0020] In one possible implementation of the first aspect, the length of the hidden data is greater than or equal to 64 bytes.

[0021] Based on the above possible implementation methods, according to actual measurements, when the length of the hidden data included in the first image is greater than or equal to 64 bytes, it can effectively avoid the problem of the hidden data in the first image being destroyed or losing details due to encoding processing during the transmission of the first image, making it easier for the second device to obtain the original image based on the hidden data.

[0022] Secondly, embodiments of this application provide an image processing method, which is applied to a second device, and the method includes:

[0023] Receive a first image, the first image including hidden data, the hidden data being used to identify the storage path information of the original image corresponding to the first image in a first cloud server;

[0024] In response to the save operation on the first image, the original image is obtained based on the hidden data;

[0025] The original image is displayed.

[0026] Optionally, the first image can be deleted after the original image is obtained.

[0027] In one possible implementation of the second aspect, before displaying the original image, the method further includes: displaying a second authorization control; correspondingly, displaying the original image includes: displaying the original image in response to a triggering operation on the second authorization control.

[0028] In this way, when the receiving user saves the hidden code image, the photo album can initiate an authorization prompt, asking whether to automatically replace the hidden code image in the album, requiring the user's authorization before replacement. This improves the user's security experience. In other embodiments, the prompt can be omitted, achieving a seamless experience for the user.

[0029] In one possible implementation of the second aspect, the length of the hidden data is greater than or equal to 64 bytes.

[0030] Thirdly, embodiments of this application provide an image processing method, which is applied to a first cloud server, and the method includes:

[0031] Receive the raw image sent by the first device;

[0032] A first image is generated based on the original image. The first image includes hidden data, which is used to identify the storage path information of the original image in the first cloud server.

[0033] The first image is sent to the first device.

[0034] In one possible implementation of the third aspect, generating the first image based on the original image includes:

[0035] Obtain the storage path information corresponding to the original image;

[0036] The original image is edited based on the storage path information to obtain the first image.

[0037] Fourthly, embodiments of this application provide an image processing method applied to a first cloud server, the method comprising:

[0038] Receive the raw image sent by the first device;

[0039] Generate storage path information corresponding to the original image, wherein the storage path information is used to indicate the storage path of the original image in the first cloud server;

[0040] Send the storage path information to the first device.

[0041] Fifthly, embodiments of this application provide a first device, the first device comprising: one or more processors; one or more memories; and one or more computer programs; wherein the one or more computer programs are stored in the one or more memories, and the one or more computer programs include instructions that, when executed by an electronic device, cause the electronic device to perform the method as described in any possible implementation of the first aspect above.

[0042] In a sixth aspect, embodiments of this application provide a second device comprising: one or more processors; one or more memories; and one or more computer programs; wherein the one or more computer programs are stored in the one or more memories, and the one or more computer programs include instructions that, when executed by an electronic device, cause the electronic device to perform a method as described in any possible implementation of the second aspect above.

[0043] In a seventh aspect, embodiments of this application provide a first cloud server, which may include: one or more processors; one or more memories; and one or more computer programs; wherein the one or more computer programs are stored in one or more memories, and the one or more computer programs include instructions that, when executed by an electronic device, cause the electronic device to perform a method as described in any possible implementation of the third aspect above or any possible implementation of the fourth aspect above.

[0044] Eighthly, embodiments of this application provide an image processing system, which may include the first device provided in the fifth aspect, the second device provided in the sixth aspect, and the first cloud server provided in the seventh aspect; wherein the image processing system is used to implement the method in any of the above aspects or any possible implementation of any of the above aspects.

[0045] Optionally, the first cloud server may be a server corresponding to the first device.

[0046] Optionally, a communication connection can be established between the first device and the second device. The communication connection can be achieved through methods including, but not limited to, NFC, Bluetooth, or mobile communication connections.

[0047] Ninth aspect, a computer-readable storage medium is provided, the computer-readable medium storing a computer program (also referred to as code or instructions) that, when the computer program code is run on a computer, causes the computer to perform the method of any of the above aspects or any possible implementation of any of the above aspects.

[0048] In a tenth aspect, a computer program product comprising instructions is provided, the computer program product including: a computer program (also referred to as code or instructions) that, when the computer program is run on a computer, causes the computer to perform the method in any of the above aspects or any possible implementation of any of the above aspects.

[0049] It should be noted that the above-mentioned computer program code can be stored in whole or in part on the first storage medium, wherein the first storage medium can be packaged together with the processor or packaged separately from the processor, and this application does not make specific limitations in this regard.

[0050] Eleventhly, a chip system is provided, comprising: a processor and a memory, the memory for storing a computer program (also referred to as code or instructions), the processor for calling and running the computer program stored in the memory, causing a device or apparatus equipped with the chip system to perform the method in any of the above aspects or any possible implementations of any of the above aspects.

[0051] It is understood that the beneficial effects of aspects two through eleven above can be found in the relevant descriptions in aspect one above, and will not be repeated here. Attached Figure Description

[0052] Figure 1 This is a schematic diagram illustrating a scenario of image transmission between electronic devices, provided as an embodiment of this application.

[0053] Figure 2 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0054] Figure 3 This is a flowchart illustrating an image processing method provided in an embodiment of this application.

[0055] Figure 4 This is a flowchart illustrating the process of a first cloud server generating a first image, as provided in an embodiment of this application.

[0056] Figure 5 This is a schematic diagram of a method for generating a first image provided in an embodiment of this application.

[0057] Figure 6 This is an interactive flowchart of another first device acquiring a first image, provided as an embodiment of this application.

[0058] Figure 7 This is a schematic diagram of a user interface for displaying a first authorization control, provided as an embodiment of this application.

[0059] Figure 8 An example diagram of an original image provided for an embodiment of this application.

[0060] Figure 9 A method provided for embodiments of this application and Figure 8 An example image of the first image corresponding to the original image shown.

[0061] Figure 10 for Figure 9 A magnified view of region B in the first image shown.

[0062] Figure 11 This is a flowchart illustrating another image processing method provided in an embodiment of this application.

[0063] Figure 12 This is a schematic diagram of a scenario where a first device and a second device perform a first image transmission, as provided in an embodiment of this application.

[0064] Figure 13 This is a schematic diagram of another scenario where a first device and a second device perform a first image transmission, as provided in an embodiment of this application.

[0065] Figure 14 This is a schematic diagram illustrating the process by which a second device processes a received third image, as provided in an embodiment of this application.

[0066] Figure 15 This is a schematic diagram of the structure of an image processing device provided in an embodiment of this application.

[0067] Figure 16 This is a schematic diagram of another image processing device provided in an embodiment of this application.

[0068] Figure 17 This is a schematic diagram of another image processing device provided in an embodiment of this application.

[0069] Figure 18 This is a schematic diagram of another image processing device provided in an embodiment of this application. Detailed Implementation

[0070] The technical solutions of the embodiments of this application are described below with reference to the accompanying drawings and related embodiments. In the description of the embodiments of this application, unless otherwise specified or logically conflicting, the terminology and / or descriptions between different embodiments are consistent and can be mutually referenced. Technical features in different embodiments can be combined to form new embodiments based on their inherent logical relationships. In the embodiments of this application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone, where A and B can be singular or plural. In the textual description of the embodiments of this application, the character " / " generally indicates that the preceding and following related objects are in an "or" relationship; for example, A / B can represent A or B. In this application, "first," "second," and various numerical designations are only for ease of description and are not used to limit the scope of the embodiments of this application. For example, they are used to distinguish different messages, rather than to describe a specific order or sequence.

[0071] In today's world of increasingly frequent information exchange, image transmission technology is widely used in various fields. For example... Figure 1In the scenario shown where image transmission is performed via a third-party application, the image (also known as the original image) sent from the sender to the receiver is first uploaded to the third-party application (such as...). The cloud server receives the original image and, to reduce storage and transmission burdens, typically encodes it (e.g., converts or compresses the format) to reduce file size before sending it to the recipient. However, the encoding methods performed by third-party applications' cloud servers can lead to the loss of detailed information (such as editing parameters, time, location, and shooting mode) and may alter the image format. For example, converting a portable network graphics (PNG) image to a joint photographic experts group (JPEG) image, or converting a moving image to a still image or graphics interchange format (GIF). Therefore, this image transmission process compromises the integrity of the original image, reduces image quality, and results in a significant difference in quality and detail between the image received by the recipient and the original image sent by the sender, thus impacting the user experience.

[0072] Based on this, this application provides an image processing method that indirectly transmits the storage path information of the original image by sending a first image containing hidden data to a second device. In this way, the second device can obtain the original image (i.e., the original image) based on the storage path information, so that the image finally received by the receiver is consistent with the original image sent by the sender in terms of quality and detail. This effectively solves the problem of image detail loss and reduced image quality caused by encoding the transmitted image during image transmission.

[0073] The image processing method provided in this application can be applied to scenarios where images are transmitted between electronic devices via a third-party application. For example, a first device can act as a sender to send an image to a second device via a third-party application; the second device can act as a receiver to receive the image sent by the first device via a third-party application.

[0074] In addition, the image processing method provided in this application can also be applied to scenarios where electronic devices transmit images via near field communication (NFC) or Bluetooth. For example, a first device can establish a Bluetooth connection with a second device, and the first device can share images with the second device via Bluetooth, while the second device can receive the images shared by the first device via Bluetooth. Furthermore, the image processing method provided in this application can also be applied to other scenarios related to image transmission. For example, user A corresponding to the first device can transmit images via a social platform (such as...). After a preset time period, user B, corresponding to the second device, can view the image shared by user A through the same social media platform. This application embodiment does not limit the specific application scenario.

[0075] The scenarios in which this application embodiment is applied may include not only the first device and / or the second device, but also other devices, such as cloud servers corresponding to third-party applications, cloud servers corresponding to the first device, and other network devices.

[0076] The image processing method provided in this application can be applied to electronic devices. Exemplary examples include, but are not limited to, personal computers (PCs), mobile phones, tablets, wearable devices (e.g., watches, bracelets, helmets, smart glasses, etc.), augmented reality (AR) / virtual reality (VR) devices, mixed reality (MR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), in-vehicle devices, smart screens, e-readers, smart home devices (e.g., smart TVs, smart speakers, smart cameras, and electronic door locks, etc.), servers, and motion-sensing game consoles in human-computer interaction scenarios, etc. This application does not impose any limitations on the specific type of electronic device.

[0077] See Figure 2This is a schematic diagram of the structure of an electronic device 200 provided in this application. The electronic device 200 may include a processor 210, an external memory interface 220, an internal memory 231, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, a headphone jack 270D, a sensor module 280, buttons 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc. The sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, a barometric pressure sensor 280C, a magnetic sensor 280D, an accelerometer sensor 280E, a distance sensor 280F, a proximity sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, etc.

[0078] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 200. In other embodiments of this application, the electronic device 200 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0079] For example, when the electronic device 200 is a mobile phone or a tablet computer, it may include all the components shown in the figure, or it may include only some of the components shown in the figure.

[0080] Processor 210 may include one or more processing units, such as application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.

[0081] The controller can be the nerve center and command center of the electronic device 200. The controller can generate operation control signals based on the instruction opcode and timing signals to control the fetching and execution of instructions.

[0082] The processor 210 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. This memory can store instructions or data that the processor 210 has just used or that are used repeatedly. If the processor 210 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.

[0083] In some embodiments, the processor 210 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0084] The charging management module 240 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 receives charging input from the wired charger via a USB interface 230. In some wireless charging embodiments, the charging management module 240 receives wireless charging input via the wireless charging coil of the electronic device 200. While charging the battery 242, the charging management module 240 can also supply power to the electronic device via the power management module 241.

[0085] The power management module 241 connects the battery 242, the charging management module 240, and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, providing power to the processor 210, internal memory 231, external memory interface 220, display screen 294, camera 293, and wireless communication module 260, etc. The power management module 241 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance).

[0086] In some other embodiments, the power management module 241 may also be located within the processor 210. In still other embodiments, the power management module 241 and the charging management module 240 may also be located in the same device.

[0087] The wireless communication function of electronic device 200 can be implemented through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, modem processor, and baseband processor.

[0088] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 200 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.

[0089] The mobile communication module 250 can provide solutions for wireless communication applications including 2G / 3G / 4G / 5G on the electronic device 200. The mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1.

[0090] In some embodiments, at least some functional modules of the mobile communication module 250 may be disposed in the processor 210. In some embodiments, at least some functional modules of the mobile communication module 250 and at least some modules of the processor 210 may be disposed in the same device.

[0091] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 270A, receiver 270B, etc.) or displays images or videos through the display screen 294. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 210 and may be housed in the same device as the mobile communication module 250 or other functional modules.

[0092] The wireless communication module 260 can provide solutions for wireless communication applications on the electronic device 200, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 210. The wireless communication module 260 can also receive signals to be transmitted from processor 210, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0093] In some embodiments, antenna 1 of electronic device 200 is coupled to mobile communication module 250, and antenna 2 is coupled to wireless communication module 260, enabling electronic device 200 to communicate with networks and other devices via wireless communication technology. Wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-CDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. GNSS can include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).

[0094] Electronic device 200 implements display functions through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 210 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0095] The display screen 294 is used to display images, videos, etc., such as application icons for various applications (APPs) in this embodiment. The display screen 294 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 (AMOLED), a flexible light-emitting diode (FLED), a Miniled LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 200 may include one or N display screens 194, where N is a positive integer greater than 1.

[0096] The external storage interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 200. The external memory card communicates with the processor 210 through the external storage interface 220 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.

[0097] Internal memory 231 can be used to store executable program code, including instructions. Processor 210 executes various functional applications and data processing of electronic device 200 by running the instructions stored in internal memory 231. Internal memory 231 may include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a given function (such as sound playback, image playback, etc.). The data storage area may store data created during the use of electronic device 200 (such as audio data, phonebook, etc.).

[0098] In addition, the internal memory 231 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0099] The following example illustrates the image processing method provided in this application embodiment, using a scenario of image transmission between electronic devices via a third-party application, where the first device is the sender and the second device is the receiver.

[0100] like Figure 3 The diagram shown is a schematic flowchart of an image processing method provided in an embodiment of this application. See also... Figure 3 The method may include the following steps:

[0101] Step 301: In response to the triggering operation of sending the original image, the first device acquires the first image.

[0102] It should be understood that the original image, also known as the source image or target image, can refer to an image sent from a first device to a second device, that is, an image sent by the sender to the receiver through a third-party application. In the embodiments of this application, the original image can be a static image or a dynamic image. The methods for acquiring the original image include, but are not limited to, shooting, screenshotting, and video extraction.

[0103] Triggering operations can be click operations, long press operations, long press and click operations, double-click operations, touch operations, or swipe operations, etc.; triggering operations can also be selection operations entered by the user through physical buttons on the first device; triggering operations can also be air gesture operations, face recognition operations, voice command operations, etc., detected by the user through the camera, microphone, or other sensors of the first device.

[0104] In practical applications, the triggering operation for sending the original image can be a single operation, such as a sharing operation or a forwarding operation. In some embodiments, the triggering operation may also include multiple operations. For example, the triggering operation may include the user's selection operation of the original image and the sending operation of the original image; or the triggering operation may also include the operation of sending the original image to the first cloud server and the second device (or the cloud server corresponding to the third-party application); or the triggering operation may also include the user's selection operation, cropping operation, and sending operation of the original image, etc.

[0105] In this embodiment of the application, the first image may include hidden data, which can be used to indicate the storage path information of the original image in the first cloud server. Based on the storage path information, the original image corresponding to the first image can be obtained from the corresponding storage location.

[0106] It should be understood that hidden data, as the name suggests, is data that is hidden or steganographically written, specifically referring to information hidden in an image. In the embodiments of this application, the hidden data corresponds to storage path information, which can be steganographically written into the original image to obtain the first image.

[0107] In some embodiments, the length of the hidden data in the first image can be greater than or equal to 64 bytes. According to actual tests, when the length of the hidden data included in the first image is greater than or equal to 64 bytes, it can effectively avoid the problem of the hidden data in the first image being destroyed or losing details due to encoding processing during the transmission of the first image, which is beneficial to improving the accuracy of the second device in obtaining the original image based on the hidden data.

[0108] It's easy to understand that the storage path information can be the actual physical location where the original image is stored on the first cloud server; or it can be the sharing link or URL corresponding to the original image.

[0109] It is worth noting that when the storage path information is a shared link or URL, and the length of the hidden data is greater than or equal to 64 bytes, the first device will generate the corresponding first image based on the storage path information and send it to the second device. Even if the first image undergoes encoding processing by the server corresponding to the third-party application during transmission, the second device can still obtain the original image based on the received first image.

[0110] In this embodiment of the application, the first cloud server may be a cloud space, cloud disk or other network storage environment (such as micro-cloud) with the same login user as the first device; or it may be a server used for communication connection between the first device and the second device.

[0111] In this embodiment, the first image may be an image generated by a first cloud server. Therefore, the first image acquired by the first device may be sent by the first cloud server. In some embodiments, the first image may also be an image generated by the first device. In this case, the first device can receive storage path information sent by the first cloud server and generate the first image based on the received storage path information. The following provides exemplary descriptions of two different methods by which the first device acquires the first image.

[0112] In method one, the first image can be sent directly from the first cloud server to the first device.

[0113] like Figure 4 The diagram shown is a flowchart illustrating the generation of a first image by a first cloud server according to an embodiment of this application. Figure 4 The step of the first device acquiring the first image can be executed by the first cloud server. Specifically, it can be executed by a module (such as a processor, chip, or chip system) in the first cloud server; or it can be implemented by a logic module or software that can implement all or part of the functions of the first cloud server.

[0114] See Figure 4 Specifically, this may include the following steps:

[0115] Step 401: The first cloud server receives the original image sent by the first device.

[0116] It should be understood that during the process of the first device sending the original image to the second device through a third-party application, the first device may respond to the user's trigger operation of sending the original image by first sending the original image to the first cloud server, so that the first cloud server can receive the original image sent by the first device and execute the subsequent step 402 to obtain the first image.

[0117] Step 402: The first cloud server generates a first image based on the original image. The first image includes hidden data, which is used to indicate the storage path information of the original image in the first cloud server.

[0118] It should be understood that after receiving the original image sent by the first device, the first cloud server can first generate storage path information corresponding to the original image based on the received original image; then, it can edit and process the original image based on the storage path information to obtain the first image.

[0119] In one example, after the first cloud server receives the original image sent by the first device, it can generate storage path information based on the following process: in response to the receiving operation of the original image, a first folder is created, which can be used to store the original image; storage path information is generated according to the storage location of the original image in the first folder.

[0120] In different application scenarios, the first folder can be a temporary folder or a non-temporary folder. For example, in instant messaging (such as live chat) applications, the first folder can be a temporary folder, which can be deleted from the first cloud server after the second device receives the original image corresponding to the first image. As another example, in a social network scenario where a user publishes the first image based on a third-party application, assuming the user will not delete the first image within a preset time period (such as one week or six months), the first folder can be a non-temporary folder. The retention period of this first folder on the first cloud server can correspond to the preset time period, which could be one week, six months, or even longer.

[0121] In this embodiment of the application, the editing process of the original image can be understood as the process of adding storage path information as hidden data to the original image. For example... Figure 5 The diagram shown is a schematic representation of a method for generating a first image according to an embodiment of this application. See also... Figure 5After acquiring the original image, the first cloud server can convert the original image into frequency domain data through Fourier transform, and perform redundant encoding on the storage path information to obtain redundant data. Then, the redundant data and frequency domain data are sequentially superimposed and inverse Fourier transform to obtain the first image.

[0122] Optionally, to ensure the secure transmission of storage path information, the storage path information can be encrypted before redundancy processing (see [link]). Figure 5 The dashed part in the image) yields the encrypted storage path information (corresponding to...). Figure 5 The encrypted information is then redundantly encoded to obtain redundant data. It is easy to understand that hash algorithms, Advanced Encryption Standard (AES), elliptic curve cryptography (ECC), and other algorithms can be used to encrypt the storage path information; this application does not limit this approach in any way.

[0123] Correspondingly, after the second device receives the first image, it can first obtain the encrypted storage path information (i.e., encrypted information) based on the hidden data in the first image, and then decrypt the encrypted storage path information to obtain the storage path information, thereby obtaining the original image based on the storage path information.

[0124] For example, the first image containing hidden data can be generated using methods such as the least significant bit (LSB) algorithm, direct substitution method, discrete cosine transform (DCT) algorithm, and wavelet transform method.

[0125] Assuming the LSB algorithm is used to generate the first image, the hidden data can be understood as the watermark information in the first image. In other words, the storage path information of the original image can be embedded as watermark information into the original image to obtain the first image. It should be noted that in the LSB algorithm, watermark information is usually embedded by modifying the least significant bit of a pixel (i.e., the last bit of the binary value, or the rightmost bit).

[0126] In some examples, the nth information bit in the pixels of the original image can also be modified to hide the hidden data in the original image to generate the first image. The specific value of n can be determined according to the specific format of the original image or the actual processing of the original image by the first cloud server, and this application embodiment does not limit it.

[0127] It should be noted that, in order to minimize the significant differences between the first image and the original image that users can visually observe due to large pixel changes caused by the embedding of hidden data, when modifying the nth information bit, the impact of modifying the nth information bit on the other remaining information bits in that pixel can also be taken into account.

[0128] For example, assuming the original image is a PNG image, one pixel in the original image can typically occupy 3 bytes, representing the values ​​of the three primary colors, namely red, green and blue. Each color can be represented using 8 bits of binary, that is, each bit of information corresponds to one bit in binary, and one pixel can correspond to 24 bits. Based on this, the value of n in the above example can be 1≤n≤24.

[0129] Based on the example above, assuming the pixel is P, arbitrarily modifying any one of the 24 bits corresponding to pixel P could cause a significant difference in how pixel P appears in the original image. However, if, when modifying the nth bit (e.g., n=1), the values ​​of the information bits corresponding to bits 2 through 24 in pixel P are considered, making the modified pixel P as close as possible to the original pixel P, the visual difference between the first image obtained after embedding the hidden information and the original image will be reduced, effectively decreasing the possibility that the user will perceive the first image and the original image as two different images.

[0130] In other possible embodiments, the (n+1)th and (n+2)th bits of the pixels in the original image can be mixed to achieve the embedding of hidden data through the result of the mixing process. That is, the (n+1)th and / or (n+2)th bits of the pixels can be modified, and the hidden data can be represented by the data corresponding to these two information bits, thus achieving the embedding of hidden data. The mixing process includes, but is not limited to, AND, OR, or XOR operations.

[0131] It should be understood that in the previous example, the first image with embedded hidden data was obtained by modifying the nth bit of the pixel, while in this embodiment, the first image with embedded hidden data is obtained by modifying the (n+1)th bit and / or the (n+2)th bit of the pixel.

[0132] In other words, in the process of hiding the hidden data in the original image to form the first image, besides using the LSB algorithm to modify the least significant bit in the pixel, methods such as modifying the nth bit or modifying the (n+1)th and / or (n+2)th bit in the pixel can also be used. Of course, in other possible implementations, three or more information bits in the pixels of the original image can be modified to represent the hidden data using the data corresponding to the three or more information bits. This application does not limit this approach.

[0133] Based on the above method of modifying the (n+1)th and / or (n+2)th bits of a pixel, not only can the concealment of hidden data in the first image be improved, but also the situation that the second device may be unable to identify the hidden data in the received first image due to compression or other encoding processing during image transmission can be effectively avoided, thereby enhancing the robustness of the first image.

[0134] As an example, and not a limitation, let's take the 8-bit binary representation of the red portion of a pixel Q in the original image as the 8th, 7th, 6th, 5th, 4th, 3rd, 2nd, and 1st bits, assuming n = 2. In this example, the 2nd bit can be modified to embed hidden data. For instance, if the hidden data carried by the 2nd bit is 1, then if the original 2nd bit in pixel Q was 0, it can be directly changed from 0 to 1; if the original 2nd bit in pixel Q was 1, it can remain unchanged.

[0135] In this example, the 3rd and 4th information bits can be mixed to obtain the mixed result. This allows for the embedding of hidden data by modifying the 3rd and / or 4th information bits. For instance, taking an XOR operation as an example, assuming the 2nd information bit needs to carry a 1 as the hidden data, if the 3rd and 4th information bits in pixel Q were originally 0, then the 3rd information bit can be changed from 0 to 1 while the 4th information bit remains unchanged; or the 4th information bit can be changed from 0 to 1 while keeping the 3rd information bit unchanged, thus achieving the embedding of hidden data.

[0136] Based on the above possible implementation methods and actual test results, the structural similarity (SSIM) value between the generated first image and the original image is greater than or equal to 0.95. SSIM is an index that measures the similarity between two images; when the SSIM value equals 1, it indicates that the two images are identical. From the above SSIM values, it can be seen that, based on the above possible implementation methods, a first image with a high similarity to the original image can be effectively generated.

[0137] Step 403: The first cloud server sends the first image to the first device.

[0138] It is easy to understand that after the first cloud server generates the first image through the above step 402, it can directly send the first image to the first device, so that the first device can send the received first image to the second device.

[0139] Based on the above approach, the powerful computing capabilities of the first cloud service can be fully utilized to accelerate the processing speed of the first image; it can also effectively reduce the load and storage pressure on the first device, prevent the risk of data loss due to hardware failure or software errors in the first device, and improve the security of the first image or original image storage. Furthermore, it can effectively reduce the increased power consumption caused by the first device processing the original image, thus helping to reduce the power consumption of the first device and extend its battery life.

[0140] Alternatively, the first image may be generated by the first device based on the storage path information sent by the first cloud server.

[0141] like Figure 6 The diagram shown is an interactive flowchart of another method for a first device to acquire a first image, as provided in an embodiment of this application. See also... Figure 6 The method may include the following steps:

[0142] Step 601: The first cloud server receives the original image sent by the first device.

[0143] Step 602: The first cloud server generates storage path information corresponding to the original image.

[0144] Step 603: The first cloud server sends storage path information to the first device.

[0145] Step 604: The first device edits the original image according to the storage path information to obtain the first image.

[0146] The above Figure 6 The specific method for generating the storage path information and the specific processing procedure for editing the original image based on the storage path information in the illustrated embodiment can be found in the foregoing. Figure 4 The corresponding descriptions in the illustrated embodiments are only presented here to illustrate the differences. This embodiment and... Figure 4 The main difference between the embodiments lies in the execution entity that generates the first image. In this embodiment, the first image is generated by the first device editing the original image based on the storage path information sent by the first cloud server.

[0147] In some embodiments, before the first cloud server receives the original image sent by the first device, the first device may also display a first authorization control in response to the triggering operation of sending the original image. The first authorization control can be used to obtain authorization information that allows the original image to be uploaded to the first cloud server. Afterwards, in response to the user's triggering operation on the first authorization control, the original image is sent to the first cloud server.

[0148] In some embodiments, the first authorization control may be displayed on any interface of the first device in the form of a pop-up window, full-screen display, or half-screen display.

[0149] As an example, not a limitation, such as Figure 7 The diagram shown is a user interface illustration of a first authorization control provided in an embodiment of this application. See also... Figure 7 The first device can respond to a user's trigger operation of sending an original image and display a user interface 700. The user interface 700 may include a prompt message 710, a "prohibit" control 720, and an "allow" control 730. The prompt message 710 can be used to display specific authorization information, such as "Do you allow the gallery to upload your photos to the cloud?"; the "prohibit" control 720 can be used to prohibit the upload of the original image to the first cloud server; correspondingly, the "allow" control 730 can be used to trigger the upload of the original image to the first cloud server.

[0150] In this embodiment, the first device can send a first image to the first cloud server in response to a user's triggering operation on the "Allow" control 730. In this example, it can... Figure 7 The "Allow" control 730 in the text is understood as the first authorization control.

[0151] In other embodiments, the first device may also respond to the user's triggering operation on the "disable" control 720 by not sending the first image to the first cloud server, but directly sending the original image to the second device.

[0152] Based on the above possible implementation methods, the first device can acquire the first image. For example, see... Figure 8 This is an example diagram of an original image provided in an embodiment of this application. Figure 9 The embodiments provided in this application are related to Figure 8See the example image of the first image corresponding to the original image. Figure 8 and Figure 9 To the user, the first image appears to be almost identical to the original image. However, in reality, the first image and the original image are two not entirely the same. The first image includes hidden data that identifies the storage path information of the original image (see...). Figure 9 (Area B is indicated by the dashed box in the middle).

[0153] right Figure 9 See the magnified view of the local area corresponding to region B in the middle. Figure 10 It can be clearly seen Figure 9 The hidden data included in the first image shown can be found in [reference needed]. Figure 10 Region b in the text.

[0154] See Figure 3 After the first device acquires the first image, it can directly send the first image to the second device, so that the second device can further acquire the original image based on the received first image.

[0155] Step 303: The second device receives the first image.

[0156] In step 304, the second device, in response to the saving operation of the first image, retrieves the original image based on the hidden data.

[0157] It should be understood that the save operation can refer to the user's action of storing the first image on the second device. For example, the save operation can also be a click operation, a long press operation, a long press and click operation, a double-click operation, a touch operation, or a swipe operation; or a selection operation input by the user through a physical button on the second device; or an air gesture operation, facial recognition operation, voice command operation, etc., detected by the user through the second device's camera, microphone, or other sensors. This application does not limit the specific save operation of the first image in any way.

[0158] In practical applications, the saving operation of the first image can be a single operation or multiple operations, and this application embodiment does not limit this.

[0159] In this embodiment of the application, the second device can respond to the user's save operation on the first image, obtain the storage path information of the original image corresponding to the first image in the first cloud server according to the hidden data in the first image, and then obtain the original image from the first cloud server according to the storage path information.

[0160] It should be understood that the second device can extract storage path information from the received first image using a method corresponding to the method by which the first device generated the first image. For example, assuming the first image received by the second device was generated by the first device based on the LSB algorithm, then after receiving the first image, the second device can use the LSB algorithm to obtain the storage path information from the first image.

[0161] Step 305: The second device displays the original image.

[0162] It should be understood that after the second device obtains the original image based on the hidden data, it can directly display the original image in the storage location corresponding to the save operation.

[0163] For example, assuming that after a user triggers a save operation on the first image, the first image will be saved to the album. The storage location corresponding to the save operation is the location of the album on the second device. The second device can respond to the user's save operation on the first image, obtain the original image based on the hidden data, and then save the original image to the album. In this way, the user can view the original image corresponding to the first image in the album.

[0164] It is easy to understand that before the user performs the save operation on the first image, the first image can be displayed in the storage location corresponding to the save operation. After the user performs the save operation on the first image, the second device can respond to the user's save operation on the first image, and then use the original image to cover the first image, thereby displaying the original image.

[0165] In the scenario where the first device and the second device transmit images through a third-party application, as described in steps 301 to 305 above, the process of the first device sending the first image to the second device actually utilizes the corresponding cloud server of the third party to transmit the first image. Specifically, as shown... Figure 11 The diagram shown is a schematic flowchart of another image processing method provided in an embodiment of this application. See also... Figure 11 The method may include the following steps:

[0166] Step 1101: In response to the triggering operation of sending the original image, the first device acquires the first image.

[0167] Step 1102: The first device sends the first image to the cloud server corresponding to the third-party application.

[0168] Step 1103: The cloud server corresponding to the third-party application encodes the first image to obtain the encoded first image.

[0169] It should be understood that after receiving the first image sent by the first device, the cloud server corresponding to the third application may perform encoding processing on the first image, such as format conversion or compression processing, in order to reduce the file size of the first image and thus alleviate the pressure on the cloud server corresponding to the third application in terms of storage and transmission.

[0170] Step 1104: The cloud server corresponding to the third-party application sends the encoded first image to the second device.

[0171] It is easy to understand that the first image and the encoded first image are consistent in image content, but may change in image information and image format. For example, compared with the first image generated by the first device, the encoded first image may be an image that has lost image detail information (such as editing parameters, time, location and shooting mode, etc.); or the image quality is lower than that of the unencoded first image.

[0172] Step 1105: The second device receives the first image after encoding processing.

[0173] Step 1106: In response to the saving operation of the encoded first image, the second device obtains the original image based on the hidden data.

[0174] Step 1107: The second device displays the original image.

[0175] Steps 1101 to 1107 above can be understood with reference to steps 301 to 305 in the foregoing embodiment; only the differences are described here. This embodiment differs from the foregoing... Figure 3 The main difference in the illustrated embodiment lies in whether the first image received by the second device is the same as the first image sent by the first device. In this embodiment, since the first image has undergone transmission and encoding processing by the cloud server corresponding to the third-party application, the first image received by the second device is an encoded image.

[0176] In the above Figure 3 or Figure 11 In the illustrated embodiment, the second device may also display a second authorization control in response to a save operation on the first image. The second authorization control can be used to obtain authorization from the user to access the original image. The second device may display the original image in response to a user's triggering operation on the second authorization control. The second authorization control can be understood by referring to the aforementioned content regarding the first authorization control, and will not be repeated here.

[0177] In one possible example, the second device may also respond to the user's first operation on the first image by retrieving the original image based on the hidden data and displaying the original image. The first operation could be either the user viewing the original image corresponding to the first image or the user downloading the first image. That is, the first operation could also be any operation other than the user saving the first image.

[0178] In other possible embodiments, after receiving the first image, the second device may also directly obtain the original image based on the hidden data in the first image and display the original image without responding to the user's save operation. Figure 3 Taking the illustrated embodiment as an example, it means that the second device may not need to perform... Figure 3 In the embodiment shown, step 304 directly follows step 303, performing the acquisition of the original image based on the hidden data, and then performing step 305.

[0179] In some embodiments, after receiving the first image, the second device may first display the first image, then obtain the original image based on the hidden data in the first image, and then use the original image to cover the first image, thereby displaying the original image.

[0180] In some embodiments, see Figure 12 The complete transmission process of the first image between the first device (as the sender) and the second device (as the receiver) can be as follows: In response to a trigger operation to send the original image, the first device first sends the original image to the first cloud server. The first cloud server generates a first image including hidden data based on the received original image. Then, the first cloud server sends the first image to the first device. Subsequently, the first device sends the first image to the cloud server corresponding to the third-party application. After receiving the first image, the cloud server corresponding to the third-party application encodes the first image and then sends the encoded first image to the second device. After receiving the encoded first image, the second device can, in response to the user's save operation on the encoded first image, retrieve the original image based on the encoded first image and finally display the original image on the second device.

[0181] In other embodiments, see Figure 13The complete transmission process of the first image between the first device (as the sender) and the second device (as the receiver) can also be as follows: In response to a trigger operation to send the original image, the first device first sends the original image to the first cloud server. The first cloud server generates storage path information corresponding to the original image based on the received original image. Then, the first cloud server sends the storage path information corresponding to the original image to the first device. After receiving the storage path information, the first device edits the original image according to the path storage information to obtain the first image. Then, the first device sends the first image to the cloud server corresponding to the third-party application. After receiving the first image, the cloud server corresponding to the third-party application encodes the first image and then sends the encoded first image to the second device. After receiving the encoded first image, the second device can, in response to the user's save operation on the encoded first image, retrieve the original image based on the encoded first image and finally display the original image on the second device.

[0182] In other possible embodiments, where the first cloud server is a server that connects the first device and the second device, the first cloud server can not only generate the aforementioned first image but also directly send the first image to the second device; or, the first cloud server can not only generate the storage path information corresponding to the aforementioned original image but also generate the first image based on the obtained storage path information and send the first image to the second device. In this case, after receiving the first image sent by the first cloud server, the second device can, in response to the user's save operation on the first image, obtain the original image based on the first image and display the original image on the second device; or it can directly obtain the original image based on the first image and display the original image on the second device.

[0183] In other words, based on Figure 12 and Figure 13 In the embodiment shown, the cloud server corresponding to the third application can also be the first cloud server. Based on this, when the first device and the second device are connected through the first cloud server, the first image does not need to be transmitted through the cloud server corresponding to the third application. Instead, the first cloud server directly sends the generated first image to the second device.

[0184] In practical applications, the image received by the second device may not be the first image containing the hidden data. Based on this, the second device can also determine whether there is hidden data in the third image after receiving the third image. If it is determined that there is hidden data in the third image, the original image corresponding to the third image can be obtained based on the hidden data.

[0185] like Figure 14The diagram shown is a schematic representation of a second device processing a received third image according to an embodiment of this application. (See also...) Figure 14 The process by which the second device processes the received third image may include: First, determining whether the second device detects a user's save operation on the third image. If the second device detects a user's save operation on the third image, it determines whether there is hidden data in the third image. If there is hidden data in the third image, it obtains the storage path information corresponding to the third image based on the hidden data. Then, it obtains the original image based on the storage path information and displays the original image. Figure 14 The embodiments shown can be found in the foregoing. Figure 5 The corresponding descriptions in the illustrated embodiments will not be repeated here.

[0186] based on Figure 14 In the described embodiment, if the second device does not detect a user's save operation on the third image, the second device may not perform the operation. Figure 14 The process shown allows the third image to be displayed directly on the second device.

[0187] If a user's save operation on the third image is detected, and it is determined that there is no hidden data in the third image, then the third image can be directly saved and displayed on the second device.

[0188] Based on the image processing method provided in the above embodiments, by sending a first image containing hidden data to a second device, indirect transmission of the original image storage path information is achieved. This enables the second device to obtain the storage path information of the original image in the first cloud server based on the hidden data, and to obtain the corresponding original image based on the storage path information. This method avoids direct transmission of the original image and the necessary encoding processing, allowing the second device to obtain the original image with its format intact and details undamaged. This effectively solves the problem of detail loss and quality degradation caused by encoding processing during image transmission.

[0189] Furthermore, compared to directly sending QR codes or text links to a second device, the above method can more naturally transmit the original image between different devices without affecting the user's visual experience, effectively avoiding the inconvenience caused by directly sending QR codes or text links, and further optimizing the user experience.

[0190] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0191] Figure 15This is a schematic diagram of the structure of an image processing apparatus 1500 provided in one embodiment of this application. The image processing apparatus 1500 can be deployed in the first device of the aforementioned embodiment. See also... Figure 15 The image processing device 1500 may include an acquisition module 1501 and a transmission module 1502.

[0192] The acquisition module 1501 is used to acquire a first image in response to a trigger operation that sends an original image. The first image includes hidden data, which is used to identify the storage path information of the original image in a first cloud server.

[0193] The sending module 1502 is used to send the first image.

[0194] Optionally, the acquisition module 1501 is further configured to: acquire the storage path information in response to the triggering operation; and edit the original image according to the storage path information to obtain the first image.

[0195] Optionally, the image processing apparatus 1500 further includes:

[0196] The display module is used to display the first authorized control;

[0197] The first sending module is used to send the original image to the first cloud server in response to a trigger operation of the first authorized control;

[0198] Correspondingly, the acquisition module 1501 is also used to: acquire the storage path information sent by the first cloud server.

[0199] Optionally, the length of the hidden data is greater than or equal to 64 bytes.

[0200] Figure 16 This is a schematic diagram of the structure of an image processing apparatus 1600 provided in one embodiment of this application. The image processing apparatus 1600 can be deployed in the second device of the aforementioned embodiment. See also... Figure 16 The image processing device 1600 may include a receiving module 1601, an acquisition module 1602, and a display module 1603.

[0201] The receiving module 1601 is used to receive a first image, the first image including hidden data, the hidden data being used to identify the storage path information of the original image corresponding to the first image in a first cloud server;

[0202] The acquisition module 1602 is used to acquire the original image based on the hidden data in response to the saving operation of the first image;

[0203] Display module 1603 is used to display the original image.

[0204] Optionally, the image processing device 1600 further includes: a second display module for displaying a second authorization control;

[0205] Correspondingly, the display module 1603 is also configured to: display the original image in response to a trigger operation on the second authorized control.

[0206] Optionally, the length of the hidden data is greater than or equal to 64 bytes.

[0207] Figure 17 This is a schematic diagram of the structure of an image processing apparatus 1700 provided in one embodiment of this application. The image processing apparatus 1700 can be deployed in the first cloud server of the aforementioned embodiment. See [link / reference]. Figure 17 The image processing device 1700 may include a receiving module 1701, a generating module 1702, and a transmitting module 1703.

[0208] The receiving module 1701 is used to receive the raw image sent by the first device;

[0209] The generation module 1702 is used to generate a first image based on the original image. The first image includes hidden data, which is used to identify the storage path information of the original image in the first cloud server.

[0210] The sending module 1703 is used to send the first image to the first device.

[0211] Optionally, the generation module 1702 is further configured to: obtain the storage path information corresponding to the original image; and edit the original image according to the storage path information to obtain the first image.

[0212] Figure 18 This is a schematic diagram of the structure of an image processing apparatus 1800 provided in one embodiment of this application. The image processing apparatus 1800 can be deployed in the first cloud server of the aforementioned embodiment. See [link to relevant documentation]. Figure 18 The image processing device 1800 may include a receiving module 1801, a generating module 1802, and a transmitting module 1803.

[0213] The receiving module 1801 is used to receive the raw image sent by the first device;

[0214] The generation module 1802 is used to generate storage path information corresponding to the original image, wherein the storage path information is used to indicate the storage path of the original image in the first cloud server;

[0215] The sending module 1803 is used to send the storage path information to the first device.

[0216] It should be noted that the module division in the image processing apparatus provided in the above embodiments is illustrative and only represents a logical functional division. In actual implementation, other division methods may also be used. Furthermore, the functional modules in the various embodiments of this application can be integrated into a single processor, exist as separate physical entities, or be integrated into a single module. The integrated modules described above can be implemented in hardware or as software functional modules.

[0217] If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device or processor to execute all or part of the steps of the methods in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0218] Furthermore, the image processing apparatus and image processing method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments. For ease of reading, this apparatus embodiment will not repeat the details of the foregoing method embodiments one by one, but it should be clear that the apparatus in this embodiment can correspondingly implement all the contents of the foregoing method embodiments.

[0219] Based on the same inventive concept, embodiments of this application also provide an electronic device, including one or more processors; one or more memories and one or more computer programs; wherein the one or more computer programs are stored in one or more memories, and the one or more computer programs include instructions that, when executed by the electronic device, cause the electronic device to perform the methods shown in the above embodiments.

[0220] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the methods shown in the above embodiments.

[0221] This application also provides a computer program product storing a computer program that, when run by an electronic device, enables the electronic device to perform the methods shown in the above embodiments.

[0222] This application also provides a chip system including a processor and a memory, wherein the memory stores a computer program that, when executed by the processor, implements the methods shown in the above embodiments.

[0223] It should be understood that the processor mentioned in the embodiments of this application can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0224] It should also be understood that the memory mentioned in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Non-volatile memory can be ROM, programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be RAM, which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0225] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0226] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., digital versatile discs (DVDs)), or semiconductor media (e.g., solid-state disks (SSDs)).

[0227] It is understood that the various numerical designations used in the embodiments of this application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of this application. The order of the process numbers does not imply the order of execution; the execution order of each process should be determined by its function and internal logic.

[0228] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0229] In the embodiments of this application, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.

[0230] Finally, it should be noted that the above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. An image processing method, characterized in that, The method is applied to a first device, and the method includes: In response to a triggering operation to send an original image, a first image is acquired, the first image including hidden data, the hidden data being used to identify the storage path information of the original image in a first cloud server; Send the first image.

2. The image processing method according to claim 1, characterized in that, The step of acquiring the first image in response to a trigger operation that sends the original image includes: In response to the triggering operation, the storage path information is obtained; The original image is edited based on the storage path information to obtain the first image.

3. The image processing method according to claim 2, characterized in that, The method further includes responding to the triggering operation as follows: Display the first authorization control; In response to the triggering operation of the first authorized control, the original image is sent to the first cloud server; Correspondingly, obtaining the storage path information includes: Obtain the storage path information sent by the first cloud server.

4. The image processing method according to any one of claims 1 to 3, characterized in that, The length of the hidden data is greater than or equal to 64 bytes.

5. An image processing method, characterized in that, The method is applied to a second device, and the method includes: Receive a first image, the first image including hidden data, the hidden data being used to identify the storage path information of the original image corresponding to the first image in a first cloud server; In response to the save operation on the first image, the original image is obtained based on the hidden data; The original image is displayed.

6. The image processing method according to claim 5, characterized in that, Before displaying the original image, the method further includes: Display the second authorization control; Correspondingly, displaying the original image includes: In response to a triggering operation on the second authorized control, the original image is displayed.

7. The image processing method according to claim 5 or 6, characterized in that, The length of the hidden data is greater than or equal to 64 bytes.

8. An image processing method, characterized in that, The method is applied to a first cloud server, and the method includes: Receive the raw image sent by the first device; A first image is generated based on the original image. The first image includes hidden data, which is used to identify the storage path information of the original image in the first cloud server. The first image is sent to the first device.

9. The image processing method according to claim 8, characterized in that, The step of generating the first image based on the original image includes: Obtain the storage path information corresponding to the original image; The original image is edited based on the storage path information to obtain the first image.

10. An image processing method, characterized in that, The method is applied to a first cloud server, and the method includes: Receive the raw image sent by the first device; Generate storage path information corresponding to the original image, wherein the storage path information is used to indicate the storage path of the original image in the first cloud server; Send the storage path information to the first device.

11. An electronic device, characterized in that, The electronic device includes a processor for running a computer program stored in a memory to implement the method as claimed in any one of claims 1 to 10.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method as described in any one of claims 1 to 10.

13. A chip system, characterized in that, The chip system includes a processor and a memory, the memory storing a computer program that, when executed by the processor, implements the method as described in any one of claims 1 to 10.