A method, device, and computer-readable storage medium for controlling the response of a live wallpaper.

By acquiring and determining the type of touch events through the live wallpaper component, cross-process communication is reduced, which solves the power consumption problem when the live wallpaper responds to touch events, and improves the device's efficiency and user experience.

CN114518831BActive Publication Date: 2026-03-13NUBIA TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-25
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

In existing technologies, dynamic wallpapers suffer from increased power consumption due to frequent cross-process communication when responding to touch events, especially during swiping and touch operations where processor utilization increases significantly.

Method used

By obtaining data on the responsive and non-responsive areas of the current page through the dynamic wallpaper component, the type of touch event can be determined, and desktop components can be called across processes to respond to touch events when necessary, reducing unnecessary cross-process communication.

Benefits of technology

It achieves an efficient dynamic wallpaper response solution, saving resource consumption, improving the user experience of dynamic wallpapers, and reducing device power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114518831B_ABST
    Figure CN114518831B_ABST
Patent Text Reader

Abstract

This invention discloses a dynamic wallpaper response control method, device, and computer-readable storage medium. The method includes: acquiring area data of the current page through a dynamic wallpaper component, wherein the area data includes responsive area data and non-responsive area data; receiving a touch event through the dynamic wallpaper component and determining whether the touch event corresponds to the responsive area data or the non-responsive area data; when the touch event corresponds to the responsive area data, calling a desktop component across processes and responding to the touch event through the desktop component; when the touch event corresponds to the non-responsive area data, responding to the touch event through the dynamic wallpaper component. This achieves an efficient dynamic wallpaper response scheme, saves resource consumption, and enhances the user experience of dynamic wallpapers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of mobile communications, and more particularly to a dynamic wallpaper response control method, device, and computer-readable storage medium. Background Technology

[0002] In current technology, with the continuous development of smart terminal devices, the application of live wallpapers is becoming increasingly widespread. In particular, touch-responsive live wallpapers have emerged. However, determining whether the current touch event belongs to the desktop or the live wallpaper object—that is, whether to respond to the current touch—requires constant cross-process communication with the desktop, requiring the desktop to calculate whether the area is responsive. While this solution appears problem-free, power consumption tests revealed a significant increase in power consumption when the live wallpaper desktop process is swiping. Investigation showed that during touch, the live wallpaper process frequently makes cross-process communication calls to the desktop, causing the desktop to frequently calculate whether the current area is responsive. This indicates a significant increase in processor usage during frequent touches, thus increasing the overall power consumption of mobile phones and other devices. Therefore, a solution that eliminates frequent cross-process communication is urgently needed to mitigate the power consumption problem caused by this frequent cross-process communication. Summary of the Invention

[0003] To address the aforementioned technical deficiencies in the prior art, this invention proposes a dynamic wallpaper response control method, which includes:

[0004] The current page's area data is obtained through the dynamic wallpaper component, wherein the area data includes responsive area data and non-responsive area data.

[0005] The dynamic wallpaper component receives touch events and determines whether the touch event corresponds to the response area data or the non-response area data.

[0006] When the touch event corresponds to the response area data, the desktop component is invoked across processes, and the touch event is responded to by the desktop component.

[0007] When the touch event corresponds to the non-responsive area data, the touch event is responded to by the live wallpaper component.

[0008] Optionally, the step of obtaining the current page's region data through the dynamic wallpaper component includes responsive region data and non-responsive region data, including:

[0009] When the live wallpaper component is running in the foreground, the desktop component is invoked across processes.

[0010] The desktop component obtains the responsive area data and the non-responsive area data of the current page.

[0011] Optionally, the step of obtaining the current page's region data through the dynamic wallpaper component, wherein the region data includes responsive region data and non-responsive region data, further includes:

[0012] When the live wallpaper component is running in the foreground, the desktop component monitors the area update data of the current page.

[0013] When it is determined that the updated data of the region meets the preset update conditions, the desktop component transmits the updated data of the responding region and the data of the non-responding region to the dynamic wallpaper component.

[0014] Optionally, the step of receiving a touch event by the live wallpaper component and determining whether the touch event corresponds to the response area data or the non-response area data includes:

[0015] The response area data and the non-response area data are parsed to generate a correspondence between the current page and the touch response range of the current page.

[0016] Based on the aforementioned correspondence, path type data is established for each page and its corresponding touch response range.

[0017] Optionally, the step of receiving a touch event by the live wallpaper component and determining whether the touch event corresponds to the response area data or the non-response area data further includes:

[0018] Obtain the touch location of the touch event.

[0019] The path type data is used to determine whether the touch location corresponds to the response area data or the non-response area data.

[0020] Optionally, when the touch event corresponds to the response area data, the step of invoking the desktop component across processes and responding to the touch event through the desktop component includes:

[0021] The desktop component responds to the touch event and obtains the updated area data after the touch event response through the desktop component.

[0022] The desktop component transmits the updated responsive area data and the non-responsive area data to the live wallpaper component.

[0023] Optionally, responding to the touch event via the live wallpaper component when the touch event corresponds to the non-responsive area data includes:

[0024] Obtain the touch position of the touch event.

[0025] When the path type data determines that the touch position corresponds to the non-response area data, the dynamic wallpaper operation corresponding to the touch position is executed through the dynamic wallpaper component.

[0026] Optionally, the present invention further includes:

[0027] The distribution time of the touch events corresponding to the response area data within the first preset time period is acquired and learned.

[0028] Within the second preset time period, the desktop component is invoked across processes according to the distributed time, and the touch event is responded to through the desktop component.

[0029] The present invention also proposes a dynamic wallpaper response control device, the device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the dynamic wallpaper response control method as described in any of the preceding claims.

[0030] The present invention also proposes a computer-readable storage medium storing a live wallpaper response control program, which, when executed by a processor, implements the steps of the live wallpaper response control method as described in any of the preceding claims.

[0031] The present invention provides a dynamic wallpaper response control method, device, and computer-readable storage medium. It acquires area data of the current page through a dynamic wallpaper component, wherein the area data includes responsive area data and non-responsive area data. The dynamic wallpaper component receives touch events and determines whether the touch event corresponds to the responsive area data or the non-responsive area data. When the touch event corresponds to the responsive area data, a desktop component is invoked across processes, and the desktop component responds to the touch event. When the touch event corresponds to the non-responsive area data, the dynamic wallpaper component responds to the touch event. This achieves an efficient dynamic wallpaper response scheme, saves resource consumption, and enhances the user experience of dynamic wallpapers. Attached Figure Description

[0032] The present invention will be further described below with reference to the accompanying drawings and embodiments. In the accompanying drawings:

[0033] Figure 1 This is a schematic diagram of the hardware structure of a mobile terminal according to the present invention;

[0034] Figure 2 This is a communication network system architecture diagram provided by an embodiment of the present invention;

[0035] Figure 3 This is a flowchart of the first embodiment of the dynamic wallpaper response control method of the present invention;

[0036] Figure 4 This is a flowchart of the second embodiment of the dynamic wallpaper response control method of the present invention;

[0037] Figure 5 This is a flowchart of the third embodiment of the dynamic wallpaper response control method of the present invention;

[0038] Figure 6 This is a flowchart of the fourth embodiment of the dynamic wallpaper response control method of the present invention;

[0039] Figure 7 This is a flowchart of the fifth embodiment of the dynamic wallpaper response control method of the present invention;

[0040] Figure 8 This is a flowchart of the sixth embodiment of the dynamic wallpaper response control method of the present invention;

[0041] Figure 9 This is a flowchart of the seventh embodiment of the dynamic wallpaper response control method of the present invention;

[0042] Figure 10 This is a flowchart of the eighth embodiment of the dynamic wallpaper response control method of the present invention. Detailed Implementation

[0043] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.

[0044] In the following description, the use of suffixes such as "module," "part," or "unit" to denote elements is solely for the purpose of illustrative purposes and has no specific meaning in itself. Therefore, "module," "part," or "unit" may be used interchangeably.

[0045] Terminals can be implemented in various forms. For example, the terminals described in this invention may include mobile terminals such as mobile phones, tablets, laptops, handheld computers, personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.

[0046] The following description will use a mobile terminal as an example. Those skilled in the art will understand that, apart from elements specifically designed for mobile purposes, the construction according to embodiments of the present invention can also be applied to fixed-type terminals.

[0047] Please see Figure 1 This is a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of the present invention. The mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an A / V (Audio / Video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111, etc. Those skilled in the art will understand that... Figure 1 The mobile terminal structure shown does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0048] The following is combined Figure 1 A detailed introduction to each component of the mobile terminal:

[0049] The radio frequency unit 101 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink information from the base station and processes it with the processor 110; additionally, it transmits uplink data to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, and a duplexer. Furthermore, the radio frequency unit 101 can also communicate wirelessly with networks and other devices. The aforementioned wireless communications may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution).

[0050] WiFi is a short-range wireless transmission technology. Mobile terminals, through the WiFi module 102, can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access. Although Figure 1 WiFi module 102 is shown, but it is understood that it is not a necessary component of a mobile terminal and can be omitted as needed without changing the nature of the invention.

[0051] The audio output unit 103 can convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into audio signals and output them as sound when the mobile terminal 100 is in call signal receiving mode, call mode, recording mode, voice recognition mode, broadcast receiving mode, etc. Furthermore, the audio output unit 103 can also provide audio output related to specific functions performed by the mobile terminal 100 (e.g., call signal receiving sound, message receiving sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.

[0052] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos acquired by an image capture device (such as a camera) in video capture mode or image capture mode. The processed image frames can be displayed on the display unit 106. The image frames processed by the GPU 1041 can be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) in operating modes such as telephone call mode, recording mode, and voice recognition mode, and can process such sound into audio data. The processed audio (voice) data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 in telephone call mode. The microphone 1042 can implement various types of noise cancellation (or suppression) algorithms to eliminate (or suppress) noise or interference generated during the reception and transmission of audio signals.

[0053] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1061 according to the ambient light level, and the proximity sensor can turn off the display panel 1061 and / or backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used for applications that recognize the phone's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, tapping), etc. Other sensors that may be configured in the phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, will not be described in detail here.

[0054] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0055] User input unit 107 can be used to receive input numerical or character information, and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, user input unit 107 may include touch panel 1071 and other input devices 1072. Touch panel 1071, also known as touch screen, can collect touch operations on or near the user (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near touch panel 1071), and drive corresponding connection devices according to a pre-set program. Touch panel 1071 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, sends it to processor 110, and can receive and execute commands from processor 110. In addition, touch panel 1071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc., without being limited here.

[0056] Furthermore, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of touch event. Subsequently, the processor 110 provides corresponding visual output on the display panel 1061 based on the type of touch event. Although in Figure 1 In this embodiment, the touch panel 1071 and the display panel 1061 are two independent components to realize the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to realize the input and output functions of the mobile terminal. The specific implementation is not limited here.

[0057] Interface unit 108 serves as an interface through which at least one external device can connect to mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, and so on. Interface unit 108 may be used to receive input (e.g., data, power, etc.) from the external device and transmit the received input to one or more elements within mobile terminal 100, or it may be used to transmit data between mobile terminal 100 and the external device.

[0058] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback, image playback, etc.), etc.; the data storage area may store data created based on the use of the mobile phone (such as audio data, phonebook, etc.). Furthermore, the memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0059] The processor 110 is the control center of the mobile terminal. It connects various parts of the mobile terminal via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 109, and by calling data stored in the memory 109, it performs various functions and processes data of the mobile terminal, thereby providing overall monitoring of the mobile terminal. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 110.

[0060] The mobile terminal 100 may also include a power supply 111 (such as a battery) that supplies power to various components. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.

[0061] although Figure 1 As not shown, the mobile terminal 100 may also include a Bluetooth module, etc., which will not be described in detail here.

[0062] To facilitate understanding of the embodiments of the present invention, the communication network system on which the mobile terminal of the present invention is based is described below.

[0063] Please see Figure 2 , Figure 2 This invention provides a communication network system architecture diagram. The communication network system is an LTE system based on the universal mobile communication technology. The LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and the operator's IP services 204, which are connected in sequence.

[0064] Specifically, UE201 can be the aforementioned terminal 100, which will not be elaborated here.

[0065] E-UTRAN202 includes eNodeB2021 and other eNodeB2022s. Among them, eNodeB2021 can connect to other eNodeB2022s via backhaul (e.g., X2 interface), and eNodeB2021 connects to EPC203. eNodeB2021 can provide UE201 with access to EPC203.

[0066] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gateway) 2034, PGW (Packet Data Network Gateway) 2035, and PCRF (Policy and Charging Rules Function) 2036, etc. Among them, MME2031 is the control node that handles signaling between UE201 and EPC203, providing bearer and connection management. HSS2032 provides registers to manage functions such as the Home Location Register (not shown in the diagram) and stores user-specific information such as service characteristics and data rates. All user data can be sent through SGW2034. PGW2035 can provide UE 201 IP address allocation and other functions. PCRF2036 is the policy and charging control decision point for service data flow and IP bearer resources. It selects and provides available policy and charging control decisions for the policy and charging enforcement function unit (not shown in the figure).

[0067] IP services 204 may include the Internet, intranet, IMS (IP Multimedia Subsystem), or other IP services.

[0068] Although the above description uses the LTE system as an example, those skilled in the art should understand that the present invention is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems, etc., which are not limited here.

[0069] Based on the aforementioned mobile terminal hardware structure and communication network system, various embodiments of the method of the present invention are proposed.

[0070] Example 1

[0071] Figure 3 This is a flowchart of the first embodiment of the dynamic wallpaper response control method of the present invention. A dynamic wallpaper response control method, the method comprising:

[0072] S1. Obtain the area data of the current page through the dynamic wallpaper component, wherein the area data includes responsive area data and non-responsive area data.

[0073] S2. The dynamic wallpaper component receives a touch event and determines whether the touch event corresponds to the response area data or the non-response area data.

[0074] S3. When the touch event corresponds to the response area data, the desktop component is invoked across processes, and the touch event is responded to by the desktop component.

[0075] S4. When the touch event corresponds to the non-response area data, the touch event is responded to by the live wallpaper component.

[0076] In this embodiment, the static desktop data acquisition involves the Red Devil Live Wallpaper initiating a cross-process call to retrieve the data. The returned data is a collection containing the areas on the desktop where the live wallpaper component can respond to touch, as well as the current desktop page. These areas use closed Path types. When the live wallpaper component receives a touch event, it only needs to match the corresponding Path area based on the current desktop page, and then determine if the touch coordinates are within the Path type data to decide whether to respond. This completely avoids the previous method of frequently calling the desktop across processes for every touch event, relying on the desktop to perform the calculations.

[0077] In this embodiment, the desktop response is implemented under the condition that everything remains unchanged, that is, the desktop page is not scrolled and the desktop icons do not change position. However, these contents of the desktop can actually change. Therefore, it is also necessary to consider data notification changes in dynamic situations. In this embodiment, the desktop notifies the live wallpaper component that if the desktop data changes, the live wallpaper component needs to re-acquire the data. The notification triggering method is controlled by the desktop, because the desktop needs to check whether the layout of its current page has changed and whether various pages have been scrolled. Once these conditions are met, it notifies the live wallpaper component through cross-process communication, and the live wallpaper component then re-acquires the static data from the first part.

[0078] In this embodiment, a new approach is adopted that changes the previous method of cross-process communication for each touch. The desktop passes its touchable area to the live wallpaper component all at once. After obtaining the touchable area, the live wallpaper component can easily calculate whether it can respond to touch.

[0079] As can be seen, this embodiment can solve the problem of excessive power consumption caused by frequent desktop computing due to frequent touches. With this improvement, it only needs to be obtained once when there are layout and page changes on the desktop. The frequency of such changes is very small, so the calls will be few, thereby greatly reducing desktop power consumption.

[0080] The beneficial effect of this embodiment is that it obtains the current page's area data through the dynamic wallpaper component, wherein the area data includes responsive area data and non-responsive area data; the dynamic wallpaper component receives touch events and determines whether the touch event corresponds to the responsive area data or the non-responsive area data; when the touch event corresponds to the responsive area data, a desktop component is invoked across processes, and the desktop component responds to the touch event; when the touch event corresponds to the non-responsive area data, the dynamic wallpaper component responds to the touch event. This achieves an efficient dynamic wallpaper response scheme, saves resource consumption, and enhances the user experience of dynamic wallpapers.

[0081] Example 2

[0082] Figure 4 This is a flowchart of a second embodiment of the dynamic wallpaper response control method of the present invention. Based on the above embodiment, the step of obtaining the area data of the current page through the dynamic wallpaper component, wherein the area data includes responsive area data and non-responsive area data, including:

[0083] S11. When the live wallpaper component is in the foreground running state, the desktop component is called across processes.

[0084] S12. Obtain the responsive area data and the non-responsive area data of the current page through the desktop component.

[0085] Optionally, in this embodiment, when returning to the live wallpaper interface from any interface, a data update operation for this area is triggered.

[0086] The beneficial effect of this embodiment is that, by calling the desktop component across processes when the live wallpaper component is in the foreground, and obtaining the responsive area data and non-responsive area data of the current page through the desktop component, an efficient live wallpaper response scheme is achieved, saving resource consumption and enhancing the user experience of live wallpapers.

[0087] Example 3

[0088] Figure 5 This is a flowchart of the third embodiment of the dynamic wallpaper response control method of the present invention. Based on the above embodiment, the step of obtaining the area data of the current page through the dynamic wallpaper component, wherein the area data includes responsive area data and non-responsive area data, and further includes:

[0089] S13. When the live wallpaper component is in the foreground running state, the desktop component monitors the area update data of the current page.

[0090] S14. When it is determined that the updated data of the region meets the preset update conditions, the desktop component transmits the updated response region data and the non-response region data to the dynamic wallpaper component.

[0091] Optionally, in this embodiment, when the updated data after the desktop swipe switch is small or essentially unchanged (e.g., switching from a full-screen icon page to another full-screen icon page), there is no need to transmit the update.

[0092] The beneficial effect of this embodiment is that, when the live wallpaper component is in the foreground running state, the desktop component monitors the area update data of the current page; when it is determined that the area update data meets the preset update conditions, the desktop component transmits the updated responsive area data and the non-responsive area data to the live wallpaper component. This achieves an efficient live wallpaper response scheme, saves resource consumption, and enhances the user experience of live wallpapers.

[0093] Example 4

[0094] Figure 6 This is a flowchart of the fourth embodiment of the dynamic wallpaper response control method of the present invention. Based on the above embodiment, the step of receiving a touch event by the dynamic wallpaper component and determining whether the touch event corresponds to the response area data or the non-response area data includes:

[0095] S21. Parse the response area data and the non-response area data to generate a correspondence between the current page and the touch response range of the current page.

[0096] S22. Establish path type data for each page and its corresponding touch response range based on the correspondence.

[0097] Optionally, in this embodiment, the correspondence between the current page and the touch response range of the current page does not distinguish between the objects themselves. For example, there are several icons in the upper left corner of one page, which together constitute a desktop response area, while there is a desktop widget in the same upper left corner of another page, which also constitutes a desktop response area. Thus, the sliding of these two pages does not affect the correspondence between the current page and the touch response range of the current page.

[0098] The beneficial effect of this embodiment is that by parsing the response area data and the non-response area data, a correspondence between the current page and the touch response range of the current page is generated; and path type data between each page and its corresponding touch response range is established based on the correspondence. This achieves an efficient dynamic wallpaper response scheme, saves resource consumption, and enhances the user experience of dynamic wallpapers.

[0099] Example 5

[0100] Figure 7 This is a flowchart of the fifth embodiment of the dynamic wallpaper response control method of the present invention. Based on the above embodiment, the step of receiving a touch event by the dynamic wallpaper component and determining whether the touch event corresponds to the response area data or the non-response area data further includes:

[0101] S23. Obtain the touch position of the touch event.

[0102] S24. Determine whether the touch location corresponds to the response area data or the non-response area data based on the path type data.

[0103] The beneficial effect of this embodiment is that by obtaining the touch position of the touch event and determining whether the touch position corresponds to the response area data or the non-response area data through the path type data, an efficient dynamic wallpaper response scheme is achieved, saving resource consumption and enhancing the user experience of dynamic wallpapers.

[0104] Example 6

[0105] Figure 8 This is a flowchart of the sixth embodiment of the dynamic wallpaper response control method of the present invention. Based on the above embodiment, when the touch event corresponds to the response area data, the step of calling the desktop component across processes and responding to the touch event through the desktop component includes:

[0106] S31. Respond to the touch event through the desktop component, and obtain the area update data after the touch event response through the desktop component.

[0107] S32, The desktop component transmits the updated response area data and the non-response area data to the live wallpaper component.

[0108] The beneficial effect of this embodiment is that the desktop component responds to the touch event and obtains the updated area data after the touch event response through the desktop component; the updated response area data and non-response area data are then transmitted from the desktop component to the live wallpaper component. This achieves an efficient live wallpaper response scheme, saves resource consumption, and enhances the user experience of live wallpapers.

[0109] Example 7

[0110] Figure 9 This is a flowchart of the seventh embodiment of the dynamic wallpaper response control method of the present invention. Based on the above embodiment, the step of responding to the touch event through the dynamic wallpaper component when the touch event corresponds to the non-response area data includes:

[0111] S41. Obtain the touch position of the touch event.

[0112] S42. When it is determined through the path type data that the touch position corresponds to the non-response area data, the dynamic wallpaper operation corresponding to the touch position is executed through the dynamic wallpaper component.

[0113] The beneficial effect of this embodiment is that, by acquiring the touch position of the touch event and determining, through the path type data, that the touch position corresponds to the non-response area data, the dynamic wallpaper component executes the dynamic wallpaper operation corresponding to the touch position. This achieves an efficient dynamic wallpaper response scheme, saves resource consumption, and enhances the user experience of dynamic wallpapers.

[0114] Example 8

[0115] Figure 10 This is a flowchart of the eighth embodiment of the dynamic wallpaper response control method of the present invention. Based on the above embodiment, the present invention further includes:

[0116] S51. Obtain and learn the distribution time of the touch events corresponding to the response area data within the first preset time period.

[0117] S52. During the second preset time period, the desktop component is invoked across processes according to the distributed time, and the touch event is responded to through the desktop component.

[0118] Optionally, in this embodiment, by identifying high-frequency desktop operation periods and responding directly through the desktop during those periods, the response speed of the desktop is improved with a slight increase in power consumption, further enhancing the user's desktop touch experience.

[0119] The beneficial effect of this embodiment is that by acquiring and learning the distribution time of the touch events corresponding to the response area data within a first preset time period; and within a second preset time period, calling the desktop component across processes according to the distribution time, and responding to the touch events through the desktop component, an efficient dynamic wallpaper response scheme is achieved, saving resource consumption and enhancing the user experience of dynamic wallpapers.

[0120] Example 9

[0121] Based on the above embodiments, the present invention also proposes a dynamic wallpaper response control device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps of the dynamic wallpaper response control method as described in any of the above embodiments.

[0122] It should be noted that the above-described device embodiments and method embodiments belong to the same concept. The specific implementation process can be found in the method embodiments, and the technical features in the method embodiments are also applicable to the device embodiments, which will not be repeated here.

[0123] Example 10

[0124] Based on the above embodiments, the present invention also proposes a computer-readable storage medium storing a live wallpaper response control program, which, when executed by a processor, implements the steps of the live wallpaper response control method as described in any of the above embodiments.

[0125] It should be noted that the above-described medium embodiments and method embodiments belong to the same concept. The specific implementation process can be found in the method embodiments, and the technical features in the method embodiments are also applicable to the medium embodiments, which will not be repeated here.

[0126] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0127] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0128] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0129] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.

Claims

1. A dynamic wallpaper response control method, characterized by, The method comprises: obtaining region data of a current page by a dynamic wallpaper component, wherein the region data comprises responsive region data and non-responsive region data; receiving a touch event by the dynamic wallpaper component, and determining whether the touch event corresponds to the responsive region data or the non-responsive region data; when the touch event corresponds to the responsive region data, calling a desktop component through a cross-process, and responding to the touch event through the desktop component; when the touch event corresponds to the non-responsive region data, responding to the touch event through the dynamic wallpaper component; the method of obtaining region data of a current page by a dynamic wallpaper component, wherein the region data comprises responsive region data and non-responsive region data, comprises: when the dynamic wallpaper component is in a foreground running state, calling the desktop component through a cross-process; obtaining the responsive region data and the non-responsive region data of the current page by the desktop component; when the dynamic wallpaper component is in a foreground running state, monitoring region update data of the current page by the desktop component; when it is determined that the region update data meets a preset update condition, delivering the updated responsive region data and the non-responsive region data to the dynamic wallpaper component by the desktop component; the method of receiving a touch event by the dynamic wallpaper component, and determining whether the touch event corresponds to the responsive region data or the non-responsive region data, comprises: analyzing the responsive region data and the non-responsive region data to generate a correspondence between a current page and a touch response range of the current page; establishing path type data of each page and a corresponding touch response range according to the correspondence; obtaining a touch position of the touch event; determining, through the path type data, whether the touch position corresponds to the responsive region data or the non-responsive region data; the method of, when the touch event corresponds to the responsive region data, calling a desktop component through a cross-process, and responding to the touch event through the desktop component, comprises: responding to the touch event through the desktop component, and obtaining region update data after the touch event is responded to by the desktop component; delivering the updated responsive region data and the non-responsive region data to the dynamic wallpaper component by the desktop component; the method of, when the touch event corresponds to the non-responsive region data, responding to the touch event through the dynamic wallpaper component, comprises: obtaining the touch position of the touch event; when the touch position corresponds to the non-responsive region data according to the path type data, performing a dynamic wallpaper operation corresponding to the touch position through the dynamic wallpaper component; the method further comprises: obtaining and learning a distribution time of the touch event corresponding to the responsive region data within a first preset period of time; within a second preset period of time, calling the desktop component through a cross-process according to the distribution time, and responding to the touch event through the desktop component. 2.A dynamic wallpaper response control device, characterized by, The device comprises a memory, a processor, and a computer program stored on the memory and executable on the processor, which, when executed by the processor, implements the steps of the dynamic wallpaper response control method according to claim 1.

3. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a dynamic wallpaper response control program, which, when executed by a processor, implements the steps of the dynamic wallpaper response control method according to claim 1.

Citation Information

Patent Citations

  • Desktop display control method and device, terminal and storage medium

    CN113010056A