Picture sharing method and device

By generating postcard pictures containing text information and watermarks, the tedious problem of users manually editing when sharing is solved, fast sharing and rich experience are achieved, and multiple layers and template switching is supported, which improves the user experience.

CN119065756APending Publication Date: 2024-12-03HONOR DEVICE CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310641633.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-31
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Users need to manually edit pictures when sharing pictures, which is cumbersome and affects the user experience. The existing technology cannot provide rich and vivid ways to share pictures.

Method used

Provides a method of sharing images, by generating postcard images, including text information and watermarks, users do not need to manually edit and share directly, and support switching of multiple layers and templates to improve user experience.

Benefits of technology

Users can quickly and conveniently share postcard images to improve sharing efficiency. Postcard images contain rich information, enhance sharing experience, and support personalized template selection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065756A_ABST
    Figure CN119065756A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a picture sharing method and device, relates to the field of terminals, can share pictures in the form of postcards, does not need a user to manually edit the pictures, and can improve the user experience. The method comprises the steps that the electronic equipment displays a first interface of a first application program, the first interface comprises a first picture or a postcard picture corresponding to the first picture, the postcard picture is generated according to the first picture, and the postcard picture comprises at least one of text information, a date and a watermark; the electronic equipment receives a first operation of a user, wherein the first operation is used for sharing the postcard picture; and in response to the first operation, the electronic equipment shares the postcard picture.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminals, and in particular to a method and device for sharing pictures. Background Art

[0002] With the popularization of electronic devices with shooting functions, users can use electronic devices to take pictures (photos) anytime and anywhere, thereby recording precious moments.

[0003] Users can also share the photos they take with other users. Currently, users can choose to share the original photo or the default compressed photo. This sharing method is relatively dull and not vivid enough. If users want the content of the photo to be richer and more vivid, they can manually edit the photo in advance (including adding filters, graffiti, stickers, cropping, etc.) before sharing it.

[0004] However, manually editing pictures before users share them is a cumbersome operation, which affects the user experience. Summary of the invention

[0005] The embodiments of the present application provide a method and device for sharing pictures, which can share pictures in the form of postcards without the need for users to manually edit pictures, thereby improving user experience.

[0006] In a first aspect, an embodiment of the present application provides a picture sharing method, comprising: an electronic device displays a first interface of a first application, the first interface includes a first picture or a postcard picture corresponding to the first picture, the postcard picture is generated based on the first picture, and the postcard picture includes at least one of text information, date and watermark; the electronic device receives a first operation of a user, the first operation is used to share the postcard picture; in response to the first operation, the electronic device shares the postcard picture.

[0007] Based on the method provided in the embodiment of the present application, users can share postcard images conveniently and quickly without the need for users to manually edit images (original images), which can improve the efficiency of users sharing images. In addition, postcard images include richer and more vivid information (for example, text information, date, and watermark, etc.) than original images, which can improve the user's experience of sharing images.

[0008] In a possible implementation, the first interface also includes a sharing control; in response to the first operation, the electronic device shares the postcard image including: in response to the user's operation on the sharing control, the electronic device displays a first pop-up box, the first pop-up box includes a first option, and the first option is used to share the postcard image; in response to the user's operation on the first option, the electronic device displays a second pop-up box, the second pop-up box includes a preview of the postcard image and an identifier of the second application; in response to the user's operation on the identifier of the second application, the electronic device shares the postcard image through the second application. In this way, the user can operate the sharing control to enable the electronic device to share the postcard image through the second application. The user does not need to manually edit the image, which can improve the efficiency of the user's sharing of the image. In addition, the postcard image includes richer and more vivid information (for example, text information, date, and watermark, etc.) than the original image, which can improve the user's experience of sharing the image.

[0009] In a possible implementation, the first interface further includes a browsing mode control, and the method further includes: in response to the user's operation on the browsing mode control, the electronic device switches the first picture displayed on the first interface to a postcard picture, or switches the first postcard picture displayed on the first interface to the first picture. In this way, the user can switch the browsing mode conveniently and quickly through the browsing mode control, and can select the corresponding browsing mode to browse the first picture (original picture) or the postcard picture according to their needs.

[0010] In a possible implementation, the first interface further includes more controls, and the method further includes: in response to the user's operation on the more controls, the electronic device displays a third pop-up box, the third pop-up box includes a second option, and the second option is used to save the postcard picture; in response to the user's operation on the second option, the electronic device saves the postcard picture to the album corresponding to the current date, and the album corresponding to the current date includes all pictures taken and / or saved on the current date. In this way, the user can save the postcard picture conveniently and quickly, and the postcard picture is saved in the album corresponding to the current date (the date of saving the postcard picture), which is convenient for the user to find or view the saved postcard picture later.

[0011] In a possible implementation, the postcard image includes a first layer, a second layer, and a third layer; wherein the first layer is filled with a preset pattern or color, the second layer includes at least one of text information, a date, and a watermark, and the third layer includes a first image, and the first image is located above at least one of the text information, the date, and the watermark; the third layer is smaller than the second layer, and the third layer covers the second layer, and the second layer is smaller than the first layer, and the second layer covers the first layer. Of course, the postcard image may include more or fewer layers. The size, shape, color, and information contained in different layers may be different. Among them, the shape of the layer is not limited to a rectangle, but may also be a circle, an ellipse, a square, a diamond, or other shapes (for example, a heart, a star, etc.), which is not limited in this application. The font, font size, font spacing, color, position of the text information and date included in the postcard image, as well as the size, type, and position of the watermark may also be set in other ways, which are not limited in this application.

[0012] In a possible implementation, the method further includes: the electronic device receives a second operation from the user, the second operation is used to switch the postcard template corresponding to the postcard image; in response to the second operation, the electronic device switches the first postcard template corresponding to the postcard image to the second postcard template; wherein at least one of the font, font size, font spacing, color, and position of the text information or date corresponding to the first postcard template is different from that of the second postcard template. In this way, the user can quickly and easily switch the postcard template of the postcard image, which can meet the personalized needs of different users and improve the user experience.

[0013] In a possible implementation, the first picture is a picture in a preset album, and the preset album is generated by the electronic device based on at least one of the date, theme, or scene of multiple pictures stored in the electronic device. For example, the preset album can be an album of this day in that year. Alternatively, the preset album can be an album corresponding to a certain date (for example, February 30, 2023), or the preset album can be an album automatically generated based on the theme of "birthday".

[0014] In a possible implementation, the method further includes: the electronic device displays a second interface of the first application, the second interface includes a second picture, the second picture is a picture in a video album, and the second interface also includes a plurality of different template options, the plurality of different template options respectively correspond to at least one of different background music, music card points, transitions, stickers, and filters; the electronic device receives a sliding operation of the user on the second interface, and in response to the sliding operation, the electronic device switches the template of the video album. In this way, the user can quickly and conveniently switch the template of the video album through a preset gesture (e.g., a sliding operation), which can improve the playability of the electronic device and thus improve the user experience.

[0015] In a possible implementation, the second interface further includes a target control, and the method further includes: in response to the user's operation on the target control, the electronic device switches from the second interface to a third interface, and the third interface includes more editing functions than the second interface. In this way, if the editing function of the second interface cannot meet the user's needs, the user can quickly switch from the second interface to the third interface through the target control, so as to perform more detailed editing of the video album in the third interface to meet the user's needs.

[0016] In a possible implementation, the first application is a picture management application, which may be, for example, a gallery application, an album application, etc., which is not limited in this application.

[0017] In a second aspect, the present application provides a chip system, which includes one or more interface circuits and one or more processors. The interface circuits and processors are interconnected via lines.

[0018] The chip system can be applied to an electronic device including a communication module and a memory. The interface circuit is used to receive a signal from the memory of the electronic device and send the received signal to the processor, where the signal includes a computer instruction stored in the memory. When the processor executes the computer instruction, the electronic device can execute the method described in the first aspect and any possible design thereof.

[0019] In a third aspect, the present application provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on an electronic device (such as a mobile phone), the electronic device executes the method described in the first aspect and any possible design thereof.

[0020] In a fourth aspect, the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the method described in the first aspect and any possible design thereof.

[0021] In a fifth aspect, an embodiment of the present application provides a picture sharing device, including a processor, the processor and a memory are coupled, the memory stores program instructions, and when the program instructions stored in the memory are executed by the processor, the device implements the method described in the first aspect and any possible design thereof. The device can be an electronic device or a component of an electronic device, such as a chip.

[0022] In the sixth aspect, an embodiment of the present application provides a picture sharing device, which can be divided into different logical units or modules according to functions, and each unit or module performs different functions, so that the device executes the method described in the first aspect and any possible design method thereof.

[0023] It can be understood that the beneficial effects that can be achieved by the chip system described in the second aspect, the computer-readable storage medium described in the third aspect, the computer program product described in the fourth aspect, and the devices described in the fifth aspect and the sixth aspect provided above can refer to the beneficial effects in the first aspect and any possible design method thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0025] Figure 2 A schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application;

[0026] Figure 3 A display schematic diagram provided for an embodiment of the present application;

[0027] Figure 4 Another display schematic diagram provided for an embodiment of the present application;

[0028] Figure 5 Another display schematic diagram provided for an embodiment of the present application;

[0029] Figure 6 Another display schematic diagram provided for an embodiment of the present application;

[0030] Figure 7 Another display schematic diagram provided for an embodiment of the present application;

[0031] Fig. 8A Another display schematic diagram provided for an embodiment of the present application;

[0032] Figure 8B Another display schematic diagram provided for an embodiment of the present application;

[0033] Fig. 9 Another display schematic diagram provided for an embodiment of the present application;

[0034] Fig.10 Another display schematic diagram provided for an embodiment of the present application;

[0035] Fig.11 Another display schematic diagram provided for an embodiment of the present application;

[0036] Fig.12 Another display schematic diagram provided for an embodiment of the present application;

[0037] Fig.13 Another display schematic diagram provided for an embodiment of the present application;

[0038] Fig.14Another display schematic diagram provided for an embodiment of the present application;

[0039] Fig.15 A schematic diagram of a method flow chart provided for an embodiment of the present application;

[0040] Fig.16 A schematic diagram of the structure of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] In order to make the description of the following embodiments clear and concise, a brief introduction to the related technology is first given:

[0042] Currently, when sharing pictures, users can choose to share the original picture or the default compressed picture. This sharing method is relatively dull and not vivid enough. If users want the content of the picture to be richer, they can manually edit the original picture in advance (including adding filters, graffiti, stickers, cropping, etc.) before sharing it. However, manually editing pictures before sharing is cumbersome and affects the user experience.

[0043] In addition, when users browse the video album on their mobile phones, they need to edit the video album. However, the current video album editing interface has many functions, and users cannot maintain an immersive viewing experience of the video, resulting in a poor user experience.

[0044] The embodiment of the present application provides a picture sharing method, which can share pictures in the form of postcards without the need for users to manually edit pictures, thereby improving user experience.

[0045] In addition, the method provided in the embodiment of the present application also supports users to lightly edit video albums, and users can maintain a certain video immersion when lightly editing video albums. Moreover, more editing function entrances can be provided to users to meet more editing demands of users, thereby improving the user experience.

[0046] The picture sharing method provided in the embodiment of the present application can be applied to electronic devices. The electronic devices can be, for example, mobile phones (including foldable screen mobile phones and straight-screen mobile phones), tablet computers, desktop computers, handheld computers, notebook computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), augmented reality (AR) and virtual reality (VR) devices, etc. The embodiment of the present application does not impose any special restrictions on the specific form of the electronic devices.

[0047] Figure 1FIG. 1 is a schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application. Figure 1 As shown, 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, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0048] Among them, 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, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0049] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 100. In other embodiments, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0050] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0051] The charging management module 140 is used to receive charging input from a charger. While the charging management module 140 is charging the battery 142 , it can also power the electronic device through the power management module 141 .

[0052] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. In some other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.

[0053] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0054] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network.

[0055] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, etc. 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 convert it into electromagnetic waves for radiation through the antenna 1.

[0056] 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. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194.

[0057] The wireless communication module 160 can provide wireless communication solutions including WLAN (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0058] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to 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), wideband 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. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0059] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0060] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), a light-emitting diode (LED), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light emitting diode (QLED), etc.

[0061] The electronic device 100 can realize the shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor. The ISP is used to process data fed back by the camera 193. The camera 193 is used to capture static images (pictures, photos) or videos. The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. The video codec is used to compress or decompress digital videos. The electronic device 100 can support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0062] The number of cameras 193 may be 1 to N. Each camera includes a photosensitive element (CCD / CMOS), which can sense light, collect photons and convert them into electric charges.

[0063] For example, an electronic device may include two front cameras and three rear cameras. Among them, the front camera may include a front main camera and a TOF camera. Among them, the TOF camera may include TX and RX, TX may be used to transmit light signals (infrared light or laser pulses), and RX may be used to receive imaging. TX may be, for example, an infrared light transmitter. RX may be, for example, a complementary metal oxide semiconductor (CMOS) or a charge coupled device (CCD) image sensor. Optionally, the front camera may also include a front secondary camera.

[0064] The rear camera may include, for example, a rear main camera, a wide-angle camera (also referred to as an ultra-wide-angle camera), and a telephoto camera. Of course, the rear camera may also include other types of cameras, for example, a depth camera module, a black and white camera module, a macro camera module, etc., which are not limited in this application. The rear main camera may be a wide-angle camera, and the viewing angles of the rear main camera and the ultra-wide-angle camera may be different.

[0065] 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. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in an external memory card. The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 110 can execute various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. For example, in an embodiment of the present application, the processor 110 can execute instructions stored in the internal memory 121, and the internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0066] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0067] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. The speaker 170A, also known as the "speaker", is used to convert audio electrical signals into sound signals. The receiver 170B, also known as the "earpiece", is used to convert audio electrical signals into sound signals. The microphone 170C, also known as the "microphone" or "microphone", is used to convert sound signals into electrical signals. The headphone jack 170D is used to connect wired headphones.

[0068] The button 190 includes a power button, a volume button, etc. The button 190 can be a mechanical button. It can also be a touch button. The electronic device 100 can receive the button input and generate a key signal input related to the user settings and function control of the electronic device 100. The motor 191 can generate a vibration prompt. The motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect the SIM card. The SIM card can be inserted into the SIM card interface 195, or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.

[0069] The methods in the following embodiments can all be implemented in the electronic device 100 having the above hardware structure.

[0070] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. Taking the system as an example, the software structure of the electronic device 100 is exemplified.

[0071] The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through interfaces. In some embodiments, The system may include an application layer, an application framework layer, an Android runtime (Android Runtime) and a system library, a hardware abstraction layer (HAL) and a kernel layer. Taking the system as an example, in other operating systems (such as IOS system, etc.), as long as the functions implemented by each functional module are similar to the embodiments of the present application, the solution of the present application can also be implemented.

[0072] Among them, the application layer can include a series of application packages.

[0073] The application layer can include a series of application packages.

[0074] like Figure 2 As shown, the application package may include picture management applications (e.g., gallery, album, etc.), settings, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0075] Of course, the application layer may also include other application packages, such as chat applications (e.g., ), payment applications, shopping applications, banking applications or financial management applications, etc., this application does not limit them.

[0076] The application framework layer provides an application programming interface (API) and a programming framework for the application programs in the application layer. The application framework layer includes some predefined functions. For example, it may include an activity manager, a window manager, a content provider, a view system, a resource manager, a notification manager, etc., and the embodiments of the present application do not impose any restrictions on this.

[0077] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0078] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0079] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0080] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0081] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0082] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0083] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0084] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0085] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0086] OpenGL ES is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0087] SGL is a graphics engine for 2D graphics.

[0088] Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for scheduling and management of the Android system. The core library consists of two parts: one is the function that the Java language needs to call, and the other is the Android core library. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0089] The HAL layer is an encapsulation of the Linux kernel driver, providing an interface to the upper layer and shielding the implementation details of the low-level hardware.

[0090] The HAL layer may include Wi-Fi HAL, audio HAL, camera HAL, etc.

[0091] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, sensor driver, etc.

[0092] The technical scheme in the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application. Wherein, in the description of the present application, unless otherwise specified, "at least one" refers to one or more, and "a plurality of" refers to two or more than two. In addition, in order to facilitate the clear description of the technical scheme of the embodiment of the present application, in the embodiment of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art will understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not limit necessarily different.

[0093] For ease of understanding, the picture sharing method provided in the embodiment of the present application is specifically introduced below with reference to the accompanying drawings.

[0094] Combine the following Figure 3-Figure 14 , taking the electronic device as a mobile phone and the first application as a gallery application as an example, the picture sharing method provided in the embodiment of the present application is explained.

[0095] like Figure 3 As shown in (a) of FIG. 1 , the mobile phone can display a desktop 401, and the desktop 401 includes an icon 402 corresponding to the gallery application. In response to the user clicking the icon 402 corresponding to the gallery application, as shown in FIG. Figure 3As shown in (b) in the figure, the mobile phone can display the memory interface 403 of the gallery application. If the interface displayed before the gallery application was closed last time was the memory interface 403, in response to the user clicking the icon 402 corresponding to the gallery application, the mobile phone can directly display the memory interface 403 of the gallery application. Alternatively, in response to the user clicking the icon 402 corresponding to the gallery application, the mobile phone can first display other interfaces of the gallery application (for example, the photo interface, the album interface or the creation interface), and in response to the user clicking the memory control 4034, the mobile phone can display the memory interface 403. Among them, the memory interface 403 may include a search box 4031, a photo album 4032 of today in previous years, and a photo album 4033 of moments. Among them, the photo album 4032 of today in previous years contains pictures taken or saved by the user on "today" (the same day as today's month and date) in previous years (for example, the previous year, the previous two years, etc.). For example, the mobile phone can automatically identify the date of the picture, perform intelligent classification, aggregate the pictures with the same date as today this year into an independent album and display them to the user. The photo albums of this day in previous years can help users quickly recall what they have done on this day in previous years and relive the beautiful moments. The moment album 4033 contains video albums automatically generated by the mobile phone based on the pictures in the album. For example, the mobile phone can automatically identify the date, scene, and theme (for example, travel, party, birthday) of the picture, and perform intelligent classification, and aggregate pictures of the same date, scene, and theme into independent video albums. Users do not need to manually layout and edit, and users can directly review the beautiful moments through the video album.

[0096] It should be noted that the embodiments of the present application are described by taking the album of today in previous years and the album of moments as examples. In practical applications, the album of today in previous years and the album of moments can be replaced by other types of albums, such as albums generated according to the date of the picture (for example, the album corresponding to a certain date contains pictures taken or saved on that date) or the album manually created by the user, which is not limited in this application. The name of the album (for example, the album of today in previous years and the album of moments) is only an exemplary description. The album of today in previous years and the album of moments can also be other names, for example, the album of today in previous years can also be called the album of today in that year, the album of today in the past, etc., which is not limited in this application. The album of moments can also be called the album of wonderful moments, or each album of moments can have different names (for example, March Travel Notes, May Food Notes, Birthday Banquet, etc.), which is not limited in this application. In addition, the location (entrance) of the album of today in previous years and the album of moments in the gallery application is also an exemplary description. The location of the album of today in previous years and the album of moments in the gallery application can be other locations. For example, today's photo albums and moment photo albums from previous years can be located in the recommendation interface of the gallery application, or today's photo albums and moment photo albums from previous years can be located in different interfaces respectively, which is not limited in this application.

[0097] like Figure 3As shown in (b) of FIG. 1 , in response to the user's operation (e.g., a click operation) on the photo album 4032 of today in previous years, as shown in FIG. Figure 3 As shown in (c), the mobile phone can display a picture interface 404, and the picture interface 404 may include pictures 4041 of today's photo album 4032 in previous years. Optionally, the picture interface 404 may also include text information 4042 and date 4043. Among them, the text information corresponding to the picture may include sentences of location type (attractions, cities), scene type (festivals, seasons), emotion type, inspirational type, lyrics type, classic famous sentences type, classic ancient poetry type, and foreign language classic type. The text information corresponding to the picture can be generated according to the scene and theme of the picture (for example, travel, party, birthday). For example, the mobile phone can obtain the text information corresponding to the picture through the contrastive language image pre-training (CLIP) model. The date corresponding to the picture may refer to the shooting date or the saving date (download date, screenshot saving date, etc.) of the picture.

[0098] Optional, such as Figure 3 As shown in (c) in the figure, the picture interface 404 may also include a picture prompt 4044, which is used to prompt the user the number of pictures included in the album (the album of that year and today) (for example, the number of small dots may indicate the number of pictures in the album, and the number of pictures in the album may be 3), and the number of pictures in the album currently displayed (for example, a solid small dot indicates the picture currently displayed, and the picture currently displayed is the second picture in the album). Of course, if there are more or fewer pictures in the album, the number of small dots in the picture prompt 4044 may increase or decrease accordingly, which will not be described in detail here.

[0099] The user can call out the play control bar in the picture interface 404. For example, Figure 3 As shown in (c) in FIG. 4 , in response to a user clicking operation at any position of the interface 404, as shown in FIG. Figure 3 As shown in (d) in FIG. 4 , the mobile phone may display a play control bar 405. The play control bar 405 may include a return control 4051, a browsing mode control 4052, a sharing control 4053, and more controls 4054. When the user first calls out the play control bar, the mobile phone may also display a prompt message 4055 to the user, and the prompt message 4055 is used to prompt the user that the function of the browsing mode control 4052 is "click to switch browsing mode".

[0100] like Figure 4 As shown in (a) of FIG. 4 , in response to the user clicking on the browse mode control 4052, as shown in FIG. Figure 4As shown in (b) of FIG. 4 , the mobile phone may display interface 406, which may include postcard image 4061 for the user to browse and view. At the same time, the shape of the browsing mode control 4052 may change to indicate that the current browsing mode has changed. The changed shape is used to indicate that the current browsing mode is a mode for browsing (viewing) postcard images. The shape before the change is used to indicate that the browsing mode is a mode for browsing original images. Further, as Figure 4 As shown in (b) in FIG. 1 , in response to a user's sliding operation (eg, a sliding operation to the left), as shown in FIG. Figure 4 As shown in (c) in FIG. 4 , the mobile phone may display an interface 407. The interface 407 may include a next postcard image 4071 in the album (the album of that year and today).

[0101] The postcard image refers to an image obtained after a preset process is performed on the original image. Exemplarily, the preset process may include adding text information, date, and watermark to the original image. The font, font size, font spacing, color, and position of the text information and date, as well as the size, type (text watermark, image watermark), and position of the watermark may adopt the default settings.

[0102] For example, Figure 5 As shown in (a) of FIG. 4 , the postcard image 406 may include a layer 4061, a layer 4062, and a layer 4063. The layer 4061 may be Figure 5 As shown in (b) in FIG. 1 , layer 4062 can be Figure 5 As shown in (c) in FIG. 1 , layer 4063 can be Figure 5 As shown in (d) in .

[0103] The shape of layer 4061 may be a rectangle, and the four inner corners of the rectangle may be right angles. Layer 4061 may be filled with a preset pattern or color (e.g., gray). Layer 4061 may be used as a background layer of a postcard image. The shape of layer 4062 may be a rectangle, and the four inner corners of the rectangle may be rounded. Layer 4062 may include text information 4064, date 4065, and watermark 4066. The shape of layer 4063 may be a rectangle, and the four inner corners of the rectangle may be rounded. Layer 4063 may adaptively display the original image according to the aspect ratio of the original image. The original image will not be cropped. Layer 4063 is located above layer 4062 (i.e., layer 4063 covers layer 4062), and layer 4062 is located above layer 4061. Layer 4063 is smaller than layer 4062, and layer 4062 is smaller than layer 4061.

[0104] like Figure 6As shown, the distance between the upper edge of layer 4061 and the upper edge of layer 4062 may be 12dp (dp represents a pixel unit), the distance between the lower edge of layer 4061 and the lower edge of layer 4062 may be 12dp, the distance between the left edge of layer 4061 and the left edge of layer 4062 may be 12dp, and the distance between the right edge of layer 4061 and the right edge of layer 4062 may be 12dp. The distance between the upper edge of layer 4062 and the upper edge of layer 4063 may be 16dp, the distance between the left edge of layer 4062 and the left edge of layer 4063 may be 16dp, and the distance between the right edge of layer 4062 and the right edge of layer 4063 may be 16dp. The distance between the lower edge of layer 4062 and the lower edge of layer 4063 may be 112dp. The distance between the lower edge of layer 4062 and the upper edge of the text box corresponding to text information 4064 is 12dp. The distance between the bottom edge of the text box corresponding to the text information 4064 and the top edge of the selection box corresponding to the date 4065 is 4dp, the distance between the bottom edge of the selection box corresponding to the date 4065 and the top edge of the edge box corresponding to the watermark 4066 is 36dp, and the distance between the bottom edge of the selection box corresponding to the watermark 4066 and the bottom edge of the layer 4062 is 6dp. The selection box corresponding to the watermark 4066 may be 82dp long (not shown in the figure) and 18dp high, that is, the size of the watermark 4066 may be 82*18dp.

[0105] It should be noted that Figure 5 The explanation is based on the example that a postcard image includes three layers. The postcard image may include more or fewer layers. The size, shape, color, and information contained in different layers may be different. Among them, the shape of the layer is not limited to a rectangle, but may also be a circle, an oval, a square, a diamond, or other shapes (for example, a heart, a star, etc.), which is not limited in this application. The font, font size, spacing, color, position of the text information and date included in the postcard image, as well as the size, type, and position of the watermark may also be set in other ways, which are not limited in this application.

[0106] In one possible design, the user can select a template for a postcard image. For example, Figure 7 As shown in (a), in response to the user clicking on the postcard image 406, Figure 7 As shown in (b) of FIG. 4 , the mobile phone may display a reduced postcard image 4091. A postcard template bar 408 may be displayed below the postcard image 4091. The postcard template bar 408 may include multiple postcard template options, such as a love template option 4081, a classic template option 4082, a miss template option 4083, and the like. Figure 7 As shown in (b) in FIG. 4 , in response to the user clicking on the miss template option 4083, or as Figure 7As shown in (c) in FIG. 1 , in response to the user sliding the postcard image 4091 to the left, as shown in FIG. Figure 7 As shown in (d) in FIG. 4 , the mobile phone can switch the postcard template of the postcard picture to the missing template option 4083, and the mobile phone can display the postcard picture after the postcard template is switched 4092. In this way, the user can conveniently and quickly switch the postcard template of the postcard picture, which can meet the personalized needs of different users and improve the user experience.

[0107] Among them, different postcard templates meet at least one of the following conditions:

[0108] (1) At least one of the shapes, sizes, and filling contents of the layers corresponding to different postcard templates is different.

[0109] (2) At least one of the font, font size, font spacing, color, and position of the text information or date corresponding to different postcard templates is different.

[0110] (3) At least one of the size, type, transparency, and position of the watermarks corresponding to different postcard templates may be different.

[0111] The following is an explanation of the operation process for users to share pictures.

[0112] Users can share pictures (e.g., postcard pictures) in the original picture browsing mode. Fig. 8A As shown in (a) of FIG. 4 , the mobile phone may display a picture browsing interface 404. The picture browsing interface 404 may include a picture 4041. The picture browsing interface 404 may also include a browsing mode control 4052. The browsing mode control 4052 is used to indicate that the current mode is to browse the original picture. In response to the user clicking the sharing control 4053, as shown in FIG. Fig. 8A As shown in (b) , the mobile phone may display a pop-up box 410 , which may include a share original image option 4101 and a share postcard option 4102 .

[0113] In one possible design, in response to the user clicking on the share postcard option 4102, as shown in FIG. Fig. 8AAs shown in (c) in the figure, the mobile phone can display a pop-up box 420, and the pop-up box 420 may include picture selection information 4201 and a preview image 4202 of the postcard image to be shared. The preview image 4202 may include a selection control 4203. The selection control 4203 selects the preview image 4202 of the postcard to be shared by default. The selection information 4201 can be used to prompt the user that one item has been selected (that is, the preview image 4202 of the postcard to be shared is selected). The pop-up box 420 also includes prompt information 4204 and an icon 4205 of an application or service that can be used for sharing. Among them, the prompt information 4204 can be: "Click here to turn on Honor Sharing, no traffic required, and ultra-fast sharing." The prompt information 4204 can be used to prompt the user to turn on Honor Sharing to share pictures. Among them, the icon 4205 of the application or service that can be used for sharing may include, for example Icons of applications such as mailbox, memo, message, browser, address book and video. Users can share pictures through these applications or services that can be used for sharing. Of course, the applications or services that can be used for sharing can also include other applications or services (for example, Bluetooth, cloud disk, etc.), which are not limited in this application. Optionally, the pop-up box 420 can also include other information, such as privacy protection prompt information, etc., which are not limited in this application.

[0114] Users can also share images (e.g., postcard images) in postcard browsing mode. Figure 8B As shown in (a) of FIG. 4 , the mobile phone may display a postcard browsing interface 406. The picture browsing interface 406 may include a picture 4061. The picture browsing interface 406 may also include a browsing mode control 4052. The browsing mode control 4052 is used to indicate that the current mode is to browse postcards. In response to the user clicking the sharing control 4053, as shown in FIG. Figure 8B As shown in (b) of FIG. 4 , the mobile phone may display a pop-up box 410, which may include a share original picture option 4101 and a share postcard option 4102. In response to the user clicking the share postcard option 4102, as shown in FIG. Fig. 8A As shown in (c) in FIG. 4 , the mobile phone may display a pop-up box 420. The specific content of the pop-up box 420 may be referred to as described above, and will not be described in detail here.

[0115] In another possible design, Fig. 9 As shown in (a) in the figure, the pop-up box 420 may also include preview images of more postcards to be shared, for example, the pop-up box 420 may also include a preview image 4210. The preview image 4210 may be a preview image of the next image (original image) corresponding to the preview image 4202 in the album of that year and this day. The preview image 4210 is not selected by default. If the user also wants to share the preview image 4210, he can select the preview image 4210 by operating the selection control 4211 (for example, clicking on it). Fig. 9 As shown in (b) in FIG. 4 , when preview image 4202 and preview image 4210 are selected at the same time, selection information 4201 can be used to prompt the user that two items have been selected.

[0116] Optionally, the user can view or select more preview images of postcards to be shared by sliding in the display areas of preview image 4202 and preview image 4210 (eg, sliding to the left or sliding to the right).

[0117] Based on the method provided in the embodiment of the present application, users can share postcard images conveniently and quickly without the need for users to manually edit images, which can improve the efficiency of users sharing images. In addition, postcard images include richer and more vivid information (for example, text information, date, and watermark, etc.) than the original images, which can improve the user's experience of sharing images.

[0118] The following is an explanation of the process of users viewing the original image and saving the postcard image.

[0119] For example, Fig.10 As shown in (a) in FIG. 1 , in response to the user clicking on the more control 4054, as shown in FIG. Fig.10 As shown in (b) in FIG. 4 , the mobile phone may display a pop-up box 430 , which may include a view original image option 4301 and a save postcard option 4302 .

[0120] like Fig.10 As shown in (b) of FIG. 4 , in response to the user clicking the view original image option 4301, as shown in FIG. Fig.10As shown in (c) in the figure, the mobile phone can jump to the original image interface 440. The original image interface 440 may include a top function bar 4401, an original image 4402, and a bottom toolbar 4403. Among them, the top function bar 4401 may include the shooting time of the original image (for example, it may be "June 5, 2020"). The top function bar 4401 may also include a return control and a picture information control. The bottom toolbar 4403 may include sharing, collection, editing, deletion, and more controls. The user can browse different pictures by sliding left and right on the interface 440 (sliding left and right may refer to the operation of sliding left or right in the center area of ​​the mobile phone screen). In other words, in response to the user's operation of viewing the original image (for example, clicking the operation of viewing the original image option 4301), the mobile phone can quickly locate the save path of the original image, so that the user can not only view the original image, but also can easily view other pictures (photos) taken on the same day or on a similar date by sliding left and right. That is, a quick entry can be provided to the user so that the user can quickly return to the day of shooting and relive the beauty. Further, the user can return to the previous state by sliding sideways on the interface 440 (sliding sideways may refer to sliding from the left or right edge area of ​​the mobile phone screen to the middle) or clicking the return control. Fig.10 In addition, if the user has edited, deleted, or rotated an image (for example, edited the original image 4402), the user can return to the homepage of the Moment Album by sliding sideways or clicking the return control.

[0121] like Fig.11 As shown in (a) in the figure, in response to the user clicking the save postcard option 4302, the mobile phone can save the postcard picture corresponding to the picture displayed on the current interface. The postcard picture can be saved in the album corresponding to the current date (today), and the album corresponding to the current date includes all pictures taken by the mobile phone on the current date and all pictures saved. Among them, all pictures saved by the mobile phone on the current date may include screenshots taken on the current date, pictures downloaded on the current date, etc. Fig.11 As shown in (b) of FIG. 4 , the latest saved postcard image 4501 can be viewed in the photos generated today in the photo interface 450. The photos generated today may include photos saved today, photos taken today, photos downloaded today, photos obtained by screenshots today, etc. In response to the user's operation on the postcard image 4501 (for example, a click operation), as shown in FIG. Fig.11As shown in (c), the mobile phone can display interface 451, and interface 451 can include a top function bar 4511, a postcard picture 4512, and a bottom toolbar 4513. Among them, the top function bar 4511 may include the saving time of the postcard picture 4512, for example, it may be "August 5, 2020". In this way, the user can save the postcard picture conveniently and quickly, and the saving location of the postcard picture is the album corresponding to the current date (the date when the postcard picture is saved), which is convenient for the user to find or view the saved postcard picture later. It can be understood that the saving time of the postcard picture 4512 is different from the shooting time of the original image corresponding to the postcard picture 4512 (for example, the original image 4402).

[0122] The following describes the process of users editing video albums.

[0123] For example, Fig.12 As shown in (a) of FIG. 1 , in response to the user clicking on the moment album 4033, as shown in FIG. Fig.12 As shown in (b) of FIG. 4 , the mobile phone may display a video album playback interface 460, and the video album playback interface 460 may include the picture currently being displayed in the video album. In response to the user's operation (eg, a click operation) on the video album playback interface 460, as shown in FIG. Fig.12 As shown in (c) of FIG. 4 , the mobile phone may display a top function bar 461, a play control bar 462, and a toolbar 463. The play control bar 462 may include a start / pause switch, play progress information, and a mute switch. The toolbar 463 may include function controls such as templates, music, filters, and albums. In response to the user clicking on the template control 4631 in the toolbar 463, as shown in FIG. Fig.12 As shown in (d) in the figure, the mobile phone can display a light editing interface 466. The middle area of ​​the light editing interface 466 can include the picture currently displayed in the video album. The light editing interface 466 includes a function bar 467 above. The function bar 467 can include a close option 4671, a template name 4672 and a confirmation option 4673. Among them, the close option 4671 is used to exit the light editing interface 466. The template name 4672 is used to prompt the user the name of the template used in the current video album. The confirmation option 4673 is used to save the template selected by the user. The template bar 464 can be included below the light editing interface 466. The template bar 464 can include multiple template options. For example, it can include a beach template option 4641, a travel template option 4642, a dancing template option 4643, etc. Optionally, the user can slide in the display area of ​​the template bar 464 to view more template options. Among them, different template options correspond to at least one of different background music, music card points, transitions, stickers, and filters. More controls 465 may also be included above the template bar 464 .

[0124] The user can perform corresponding operations on the template options (for example, click on the corresponding template options), and in response to the operation, the mobile phone can switch the template of the current video album. Fig.13 As shown in (a) of FIG. 4 , the template name 4672 may be travel, that is, the current template of the video album may be the travel template 4642. In response to the user's operation (eg, a click operation) on the dance template option 4643, as shown in FIG. Fig.13 As shown in (b) in the figure, the template name 4672 can be switched to dancing, that is, the current template of the video album can be switched from the travel template 4642 to the dancing template 4643.

[0125] Users can also switch the template of the current video album through preset gestures. Fig.13 As shown in (c) in FIG. 4 , the template name 4672 may be travel, that is, the current template of the video album may be the travel template 4642. In response to a preset gesture of the user (eg, a left sliding operation), as shown in FIG. Fig.13 As shown in (d) in FIG. 1 , the template name 4672 can be switched to dancing, that is, the current template of the video album can be switched from the travel template 4642 to the dancing template 4643. In this way, the user can conveniently and quickly switch the template of the video album, which can improve the playability of the electronic device and thus improve the user experience.

[0126] like Fig.14 As shown in (a) of FIG. 1 , in response to the user clicking on the more control 465, as shown in FIG. Fig.14 As shown in (b) in the figure, the mobile phone can display the deep editing interface 470. The deep editing interface 470 may include a top function area 471, a thumbnail window 472 of the video album, a video editing area 473 and a bottom function area 474. Among them, the top function area 471 may include a return control, a resolution selection control and an export control. The thumbnail window 472 of the video album can display the reduced video album. The video editing area 473 may include an original sound control (on or off), a cover setting control, a music control, a pause control, and a video cutting, a video speed change control, etc. The bottom function area 474 may include function controls such as splitting, intercepting, volume, deleting, templates, quoting, filters, special effects, etc. In this way, if the function options of the light editing interface 466 cannot meet the user's needs, the user can quickly switch from the light editing interface 466 to the deep editing interface 470 through more controls 465, so as to perform more detailed editing of the video album in the deep editing interface 470.

[0127] For example, Fig.15 As shown, the present application embodiment provides a schematic diagram of a process of a picture sharing method, the method comprising:

[0128] 1501. An electronic device displays a first interface of a first application on a display screen, where the first interface includes a first image or a postcard image corresponding to the first image.

[0129] The first application may be a picture management application, such as a gallery application. The first interface may be a picture browsing interface or a postcard picture browsing interface. Fig. 8A As shown in (b) of FIG. 4 , the first interface may be a picture browsing interface 404, and the first interface may include a first picture, and the first picture may be picture 4041. Alternatively, Figure 8B As shown in (b), the first interface may be a postcard browsing interface 406 , and the first interface may include a postcard picture corresponding to the first picture, and the postcard picture may be picture 4061 .

[0130] 1502. The electronic device receives a first operation from the user, where the first operation is used to share a postcard image corresponding to the first image.

[0131] The postcard image is generated based on the first image, and the postcard image includes at least one of text information, date and watermark.

[0132] In a possible design, the postcard image includes a first layer, a second layer and a third layer; wherein the first layer is filled with a preset pattern or color, the second layer includes at least one of text information, a date and a watermark, and the third layer includes a first image, and the first image is located above at least one of the text information, the date and the watermark; the third layer is smaller than the second layer, and the third layer covers the second layer, and the second layer is smaller than the first layer, and the second layer covers the first layer.

[0133] For example, Figure 5 As shown in (a) of FIG. 1 , the postcard image may be postcard image 406, the first layer may be layer 4061, the second layer may be layer 4062, and the third layer may be layer 4063. Layer 4061 may be as shown in FIG. Figure 5 As shown in (b) in FIG. 1 , layer 4062 can be Figure 5 As shown in (c) in FIG. 1 , layer 4063 can be Figure 5 For details, see above. Figure 5 The description is not repeated here.

[0134] 1503. In response to the first operation, the electronic device shares the postcard image.

[0135] In one possible design, the first interface also includes a sharing control; in response to a user's operation on the sharing control, the electronic device displays a first pop-up box, the first pop-up box includes a first option, and the first option is used to share a postcard image; in response to the user's operation on the first option, the electronic device displays a second pop-up box, the second pop-up box includes a preview image of the postcard image and an identifier of a second application; in response to the user's operation on the identifier of the second application, the electronic device shares the postcard image through the second application.

[0136] For example, Fig. 8A As shown in (a) of Figure 8B As shown in (a) of FIG. , the sharing control may be control 4053. Figure 8B As shown in (b) of FIG. , the first pop-up window may be pop-up window 410. Fig. 8A As shown in (c) in FIG. 8 , the second pop-up window may be pop-up window 420 .

[0137] like Fig. 8A As shown in (c) in FIG. 1 , the second application may be, for example, Mailbox, memo, message, browser, address book or video and other applications. Of course, the second application can also be other applications (for example, Bluetooth, cloud disk, etc.), which is not limited in this application.

[0138] Based on the method provided in the embodiment of the present application, users can share postcard images conveniently and quickly without the need for users to manually edit images, which can improve the efficiency of users sharing images. In addition, postcard images include richer and more vivid information (for example, text information, date, and watermark, etc.) than the original images, which can improve the user's experience of sharing images.

[0139] Furthermore, the method provided in the embodiment of the present application may also include the following steps:

[0140] 1504. The first interface also includes a browsing mode control. In response to a user's operation on the browsing mode control, the electronic device switches the first image displayed on the first interface to a postcard image, or may switch the postcard image displayed on the first interface to the first image.

[0141] For example, Figure 3 As shown in (d) in FIG. 1 , the browsing mode control may be the browsing mode control 4052. Figure 4 As shown in (a) of FIG. 4 , in response to the user clicking on the browse mode control 4052, as shown in FIG. Figure 4As shown in (b) of FIG. 4 , the mobile phone may display an interface 406, which may include a postcard image 4061 for the user to browse and view. At the same time, the shape of the browsing mode control 4052 may change to indicate that the current browsing mode has changed. The changed shape is used to indicate that the current browsing mode is a mode for browsing (viewing) postcard images.

[0142] In addition, in response to the user clicking the browsing mode control 4052 again, the browsing mode can be switched from the mode of browsing (viewing) the postcard image back to the mode of browsing the original image, that is, the postcard image displayed on the first interface can be switched to the first image. At the same time, the shape of the browsing mode control 4052 can change to indicate that the current browsing mode has changed. The changed shape is used to indicate that the current browsing mode is the mode of browsing the original image.

[0143] 1505. The first interface also includes more controls. In response to the user's operation on the more controls, the electronic device displays a second pop-up box, and the second pop-up box includes a first option, and the first option is used to save the postcard image.

[0144] For example, Fig.10 As shown in (a) in FIG. 1 , the more controls may be more controls 4054. Fig.10 As shown in (b) of FIG. 4 , the second pop-up window may be a pop-up window 430. The first option may be a save postcard option 4302.

[0145] 1506. In response to the user's operation on the first option, the electronic device saves the postcard image to the photo album corresponding to the current date.

[0146] For example, Fig.11 As shown in (a), in response to the user clicking on the save postcard option 4302, the mobile phone can save the postcard image corresponding to the image displayed on the current interface.

[0147] The storage location of the postcard image can be the album corresponding to the current date (today), and the album corresponding to the current date includes all the images taken by the mobile phone on the current date and all the images saved. Among them, all the images saved by the mobile phone on the current date can include screenshots taken on the current date, images downloaded on the current date, etc.

[0148] 1507. The electronic device receives a second operation from the user, where the second operation is used to switch the postcard template corresponding to the postcard image. In response to the second operation, the electronic device switches the first postcard template corresponding to the postcard image to the second postcard template.

[0149] Among them, the first operation can be a click operation on the template control displayed on the first interface, or the first operation can be a preset gesture operation, and the preset gesture operation can be, for example, a sliding operation, a double-click operation, etc., which is not limited in this application.

[0150] For example, Figure 7 As shown in (b) of FIG. 1 , in response to the user clicking on the miss template option 4083 (an example of the second operation), or, as Figure 7 As shown in (c) in FIG. 1 , in response to the user sliding the postcard image 4091 to the left (another example of the second operation), as shown in FIG. Figure 7 As shown in (d) in FIG. 4 , the mobile phone can switch the postcard template of the postcard picture to the missing template option 4083, and the mobile phone can display the postcard picture after the postcard template is switched 4092. In this way, the user can conveniently and quickly switch the postcard template of the postcard picture, which can meet the personalized needs of different users and improve the user experience.

[0151] 1508. The electronic device displays a second interface of the first application, where the second interface includes a second picture, which is a picture in a video album. The second interface also includes multiple different template options, where the multiple different template options correspond to at least one of different background music, music points, transitions, stickers, and filters.

[0152] The second interface may be an editing interface for the video album.

[0153] For example, Fig.12 As shown in (d) in FIG. 1 , the second interface may be a light editing interface 466. The middle area of ​​the light editing interface 466 may include the picture currently being displayed in the video album. The light editing interface 466 may also include a template bar 464. The template bar 464 may include multiple template options. For example, a beach template option 4641, a travel template option 4642, a dance template option 4643, etc. may be included. Among them, different template options correspond to at least one of different background music, music card points, transitions, stickers, and filters.

[0154] 1509. The electronic device receives a sliding operation of the user on the second interface, and in response to the sliding operation, the electronic device switches a template of the video album.

[0155] For example, Fig.13 As shown in (c) of FIG. 4 , the current template of the video album may be a travel template 4642. In response to the user sliding left on the light editing interface 466 (an example of the second interface), as shown in FIG. Fig.13As shown in (d) in FIG. 1 , the template name 4672 can be switched to dancing, that is, the current template of the video album can be switched from the travel template 4642 to the dancing template 4643. In this way, the user can switch the template of the video album conveniently and quickly, which can improve the user experience.

[0156] 1510. The second interface also includes a target control. In response to a user's operation on the target control, the electronic device switches from the second interface to a third interface. The third interface includes more editing functions than the second interface.

[0157] like Fig.14 As shown in (a) of FIG. 1 , the target control may be more controls 465. In response to the user clicking on more controls 465, as shown in FIG. Fig.14 As shown in (b) in the figure, the mobile phone can display the deep editing interface 470. The deep editing interface 470 may include a top function area 471, a thumbnail window 472 of the video album, a video editing area 473 and a bottom function area 474. Among them, the top function area 471 may include a return control, a resolution selection control and an export control. The thumbnail window 472 of the video album can display the reduced video album. The video editing area 473 may include an original sound control (on or off), a cover setting control, a music control, a pause control, and a video cutting, a video speed change control, etc. The bottom function area 474 may include function controls such as splitting, intercepting, volume, deleting, templates, quoting, filters, special effects, etc. In this way, if the function options of the light editing interface 466 cannot meet the user's needs, the user can quickly switch from the light editing interface 466 to the deep editing interface 470 through more controls 465, so as to perform more detailed editing of the video album in the deep editing interface 470.

[0158] It should be noted that there is no necessary execution order between steps 1502 to 1510, and this embodiment does not specifically limit the execution order between the steps.

[0159] Based on the method provided in the embodiment of the present application, users can share postcard images conveniently and quickly without the need for users to manually edit images (original images), which can improve the efficiency of users sharing images. In addition, postcard images include richer and more vivid information (for example, text information, date, and watermark, etc.) than original images, which can improve the user's experience of sharing images.

[0160] Furthermore, the user can also switch the browsing mode conveniently and quickly through the browsing mode control, and select the corresponding browsing mode to browse the first picture (original picture) or the postcard picture according to their needs. The user can also save the postcard picture conveniently and quickly through more controls, and the save location of the postcard picture is the album corresponding to the current date (the date of saving the postcard picture), which is convenient for the user to find or view the saved postcard picture later. The user can also switch the postcard template of the postcard picture to meet the personalized needs of different users. The user can also switch the template of the video album conveniently and quickly through preset gestures (for example, sliding operations). The user can also quickly switch the editing interface (for example, from the light editing interface 466 to the deep editing interface 470) so that the video album can be edited more carefully in the switched interface (for example, the deep editing interface 470) to meet user needs and improve user experience.

[0161] Some embodiments of the present application provide an electronic device, which may include: a touch screen, a memory, and one or more processors. The touch screen, the memory, and the processor are coupled. 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 can perform the various functions or steps performed by the main device in the above method embodiment. The structure of the electronic device can refer to Figure 1 The structure of the electronic device 100 is shown.

[0162] The present application also provides a chip system (eg, a system on a chip (SoC)), such as Fig.16 As shown, the chip system includes at least one processor 1601 and at least one interface circuit 1602. The processor 1601 and the interface circuit 1602 can be interconnected via lines. For example, the interface circuit 1602 can be used to receive signals from other devices (such as a memory of an electronic device). For another example, the interface circuit 1602 can be used to send signals to other devices (such as a processor 1601 or a touch screen of an electronic device). Exemplarily, the interface circuit 1602 can read instructions stored in the memory and send the instructions to the processor 1601. When the instructions are executed by the processor 1601, the electronic device can execute the various steps performed by the main device in the above embodiment. Of course, the chip system can also include other discrete devices, which are not specifically limited in the embodiments of the present application.

[0163] An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes each function or step executed by the main device in the above-mentioned method embodiment.

[0164] An embodiment of the present application also provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes each function or step executed by the main device in the above method embodiment.

[0165] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0166] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0167] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0168] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0169] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0170] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A method for sharing pictures. It is characterized in that include: The electronic device displays a first interface of a first application, the first interface including a first picture or a postcard picture corresponding to the first picture, the postcard picture is generated based on the first picture, and the postcard picture includes at least one of text information, a date, and a watermark; The electronic device receives a first operation of a user, where the first operation is used to share the postcard image; In response to the first operation, the electronic device shares the postcard image.

2. The method according to claim 1, It is characterized in that The first interface also includes a sharing control; In response to the first operation, the electronic device sharing the postcard image includes: In response to the user's operation on the sharing control, the electronic device displays a first pop-up box, where the first pop-up box includes a first option, where the first option is used to share the postcard image; In response to the user's operation on the first option, the electronic device displays a second pop-up box, where the second pop-up box includes a preview of the postcard image and an identifier of a second application; In response to the user's operation on the identification of the second application, the electronic device shares the postcard image through the second application.

3. The method according to claim 2, It is characterized in that The first interface also includes a browsing mode control, and the method further includes: In response to the user's operation on the browsing mode control, the electronic device switches the first picture displayed on the first interface to the postcard picture, or switches the first postcard picture displayed on the first interface to the first picture.

4. The method according to claim 2 or 3, It is characterized in that The first interface further includes more controls, and the method further includes: In response to the user's operation on the more controls, the electronic device displays a third pop-up box, the third pop-up box includes a second option, and the second option is used to save the postcard image; In response to the user's operation on the second option, the electronic device saves the postcard picture to the photo album corresponding to the current date, and the photo album corresponding to the current date includes all pictures taken and / or saved on the current date.

5. The method according to any one of claims 1 to 4, It is characterized in that The postcard image includes a first layer, a second layer and a third layer; The first layer is filled with a preset pattern or color, the second layer includes at least one of the text information, the date and the watermark, and the third layer includes the first picture, which is located above at least one of the text information, the date and the watermark; The third layer covers the second layer, and the second layer covers the first layer.

6. The method according to any one of claims 1 to 5, It is characterized in that The method further comprises: The electronic device receives a second operation of the user, where the second operation is used to switch the postcard template corresponding to the postcard image; In response to the second operation, the electronic device switches the first postcard template corresponding to the postcard picture to a second postcard template; Among them, at least one of the font, font size, font spacing, color, and position of the text information or date corresponding to the first postcard template is different from that of the second postcard template.

7. The method according to any one of claims 1 to 6, It is characterized in that The first picture is a picture in a preset album, and the preset album is generated by the electronic device based on at least one of dates, themes or scenes of multiple pictures stored in the electronic device.

8. The method according to any one of claims 1 to 7, It is characterized in that The method further comprises: The electronic device displays a second interface of the first application, the second interface includes a second picture, the second picture is a picture in a video album, and the second interface also includes a plurality of different template options, the plurality of different template options respectively corresponding to at least one of different background music, music card points, transitions, stickers, and filters; The electronic device receives a sliding operation of the user on the second interface, and in response to the sliding operation, the electronic device switches the template of the video album.

9. The method according to claim 8, It is characterized in that The second interface also includes a target control, and the method further includes: In response to the user's operation on the target control, the electronic device switches from the second interface to a third interface, and the third interface includes more editing functions than the second interface.

10. The method according to any one of claims 1 to 9, It is characterized in that The first application is a picture management application.

11. An electronic device, It is characterized in that The electronic device comprises: a touch screen, a wireless communication module, a memory and one or more processors; the touch screen comprises a touch-sensitive surface and a display, and the wireless communication module and the memory are coupled to the processor; The memory is used to store computer program codes, and the computer program codes include computer instructions; when the computer instructions are executed by the processor, the electronic device executes the method as described in any one of claims 1 to 10.

12. A computer-readable storage medium, It is characterized in that including computer instructions; When the computer instructions are executed on an electronic device, the electronic device is caused to execute the method as claimed in any one of claims 1 to 10.

13. A chip system, It is characterized in that The chip system includes one or more interface circuits and one or more processors; the interface circuits and the processors are interconnected via lines; The chip system is applied to an electronic device including a communication module and a memory; the interface circuit is used to receive a signal from the memory and send the signal to the processor, the signal including computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device executes the method as described in any one of claims 1-10.

Citation Information

Cited By

  • Data sharing method, and electronic device and storage medium

    WO2026130475A1