Wallpaper display method, electronic equipment and storage medium

By obtaining the interface status change information on the smartphone and playing the corresponding video clips, the problem of the smartphone being unable to achieve linked wallpaper animation effects is solved, and the user experience and wallpaper display capabilities are improved.

CN118540405APending Publication Date: 2024-08-23PETAL CLOUD TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310156008.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Smartphones cannot achieve dynamic effects of linked wallpapers without providing dynamic effect technology support, which limits the display and user experience of wallpapers.

Method used

By obtaining the current interface status change information of the electronic device, determining the corresponding video clip, and playing the corresponding video clip when the interface status transitions, the display and dynamic effect of the linked wallpaper can be achieved, even on devices that do not support dynamic effects. Achieve corresponding animation effects.

Benefits of technology

It improves the user experience, realizes the linkage effect between different interface states, enhances the display ability of wallpapers, and overcomes the limitations of motion effect technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540405A
    Figure CN118540405A
Patent Text Reader

Abstract

The embodiment of the invention provides a wallpaper display method, electronic equipment and a storage medium, and the method comprises the steps: obtaining a first signal, determining a current interaction state according to the first signal in a current interface state, and determining a corresponding target video clip according to the current interaction state; playing the target video clip; and after the target video clip is played, displaying the target interface according to the target interface state. According to the embodiment of the invention, the corresponding video clip can be played when the interface state of the electronic equipment is converted, so that the linkage wallpaper can be displayed by the electronic equipment which does not support the dynamic effect, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal display technology, and in particular to a wallpaper display method, an electronic device and a storage medium. Background Art

[0002] With the continuous development of smart phones, some smart phones can support linkage wallpaper display. Specifically, different pictures can be used to display on various interfaces of the mobile phone screen in different states of the mobile phone. For example, in the process of entering the lock screen state from the off screen state, some linkage effects are added, such as changing the coordinate position, transparency, rotation and scaling. The linkage wallpaper effect is limited by the mobile phone's animation technology. If the mobile phone cannot provide animation technology support, the mobile phone cannot use linkage wallpaper and achieve the corresponding animation effect. Summary of the invention

[0003] The embodiments of the present application provide a wallpaper display method, an electronic device, and a storage medium. Through this method, a corresponding video clip can be displayed on the screen based on the current state change information of the electronic device. Even for electronic devices that cannot provide motion effect technical support, the wallpaper display method provided by this application can realize the display of linked wallpapers and achieve corresponding motion effects.

[0004] In the first aspect, the embodiment of the present application provides a wallpaper display method, which is applied to an electronic device, including obtaining a first signal, determining a current interaction state according to the first signal in a current interface state, and determining a corresponding target video clip according to the current interaction state; playing the target video clip; and after the target video clip is played, displaying a target interface according to the target interface state. When the interface state of the electronic device changes, the corresponding video clip can be played, so that the electronic device that does not support motion effects can display the linkage wallpaper, thereby improving the user experience.

[0005] Furthermore, the current interface state includes at least two of the following: black screen, off screen, locked screen and desktop.

[0006] Furthermore, the first signal includes: a user interaction signal or a display timeout signal; the user interaction signal includes looking, clicking, touching, lifting to wake up, pressing the power button, successful fingerprint recognition unlocking, successful face recognition unlocking or successful password unlocking; the display timeout signal may include a screen off interface display timeout signal, a lock screen interface display timeout signal or a desktop display timeout signal.

[0007] Furthermore, the current interaction state includes: black screen converting to screen off, black screen converting to desktop, screen off converting to locked screen, locked screen converting to desktop, screen off converting to desktop, lock screen converting to screen off, desktop converting to screen off, or screen off converting to black screen.

[0008] Furthermore, determining the corresponding target video segment according to the current interaction state includes: the screen off to black screen scene and the black screen to screen off scene share the first video segment, and the screen off to black screen scene is configured to play forward, and the black screen to screen off scene is configured to play reversely; the screen off to lock screen scene and the lock screen to screen off scene share the second video segment, and the screen off to lock screen scene is configured to play forward, and the lock screen to screen off scene is configured to play reversely; the desktop to screen off scene and the screen off to desktop scene share the third video segment, and the desktop to screen off scene is configured to play forward, and the screen off to desktop scene is configured to play reversely.

[0009] Furthermore, the current interaction state includes: gaze triggers the black screen to convert to the screen off, click and touch trigger the black screen to convert to the screen off, lift and wake up trigger the black screen to convert to the screen off, press the power button to trigger the screen off to convert to the lock screen, press the power button to trigger the lock screen to convert to the screen off, lock screen display timeout triggers the lock screen to convert to the screen off, fingerprint unlocking successfully triggers the lock screen to convert to the desktop, face unlocking successfully triggers the lock screen to convert to the desktop, password unlocking successfully triggers the lock screen to convert to the desktop, press the power button to trigger the desktop to convert to the screen off, desktop display timeout triggers the desktop to convert to the screen off, face unlocking successfully triggers the screen off to convert to the desktop, fingerprint unlocking successfully triggers the screen off to convert to the desktop, screen off display timeout triggers the screen off to convert to black screen, or fingerprint unlocking successfully triggers the black screen to the desktop.

[0010] Further, playing the target video segment includes: if the current interactive state does not require reverse playback of the target video segment, when playing the target video segment, adjusting the playback speed of the target video segment based on a forward playback speed change function.

[0011] Further, playing the target video segment includes: if the current interactive state requires reverse playback of the target video segment, when playing the target video segment, adjusting the playback speed of the target video segment based on the reverse playback speed change function.

[0012] Furthermore, during the playback of the target video clip, if an interrupt signal is received, the following process is executed: if the electronic device does not support interruptions, the playback of the target video clip is completed; if the electronic device supports interruptions and the electronic device does not support a time compensation terminal, the target video clip is jumped to the end frame of the playback direction of the target video clip and the playback of the target video clip is completed; if the electronic device supports interruptions and the electronic device supports a time compensation terminal, the playback speed of the remaining part of the target video clip is adjusted based on the interrupt response playback speed change function and the playback of the target video clip is completed.

[0013] In a second aspect, an embodiment of the present application further provides an electronic device, including: a processor and a memory, the memory being used to store at least one instruction, and when the instruction is loaded and executed by the processor, the wallpaper display method provided in the first aspect is implemented.

[0014] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the wallpaper display method provided in the first aspect is implemented.

[0015] In a fourth aspect, an embodiment of the present application further provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the wallpaper display method provided in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0017] Figure 1 A schematic diagram of the structure of an electronic device 100 according to an embodiment of the application is shown;

[0018] Figure 2 is a software structure block diagram of the electronic device 100 according to an embodiment of the present application;

[0019] Figure 3 This is a schematic diagram of the composition of the linked wallpaper;

[0020] Figure 4 A schematic diagram of various interface states provided for an embodiment of the present application;

[0021] Figure 5 A schematic diagram of electronic device interface state transition provided by an embodiment of the present application;

[0022] Figure 6 A schematic diagram of a system architecture provided for an embodiment of the present application;

[0023] Figure 7 A schematic diagram of the mapping relationship between video clips and interaction states provided in one embodiment of the present application;

[0024] Figure 8 A schematic diagram of a mapping relationship between video clips and interaction states provided in another embodiment of the present application;

[0025] Fig. 9 A schematic diagram of multiple triggering modes for interface state transition provided by an embodiment of the present application;

[0026] Fig.10 A schematic diagram of a mapping relationship between video clips and interaction states provided in another embodiment;

[0027] Fig.11 A schematic diagram of a wallpaper display method according to an embodiment of the present application;

[0028] Fig.12 A flowchart of linked wallpaper display provided for one embodiment of the present application;

[0029] Fig.13 A schematic diagram of three interface state transitions provided for an embodiment of the present application;

[0030] Fig.14 A schematic diagram of the mapping relationship between interaction states and video clips in three interface state scenarios provided in one embodiment of the present application;

[0031] Fig.15 A schematic diagram of two interface state transitions provided for an embodiment of the present application;

[0032] Fig.16 A schematic diagram of the mapping relationship between interaction states and video clips in two interface state scenarios provided in one embodiment of the present application;

[0033] Fig.17 A schematic diagram of the structure of an electronic device provided for one embodiment of the present application. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0035] Figure 1 A schematic structural diagram of an electronic device 100 according to an embodiment of the application is shown.

[0036] The electronic device 100 may include a processor 110, an internal memory 121, 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, a sensor module 180, a button 190, a camera 193, a display screen 194, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a magnetic sensor 180D, an acceleration sensor 180E, a proximity light sensor 180G, a fingerprint sensor 180H, a touch sensor 180K, etc.

[0037] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, 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.

[0038] 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 video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0039] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0040] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0041] 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.

[0042] 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. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0043] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G 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, and process 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. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0044] The modem processor may include a modulator and a demodulator. Among them, 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. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0045] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (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 electromagnetic wave signal and filters it, 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, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0046] 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, etc. 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).

[0047] 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.

[0048] 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), 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), Mini LED, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0049] 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.

[0050] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0051] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0052] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0053] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0054] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0055] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may 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 may 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 memory (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.

[0056] 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, and the application processor.

[0057] 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. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0058] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0059] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0060] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0061] The pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194.

[0062] There are many types, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. Capacitive pressure sensors can be at least two parallel plates with conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0063] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0064] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.

[0065] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0066] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0067] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0068] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0069] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0070] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the Android system with a layered architecture is taken as an example to exemplify the software structure of the electronic device 100.

[0071] Figure 2 It is a software structure block diagram of the electronic device 100 according to an embodiment of the present application.

[0072] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime (Android runtime) and system library, and the kernel layer.

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

[0074] like Figure 2 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0075] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0076] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[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] Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for scheduling and management of the Android system.

[0084] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0085] The application layer and the application framework layer run in a 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 functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0086] 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.

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

[0088] 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.

[0089] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0090] A 2D graphics engine is a drawing engine for 2D drawings.

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

[0092] The following is an illustrative description of the workflow of the software and hardware of the electronic device 100 in conjunction with capturing a photo scene.

[0093] When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, timestamp of the touch operation, and other information). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a touch single-click operation and the control corresponding to the single-click operation is the control of the camera application icon, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer to capture static images or videos through the camera 193.

[0094] The above is a detailed description of the software and hardware of the electronic device provided in one embodiment of the present application.

[0095] The electronic device 100 in the embodiment of the present application may be a display device with an interface state conversion function, including but not limited to a mobile phone and a tablet computer, and the present application does not impose any restrictions on this.

[0096] With the popularity of smartphones, people have higher and higher requirements for the aesthetics of smartphone screen interfaces. More and more designers use mobile theme creation tools to create various mobile themes from pictures or videos to beautify the interfaces of smartphones in various states, including the screen off, lock screen and desktop, etc. Mobile phone manufacturers or APP manufacturers provide the ability to create and display interfaces.

[0097] Users use different pictures or videos to display on various interfaces of the mobile phone screen. For example, in the screen-off state, a small picture is displayed on the upper half of the mobile phone screen, and the picture can also include dynamic effects (by changing the coordinate position, transparency, rotation, scaling, etc.). In the lock screen state, static pictures, pictures with dynamic effects or videos are displayed on the entire mobile phone interface. You can change the picture by sliding left and right. When unlocking and entering the desktop state, the desktop will display the wallpaper picture again. The pictures or videos displayed in different states can be unrelated to each other, or they can revolve around the same theme. If they revolve around the same theme and there is a linkage effect between different states, it can be called a linkage wallpaper. The linkage wallpaper realizes that the content displayed in different states revolves around the same theme and is consistent.

[0098] When linkage wallpapers were first created, a wallpaper application needed to be programmed and pre-installed in the phone. Each new linkage wallpaper required a new set of code to be developed. The code included the wallpaper in a single state and the linkage effects between different states. It cannot be designed and implemented by users and designers. The widely used linkage wallpapers now can be designed by configuring pictures and dynamic effects.

[0099] Linked wallpapers include wallpapers for different screens of the phone. Wallpapers can be static images, images with dynamic effects, or videos. At the same time, linked wallpapers include dynamic effects that change between different screens. The phone analyzes the effects of the linked wallpapers and executes them on the phone.

[0100] Figure 3 This is a schematic diagram of the linkage wallpaper composition. Figure 3 As shown in the figure, the wallpaper is linked between the three different interfaces: the screen off, the lock screen and the desktop. Figure 3 In the example shown, the screen off, lock screen and desktop wallpaper are the same picture, and the screen off wallpaper is the picture front or a picture at a certain position. In the process of entering the lock screen state from the screen off, some linkage effects are added, such as changing the coordinate position, transparency, rotation and scaling. The same linkage effect is added when entering the desktop state from the lock screen state.

[0101] Currently, the dynamic effects of linked wallpapers are limited by the dynamic effect technology provided by smartphones, and the effects are limited. Currently, the dynamic effects of such linked wallpapers are limited to changes in the angle of the image material (rotation), changes in coordinates (position), changes in transparency, and changes in size (zooming). Complex linkage effects cannot be achieved.

[0102] In order to overcome the above-mentioned technical problems, an embodiment of the present application provides a wallpaper display method, through which the corresponding video clips can be displayed on the screen based on the current state change information of the electronic device. Even if the electronic device cannot provide motion effect technical support, the wallpaper display method provided by this application can be used to realize the display of linked wallpapers and achieve corresponding motion effects.

[0103] The wallpaper display method provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings.

[0104] The electronic device 100 provided in some embodiments of the present application has multiple interface states. In one implementation, the interface state of the electronic device 100 includes at least two of the following: black screen, screen off, locked screen, and desktop.

[0105] Figure 4 A schematic diagram of various interface states provided for one embodiment of the present application.

[0106] Reference Figure 4 As shown, when the electronic device 100 is in the black screen state, the screen does not display any content. In other words, the screen of the electronic device 100 is not currently performing a display operation. When the electronic device 100 is in the screen-off state, part of the screen of the electronic device 100 only displays some set content, such as only displaying the time and date. When the electronic device 100 is in the locked screen state, the screen displays the lock screen interface. When the electronic device is in the desktop state, the screen displays the desktop or the application (APP) interface previously opened by the user.

[0107] Figure 5 A schematic diagram of the interface state transition of an electronic device provided for one embodiment of the present application.

[0108] Reference Figure 5 As shown, the electronic device 100 can be converted from the black screen state to the screen off state in response to the user's operation in the black screen state. For example, if it is detected that the user is looking at the electronic device 100, clicking the screen of the electronic device 100, or lifting up to wake up the electronic device 100, the electronic device 100 can be converted from the black screen state to the screen off state and display the set content, such as time and date, in the screen off state.

[0109] Reference Figure 5 As shown, the electronic device 100 can also be converted from the black screen state to the desktop state in response to the user's operation in the black screen state. For example, the user presses the corresponding finger on the fingerprint recognition area of ​​the electronic device 100, such as the lower half of the screen. After the electronic device recognizes the fingerprint and completes the fingerprint unlocking, the electronic device 100 is converted from the black screen state to the desktop state, displaying the desktop or the APP interface previously opened by the user. This application does not limit how to complete the fingerprint unlocking.

[0110] Reference Figure 5 As shown, the electronic device 100 can be switched from the screen-off state to the screen-locked state in response to the user's operation in the screen-off state. For example, when the user presses the power button of the electronic device 100 in the screen-off state, the electronic device 100 is switched from the screen-off state to the screen-locked state and displays the lock screen interface.

[0111] Reference Figure 5 As shown, the electronic device 100 can be converted from the lock screen state to the desktop state in response to the user's operation in the lock screen state. For example, in the lock screen state, the user unlocks the device through a fingerprint, face or password. After the unlocking is completed, the electronic device 100 is converted from the lock screen state to the desktop state, and the desktop or the application (APP) interface previously opened by the user is displayed on the screen.

[0112] Reference Figure 5 As shown, the electronic device 100 can be converted from the screen-off state to the desktop state in response to the user's operation in the screen-off state. For example, in the screen-off state, the user unlocks the device through a fingerprint or face recognition. After the unlocking is completed, the electronic device 100 is converted from the lock screen state to the desktop state, and the desktop or the application (APP) interface previously opened by the user is displayed on the screen.

[0113] Reference Figure 5 As shown, the electronic device 100 can also be converted from the locked screen state to the off-screen state in response to the user's operation or based on the screen-on time in the locked screen state. For example, when the user presses the power button of the electronic device 100 in the locked screen state, the electronic device 100 is converted from the locked screen state to the off-screen state, and the set content, such as time and date, is displayed in the off-screen state. In the locked screen state, if the display time of the lock screen interface exceeds the set first screen-on time, the electronic device 100 automatically converts from the locked screen state to the off-screen state, and displays the set content, such as time and date, in the off-screen state.

[0114] Reference Figure 5 As shown, the electronic device 100 can also be converted from the desktop state to the screen-off state in response to the user's operation or based on the screen-on time in the desktop state. For example, when the user presses the power button of the electronic device 100 in the desktop state, the electronic device 100 is converted from the locked screen state to the screen-off state, and the set content, such as time and date, is displayed in the screen-off state. In the desktop state, if the display time of the desktop exceeds the set second screen-on time, the electronic device 100 automatically converts from the desktop state to the screen-off state, and displays the set content, such as time and date, in the screen-off state. Among them, the above-mentioned first screen-on time and the second screen-on time can be the same or different, and this application does not limit this.

[0115] Reference Figure 5As shown, the electronic device 100 can also be converted from the screen-off state to the black screen state based on the screen-on time in the screen-off state. For example, if the display time of the screen-off interface exceeds the set third screen-on time, the electronic device 100 is converted from the screen-off state to the black screen state, and the display screen of the electronic device 100 stops displaying.

[0116] The linkage wallpaper provided in the embodiment of the present application may be a plurality of video clips, that is, a linkage wallpaper video. The linkage wallpaper video may be a pre-made video.

[0117] In one implementation, the linked wallpaper video can be produced by a video producer and uploaded to a corresponding server, so that a user can download the linked wallpaper video from the server through the electronic device he uses and apply it to the user's electronic device.

[0118] In order to realize a series of operations of making, uploading and downloading the above-mentioned linked wallpaper video, the embodiment of the present application also provides a system, through which the making, uploading and downloading of the linked wallpaper video are realized.

[0119] Figure 6 A schematic diagram of a system architecture provided for an embodiment of the present application.

[0120] Reference Figure 6 As shown, the system may include a video production device 601 , a distribution server 602 and a display device 603 .

[0121] In one embodiment, the video production device 601 can produce a video and mark the video, wherein each marking point is the starting frame position or the ending frame position of each video segment. Each video segment includes a starting frame and an ending frame, and a certain starting frame position can be selected to jump to the video segment corresponding to the starting frame when playing the entire video. Exemplarily, the produced video has 16 marking points, and the 16 marking points are respectively marking points (a1, a2), marking points (b1, b2), marking points (c1, c2), marking points (d1, d2), marking points (e1, e2), marking points (f1, f2), marking points (g1, g2), and marking points (h1, h2).

[0122] Among them, the marking points (a1, a2) are the starting frame position and the ending frame position of the video segment A, the marking points (b1, b2) are the starting frame position and the ending frame position of the video segment B, the marking points (c1, c2) are the starting frame position and the ending frame position of the video segment C, the marking points (d1, d2) are the starting frame position and the ending frame position of the video segment D, the marking points (e1, e2) are the starting frame position and the ending frame position of the video segment E, the marking points (f1, f2) are the starting frame position and the ending frame position of the video segment F, the marking points (g1, g2) are the starting frame position and the ending frame position of the video segment G, and the marking points (h1, h2) are the starting frame position and the ending frame position of the video segment H.

[0123] In one embodiment, the interface state of the electronic device 100 includes a black screen, an off screen, a locked screen, and a desktop, and the conversion of the interface state may include: Figure 5 The 8 interaction states (or state transitions) shown are: State 1: black screen → screen off, State 2: black screen → desktop, State 3: screen off → locked screen, State 4: locked screen → desktop, State 5: screen off → desktop, State 6: lock screen → screen off, State 7: desktop → screen off, State 8: screen off → black screen.

[0124] Figure 7 A schematic diagram of the mapping relationship between video clips and interaction states provided in one embodiment of the present application. Figure 7 The video production device 601 can divide a video into 8 video segments through the above 16 marking points, namely the above video segments A to H. Furthermore, a unique video segment can be configured for each of the above interaction states, and then when the corresponding interaction state occurs, the corresponding unique video segment can be played, so that the electronic device can perform the display of the linkage wallpaper when the interface state is converted, and achieve the corresponding dynamic effect.

[0125] Figure 8 A schematic diagram of the mapping relationship between video clips and interaction states provided in another embodiment of the present application. Figure 8 As described above, the video production device 601 can set a mark point on a video and divide the video into five video segments, namely, video segment 1 to video segment 5. Figure 5Among the 8 interactive states shown, there are reversible interactive states, namely: State 1: black screen → screen off and State 8: screen off → black screen are the reverse interactive states, State 3: screen off → lock screen and State 6: lock screen → screen off are the reverse interactive states, State 5: screen off → desktop and State 7: desktop → screen off are the reverse interactive states. Further, 3 of the 5 video clips can be selected and configured as video wallpapers in a reversible interactive state, and the video wallpaper in a reversible interactive state can be played forward and reverse. Exemplarily, video clip 1 can be configured as a video wallpaper for states 1 and 8, video clip 2 can be configured as a video wallpaper for states 3 and 6, and video clip 4 can be configured as a video wallpaper for states 5 and 7. Furthermore, video clip 3 is configured as a video wallpaper for state 4, and video clip 5 is configured as a video wallpaper for state 2.

[0126] In another embodiment, the interface state of the electronic device 100 includes black screen, off screen, locked screen and desktop. Based on the different triggering modes of the interface state transition, the interactive states can be divided into 15 types. Fig. 9 A schematic diagram of multiple triggering modes for interface state transition provided by an embodiment of the present application. Fig. 9 As shown, the above 15 interaction states include: State 1: black screen → screen off (triggering by gaze), State 2: black screen → screen off (triggering by clicking on the touch button), State 3: black screen → screen off (triggering by lifting to wake up), State 4: screen off → lock screen (triggering by pressing the power button), State 5: lock screen → screen off (triggering by pressing the power button), State 6: lock screen → screen off (triggering by lock screen display timeout), State 7: lock screen → desktop (triggering by successful fingerprint unlocking), State 8: lock screen → desktop (triggering by successful face unlocking), State 9: lock screen → desktop (triggering by successful password unlocking), State 10: desktop → screen off (triggering by pressing the power button), State 11: desktop → screen off (triggering by desktop display timeout), State 12: screen off → desktop (triggering by successful face unlocking), State 13: screen off → desktop (triggering by successful fingerprint unlocking), State 14: screen off → black screen (triggering by successful screen display timeout), State 15: black screen → desktop (triggering by successful fingerprint unlocking).

[0127] In one embodiment, the video production device 601 can set a mark point on a video and divide the video into 15 video segments, namely, video segment 1 to video segment 15. Fig. 9 The 15 interaction states in the illustrated embodiment are respectively configured with corresponding video wallpapers. Fig.10 A schematic diagram of the mapping relationship between video clips and interaction states provided in another embodiment. Fig.10 As shown, the video wallpapers corresponding to states 1 to 15 of the 15 interactive states are video clips 1 to 15 respectively.

[0128] In other implementations, the video production device 601 may set marker points and divide the video into a set number of video segments, without limiting the set number.

[0129] In one implementation, the video production device 601 can upload the produced linkage wallpaper video to the distribution server 602, and the distribution server 602 receives the uploaded linkage wallpaper video and distributes it to the device that downloads the linkage wallpaper video. The distribution server 602 can also provide the wallpaper producer with video standards and adapt the video to the playback of each device.

[0130] In one implementation, the display device 603 can download the linked wallpaper video from the distribution server 602 and apply it to the display device 603. The display device 603 can be the electronic device 100 provided in the embodiment of the present application. The exemplary electronic device can be a display device with an interface state switching function, such as a mobile phone and a tablet computer. In other implementations, it can also be other devices, which is not limited by the present application.

[0131] The wallpaper display method provided in the embodiment of the present application is applied to the electronic device 100, and is described below in conjunction with the accompanying drawings.

[0132] Fig.11 A schematic diagram of a flowchart of a wallpaper display method provided in accordance with an embodiment of the present application.

[0133] Reference Fig.11 As shown, the method may include the following steps:

[0134] Step 1101: Acquire a first signal, determine an interaction state according to the first signal in a current interface state, and determine a corresponding target video segment according to the interaction state.

[0135] Fig.12 A flowchart of linked wallpaper display provided for one embodiment of the present application.

[0136] Reference Fig.12 As shown, Fig.11 Step 1101 in the illustrated embodiment may be implemented by the following steps:

[0137] Step 1101a: The electronic device obtains a first signal.

[0138] In one embodiment, the first signal may include a user interaction signal or a display timeout signal. The user interaction signal may include gaze, click touch, lift to wake up, press the power button, fingerprint recognition unlocking success, face recognition unlocking success, or password unlocking success. The display timeout signal may include a screen off interface display timeout signal, a lock screen interface display timeout signal, or a desktop display timeout signal.

[0139] Step 1101b: The electronic device determines a current interaction state based on the first signal.

[0140] In one implementation: after the electronic device 100 obtains the first signal in the current interface state, it can trigger the electronic device to switch to the target interface state, and then determine the current interaction state according to the current interface state and the target interface state.

[0141] In one embodiment, the electronic device can support 8 interaction states: state 1: black screen → screen off, state 2: black screen → desktop, state 3: screen off → locked screen, state 4: locked screen → desktop, state 5: screen off → desktop, state 6: locked screen → screen off, state 7: desktop → screen off, state 8: screen off → black screen. Exemplarily, the electronic device 100 obtains a user interaction signal of pressing the power button in the screen off state, which can trigger the electronic device to switch to the lock screen interface, that is, the current interaction state is state 3: screen off → locked screen.

[0142] In another embodiment, the electronic device can support 15 interaction states: State 1: black screen → screen off (triggering by looking), State 2: black screen → screen off (triggering by clicking on the touch), State 3: black screen → screen off (triggering by lifting to wake up), State 4: screen off → locked screen (triggering by pressing the power button), State 5: locked screen → screen off (triggering by pressing the power button), State 6: locked screen → screen off (triggering by locking screen display timeout), State 7: locked screen → desktop (triggering by successful fingerprint unlocking), State 8: locked screen → desktop (triggering by successful face unlocking), State 9: locked screen → desktop (triggering by successful password unlocking), State 10: desktop → screen off (triggering by pressing the power button), State 11: desktop → screen off (triggering by desktop display timeout), State 12: screen off → desktop (triggering by successful face unlocking), State 13: screen off → desktop (triggering by successful fingerprint unlocking), State 14: screen off → black screen (triggering by successful screen display timeout), State 15: black screen → desktop (triggering by successful fingerprint unlocking). Exemplarily, the electronic device 100 obtains a user interaction signal of pressing the power button in the screen-off state, which can trigger the electronic device to switch to the lock screen interface, that is, the current interaction state is state 4: screen-off → lock screen (triggered by pressing the power button).

[0143] In other implementations, the current interaction state may be determined according to the types of interaction states supported by the electronic device.

[0144] Step 1101c: The electronic device matches the target video segment based on the current interaction state.

[0145] After determining the current interaction state, the electronic device may determine the target video segment corresponding to the current interaction state according to the mapping relationship between the interaction state and the video segment.

[0146] In one implementation, if the electronic device can support eight interaction states, and each interaction state is configured with a corresponding video segment, the target video segment corresponding to the current interaction state is determined according to the mapping relationship between the interaction state and the video segment. Figure 7 As shown, if the current interaction state is determined to be state 4 (screen off→desktop), then based on the mapping relationship between the 8 interaction states and the video clips, it can be determined that the video clip corresponding to state 4 is video clip D, that is, the target video clip corresponding to the current interaction state is determined to be video clip D.

[0147] In another embodiment, if the electronic device can support 8 interaction states, among the 8 interaction states, there are reversible interaction states: State 1: black screen → screen off and State 8: screen off → black screen are the reverse interaction states, State 3: screen off → locked screen and State 6: locked screen → screen off are the reverse interaction states, State 5: screen off → desktop and State 7: desktop → screen off are the reverse interaction states. Furthermore, the same video clip can be configured for the reverse interaction states, and on this basis, the target video clip corresponding to the current interaction state can be determined according to the mapping relationship between the interaction state and the video clip. Exemplarily, refer to Figure 8 As shown, if the current interaction state is determined to be state 6 (lock screen→off screen), based on the mapping relationship between the 8 interaction states and video clips, it can be determined that the video clip corresponding to state 6 is video clip 2, and video clip 2 needs to be played in reverse.

[0148] In another implementation, if the electronic device can support 15 interaction states, and each interaction state is configured with a corresponding video segment, the target video segment corresponding to the current interaction state is determined according to the mapping relationship between the interaction state and the video segment. Fig.10 As shown, if the current interaction state is determined to be state 12: screen off → desktop (face unlocking successfully triggered), then based on the mapping relationship between the 15 interaction states and the video clips, it can be determined that the video clip corresponding to state 12 is video clip 12, that is, the target video clip corresponding to the current interaction state is determined to be video clip 12.

[0149] In other implementations, the target video segment corresponding to the current interaction state may be determined based on the types of interaction states supported by the electronic device and the mapping relationship between the interaction state and the video segment.

[0150] Step 1102: Play the target video clip.

[0151] Reference Fig.12 As shown, Fig.11 Step 1102 in the illustrated embodiment may be implemented by the following steps:

[0152] Step 1102a: Determine whether the target video segment needs to be played in reverse, if not, execute step 1102b, if yes, execute step 1102d.

[0153] Step 1102b: Query the forward playback speed change function.

[0154] If the target video segment needs to be played forward, the forward playback speed change (easing) function of this video segment is used to calculate the speed output value.

[0155] Step 1102c: Play the target video clip forward according to the forward play speed change function.

[0156] After the forward playback speed change function is queried, forward playback is started from the start frame to the end frame of the target video segment. During the playback process, the playback speed is changed in real time according to the return value of the forward playback speed change function.

[0157] After starting to play the target video segment in the forward direction, continue to execute step 1102f.

[0158] Step 1102d: Query the reverse playback speed change function.

[0159] If the target video segment needs to be played in reverse, the reverse playback speed change (easing) function of this video segment is used to calculate the speed output value.

[0160] Step 1102e: Play the target video clip in reverse according to the reverse playback speed function.

[0161] After the reverse playback speed change function is queried, reverse playback is started from the start frame to the end frame of the target video clip. During the playback process, the playback speed is changed in real time according to the return value of the reverse playback speed change function.

[0162] In some embodiments, the speed-changing function may be a linear function, that is, when the target video segment is played by the speed-changing function (linear function), the target video segment is played at a constant speed with the changed speed until the playback is completed.

[0163] In some embodiments, the speed-changing function may also be a peak function, that is, when the target video segment is played through the speed-changing function (peak function), the playback is first accelerated to reach a peak value and then starts to slow down until the playback is completed.

[0164] In other embodiments, the speed change function may also be a function in other ways, and this application does not limit this.

[0165] In other implementations, the adjustment of the playback speed of the corresponding video segment can be completed when the video production device 601 produces the video segment. When the display device 603 (i.e., the electronic device 100) executes step 1102, it is not necessary to execute the step of querying the speed change function. After determining whether the target video segment is played forward or reverse, the target video segment can be played at the original playback speed until the playback is completed.

[0166] After starting to play the target video segment in reverse, continue to execute step 1102f.

[0167] Step 1102f: Determine whether the electronic device receives an interrupt signal, if not, execute step 1102g, if yes, execute step 1102h.

[0168] The interrupt signal may include, in addition to the first signal, other signals that may trigger the current interface state to be converted to other interface states. For example, the current interface state is Figure 8 The state shown is 5 (screen off → desktop), and the first signal is a fingerprint. Video clip 4 is currently being played in reverse. During the playback process, if a "press the power button" signal is received, since the screen is in the off state, receiving the "press the power button" signal can make the electronic device change from the screen off state to the locked screen state. Therefore, the currently received "press the power button" signal is an interrupt signal.

[0169] Step 1102g: Continue playing the video clip according to the speed change function until the end frame, and then execute step 1103.

[0170] If no interruption interaction signal is received, the target video segment is played continuously to the end frame according to the variable speed function. After the playback is completed, step 1103 is executed.

[0171] Step 1102h: Determine whether the electronic device supports interruption, if not, execute step 1102i, if yes, execute step 1102j.

[0172] Among them, it can be determined whether the video playback supports interruption. Specifically, it can be determined whether the electronic device (such as a smart phone) provides a configuration item that supports interruption.

[0173] Step 1102i: Continue playing the video clip according to the speed change function until the end frame and then return to step 1101a.

[0174] If it is determined that the electronic device does not support interruption, the target video segment is played continuously to the end frame according to the variable speed function, wherein the end frame is the last frame in the play direction of the target video segment. After the play is finished, the process returns to step 1101a to wait for obtaining the first signal.

[0175] Step 1102j: Query whether the electronic device supports time compensation interruption, if not, execute step 1102k, if yes, execute step 1102l.

[0176] If it is determined that the electronic device supports interruption, it may be further queried whether time compensation interruption is supported, that is, to determine whether the electronic device supports the configuration item of time compensation interruption.

[0177] Step 1102k: Stop playing the target video segment, and after displaying the end frame of the target video segment, return to step 1101a.

[0178] If it is determined that the electronic device supports interruption and does not support time compensation interruption, the target video clip can be stopped immediately and directly jumped to the end frame to respond to the interruption signal. The interruption signal is regarded as a re-receiving of a first signal, and the wallpaper display process can be continued according to the interruption signal.

[0179] Step 11021: Obtain the playback time compensation amount of the target video segment.

[0180] If it is determined that the electronic device supports time compensation interruption, the playback time compensation amount can be obtained. In one embodiment, the remaining playback time of the target video segment when the interruption signal is obtained can be determined first, and then the playback time compensation amount of the target video segment can be determined according to the remaining playback time of the target video segment. In some embodiments, the remaining playback time of the target video segment can be reduced, and the reduced time is used as the playback time compensation amount of the target video segment.

[0181] In one embodiment, the method of reducing the remaining playback time of the target video segment can be: determining the product of the remaining playback time of the target video segment and a fixed coefficient, wherein the fixed coefficient is a value greater than 0 and less than 1, and the fixed coefficient can be customized based on user needs. Exemplarily, the total duration of the target video segment is 2s, and the remaining playback time of the target video segment is 1.4s when the interrupt signal is obtained. The fixed coefficient set by the user is 0.5, and then the playback time compensation amount of the target video segment can be calculated to be 1.4s*0.5=0.7s.

[0182] In another embodiment, the playback time compensation amount may be a fixed value, and the playback time compensation amount may be customized based on user needs. For example, the playback time compensation amount may be set to 0.5 s.

[0183] Step 1102m: Get the interrupt response playback speed change function.

[0184] Step 1102n: Play the remaining unplayed portion of the target video segment according to the interrupt response playback speed change function.

[0185] Among them, the interrupt response playback speed function can be further queried, and then the remaining unplayed part of the target video segment can be played according to the playback time compensation amount of the target video segment and the interrupt response playback speed function. In some embodiments, the interrupt response playback speed function is the same or similar to the speed change method of the speed change function in step 1102b and step 1102d. After determining the playback time compensation amount, the interrupt response playback speed function is used to perform speed-changing playback within the playback time compensation amount until the playback of the remaining unplayed part of the target video segment is completed. Exemplarily, the remaining playback time of the target video segment is 1.4s, the playback time compensation amount of the target video segment is 0.7s, and the interrupt response playback speed function is a linear function, and then the remaining unplayed part of the target video segment can be played in a 2x speed playback mode, so that the playback can be completed within the playback time compensation amount (0.7s).

[0186] Step 1103: After the target video segment is played, the target interface is displayed according to the target interface state.

[0187] Exemplarily, before obtaining the first signal, the interface state of the electronic device is in the screen-off state, and the first signal obtained is successful fingerprint unlocking, and then the target video clip of converting the screen-off state to the desktop state is played. After the target video clip is played, the corresponding content in the desktop state is displayed. Exemplarily, the corresponding content in the desktop state can be the main interface of the mobile phone or the interface of an APP launched by the user first.

[0188] In some embodiments, the electronic device can also realize linked wallpaper display based on the conversion between the three interface states.

[0189] Fig.13 A schematic diagram of three interface state transitions provided for an embodiment of the present application, Fig.14 A schematic diagram of the mapping relationship between the interaction state and the video clip in three interface state scenarios provided in an embodiment of the present application, combined with Fig.13 and Fig.14 As shown, this embodiment includes three interface states: screen off, screen locked, and desktop. This embodiment may include five interaction states: state 1: screen off → screen locked, state 2: screen locked → desktop, state 3: desktop → screen off, state 4: screen off → desktop, state 5: screen locked → screen off. The five interaction states correspond to five trigger signals, each of which may contain one or more. For example, the trigger signal of state 1 is that the power button is pressed, and the trigger signal of state 2 is fingerprint recognition, face recognition, or password input. Interaction state 1 and interaction state 5 share video clip 1, corresponding to forward playback and reverse playback, respectively. Interaction state 3 and interaction state 4 share video clip 3, corresponding to forward playback and reverse playback, respectively.

[0190] In some embodiments, the electronic device can also implement linked wallpaper display based on the conversion between two interface states.

[0191] Fig.15 Two interface state transition diagrams provided for an embodiment of the present application, Fig.16 A schematic diagram of the mapping relationship between the interaction state and the video clip in two interface state scenarios provided in an embodiment of the present application, combined with Fig.15 and Fig.16 As shown, this embodiment includes two interface states: lock screen and desktop. This embodiment may include one interactive state: State 1: lock screen → desktop. Interactive state 1 starts from the lock screen interface, and after receiving a signal of fingerprint recognition, face recognition or correct password input, video clip 1 is played in sequence, and the video playback ends and stays at the video frame of the desktop state.

[0192] Fig.17 A schematic diagram of the structure of an electronic device provided for one embodiment of the present application.

[0193] Reference Fig.17 As shown, the electronic device may include a processor 1701 and a memory 1702, wherein the memory 1702 is used to store at least one instruction, and when the instruction is loaded and executed by the processor 1701, the wallpaper display method provided in any embodiment of the present application is implemented. In one embodiment, Fig.17 The hardware and software structure of the electronic device in the embodiment shown can be Figure 1 and Figure 2 The electronic device 100 provided in the illustrated embodiment has the same hardware and software structures or types.

[0194] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the wallpaper display method provided in any embodiment of the present application is implemented.

[0195] An embodiment of the present application also provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the wallpaper display method provided in any embodiment of the present application.

[0196] It should be noted that the terminals involved in the embodiments of the present application may include but are not limited to personal computers (PCs), personal digital assistants (PDAs), wireless handheld devices, tablet computers, mobile phones, MP3 players, MP4 players, etc.

[0197] It is understandable that the application may be an application program (naturalApp) installed on the terminal, or may also be a web page program (webApp) of a browser on the terminal, and this embodiment of the present application does not limit this.

[0198] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0199] In the several embodiments provided in the present application, it should be understood that the disclosed systems, 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 units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, 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 an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

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

[0201] 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 hardware plus software functional units.

[0202] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (Processor) to perform some 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 (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

[0203] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

[0204] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A wallpaper display method, characterized in that: Applied to electronic equipment, the method comprises: Acquire a first signal, determine a current interaction state according to the first signal in a current interface state, and determine a corresponding target video segment according to the current interaction state; Play the target video clip; and After the target video clip is played, the target interface is displayed according to the target interface state.

2. The method according to claim 1, characterized in that: The current interface state includes at least two of the following: Black screen, off screen, lock screen and desktop.

3. The method according to claim 1, characterized in that The first signal includes: a user interaction signal or a display timeout signal; The user interaction signal includes looking at, clicking to touch, lifting to wake up, pressing the power button, successful fingerprint recognition unlocking, successful face recognition unlocking or successful password unlocking; the display timeout signal may include a screen off interface display timeout signal, a lock screen interface display timeout signal or a desktop display timeout signal.

4. The method according to claim 1, characterized in that: The current interaction state includes: black screen converting to screen off, black screen converting to desktop, screen off converting to locked screen, locked screen converting to desktop, screen off converting to desktop, lock screen converting to screen off, desktop converting to screen off, or screen off converting to black screen.

5. The method according to claim 4, characterized in that Determining the corresponding target video segment according to the current interaction state includes: The scene of screen off turning into black screen and the scene of black screen turning into screen off share the same first video segment, and the scene of screen off turning into black screen is configured to be played forward, and the scene of black screen turning into screen off is configured to be played backward; The scene of the screen off being converted to the lock screen and the scene of the lock screen being converted to the screen off being converted share the second video clip, and the scene of the screen off being converted to the lock screen is configured to be played forward, and the scene of the lock screen being converted to the screen off being converted is configured to be played reversely; The desktop conversion to screen off scene and the screen off conversion to desktop scene share the third video clip, and the desktop conversion to screen off scene is configured to be played forward, and the screen off conversion to desktop scene is configured to be played backward.

6. The method according to claim 1, characterized in that The current interaction state includes: gaze triggers the black screen to convert to the screen off, click and touch trigger the black screen to convert to the screen off, lift and wake up trigger the black screen to convert to the screen off, press the power button to trigger the screen off to convert to the lock screen, press the power button to trigger the lock screen to convert to the screen off, lock screen display timeout triggers the lock screen to convert to the screen off, fingerprint unlock successfully triggers the lock screen to convert to the desktop, face unlock successfully triggers the lock screen to convert to the desktop, password unlock successfully triggers the lock screen to convert to the desktop, press the power button to trigger the desktop to convert to the screen off, desktop display timeout triggers the desktop to convert to the screen off, face unlock successfully triggers the screen off to convert to the desktop, fingerprint unlock successfully triggers the screen off to convert to the desktop, screen off display timeout triggers the screen off to convert to black screen, or fingerprint unlock successfully triggers the black screen to the desktop.

7. The method according to claim 1, characterized in that Playing the target video clip comprises: If the current interactive state does not require the target video segment to be played in reverse, then when playing the target video segment, the play speed of the target video segment is adjusted based on the forward play speed change function.

8. The method according to claim 1, characterized in that Playing the target video clip comprises: If the current interactive state requires the target video segment to be played in reverse, the play speed of the target video segment is adjusted based on the reverse play speed change function when the target video segment is played.

9. The method according to claim 7 or 8, characterized in that: During the process of playing the target video clip, if an interrupt signal is received, the following process is executed: If the electronic device does not support interruption, completing the playback of the target video segment; If the electronic device supports interruption and the electronic device does not support the time compensation terminal, jump to the end frame of the target video segment playback direction and complete the playback of the target video segment; If the electronic device supports interruption and the electronic device supports a time compensation terminal, the playback speed of the remaining part of the target video segment is adjusted based on the interrupt response playback speed change function, and the playback of the target video segment is completed.

10. An electronic device, characterized in that: The electronic device comprises: A processor and a memory, wherein the memory is used to store at least one instruction, and when the instruction is loaded and executed by the processor, the method according to any one of claims 1 to 9 is implemented.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.