CN116743908B - Wallpaper display method and related device - Google Patents

Wallpaper display method and related device Download PDF

Info

Publication number
CN116743908B
CN116743908B CN202211118962.8A CN202211118962A CN116743908B CN 116743908 B CN116743908 B CN 116743908B CN 202211118962 A CN202211118962 A CN 202211118962A CN 116743908 B CN116743908 B CN 116743908B
Authority
CN
China
Prior art keywords
wallpaper
service
terminal equipment
resource
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211118962.8A
Other languages
Chinese (zh)
Other versions
CN116743908A (en
Inventor
邱琛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211118962.8A priority Critical patent/CN116743908B/en
Publication of CN116743908A publication Critical patent/CN116743908A/en
Application granted granted Critical
Publication of CN116743908B publication Critical patent/CN116743908B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the application provides a wallpaper display method and a related device. The method comprises the following steps: the terminal equipment displays the first wallpaper based on the first wallpaper service; the terminal equipment receives a first operation aiming at the identification of the second wallpaper; responding to the first operation, and obtaining an identifier of a wallpaper service corresponding to the second wallpaper by the terminal equipment; and when the wallpaper service corresponding to the first wallpaper service and the second wallpaper service are the same service, the terminal equipment realizes the display of the second wallpaper based on the first wallpaper service. Therefore, when the wallpaper is changed, the wallpaper service does not need to be customized for each wallpaper, the development process is simplified, the labor cost is saved, and the risk is reduced to a certain extent.

Description

Wallpaper display method and related device
Technical Field
The application relates to the technical field of terminals, in particular to a wallpaper display method and a related device.
Background
With the development of terminal technology, the types and the quantity of wallpaper supported by the terminal are increasing, and in order to meet the diversity requirements of users, the wallpaper supported by the terminal is developed from static picture wallpaper to dynamic video wallpaper.
In a possible implementation, when video wallpaper is developed, each set of video wallpaper needs to customize wallpaper service in a software framework of a terminal, and when a user selects to use a certain video wallpaper, terminal equipment needs to select the wallpaper service corresponding to the video wallpaper to assist in realizing the display of the video wallpaper.
However, in the implementation, the wallpaper service is high in maintenance difficulty, large in project occupation space, low in wallpaper development efficiency and high in labor cost.
Disclosure of Invention
The embodiment of the application provides a wallpaper display method and a related device, and the method provides a wallpaper framework which can adapt wallpaper services for a theme pack of wallpaper according to the theme pack, can also support automatic switching to corresponding wallpaper services after wallpaper type change when a user changes the wallpaper to change the wallpaper type, and can provide system capabilities of screen locking transparency and the like for the wallpaper configuration, so that development flow can be simplified, and labor cost can be saved.
In a first aspect, an embodiment of the present application provides a wallpaper display method, including:
the terminal equipment displays the first wallpaper based on the first wallpaper service; the terminal equipment receives a first operation aiming at the identification of the second wallpaper; responding to the first operation, and obtaining an identifier of a wallpaper service corresponding to the second wallpaper by the terminal equipment; and when the wallpaper service corresponding to the first wallpaper service and the second wallpaper service are the same service, the terminal equipment realizes the display of the second wallpaper based on the first wallpaper service. Thus, when the wallpaper is changed, the wallpaper service corresponding to the changed wallpaper is the same as the wallpaper service operated by the terminal equipment before the change, the terminal equipment can display the changed wallpaper based on the wallpaper service operated by the terminal equipment before the change, and the wallpaper service does not need to be customized for each wallpaper, so that the development process is simplified, and the labor cost is saved.
In a possible implementation manner, the terminal device obtains an identifier of a wallpaper service corresponding to the second wallpaper, including: the terminal equipment acquires a theme pack of the second wallpaper; the theme pack of the second wallpaper is configured with an identifier of a wallpaper service corresponding to the second wallpaper; and the terminal equipment analyzes the theme pack of the second wallpaper to obtain the identifier of the wallpaper service corresponding to the second wallpaper. Thus, the terminal equipment can quickly and accurately obtain the identification of the wallpaper service corresponding to the wallpaper by analyzing the theme pack of the wallpaper.
In a possible implementation manner, the theme pack of the second wallpaper further comprises wallpaper resources of the second wallpaper, and a configuration file of the second wallpaper; wallpaper resources comprise videos and pictures, and configuration files comprise the number of frames of the wallpaper resources and display related parameters of the wallpaper resources; the terminal equipment realizes the display of the second wallpaper based on the first wallpaper service, and comprises the following steps: the terminal equipment updates the wallpaper resource in the first wallpaper service according to the configuration file of the second wallpaper and the wallpaper resource of the second wallpaper; and the terminal equipment displays the second wallpaper based on the updated wallpaper resource in the first wallpaper service. Therefore, under the conditions that the wallpaper is changed and the wallpaper service corresponding to the wallpaper is unchanged, the terminal equipment can display the changed wallpaper based on the original wallpaper service by updating the wallpaper resource, so that the labor cost is saved, and the wallpaper development efficiency is improved.
In one possible implementation, the display related parameter includes a dark or light mode; the terminal equipment updates the wallpaper resource in the first wallpaper service according to the configuration file of the second wallpaper and the wallpaper resource of the second wallpaper, and the method comprises the following steps: when the second wallpaper corresponds to the dark color mode, the terminal equipment acquires the wallpaper resource corresponding to the dark color mode from the wallpaper resource of the second wallpaper, and updates the wallpaper resource in the first wallpaper service to the wallpaper resource corresponding to the dark color mode of the second wallpaper; or when the second wallpaper corresponds to the light-color mode, the terminal equipment acquires the wallpaper resource corresponding to the light-color mode from the wallpaper resource of the second wallpaper, and updates the wallpaper resource in the first wallpaper service to the wallpaper resource corresponding to the light-color mode of the second wallpaper. In this way, the terminal equipment can update wallpaper resources according to the configuration files and the resources of the wallpaper based on the display related parameters, so that the wallpaper service is more intelligent, and the interaction capability with a user is enhanced.
In a possible implementation manner, before updating the wallpaper resource in the first wallpaper service according to the wallpaper resource of the second wallpaper, the terminal device further includes: the folded wallpaper framework FWK of the application framework layer of the terminal device sends an android wallpaper re-request android wallpaper reapply instruction to the first wallpaper service in the application package APK of the application layer. Therefore, under the conditions that the wallpaper is changed and the corresponding wallpaper service is unchanged, the terminal equipment can instruct the wallpaper service to update the wallpaper resource and configuration by sending android wallpaper reapply instructions, so that the labor cost is saved and the wallpaper development efficiency is improved.
In a possible implementation manner, the method further includes: when the terminal equipment supports the screen locking transparent display, the terminal equipment copies the picture in the wallpaper resource of the second wallpaper to the screen locking display related module. Thus, the terminal equipment can provide a dynamic screen locking transparent scene, so that the wallpaper service is more interesting.
In a possible implementation manner, the method further includes: the terminal equipment receives a second operation aiming at the identification of the third wallpaper; responding to the second operation, and obtaining the identification of the wallpaper service corresponding to the third wallpaper by the terminal equipment; when the wallpaper service corresponding to the first wallpaper service and the third wallpaper service are different services, the terminal equipment starts a second wallpaper service, and the second wallpaper service is the wallpaper service corresponding to the third wallpaper; and the terminal equipment realizes the display of the third wallpaper based on the second wallpaper service. Thus, when the wallpaper is changed, the wallpaper service corresponding to the changed wallpaper is different from the wallpaper service operated by the terminal equipment before the change, the terminal equipment can start the wallpaper service corresponding to the changed wallpaper, and the changed wallpaper is displayed based on the wallpaper service corresponding to the changed wallpaper, so that the wallpaper service does not need to be customized for each wallpaper, the development process is simplified, and the labor cost is saved.
In a possible implementation manner, the terminal device realizes the display of the third wallpaper based on the second wallpaper service, and includes: the terminal equipment registers and monitors a dark color mode or a light color mode based on the second wallpaper service; the terminal equipment analyzes the theme pack of the third wallpaper; the theme pack of the third wallpaper comprises wallpaper resources of the third wallpaper and configuration files of the third wallpaper; the terminal equipment writes the wallpaper resource into the second wallpaper service according to the configuration file of the third wallpaper and the wallpaper resource of the third wallpaper; and the terminal equipment displays the third wallpaper based on the wallpaper resource written in the second wallpaper service. Thus, the terminal equipment can actively write the wallpaper resources and the wallpaper configuration files corresponding to the changed wallpaper into the wallpaper service corresponding to the changed wallpaper, and the terminal equipment displays the changed wallpaper based on the written wallpaper resources and configuration files, so that the interactivity of the wallpaper and the user operation can be enhanced, and the labor cost is saved.
In a possible implementation manner, the writing, by the terminal device, of the wallpaper resource into the second wallpaper service according to the configuration file of the third wallpaper and the wallpaper resource of the third wallpaper, includes: when the third wallpaper corresponds to the dark color mode, the terminal equipment acquires the wallpaper resource corresponding to the dark color mode from the wallpaper resource of the third wallpaper, initializes the wallpaper playing realization strategy to a strategy of playing according to frames, and writes the wallpaper resource corresponding to the dark color mode of the third wallpaper into the second wallpaper service; or when the third wallpaper corresponds to the light-color mode, the terminal equipment acquires the wallpaper resource corresponding to the light-color mode from the wallpaper resource of the third wallpaper, initializes the wallpaper playing realization strategy to a strategy of playing according to frames, and writes the wallpaper resource corresponding to the light-color mode of the third wallpaper into the second wallpaper service. In this way, the terminal equipment can update wallpaper resources according to the configuration files and the resources of the wallpaper based on the display related parameters, so that the wallpaper service is more intelligent, and the interaction capability with a user is enhanced.
In a possible implementation manner, the method further includes: when the system version of the terminal equipment is larger than or equal to the preset version, the terminal equipment acquires wallpaper resources of the third wallpaper from the database; or when the system version of the terminal equipment is smaller than the preset version, the terminal equipment acquires wallpaper resources of the third wallpaper from the metadata meta data. Therefore, the terminal equipment with the system version smaller than the preset version can be compatible, and the use experience of a user is improved.
In a possible implementation manner, the method further includes: when the terminal equipment supports the screen-off display AOD, the terminal equipment configures the animation duration, the AOD style and the screen-locking picture for the third wallpaper. Therefore, the display effect of the super wallpaper is richer, interesting and personalized by carrying out relevant dynamic effect configuration on the super wallpaper.
In a second aspect, embodiments of the present application provide a wallpaper display device. The wallpaper display device can be a terminal device, or can be a chip or a chip system in the terminal device. The wallpaper display device may include a processing unit and a display unit. The processing unit is configured to implement the first aspect or any method related to processing in any possible implementation manner of the first aspect. When the wallpaper display device is a terminal device, the processing unit may be a processor. The display unit is used for supporting the wallpaper display device to display image information and the like. The wallpaper display device may further comprise a storage unit, which may be a memory. The storage unit is configured to store instructions, and the processing unit executes the instructions stored in the storage unit, so that the terminal device implements a method described in the first aspect or any one of possible implementation manners of the first aspect. When the wallpaper display device is a chip or a system of chips within a terminal device, the processing unit may be a processor. The processing unit executes instructions stored by the storage unit to cause the terminal device to implement a method as described in the first aspect or any one of the possible implementations of the first aspect. The memory unit may be a memory unit (e.g., a register, a cache, etc.) in the chip, or a memory unit (e.g., a read-only memory, a random access memory, etc.) located outside the chip in the terminal device.
The display unit is used for displaying the first wallpaper based on the first wallpaper service; a processing unit for receiving a first operation for identification of a second wallpaper; the processing unit is further used for responding to the first operation and obtaining the identification of the wallpaper service corresponding to the second wallpaper; and the display unit is also used for realizing the display of the second wallpaper based on the first wallpaper service when the first wallpaper service and the wallpaper service corresponding to the second wallpaper are the same service.
In a possible implementation, the processing unit is specifically configured to obtain a theme pack of the second wallpaper; the theme pack of the second wallpaper is configured with an identifier of a wallpaper service corresponding to the second wallpaper; and the processing unit is also used for analyzing the theme pack of the second wallpaper to obtain the identifier of the wallpaper service corresponding to the second wallpaper.
In a possible implementation, the theme pack of the second wallpaper further includes wallpaper resources of the second wallpaper, and a configuration file of the second wallpaper; wallpaper resources comprise videos and pictures, and configuration files comprise the number of frames of the wallpaper resources and display related parameters of the wallpaper resources; the processing unit is also used for updating the wallpaper resource in the first wallpaper service according to the configuration file of the second wallpaper and the wallpaper resource of the second wallpaper; and the display unit is also used for displaying the second wallpaper based on the updated wallpaper resource in the first wallpaper service.
In one possible implementation, the display related parameter includes a dark or light mode; when the second wallpaper corresponds to the dark color mode, the processing unit is specifically configured to acquire a wallpaper resource corresponding to the dark color mode from the wallpaper resources of the second wallpaper, and update the wallpaper resource in the first wallpaper service to be the wallpaper resource corresponding to the dark color mode of the second wallpaper; or when the second wallpaper corresponds to the light-color mode, the processing unit is specifically configured to obtain the wallpaper resource corresponding to the light-color mode from the wallpaper resource of the second wallpaper, and update the wallpaper resource in the first wallpaper service to the wallpaper resource corresponding to the light-color mode of the second wallpaper.
In a possible implementation, before updating the wallpaper resource in the first wallpaper service according to the wallpaper resource of the second wallpaper, the processing unit sends an android wallpaper re-request android wallpaper reapply instruction to the first wallpaper service in the application package APK of the application layer by using the folded wallpaper frame FWK of the application frame layer of the terminal device.
In a possible implementation, when the terminal device supports the lock screen transparent display, the processing unit is further configured to copy the picture in the wallpaper resource of the second wallpaper to the lock screen display related module.
In a possible implementation, the processing unit is further configured to receive a second operation for identification of the third wallpaper; the processing unit is further used for obtaining the identifier of the wallpaper service corresponding to the third wallpaper in response to the second operation; when the wallpaper service corresponding to the first wallpaper service and the third wallpaper service are different services, the processing unit is further used for starting a second wallpaper service, and the second wallpaper service is the wallpaper service corresponding to the third wallpaper; and the display unit is also used for realizing the display of the third wallpaper based on the second wallpaper service.
In a possible implementation, the processing unit is specifically configured to register for listening to a dark mode or a light mode based on the second wallpaper service; the processing unit is also used for analyzing the theme pack of the third wallpaper; the theme pack of the third wallpaper comprises wallpaper resources of the third wallpaper and configuration files of the third wallpaper; the processing unit is further used for writing the wallpaper resource into the second wallpaper service according to the configuration file of the third wallpaper and the wallpaper resource of the third wallpaper; and the display unit is also used for displaying the third wallpaper based on the wallpaper resource written in the second wallpaper service.
In a possible implementation, when the third wallpaper corresponds to the dark mode, the processing unit is specifically configured to obtain a wallpaper resource corresponding to the dark mode from among wallpaper resources of the third wallpaper, initialize a wallpaper playing implementation policy to a policy of playing according to frames, and write the wallpaper resource corresponding to the dark mode of the third wallpaper into the second wallpaper service; or when the third wallpaper corresponds to the light-color mode, the processing unit is specifically configured to acquire the wallpaper resource corresponding to the light-color mode from the wallpaper resource of the third wallpaper, initialize the wallpaper playing implementation policy to be a policy of playing according to frames, and write the wallpaper resource corresponding to the light-color mode of the third wallpaper into the second wallpaper service.
In a possible implementation, when the system version of the terminal device is greater than or equal to the preset version, the processing unit is further configured to obtain a wallpaper resource of the third wallpaper from the database; or when the system version of the terminal equipment is smaller than the preset version, the processing unit is further used for acquiring wallpaper resources of the third wallpaper from the metadata meta data.
In a possible implementation, when the terminal device supports the off-screen display AOD, the processing unit is further configured to configure the animation duration, the AOD style, and the lock screen picture for the third wallpaper.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory, the memory being for storing code instructions, the processor being for executing the code instructions to perform the method described in the first aspect or any one of the possible implementations of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having a computer program stored thereon. The computer program, when executed by a processor, implements a method as in the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product comprising a computer program which, when run, causes a computer to perform the method as in the first aspect.
In a sixth aspect, embodiments of the present application provide a chip comprising a processor for invoking a computer program in a memory to perform a method as in the first aspect.
It should be understood that, the second aspect to the sixth aspect of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects obtained by each aspect and the corresponding possible embodiments are similar, and are not repeated.
Drawings
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic software architecture of an electronic device according to an embodiment of the present application;
fig. 4 is an interaction diagram of each module of a specific wallpaper display method according to an embodiment of the present application;
fig. 5 is an interaction diagram of each module of another specific wallpaper display method according to an embodiment of the present application;
fig. 6A is a schematic flow chart of a folded wallpaper display implementation according to an embodiment of the present application;
fig. 6B is a schematic flow chart of a folded wallpaper display control according to an embodiment of the present application;
fig. 7 is a schematic diagram of a wallpaper display implementation flow combined with a screen-off display according to an embodiment of the present application;
Fig. 8 is a flowchart of a wallpaper display method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a wallpaper display device according to an embodiment of the present application;
fig. 10 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a chip according to an embodiment of the present application.
Detailed Description
In order to facilitate the clear description of the technical solutions of the embodiments of the present application, the following simply describes some terms and techniques related to the embodiments of the present application:
1. theme pack: a theme pack is a group of data packs that beautify the system or software interface. In this embodiment, different wallpaper corresponds to different theme packs, and the theme packs may include three main files: livepaper. Xml, livepaper_config. Xml, and resources. Wherein, wallpaper service names are stored in the wallpaper, and the wallpaper service can refer to a service (service) for assisting in realizing wallpaper display and the like; the wallpaper_config.xml has stored therein a configuration file of wallpaper, the configuration file comprising one or more of the following: video frame number, video play speed, video resource pattern in dark mode, video resource pattern in light mode, folding rate of folding wallpaper, off-screen display (always on display, AOD) pattern, etc.; the resources store video and pictures of the video wallpaper in the dark mode and/or video and pictures of the video wallpaper in the light mode.
2. Dynamic wallpaper: the method can be applied to the process from the off-screen state to the on-screen state of the terminal equipment, wherein the dynamic wallpaper can comprise animation, and the animation can be understood as continuous multi-frame pictures. For example, when the mobile phone is awakened from the off-screen state to the on-screen state, the animation in the dynamic wallpaper can be played first, and after the animation is played, the mobile phone displays the desktop content.
3. Folding wallpaper: the folding screen wallpaper can be applied to a folding screen mobile phone, the folding screen wallpaper can comprise multiple frames of pictures, and the playing of the folding wallpaper can be related to the folding angle of the folding screen mobile phone. For example, the angle of the folding screen mobile phone may be a value from 0 degrees to 180 degrees, each folding angle may correspond to a picture in a frame of folding wallpaper, and when the folding angle of the folding screen mobile phone is a, the picture corresponding to the angle a in the folding wallpaper is displayed.
4. Super wallpaper: the method can be applied to display connection among AODs, screen locking interfaces and desktops, and the super wallpaper can comprise multiple sections of animations. For example, when the mobile phone is switched to the screen locking interface from the AOD, a first section of animation in the super wallpaper can be played, when the mobile phone is switched to the desktop from the screen locking interface, a second section of animation in the super wallpaper can be played, and when the mobile phone is switched to the AOD from the desktop, a third section of animation in the super wallpaper can be played. It can be understood that the first segment, the second segment and the third segment only represent three animations, and the three animations may have a linked animation effect, which is not limited to the playing sequence of the animations.
5. Light and dark modes: the light mode (light) and the dark mode (light) are two different display modes, and the two modes mainly relate to the difference of the screen display color and brightness of the terminal device. The light-color mode is suitable for brighter environments, and the screen display in the light-color mode can be lighter in color and brighter in brightness; the dark color mode is suitable for darker environments, and the screen display in the dark color mode can be darker in color and darker in brightness.
6. Other terms
In the embodiments of the present application, the words "first," "second," and the like are used to distinguish between identical or similar items that have substantially the same function and effect. For example, the first chip and the second chip are merely for distinguishing different chips, and the order of the different chips is not limited. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
7. Terminal equipment
The terminal device in the embodiment of the present application may also be any form of electronic device, for example, the electronic device may include a handheld device with an image processing function, an in-vehicle device, and the like. For example, some electronic devices are: a mobile phone, tablet, palm, notebook, mobile internet device (mobile internet device, MID), wearable device, virtual Reality (VR) device, augmented reality (augmented reality, AR) device, wireless terminal in industrial control (industrial control), wireless terminal in unmanned (self driving), wireless terminal in teleoperation (remote medical surgery), wireless terminal in smart grid (smart grid), wireless terminal in transportation security (transportation safety), wireless terminal in smart city (smart city), wireless terminal in smart home (smart home), cellular phone, cordless phone, session initiation protocol (session initiation protocol, SIP) phone, wireless local loop (wireless local loop, WLL) station, personal digital assistant (personal digital assistant, PDA), handheld device with wireless communication function, public computing device or other processing device connected to wireless modem, vehicle-mounted device, wearable device, terminal device in 5G network or evolving land mobile terminal (public land mobile network), and the like, without limiting the examples of this.
By way of example, and not limitation, in embodiments of the present application, the electronic device may also be a wearable device. The wearable device can also be called as a wearable intelligent device, and is a generic name for intelligently designing daily wear by applying wearable technology and developing wearable devices, such as glasses, gloves, watches, clothes, shoes and the like. The wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also can realize a powerful function through software support, data interaction and cloud interaction. The generalized wearable intelligent device includes full functionality, large size, and may not rely on the smart phone to implement complete or partial functionality, such as: smart watches or smart glasses, etc., and focus on only certain types of application functions, and need to be used in combination with other devices, such as smart phones, for example, various smart bracelets, smart jewelry, etc. for physical sign monitoring.
In addition, in the embodiment of the application, the electronic device may also be a terminal device in an internet of things (internet of things, ioT) system, and the IoT is an important component of future information technology development, and the main technical characteristic of the IoT is that the article is connected with a network through a communication technology, so that man-machine interconnection and an intelligent network for internet of things are realized.
The electronic device in the embodiment of the application may also be referred to as: a terminal device, a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent, a user equipment, or the like.
In an embodiment of the present application, the electronic device or each network device includes a hardware layer, an operating system layer running above the hardware layer, and an application layer running above the operating system layer. The hardware layer includes hardware such as a central processing unit (central processing unit, CPU), a memory management unit (memory management unit, MMU), and a memory (also referred to as a main memory). The operating system may be any one or more computer operating systems that implement business processes through processes (processes), such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system. The application layer comprises applications such as a browser, an address book, word processing software, instant messaging software and the like.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application. In the embodiment corresponding to fig. 1, a terminal device is taken as an example of a folding screen mobile phone, and this example does not limit the embodiment of the present application.
As shown by a in fig. 1, wallpaper 101, set application icons 102, and the like may be included on the main interface. When the folding screen mobile phone receives the operation that the user clicks the setting application icon 102, the display interface of the folding screen mobile phone jumps from the main interface to the setting interface, and the setting interface is shown as b in fig. 1. When the folding screen mobile phone receives the operation that the user clicks the desktop and wallpaper setting item 103, the display interface of the folding screen mobile phone jumps from the setting interface to the desktop and wallpaper interface, and the desktop and wallpaper interface is shown as c in fig. 1. When the folding screen mobile phone receives the operation of clicking the theme setting item 104 by the user, the desktop and wallpaper interface jumps to the theme interface, and the theme interface is shown as d in fig. 1.
As indicated by d in fig. 1, a number of preset wallpaper may be included in the theme interface, such as dynamic wallpaper 105 named blooming, dynamic wallpaper 106 named foam, folded wallpaper 107 named meditation, and super wallpaper 108 named extreme. It should be noted that, the above wallpaper is named as an example, and is not meant to limit the embodiments of the present application.
It can be understood that the wallpaper according to the embodiment of the application may include wallpaper displayed on the lock screen interface, and may also include wallpaper displayed on the unlocked main interface. The wallpaper can be picture wallpaper or video wallpaper. The video of the video wallpaper can comprise landscape video, game recording screen, movie fragments and the like, the video of the video wallpaper can be played once or can be circularly played, when one video is played, the video can be switched to the next video for playing according to the sequence of the video in the play list, and the embodiment of the application is not particularly limited to the video.
In some implementations, in the development process of wallpaper, since wallpaper services corresponding to different wallpapers cannot be used universally, each generation of terminal products needs to redevelop the wallpaper, each set of video wallpaper needs to be customized with the wallpaper service, the maintenance difficulty of the wallpaper service and the volume of wallpaper projects are increased, the labor cost is increased, and a certain risk exists.
In view of this, the embodiments of the present application provide a wallpaper display method, which provides a wallpaper frame, and the wallpaper frame can adapt to a theme pack of wallpaper according to the theme pack, and also can support automatic switching to a corresponding wallpaper service after the wallpaper type is changed when a user changes the wallpaper to cause the wallpaper type to change. Therefore, when the wallpaper resource is changed, the wallpaper service does not need to be customized for each wallpaper, the development process is simplified, and the labor cost is saved.
By way of example, fig. 2 shows a schematic structural diagram of the electronic device 100.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it may be called directly from memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques.
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer-executable program code that includes instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The ambient light sensor 180L is used to sense ambient light level. The electronic device 100 may adaptively adjust the brightness of the display 194 based on the perceived ambient light level. In the embodiment of the present application, the dark color mode and the light color mode of the terminal device may be implemented based on the ambient light sensor 180L.
The fingerprint sensor 180H is used to collect a fingerprint. The temperature sensor 180J is for detecting temperature. The touch sensor 180K, also referred to as a "touch device". The bone conduction sensor 180M may acquire a vibration signal.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the invention, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 3 is a schematic software architecture of an electronic device according to an embodiment of the present application. The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages (android application package, APK). As shown in fig. 3, the application package may include applications such as a camera, gallery, calendar, talk, WLAN, bluetooth, video, sms, theme, off-screen display, wallpaper service module, service call module, etc. It is understood that the theme application, the application of the screen-off display, the application of the wallpaper service module, and the application of the service call-up module may exist alone or may be part of any application in the application layer, for example, the wallpaper service module may exist in the theme application, which is not limited in detail in the embodiments of the present application.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 3, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, a wallpaper framework module, a system interface module, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
The wallpaper framework module is used for judging whether the wallpaper service name corresponding to the wallpaper identifier selected by the user is the same as the wallpaper service name corresponding to the currently operated wallpaper service according to the wallpaper identifier selected by the user.
The system interface module is used for reading the wallpaper configuration file stored in the database, judging whether to configure the AOD, lock the screen transparent and the like according to the configuration file.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (media library), three-dimensional graphics processing library (e.g., openGL ES), two-dimensional graphics engine (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
Exemplary, with reference to fig. 3, fig. 4 shows an interaction diagram of modules of a specific wallpaper display method according to an embodiment of the present application. As shown in fig. 4, the specific steps are as follows:
s401, the terminal equipment receives the operation of the user on the theme setting item in the setting application.
The user may operate the theme setting item in the setting application in the manner shown in fig. 1, which is not described herein.
In a possible implementation, the theme setting item may include identifiers of a plurality of wallpapers, and each of the identifiers of the wallpapers may correspond to a theme pack of one of the wallpapers. When the terminal equipment receives the trigger of the user to the identifier of a certain wallpaper, the terminal equipment can acquire the theme pack corresponding to the identifier of the wallpaper based on the service call module. The file format of the theme pack is not specifically limited in this embodiment.
In a possible implementation, the theme pack may be stored in a compressed form, which may save storage space. Of course, the theme pack may also be stored without compression, which is not specifically limited in the embodiments of the present application.
S402, the service calling module decompresses the theme pack to the data/thes/0 catalog to obtain three main files.
Taking the theme pack as an example of compressed storage, the service-invoking module may decompress the theme pack and store the decompressed theme pack in the data/thes/0 directory of the terminal device. The decompressed theme pack may include three main files, i.e., livepaper. Xml, livepaper_config. Xml, and resources.
S403, the service call module analyzes from the livepaper.xml to obtain the wallpaper service name, and starts the service through the wallpaper management service (wallpaper manager service, WMS).
Wherein, the wallpaper service name may include three types: super wallpaper service (dynamic wallpaper service), dynamic wallpaper service (dynamic wallpaper service), folding wallpaper service (foldable wallpaper service). The WMS may start the corresponding wallpaper service according to the parsed wallpaper service name.
For example, the WMS may start the corresponding wallpaper service according to the parsed wallpaper service name based on S404-S406 described below.
S404, the service call module judges whether the wallpaper service names are the same through the WMS.
And the WMS judges whether the wallpaper service name corresponding to the wallpaper identifier selected by the user is the same as the wallpaper service name corresponding to the currently running wallpaper service according to the analyzed wallpaper service name. It is understood that the currently running wallpaper service may refer to a wallpaper service that the terminal device runs when the terminal device receives a trigger of a user for identification of a certain wallpaper.
S405, when the wallpaper service name corresponding to the wallpaper identifier selected by the user and the wallpaper service name corresponding to the current running wallpaper service are the same wallpaper service name, the WMS sends android wallpaper reapply instructions to the APK.
If the wallpaper service name corresponding to the wallpaper identifier selected by the user is the same as the wallpaper service name corresponding to the currently running wallpaper service, the WMS sends android wallpaper reapply instructions to the currently running wallpaper service in the APK. The android wallpaper reapply instruction is used for indicating the wallpaper service to update the wallpaper configuration and the wallpaper resource, and updating the wallpaper configuration and the wallpaper resource into the wallpaper configuration and the wallpaper resource corresponding to the wallpaper identifier selected by the user.
S406, the wallpaper service in the APK receives the instruction.
The running wallpaper service in the APK receives android wallpaper reapply instructions, and based on the instructions, the wallpaper service obtains wallpaper configuration and resources corresponding to the wallpaper identifier selected by the user from the data/thes/0 directory.
S407, updating configuration and resources of the wallpaper service.
In a possible implementation, after the wallpaper service obtains the wallpaper configuration and resources corresponding to the wallpaper identifier selected by the user, the wallpaper configuration and resources are updated in the database.
S408, the StatusBar of the system interface module monitors the database.
The information stored in the database may change due to configuration of wallpaper and resource updates. Changes to the database may be monitored by status bar. In the embodiment of the application, status bar can be understood as the total entry of the SystemUI.
When the status bar monitors that the information stored in the database changes, the status bar can extract the corresponding resource files and configuration files from the database, and configure the corresponding services according to the wallpaper identification selected by the user.
Wherein, the configured content can comprise: AOD-related AOD _switchstyle_name; lock-screen picture lock_image_path; handset mode related new_simple_mode, etc.
S409, the system interface module judges whether the wallpaper service supports the realization of screen locking transparency.
Taking a mobile phone as an example, in some implementations, the mobile phone may support screen locking transparency, which may be understood as: after the mobile phone receives the operation of sliding the lock screen interface by the user, the interface of the mobile phone can display an unlocking interface, the unlocking interface can comprise a pattern unlocking interface, a personal identification number (personal identification number, PIN) unlocking interface, a password unlocking interface and the like, and the background of the unlocking interface can be a fuzzy transparent or semitransparent background.
In this embodiment, the lock screen transparency may be dynamic lock screen transparency. The dynamic screen locking transparency can mean that after the mobile phone receives the operation of sliding the screen locking interface by the user and displays the unlocking interface, the background of the unlocking interface is fuzzy dynamic wallpaper.
Whether the wallpaper service supports the implementation of lock transparency is related to the capability of the terminal device chip, for example, whether lock transparency is enabled may be controlled by a switch for controlling lock transparency. The chips of some terminal devices do not have the capability of supporting screen locking transparency, a default control screen locking transparency switch is closed, and the terminal devices cannot realize screen locking transparency; some terminal equipment's chip possesses the transparent ability of support lock screen, and the transparent switch of default control lock screen opens, and terminal equipment can realize that the lock screen is transparent. Whether the wallpaper service supports implementing lock transparency may also be related to the animation effect supported by the wallpaper. For example, the wallpaper service is two types of wallpapers of dynamic wallpaper service, one wallpaper can support a sliding-up scene realizing screen locking transparency, and the other wallpaper cannot support a sliding-up scene realizing screen locking transparency.
S410, under the condition that the wallpaper service supports screen locking transparency, the system interface module judges whether copying from wallpaper to screen locking is successful.
In a possible implementation, if an error occurs in the IO (Input/Output) stream of the read-write file or there is no picture available for copying in the data/thes/0 directory, a situation from copying the picture from wallpaper to lock screen copy may occur. If the copying of the picture from the wallpaper fails to lock the screen, the effect of screen locking transparency is that the static screen locking transparency is achieved, and the background of the screen locking interface is the static wallpaper.
In a possible implementation, if copying the picture from the wallpaper to the lock screen is successful, the transparency of the picture may be set, for example, the picture is set to 0, and the picture corresponds to a full transparent state; starting a window, carrying out Gaussian blur on the window, covering the window after Gaussian blur on a picture, and covering the picture on wallpaper of an unlocking interface, so that a user can see dynamic wallpaper through the blurred transparent picture, and a dynamic screen locking transparent scene is realized.
S411, under the condition that the picture copying is successful, the AppHandler in the system interface module sends a wallpaper service change new message.
In the embodiment of the application, the AppHandler may be used to transfer data information related to the wallpaper service. According to steps S409-S410, in the case where the wallpaper service support is transparent and the screen locking is successful from the wallpaper service picture to the screen locking, the AppHandler may send a wallpaper service new message, where the wallpaper service change new message is used to notify the SystemUI to run the screen locking related service and update the screen locking interface.
S412, the SystemUI runs the lock screen related service.
The SystemUI may provide a display interface for the system, such as a lock screen interface, a charging interface, a status bar, a navigation bar, a multitasking bar, and the like. The lock screen related service may include: transparent screen locking, dynamic screen locking wallpaper and the like.
In the embodiment of the application, based on the new dynamic wallpaper service change message sent by the AppHandler, the SystemUI can run screen locking services such as screen locking transparency.
It is understood that steps S404-S407 may be performed in synchronization with steps S408-S412, without limiting the order.
Therefore, when the wallpaper service is unchanged, wallpaper resources, configuration and the like are changed, the terminal equipment can display the changed wallpaper based on the wallpaper service running before the wallpaper is changed, the wallpaper service does not need to be changed, the wallpaper development flow is simplified, the wallpaper development efficiency is improved, and the storage space and the labor cost are saved.
Of course, when the user selects a new wallpaper, the wallpaper service may also change, for example, before the user selects a new wallpaper, the wallpaper service operated by the terminal device is dynamic wallpaper, and the wallpaper selected by the user is folded wallpaper or super wallpaper, at which time the wallpaper service changes.
Exemplary, with reference to fig. 3, fig. 5 shows an interaction diagram of modules of another specific wallpaper display method according to an embodiment of the application. As shown in fig. 5, the specific steps are as follows:
S501, the terminal equipment receives the operation of a user on setting the theme setting item in the application.
S502, the service calling module decompresses the theme pack to the data/thes/0 catalog to obtain three main files.
S503, the service call module analyzes from the livepaper. Xml to obtain the wallpaper service name, and the service is started through the WMS.
For example, the WMS may start the corresponding wallpaper service according to the parsed wallpaper service name based on S504-S506 described below.
S504, the service call module judges whether the wallpaper service names are the same through the WMS.
The specific description of steps S501-S504 may refer to the descriptions of steps S401-S404, and will not be repeated here.
S505, when the wallpaper service name corresponding to the wallpaper identifier selected by the user and the wallpaper service name corresponding to the currently operated wallpaper service are different wallpaper service names, WMS binds (bind) the new service.
Because the wallpaper service name corresponding to the wallpaper identifier selected by the user is different from the wallpaper service name corresponding to the currently running wallpaper service, the WMS is ready to start a new wallpaper service, and the new wallpaper service is the wallpaper service corresponding to the wallpaper identifier selected by the user.
S506, the wallpaper service module starts wallpaper service.
The wallpaper service module starts a wallpaper lifecycle by calling the onCreate function, starting a new wallpaper service.
S507, the wallpaper service module monitors the dark/light mode through registration.
Registration mainly includes registration sensors and listeners. The listener may include: a dark-color mode and light-color mode monitor, a user-switched monitor, a simple-mode monitor, a folding angle monitor in a folding wallpaper scene, and the like.
For example, after the wallpaper service module registers the monitor in the dark color mode and the monitor in the light color mode, when the monitor monitors that the display mode of the terminal device is switched from the dark color mode to the light color mode, the wallpaper service is informed to process the event that the dark color mode is switched to the light color mode, and the dark color video resource is updated to the light color video resource.
S508, the wallpaper service module analyzes the livepaper_config.xml.
The wallpaper service module obtains a configuration file stored in the library paper_config.xml according to the library paper_config.xml under the data/thes/0 directory of the current host user, such as video frame number, video playing speed, video resource pattern of dark color mode, video resource pattern of light color mode and the like.
It is to be understood that there is no sequence between the step S508 and the step S509, and the sequence is not limited.
S509, checking the configuration file by the wallpaper service module.
The wallpaper service module checks the accuracy of the configuration file obtained by analysis and judges whether the configuration file is abnormal or not.
If the configuration file is wrong, for example, the video frame number of one video wallpaper is 60 frames in 1 second, the video frame number of the video wallpaper obtained through analysis is 0 frames, and the configuration file can be considered to be abnormal, so that the wallpaper service flow is ended.
S510, the wallpaper service module analyzes the configuration file and converts the configuration file into a configuration with available codes.
When the result of checking the configuration file is correct, the wallpaper service module converts the configuration file into a configuration file which can be identified by codes through analyzing the configuration file, and the process can also be called configuration file coding.
Further, the wallpaper service module may obtain the corresponding resource according to the path of the wallpaper resource. The path of the wallpaper resource may include a path of the video resource and a path of the picture resource. The path of the video resource is divided into a path of the video resource in a dark mode and a path of the video resource in a light mode; the path of the picture resource can comprise the path of the screen locking picture when the screen is locked, and the path is divided into the path of the picture resource in the dark color mode and the path of the picture resource in the light color mode. Meanwhile, the wallpaper service module can grant the authority of the system user interface SystemUI to read the picture resource path.
S511, initializing a wallpaper playing realization strategy by the wallpaper service module.
In the embodiment of the present application, the wallpaper playing implementation policy is related to a media player, where a conventional media player can support a policy of playing according to time, but cannot support a policy of playing frame by frame. In the embodiment of the application, the wallpaper playing realization strategy is initialized by combining the media and the physical elastic animation Springanimation so as to realize the wallpaper playing strategy of frame-by-frame playing.
S512, the wallpaper service module writes the configuration into a database.
Based on steps S508-S511, the wallpaper service module obtains the path of the wallpaper resource by analyzing the wallpaper_config.xml, and the wallpaper service module obtains the wallpaper resource according to the path of the wallpaper resource and writes the obtained wallpaper resource and wallpaper configuration file into a database stored under the data/thes/0 directory.
S513, initializing a wallpaper interface by the wallpaper service module.
The wallpaper service module initializes the wallpaper interface according to the configuration of the database. In a possible implementation, when initializing the wallpaper interface, the mobile phone display interface may pop up a toast message popup window for prompting the user: the handset is initializing the wallpaper interface.
S514, the StatusBar of the system interface module receives the wallpaper service change broadcast.
And because the wallpaper service type corresponding to the wallpaper identifier selected by the user is different from the wallpaper service currently operated, the wallpaper service is changed, and the StatusBar receives the wallpaper service change broadcast.
S515, the system interface module defaults to a static wallpaper type.
Because the system interface module and the wallpaper service module run in parallel, the database configuration writing in the wallpaper service module may have delay, the system interface module cannot timely acquire the changed wallpaper service type, and the system interface module can default to be initialized to a static wallpaper type for ensuring the smooth running of the program.
S516, the system interface module judges whether the Wallpaperinfo is empty.
In the embodiment of the present application, the Wallpaperinfo being empty represents that the wallpaper service change broadcast is a static wallpaper broadcast, and the Wallpaperinfo not being empty represents that the wallpaper service change broadcast is not a static wallpaper broadcast.
S517, when the wallpaper info is not empty, the system interface module judges whether the wallpaper meta data has a livewallpaper configuration, and assigns a value to the live_wallpaper_effect of the database.
Wherein the livewallpaper is configured to indicate whether wallpaper supports zooming. The zooming may refer to when the mobile phone receives an operation of unlocking the mobile phone by a user, and when the mobile phone interface is switched from the screen locking interface to the desktop, and when the wallpaper displayed by the screen locking interface is switched to the wallpaper displayed by the desktop, the size of the wallpaper may be changed, for example, when the wallpaper of the screen locking interface is switched to the wallpaper of the desktop, the wallpaper has a dynamic effect of 1.1 times to 1.0 times.
Because the video wallpaper does not support the dynamic effect of zooming, when the wallpaper is video wallpaper, namely the wallpaper is any one of super wallpaper, folding wallpaper and dynamic wallpaper, the database write value live_wall_effect is 0, which indicates that zooming is not supported; when the wallpaper is other than the video wallpaper, the database write value live_wall_effect is 1, which indicates that scaling is supported.
S518, the system interface module judges whether the wallpaper service supports realizing screen locking transparency.
S519, under the condition that the wallpaper service supports screen locking transparency, the system interface module judges whether copying pictures from wallpaper to screen locking is successful or not.
The specific description of steps S518-S519 may refer to the descriptions of steps S409-S410, and will not be repeated here.
S520, the system interface module judges whether the terminal equipment uses a return wallpaper scheme switch.
The wallpaper display method provided by the embodiment of the application may also be called a normalization wallpaper scheme, and the system interface module determines whether the terminal device supports the usage of the normalization wallpaper scheme according to the system version of the terminal device. For example, if the terminal device with the system version of 7.0 and above can support the return wallpaper scheme, the return wallpaper scheme switch is turned on; and if the terminal equipment with the system version below 7.0 can not support the return wallpaper scheme, closing a return wallpaper scheme switch.
If the terminal equipment turns on a switch of the return wallpaper scheme, the terminal equipment can copy the picture from the database to acquire the screen locking picture. If the terminal equipment closes the return wallpaper proposal switch, the terminal equipment can acquire the screen locking picture from meta-data.
S521, judging whether the terminal equipment supports configuration screen-off display.
The screen-off display means that when the mobile phone is in a locked state, a screen is not required to be lightened, and some important information can be always displayed on the mobile phone. For example, the screen part area can display the contents such as time, incoming call, message, battery information, push message and the like, and the user can intuitively see the required information, so that the steps of operating the mobile phone by the user are reduced. Super wallpaper may support AOD functionality.
In a possible implementation, if the wallpaper does not support configuration AOD, it is indicated that the wallpaper is not super wallpaper, at which time the super wallpaper related configuration needs to be emptied and the power off-screen attribute is taken over. When the terminal equipment receives the operation of the power key from the user, the screen is directly switched from the screen-on state to the screen-off state, and the screen-off display service is not provided in the process of switching the screen-on state to the screen-off state.
S522, configuring super wallpaper animation duration, AOD style and screen locking picture.
If the wallpaper supports the configuration of the AOD, the wallpaper is the super wallpaper, and the animation duration, the AOD style and the screen locking picture are configured for the super wallpaper.
The AOD style may include, among other things, the display content of the AOD, the animation effect of the AOD, etc.
S523, setting transparency of the backstop interface.
When the terminal equipment receives the operation that a user slides the screen locking interface of the terminal equipment upwards, the terminal equipment can display the unlocking interface, and the background drop interface is transparent and can be used for carrying out background fuzzy display on the unlocking interface so as to realize the function of screen locking transparency.
S524, the AppHandler sends a new message of dynamic wallpaper service change.
S525, the SystemUI runs the lock screen related service.
The specific description of steps S524 to S525 may refer to the descriptions of steps S411 to S412, and will not be repeated here. It is understood that steps S504-S513 may be performed in synchronization with steps S514-S523, without limiting the order.
Fig. 4 and fig. 5 above illustrate a wallpaper configuration update related procedure implemented based on a wallpaper framework according to an embodiment of the present application, and after wallpaper configuration is completed, wallpaper display may be implemented in some scenarios in combination with the wallpaper configuration provided by the present application. Fig. 6A and fig. 6B are schematic views of an implementation flow of a folded wallpaper display according to an embodiment of the present application. FIG. 7 is a schematic diagram of a wallpaper display implementation incorporating AOD.
As shown in fig. 6A, in the process of folding the folding-screen mobile phone from a large screen to a small screen, the value of the folding angle sensor is changed, and the onsensor change is called to monitor the value of the folding angle sensor; calling animateToFinal position to start Springanimation; after Springanimation is started, the change of the wallpaper animation can be monitored by calling the onanimation update, the relevant data of the wallpaper animation can be sent through the sendframe, and the media. Seekto is called to acquire the progress of playing the wallpaper animation.
In the embodiment of the application, the folding wallpaper service calls the SpringAnimation to enable the playing speed of the animation of the folding screen to change according to the folding speed of the mobile phone of the folding screen. For example, when the folding rate of a folding screen mobile phone is slow, the playing rate of the folding screen animation can also be slow; when the folding rate of the folding screen mobile phone is higher, the playing rate of the folding screen animation can also be higher.
As shown in fig. 6B, in the process of folding the folding screen mobile phone from a large screen to a small screen, when the mobile phone screen changes, if the program needs to continue to run in a state before the screen changes, the current screen information needs to be acquired by calling onconfiguration change; when the Surface is changed, onSurfaceChanged is called, because the folding screen mobile phone is in the process of folding from a large screen to a small screen, screen is changed from the large screen to the small screen, screenChange (isSmall) is called, and Surface parameters under the small screen are acquired according to screenChange (isSmall), a callback function onSurfaceRedrawneedled is triggered to inform a user of the Surface Holder, and the redrawSurface is called to redraw the Surface, and the reconfirm is called to update the configuration file.
The display of the folded wallpaper can be realized by the folding screen mobile phone in the mode shown in fig. 6A and 6B.
As shown in fig. 7, taking a mobile phone as an example, when the mobile phone receives an operation related to the on-off operation of the mobile phone performed by a user, and when the Power starts the on-off operation, keyguard service is invoked to execute the on-off operation. The screen-off display AOD mainly occurs in the screen-off stage. The operation related to the mobile phone screen on/off performed by the user may include: pressing a power key, unlocking a fingerprint, unlocking a human face, lifting a hand, locking a screen by one key, and the like.
Keyguard service calls onstargettosleep and executes a screen-off flow; calling onFinishGoingToSleep, and ending execution of the screen-off flow; calling onDreamingStarted to start to display the AOD; call onScreenTurnedOff and begin displaying AOD.
Meanwhile, an AOD control flow of streamcontroller is synchronously executed. DozeService is started to initialize various configurations of the AOD, such as the display state, the display mode and the like of the AOD. Judging whether the current wallpaper is super wallpaper or not: if the wallpaper is super wallpaper, wallpaper dynamic effects need to be acquired, wherein the wallpaper dynamic effects comprise the duration from a desktop to an AOD and the duration from a screen locking interface to the AOD, and a flow of executing super wallpaper screen-off dynamic effects and gradually displaying an AOD interface is started by a stream controller; if the wallpaper is not super wallpaper, initializing the drawing flow of an AOD interface of the common wallpaper.
DozeServiceonDreamingStarted is invoked and preparation for displaying the AOD is started. Invoking an Enable TP for supporting touch display by an AOD, wherein the TP is a Touch Panel (TP); judging whether super wallpaper is supported or not, if not, executing the screen-off operation and then directly entering the Doze.
The keyguard service can also execute a screen-lighting process, and the keyguard service calls dofaceRecognizing face recognition for waking up the mobile phone; calling onstartedWakingUp to wake up the mobile phone; calling onDreamingStopped, and stopping AOD display; calling onScreen TurnningOn to start to execute bright screen display; calling onScreen TurnedOn, and executing bright screen display; calling startkeyguard exitenation to start playing the animation which exits from the lock screen interface.
In the process of executing screen-off by Keyguardservice, calling onScreen Turnedoff by the terminal equipment, and starting to display the AOD; or in the process of executing the screen lighting by the keyguard service, calling startkeyguard Exit animation by the terminal equipment, and playing the animation which exits from the screen locking interface; or after DozeService starts, if the terminal equipment supports super wallpaper, the AOD calls the AOD related state such as the current screen position of the WMS instruction carrying the AOD, and the three conditions can be based on the Wallpaper manager sending instruction sendWallpaper command to wallpaper service, and the wallpaper service realizes corresponding wallpaper display based on the received instruction.
It will be appreciated that the foregoing embodiments are illustrative of specific implementations of the wallpaper framework of the embodiments of the present application using specific implementations in android systems, and that related functions and execution modules may be adapted in other operating systems based on this concept. And some of the steps in the above implementation may be optional steps, and embodiments of the present application are not specifically limited.
The wallpaper display method according to the embodiment of the present application will be described below in conjunction with a scene.
Exemplary, fig. 8 shows a wallpaper display method according to an embodiment of the present application. The method comprises the following steps:
s801, the terminal equipment displays the first wallpaper based on the first wallpaper service.
The first wallpaper service is used for running wallpapers with the wallpaper service type being the first wallpaper service. In this embodiment, wallpaper services may be divided into three categories, including: dynamic wallpaper services, folded wallpaper services, and super wallpaper services.
The first wallpaper may be understood as a wallpaper as indicated by d in fig. 1, e.g. the first wallpaper may correspond to a dynamic wallpaper 105 named blooming as indicated by d in fig. 1, where the first wallpaper service corresponds to a dynamic wallpaper service, based on which the terminal device displays the dynamic wallpaper.
S802, the terminal equipment receives a first operation aiming at the identification of the second wallpaper.
In this embodiment of the present application, the identifier of the second wallpaper may be a wallpaper name, a wallpaper label, etc. corresponding to the second wallpaper, and the identifier of the wallpaper may be represented by characters, numbers, letters, symbols, etc., which is not specifically limited in this embodiment of the present application. The first operation may be a user-triggered operation of selecting an identification of the second wallpaper.
Wherein the identification of the second wallpaper may be understood as the wallpaper name as indicated by d in fig. 1: blooming (dynamic), foam (dynamic), meditation (folding), extreme (super), etc. The first operation may be understood as an operation that the user received by the terminal device selects a certain wallpaper identifier shown as d in fig. 1. For example, the user clicks the wallpaper identifier "blossom (dynamic)" shown as d in fig. 1, and the terminal device receives an operation in which the user selects the wallpaper identifier "blossom (dynamic)".
S803, responding to the first operation, and obtaining the identification of the wallpaper service corresponding to the second wallpaper by the terminal equipment.
In this embodiment of the present application, the identifier of the wallpaper service may be understood as super wallpaper service, dynamic wallpaper service, folding wallpaper service in step S403, and the identifier of the wallpaper service may also be represented by other words, numbers, letters, symbols, etc., which is not specifically limited in this embodiment of the present application.
For example, taking dynamic wallpaper as an example, the terminal device responds to the operation of selecting the wallpaper identifier of "blooming (dynamic)" shown as d in fig. 1 by the user, and the terminal device analyzes the wallpaper file related to the blooming (dynamic) wallpaper to obtain the identifier of the wallpaper service corresponding to the wallpaper selected by the user, namely, the dynamic wallpaper service.
S804, when the wallpaper service corresponding to the first wallpaper service and the second wallpaper service are the same service, the terminal equipment realizes the display of the second wallpaper based on the first wallpaper service.
The terminal equipment judges whether the identifiers of the wallpaper services corresponding to the obtained second wallpaper are the same as the identifiers of the first wallpaper, if the identifiers are the same, the terminal equipment indicates that the wallpaper service corresponding to the second wallpaper is the first wallpaper service, and the terminal equipment can display the second wallpaper based on the first wallpaper service.
It may be understood that the same identifier may be that the identifiers of two wallpaper services are identical, for example, the first wallpaper service is named as a folded wallpaper service, and the wallpaper service corresponding to the second wallpaper is named as a folded wallpaper service, and it is determined that the wallpaper service corresponding to the first wallpaper service and the wallpaper service corresponding to the second wallpaper are identical services.
It is also possible that the identity of the two wallpaper services is greater than a certain similarity. For example, the first wallpaper service name is "dynamic wallpaper 1.0", the second wallpaper service name is "dynamic wallpaper 2.0", and the two wallpaper services may be considered to have their identifiers greater than a certain similarity, and the first wallpaper service and the second wallpaper service are the same service.
Thus, when the wallpaper is changed, the wallpaper service corresponding to the changed wallpaper is the same as the wallpaper service operated by the terminal equipment before the change, the terminal equipment can display the changed wallpaper based on the wallpaper service operated by the terminal equipment before the change, and the wallpaper service does not need to be customized for each wallpaper, so that the development process is simplified, and the labor cost is saved.
Optionally, the terminal device obtains an identifier of the wallpaper service corresponding to the second wallpaper, including:
the terminal equipment acquires a theme pack of the second wallpaper; the theme pack of the second wallpaper is configured with an identifier of a wallpaper service corresponding to the second wallpaper; and the terminal equipment analyzes the theme pack of the second wallpaper to obtain the identifier of the wallpaper service corresponding to the second wallpaper.
That is, the terminal device obtains the theme pack of the second wallpaper based on the first operation triggered by the user, and obtains the identifier of the wallpaper service corresponding to the second wallpaper by analyzing the theme pack. The specific manner may refer to the description in steps S401 to S403, and after receiving the operation of selecting a certain wallpaper identifier in the theme setting item by the user, the terminal device obtains the theme pack corresponding to the wallpaper identifier. The theme pack can be stored in a compressed form or not, the terminal equipment can obtain the file in the theme pack in a decompression or direct reading mode, the file can comprise the livepaper.
Thus, the terminal equipment can quickly and accurately obtain the identification of the wallpaper service corresponding to the wallpaper by analyzing the theme pack of the wallpaper.
Optionally, the theme pack of the second wallpaper further includes wallpaper resources of the second wallpaper, and a configuration file of the second wallpaper; wallpaper resources include videos and pictures, and configuration files include the number of frames of the wallpaper resources and display related parameters of the wallpaper resources.
The terminal equipment realizes the display of the second wallpaper based on the first wallpaper service, and comprises the following steps: the terminal equipment updates the wallpaper resource in the first wallpaper service according to the configuration file of the second wallpaper and the wallpaper resource of the second wallpaper; and the terminal equipment displays the second wallpaper based on the updated wallpaper resource in the first wallpaper service.
In this embodiment of the present application, the wallpaper resource of the second wallpaper may be stored in a resource file of the theme pack, and the configuration file of the second wallpaper may be stored in a livepaper_config.
The terminal device updates the wallpaper resource and configuration in the first wallpaper service according to the configuration file of the second wallpaper and the wallpaper resource of the second wallpaper, specifically referring to step S407, according to step S407, when the wallpaper identifier selected by the user is the identifier of the second wallpaper, the first wallpaper service acquires the wallpaper configuration and resource corresponding to the second wallpaper identifier, and then updates the wallpaper resource and wallpaper configuration in the database under the data/thes/0 directory.
And the terminal equipment displays the second wallpaper based on the updated wallpaper resource and configuration in the first wallpaper service. For example, the first wallpaper service is a super wallpaper service, the terminal equipment displays super wallpaper based on wallpaper resources and configuration in the updated super wallpaper service, and the terminal equipment plays animation of the super wallpaper; the first wallpaper service is a folding wallpaper service, the terminal equipment displays folding wallpaper based on wallpaper resources and configuration in the updated folding wallpaper service, and the terminal equipment plays animation of the folding wallpaper; the first wallpaper service is a dynamic wallpaper service, the terminal equipment displays dynamic wallpaper based on wallpaper resources and configuration in the updated dynamic wallpaper service, and the terminal equipment plays animation of the dynamic wallpaper.
Therefore, under the conditions that the wallpaper is changed and the wallpaper service corresponding to the wallpaper is unchanged, the terminal equipment can display the changed wallpaper based on the original wallpaper service by updating the wallpaper resource, so that the labor cost is saved, and the wallpaper development efficiency is improved.
Optionally, the display related parameter includes a dark color mode or a light color mode; the terminal equipment updates the wallpaper resource in the first wallpaper service according to the configuration file of the second wallpaper and the wallpaper resource of the second wallpaper, and the method comprises the following steps:
When the second wallpaper corresponds to the dark color mode, the terminal equipment acquires the wallpaper resource corresponding to the dark color mode from the wallpaper resource of the second wallpaper, and updates the wallpaper resource in the first wallpaper service to the wallpaper resource corresponding to the dark color mode of the second wallpaper;
or when the second wallpaper corresponds to the light-color mode, the terminal equipment acquires the wallpaper resource corresponding to the light-color mode from the wallpaper resource of the second wallpaper, and updates the wallpaper resource in the first wallpaper service to the wallpaper resource corresponding to the light-color mode of the second wallpaper.
It can be understood that when the terminal device is switched from the dark mode to the light mode, the terminal device can update the wallpaper resource in the first wallpaper service to the wallpaper resource corresponding to the second wallpaper in the light mode in real time. Or when the terminal equipment is switched from the light mode to the dark mode, the terminal equipment can update the wallpaper resource in the first wallpaper service into the wallpaper resource corresponding to the second wallpaper in the dark mode in real time.
In this way, the terminal equipment can update wallpaper resources according to the configuration files and the resources of the wallpaper based on the display related parameters, so that the wallpaper service is more intelligent, and the interaction capability with a user is enhanced.
Optionally, before updating the wallpaper resource in the first wallpaper service according to the wallpaper resource of the second wallpaper, the terminal device further includes: the folded wallpaper framework FWK of the application framework layer of the terminal device sends an android wallpaper re-request android wallpaper reapply instruction to the first wallpaper service of the application package APK of the application layer.
The folding wallpaper frame (foldable wallpaper framework) may be located in the wallpaper service module of the application framework layer, and the android wallpaper reapply instruction may refer to the description in step S405, which is not described herein.
Corresponding to step S405, the WMS running in FWK sends android wallpaper reapply to the wallpaper service running in APK, i.e. the first wallpaper service, which may update the wallpaper configuration and resources in the first wallpaper service to the wallpaper configuration and resources corresponding to the second wallpaper based on the instruction.
Therefore, under the conditions that the wallpaper is changed and the corresponding wallpaper service is unchanged, the terminal equipment can instruct the wallpaper service to update the wallpaper resource and configuration by sending android wallpaper reapply instructions, so that the labor cost is saved and the wallpaper development efficiency is improved.
Optionally, when the terminal device supports the screen locking transparent display, the terminal device copies the picture in the wallpaper resource of the second wallpaper to the screen locking display related module.
The specific description of the screen locking transparency may refer to the description of the screen locking transparency in step S409, which is not repeated herein.
The screen locking display related module can be used for displaying screen locking related services such as screen locking transparency. After the terminal device copies the picture in the wallpaper resource of the second wallpaper to the lock screen display related module, corresponding to step S410, the lock screen display related module may set the transparency of the picture and cover the picture on the dynamic lock screen wallpaper, so as to implement a dynamic lock screen transparent scene.
Thus, the terminal equipment can provide a dynamic screen locking transparent scene, so that the wallpaper service is more interesting.
Exemplary, another wallpaper display method is provided in the embodiments of the present application, including:
the terminal equipment receives a second operation aiming at the identification of the third wallpaper; responding to the second operation, and obtaining the identification of the wallpaper service corresponding to the third wallpaper by the terminal equipment; when the wallpaper service corresponding to the first wallpaper service and the third wallpaper service are different services, the terminal equipment starts a second wallpaper service, and the second wallpaper service is the wallpaper service corresponding to the third wallpaper; and the terminal equipment realizes the display of the third wallpaper based on the second wallpaper service.
In the embodiment of the present application, the second operation may be a user-triggered operation of selecting the identifier of the third wallpaper. The second wallpaper service is used for running wallpapers with the wallpaper service type being the second wallpaper service.
Corresponding to steps S501-S506, the terminal equipment receives a second operation of selecting the identifier of the third wallpaper in the theme setting item by the user, responds to the second operation, acquires the theme pack corresponding to the third wallpaper, and analyzes the file in the theme pack to obtain the identifier of the wallpaper service corresponding to the third wallpaper. The service adjustment module in the terminal equipment can judge whether the identifier of the first wallpaper service is identical to the identifier of the wallpaper service corresponding to the third wallpaper through the WMS, and further judge whether the first wallpaper service is identical to the wallpaper corresponding to the third wallpaper. When the wallpaper service corresponding to the third wallpaper is the second wallpaper service, the second wallpaper service is different from the first wallpaper service, and the terminal equipment starts the second wallpaper service to realize the display of the third wallpaper based on the second wallpaper service.
For example, the first wallpaper service may correspond to a dynamic wallpaper service and the identification of the third wallpaper may correspond to a "limit (super)" wallpaper identification shown as d in fig. 1. And the terminal equipment responds to the operation of selecting the wallpaper identifier of limit (super) by the user, and analyzes the wallpaper file related to the limit (super) wallpaper to obtain the identifier of the wallpaper service corresponding to the wallpaper selected by the user, namely the super wallpaper service. The super wallpaper service is different from the dynamic wallpaper service in which the system is running when the user selects the limit (super) wallpaper identifier, and the terminal equipment starts the super wallpaper service and displays the limit (super) super wallpaper based on the super wallpaper service.
Thus, when the wallpaper is changed, the wallpaper service corresponding to the changed wallpaper is different from the wallpaper service operated by the terminal equipment before the change, the terminal equipment can start the wallpaper service corresponding to the changed wallpaper, and the changed wallpaper is displayed based on the wallpaper service corresponding to the changed wallpaper, so that the wallpaper service does not need to be customized for each wallpaper, the development process is simplified, and the labor cost is saved.
Optionally, the terminal device realizes the display of the third wallpaper based on the second wallpaper service, including: the terminal equipment registers and monitors a dark color mode or a light color mode based on the second wallpaper service; the terminal equipment analyzes the theme pack of the third wallpaper; the theme pack of the third wallpaper comprises wallpaper resources of the third wallpaper and configuration files of the third wallpaper; the terminal equipment writes the wallpaper resource into the second wallpaper service according to the configuration file of the third wallpaper and the wallpaper resource of the third wallpaper; and the terminal equipment displays the third wallpaper based on the wallpaper resource written in the second wallpaper service.
Corresponding to step S507, the terminal device may register the sensor and the monitor, and when the display mode of the terminal device is switched from the dark mode to the light mode, or when the display mode of the terminal device is switched from the light mode to the dark mode, the registered monitors of the dark mode and the light mode monitor the change of the display mode of the terminal device, and notify the terminal device to update the wallpaper resource based on the current display mode switch.
Corresponding to step S508, the terminal device parses the theme pack of the third wallpaper to obtain the wallpaper resource of the third wallpaper and the configuration file of the third wallpaper.
In a possible implementation, corresponding to step S510, the terminal device parses the configuration file of the third wallpaper, and converts the configuration file into a configuration file identifiable by the code.
In a possible implementation, corresponding to step S509, the terminal device may further check the accuracy of the configuration file of the third wallpaper, and when the configuration file is inaccurate, end running the wallpaper service.
Corresponding to step S512-S513, the terminal device obtains the wallpaper resource based on the path of the wallpaper resource obtained by analyzing the configuration file of the third wallpaper, writes the obtained third wallpaper resource and the third wallpaper configuration file into the second wallpaper service, initializes the wallpaper interface based on the wallpaper resource and the wallpaper configuration file written in the second wallpaper service, and displays the third wallpaper.
Thus, the terminal equipment can actively write the wallpaper resources and the wallpaper configuration files corresponding to the changed wallpaper into the wallpaper service corresponding to the changed wallpaper, and the terminal equipment displays the changed wallpaper based on the written wallpaper resources and configuration files, so that the interactivity of the wallpaper and the user operation can be enhanced, and the labor cost is saved.
Optionally, the writing, by the terminal device, the wallpaper resource into the second wallpaper service according to the configuration file of the third wallpaper and the wallpaper resource of the third wallpaper includes:
when the third wallpaper corresponds to the dark color mode, the terminal equipment acquires the wallpaper resource corresponding to the dark color mode from the wallpaper resource of the third wallpaper, initializes the wallpaper playing realization strategy to a strategy of playing according to frames, and writes the wallpaper resource corresponding to the dark color mode of the third wallpaper into the second wallpaper service.
Or when the third wallpaper corresponds to the light-color mode, the terminal equipment acquires the wallpaper resource corresponding to the light-color mode from the wallpaper resource of the third wallpaper, initializes the wallpaper playing realization strategy to a strategy of playing according to frames, and writes the wallpaper resource corresponding to the light-color mode of the third wallpaper into the second wallpaper service.
Corresponding to step S510, the terminal device may acquire the corresponding resource based on the path of the wallpaper resource. The wallpaper resources corresponding to the dark color mode can comprise video resources and picture resources in the dark color mode; the wallpaper resources corresponding to the light color mode may include video resources and picture resources in the light color mode.
Corresponding to step S511, the wallpaper playing implementation policy may include two policies of playing according to time and playing frame by frame, and in this embodiment of the present application, the wallpaper playing implementation policy may be initialized to a policy of playing according to frames by combining media and physical elastic animation SpringAnimation, and animation in the wallpaper is played frame by frame based on media player.
The writing of the wallpaper resource corresponding to the light color mode of the third wallpaper into the second wallpaper service, or the writing of the wallpaper resource corresponding to the dark color mode of the third wallpaper into the second wallpaper service may correspond to step S512, where the wallpaper service module in the terminal device writes the configuration and the resource of the wallpaper into the database.
In this way, the terminal equipment can update wallpaper resources according to the configuration files and the resources of the wallpaper based on the display related parameters, so that the wallpaper service is more intelligent, and the interaction capability with a user is enhanced.
Optionally, when the system version of the terminal device is greater than or equal to the preset version, the terminal device acquires the wallpaper resource of the third wallpaper from the database; or when the system version of the terminal equipment is smaller than the preset version, the terminal equipment acquires wallpaper resources of the third wallpaper from the metadata meta data.
Corresponding to step S520, the acquisition paths of the wallpaper resources of the terminal devices of different system versions are different. In the embodiment of the present application, when the system version of the terminal device is greater than or equal to the preset version, the terminal device may acquire the wallpaper resource of the third wallpaper through the database; when the system version of the terminal equipment is smaller than the preset version, the database does not store wallpaper resources of the third wallpaper, and the terminal equipment needs to acquire the wallpaper resources from meta data.
Therefore, the terminal equipment with the system version smaller than the preset version can be compatible, and the use experience of a user is improved.
Optionally, when the terminal device supports the off-screen display AOD, the terminal device configures the animation duration, the AOD style and the lock screen picture for the third wallpaper.
Corresponding to steps S521-S522, when the terminal device supports the off-screen display AOD, the third wallpaper may correspond to the super wallpaper, and the animation duration, the AOD style, the lock screen picture, and the like of the wallpaper are configured for the super wallpaper.
Therefore, the display effect of the super wallpaper is richer, interesting and personalized by carrying out relevant dynamic effect configuration on the super wallpaper.
The method provided by the embodiment of the present application is described above with reference to fig. 4 to 10, and the device for performing the method provided by the embodiment of the present application is described below. As shown in fig. 9, fig. 9 is a schematic structural diagram of a wallpaper display device according to an embodiment of the present application, where the wallpaper display device may be an electronic device according to an embodiment of the present application, or may be a chip or a chip system in the electronic device.
As shown in fig. 9, the wallpaper display apparatus 900 may be used in a circuit, a hardware component, or a chip, and includes a processing unit 901 and a display unit 902. Wherein the processing unit 901 is for supporting the steps performed by the wallpaper display device, for example, the processing unit is for processing the steps of S801 to S804 in fig. 8. The display unit 902 is used for displaying image information such as wallpaper or the like in support of wallpaper display means.
In a possible implementation manner, the wallpaper display device may further include: a storage unit 904. The memory unit 904 may include one or more memories, which may be one or more devices, circuits, or devices for storing programs or data.
The memory unit 904 may be provided independently and connected to the processing unit 901 via a communication bus. The memory unit 904 may also be integrated with the processing unit 901.
Taking the example that the wallpaper display device may be a chip or a chip system of the terminal device in the embodiment of the present application, the storage unit 904 may store computer-executed instructions of the method of the terminal device, so that the processing unit 901 executes the method of the terminal device in the embodiment described above. The storage unit 904 may be a register, a cache or a random access memory (random access memory, RAM) or the like, and the storage unit 904 may be integrated with the processing unit 901. The storage unit 904 may be a read-only memory (ROM) or other type of static storage device that may store static information and instructions, and the storage unit 904 may be independent of the processing unit 901.
In a possible implementation manner, the wallpaper display device may further include: a communication unit 903. Wherein the communication unit 903 is used to support interaction of the wallpaper display apparatus with other devices. For example, when the wallpaper display apparatus is a terminal device, the communication unit 903 may be a communication interface or an interface circuit. When the wallpaper display device is a chip or a system of chips within a terminal device, the communication unit 903 may be a communication interface. For example, the communication interface may be an input/output interface, pins or circuitry, etc.
The apparatus of this embodiment may be correspondingly configured to perform the steps performed in the foregoing method embodiments, and the implementation principle and technical effects are similar, which are not described herein again.
Fig. 10 is a schematic hardware structure of an electronic device according to an embodiment of the present application, as shown in fig. 10, where the electronic device includes a processor 1001, a communication line 1004, and at least one communication interface (the communication interface 1003 is illustrated in fig. 10 as an example).
The processor 1001 may be a general purpose central processing unit (central processing unit, CPU), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the programs of the present application.
Communication line 1004 may include circuitry to communicate information between the components described above.
Communication interface 1003 uses any transceiver-like device for communicating with other devices or communication networks, such as ethernet, wireless local area network (wireless local area networks, WLAN), etc.
Possibly, the electronic device may also comprise a memory 1002.
The memory 1002 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a compact disc read-only memory (compact disc read-only memory) or other optical disk storage, a compact disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be implemented on its own and coupled to the processor via communication line 1004. The memory may also be integrated with the processor.
The memory 1002 is used for storing computer-executable instructions for executing the embodiments of the present application, and is controlled by the processor 1001 for execution. The processor 1001 is configured to execute computer-executable instructions stored in the memory 1002, thereby implementing the methods provided in the embodiments of the present application.
Possibly, the computer-executed instructions in the embodiments of the present application may also be referred to as application program code, which is not specifically limited in the embodiments of the present application.
In a particular implementation, the processor 1001 may include one or more CPUs, such as CPU0 and CPU1 in fig. 10, as one embodiment.
In a particular implementation, as one embodiment, an electronic device may include multiple processors, such as processor 1001 and processor 1005 in FIG. 10. Each of these processors may be a single-core (single-CPU) processor or may be a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
Fig. 11 is a schematic structural diagram of a chip according to an embodiment of the present application. Chip 1100 includes one or more (including two) processors 1120 and a communication interface 1130.
In some implementations, the memory 1140 stores the following elements: executable modules or data structures, or a subset thereof, or an extended set thereof.
In an embodiment of the present application, memory 1140 may include read only memory and random access memory and provide instructions and data to processor 1120. A portion of memory 1140 may also include non-volatile random access memory (non-volatile random access memory, NVRAM).
In the illustrated embodiment, memory 1140, communication interface 1130, and processor 1120 are coupled together by bus system 1110. The bus system 1110 may include a power bus, a control bus, a status signal bus, and the like, in addition to a data bus. For ease of description, the various buses are labeled as bus system 1110 in FIG. 11.
The methods described in the embodiments of the present application may be applied to the processor 1120 or implemented by the processor 1120. The processor 1120 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the methods described above may be performed by integrated logic circuitry in hardware or instructions in software in processor 1120. The processor 1120 described above may be a general purpose processor (e.g., a microprocessor or a conventional processor), a digital signal processor (digital signal processing, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), an off-the-shelf programmable gate array (field-programmable gate array, FPGA) or other programmable logic device, discrete gates, transistor logic, or discrete hardware components, and the processor 1120 may implement or perform the methods, steps, and logic blocks disclosed in the embodiments herein.
The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor. The software modules may be located in a state-of-the-art storage medium such as random access memory, read-only memory, programmable read-only memory, or charged erasable programmable memory (electrically erasable programmable read only memory, EEPROM). The storage medium is located in the memory 1140, and the processor 1120 reads information in the memory 1140 and performs the steps of the above method in combination with its hardware.
In the above embodiments, the instructions stored by the memory for execution by the processor may be implemented in the form of a computer program product. The computer program product may be written in the memory in advance, or may be downloaded in the form of software and installed in the memory.
The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL), or wireless (e.g., infrared, wireless, microwave, etc.), or semiconductor medium (e.g., solid state disk, SSD)) or the like.
Embodiments of the present application also provide a computer-readable storage medium. The methods described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. Computer readable media can include computer storage media and communication media and can include any medium that can transfer a computer program from one place to another. The storage media may be any target media that is accessible by a computer.
As one possible design, the computer-readable medium may include compact disk read-only memory (CD-ROM), RAM, ROM, EEPROM, or other optical disk memory; the computer readable medium may include disk storage or other disk storage devices. Moreover, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, digital versatile disc (digital versatile disc, DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.
Combinations of the above should also be included within the scope of computer-readable media. The foregoing is merely illustrative embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think about variations or substitutions within the technical scope of the present invention, and the invention should be covered. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (11)

1. A wallpaper display method, comprising:
the terminal equipment displays the first wallpaper based on the first wallpaper service;
the terminal equipment receives a first operation aiming at the identification of the second wallpaper;
responding to the first operation, and obtaining an identifier of a wallpaper service corresponding to the second wallpaper by the terminal equipment;
when the first wallpaper service and the wallpaper service corresponding to the second wallpaper are the same service, the terminal equipment realizes the display of the second wallpaper based on the first wallpaper service;
the terminal device obtains the identifier of the wallpaper service corresponding to the second wallpaper, including:
the terminal equipment acquires a theme pack of the second wallpaper; the theme pack of the second wallpaper is configured with an identifier of a wallpaper service corresponding to the second wallpaper;
The terminal equipment analyzes the theme pack of the second wallpaper to obtain the identifier of the wallpaper service corresponding to the second wallpaper;
the theme pack of the second wallpaper further comprises wallpaper resources of the second wallpaper and configuration files of the second wallpaper; the wallpaper resource comprises a video and a picture, and the configuration file comprises the frame number of the wallpaper resource and the display related parameters of the wallpaper resource;
the terminal device realizes the display of the second wallpaper based on the first wallpaper service, and comprises:
the terminal equipment updates the wallpaper resource in the first wallpaper service according to the configuration file of the second wallpaper and the wallpaper resource of the second wallpaper;
and the terminal equipment displays the second wallpaper based on the updated wallpaper resource in the first wallpaper service.
2. The method of claim 1, wherein the display-related parameter comprises a dark-color mode or a light-color mode; the terminal equipment updates the wallpaper resource in the first wallpaper service according to the configuration file of the second wallpaper and the wallpaper resource of the second wallpaper, and the method comprises the following steps:
when the second wallpaper corresponds to a dark color mode, the terminal equipment acquires a wallpaper resource corresponding to the dark color mode from the wallpaper resource of the second wallpaper, and updates the wallpaper resource in the first wallpaper service to be the wallpaper resource corresponding to the dark color mode of the second wallpaper;
Or when the second wallpaper corresponds to the light-color mode, the terminal equipment acquires the wallpaper resource corresponding to the light-color mode from the wallpaper resource of the second wallpaper, and updates the wallpaper resource in the first wallpaper service to the wallpaper resource corresponding to the light-color mode of the second wallpaper.
3. The method of claim 2, wherein the terminal device further comprises, prior to updating the wallpaper resource in the first wallpaper service according to the wallpaper resource of the second wallpaper:
the folded wallpaper framework FWK of the application framework layer of the terminal device sends an android wallpaper re-request android wallpaper reapply instruction to the first wallpaper service in the application package APK of the application layer.
4. A method according to any one of claims 1-3, further comprising:
when the terminal equipment supports screen locking transparent display, the terminal equipment copies the picture in the wallpaper resource of the second wallpaper to a screen locking display related module.
5. A method according to any one of claims 1-3, wherein the method further comprises:
the terminal equipment receives a second operation aiming at the identification of the third wallpaper;
Responding to the second operation, and obtaining the identifier of the wallpaper service corresponding to the third wallpaper by the terminal equipment;
when the wallpaper service corresponding to the first wallpaper service and the wallpaper service corresponding to the third wallpaper service are different services, the terminal equipment starts a second wallpaper service, and the second wallpaper service is the wallpaper service corresponding to the third wallpaper;
and the terminal equipment realizes the display of the third wallpaper based on the second wallpaper service.
6. The method of claim 5, wherein the terminal device implementing the display of the third wallpaper based on the second wallpaper service comprises:
the terminal equipment registers and monitors a dark color mode or a light color mode based on the second wallpaper service;
the terminal equipment analyzes the theme pack of the third wallpaper; the theme pack of the third wallpaper comprises wallpaper resources of the third wallpaper and configuration files of the third wallpaper;
the terminal equipment writes wallpaper resources into the second wallpaper service according to the configuration file of the third wallpaper and the wallpaper resources of the third wallpaper;
and the terminal equipment displays the third wallpaper based on the wallpaper resource written in the second wallpaper service.
7. The method of claim 6, wherein the writing, by the terminal device, of wallpaper resources into the second wallpaper service according to the configuration file of the third wallpaper and the wallpaper resources of the third wallpaper, comprises:
when the third wallpaper corresponds to a dark color mode, the terminal equipment acquires a wallpaper resource corresponding to the dark color mode from the wallpaper resource of the third wallpaper, initializes a wallpaper playing realization strategy to a strategy of playing according to frames, and writes the wallpaper resource corresponding to the dark color mode of the third wallpaper into the second wallpaper service;
or when the third wallpaper corresponds to the light-color mode, the terminal equipment acquires the wallpaper resource corresponding to the light-color mode from the wallpaper resource of the third wallpaper, initializes the wallpaper playing realization strategy to a strategy of playing according to frames, and writes the wallpaper resource corresponding to the light-color mode of the third wallpaper into the second wallpaper service.
8. The method according to any one of claims 6-7, further comprising:
when the system version of the terminal equipment is larger than or equal to a preset version, the terminal equipment acquires wallpaper resources of the third wallpaper from a database;
Or when the system version of the terminal equipment is smaller than the preset version, the terminal equipment acquires the wallpaper resource of the third wallpaper from metadata meta data.
9. The method as recited in claim 8, further comprising:
and when the terminal equipment supports the off-screen display (AOD), configuring the animation duration, the AOD style and the screen locking picture for the third wallpaper by the terminal equipment.
10. An electronic device, comprising: a memory for storing a computer program and a processor for executing the computer program to perform the wallpaper display method according to any of claims 1-9.
11. A computer readable storage medium storing instructions that, when executed, cause a computer to perform the wallpaper display method of any of claims 1-9.
CN202211118962.8A 2022-09-13 2022-09-13 Wallpaper display method and related device Active CN116743908B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211118962.8A CN116743908B (en) 2022-09-13 2022-09-13 Wallpaper display method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211118962.8A CN116743908B (en) 2022-09-13 2022-09-13 Wallpaper display method and related device

Publications (2)

Publication Number Publication Date
CN116743908A CN116743908A (en) 2023-09-12
CN116743908B true CN116743908B (en) 2024-03-26

Family

ID=87901773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211118962.8A Active CN116743908B (en) 2022-09-13 2022-09-13 Wallpaper display method and related device

Country Status (1)

Country Link
CN (1) CN116743908B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101032184A (en) * 2004-09-29 2007-09-05 株式会社爱可信 Mobile communication device, application execution environment software for mobile communication device
CN103037105A (en) * 2012-12-24 2013-04-10 广东欧珀移动通信有限公司 User terminal equipment automatic theme changing method and user terminal equipment
WO2016168961A1 (en) * 2015-04-20 2016-10-27 华为技术有限公司 Theme replacement method and apparatus for intelligent terminal
CN109739590A (en) * 2018-05-14 2019-05-10 北京字节跳动网络技术有限公司 A kind of desktop wallpaper replacing options, device and equipment
CN110187808A (en) * 2019-05-30 2019-08-30 努比亚技术有限公司 Dynamic wallpaper setting method, device and computer readable storage medium
CN110209460A (en) * 2019-06-10 2019-09-06 Oppo广东移动通信有限公司 A kind of implementation method of dynamic wallpaper, device, storage medium and terminal
CN110688179A (en) * 2019-08-30 2020-01-14 华为技术有限公司 Display method and terminal equipment
CN111209065A (en) * 2019-12-31 2020-05-29 Oppo广东移动通信有限公司 Dynamic wallpaper setting method and device, storage medium and electronic equipment
CN111209063A (en) * 2018-11-22 2020-05-29 珠海格力电器股份有限公司 Desktop theme preview method and system and intelligent terminal
CN111240776A (en) * 2019-12-31 2020-06-05 Oppo广东移动通信有限公司 Dynamic wallpaper setting method and device, storage medium and electronic equipment
CN111240777A (en) * 2019-12-31 2020-06-05 Oppo广东移动通信有限公司 Dynamic wallpaper generation method and device, storage medium and electronic equipment
CN114510307A (en) * 2022-01-28 2022-05-17 统信软件技术有限公司 Dynamic wallpaper implementation method, computing device and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9389884B2 (en) * 2012-10-11 2016-07-12 Google Technology Holdings LLC Method and apparatus for providing adaptive wallpaper display for a device having multiple operating system environments

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101032184A (en) * 2004-09-29 2007-09-05 株式会社爱可信 Mobile communication device, application execution environment software for mobile communication device
CN103037105A (en) * 2012-12-24 2013-04-10 广东欧珀移动通信有限公司 User terminal equipment automatic theme changing method and user terminal equipment
WO2016168961A1 (en) * 2015-04-20 2016-10-27 华为技术有限公司 Theme replacement method and apparatus for intelligent terminal
CN109739590A (en) * 2018-05-14 2019-05-10 北京字节跳动网络技术有限公司 A kind of desktop wallpaper replacing options, device and equipment
CN111209063A (en) * 2018-11-22 2020-05-29 珠海格力电器股份有限公司 Desktop theme preview method and system and intelligent terminal
CN110187808A (en) * 2019-05-30 2019-08-30 努比亚技术有限公司 Dynamic wallpaper setting method, device and computer readable storage medium
CN110209460A (en) * 2019-06-10 2019-09-06 Oppo广东移动通信有限公司 A kind of implementation method of dynamic wallpaper, device, storage medium and terminal
CN110688179A (en) * 2019-08-30 2020-01-14 华为技术有限公司 Display method and terminal equipment
CN111209065A (en) * 2019-12-31 2020-05-29 Oppo广东移动通信有限公司 Dynamic wallpaper setting method and device, storage medium and electronic equipment
CN111240776A (en) * 2019-12-31 2020-06-05 Oppo广东移动通信有限公司 Dynamic wallpaper setting method and device, storage medium and electronic equipment
CN111240777A (en) * 2019-12-31 2020-06-05 Oppo广东移动通信有限公司 Dynamic wallpaper generation method and device, storage medium and electronic equipment
CN114510307A (en) * 2022-01-28 2022-05-17 统信软件技术有限公司 Dynamic wallpaper implementation method, computing device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
壁纸自动换 每天都有新感觉;樊旭峰;;电脑迷(16);全文 *

Also Published As

Publication number Publication date
CN116743908A (en) 2023-09-12

Similar Documents

Publication Publication Date Title
CN110597512B (en) Method for displaying user interface and electronic equipment
CN113553130B (en) Method for executing drawing operation by application and electronic equipment
CN104281478B (en) The method and device of more new application
CN113761427A (en) Method for generating card in self-adaptive mode, terminal device and server
CN116010076A (en) Application running method and related equipment
CN116450251A (en) Method for adapting page layout of multiple devices and electronic device
CN116700601B (en) Memory optimization method, equipment and storage medium
CN116743908B (en) Wallpaper display method and related device
CN117156088A (en) Image processing method and related device
WO2022057889A1 (en) Method for translating interface of application, and related device
CN114443117A (en) Application processing method and electronic equipment
WO2024055875A1 (en) Method for adding service card, and electronic device and computer-readable storage medium
CN115941674B (en) Multi-device application connection method, device and storage medium
CN117009023B (en) Method for displaying notification information and related device
CN116688494B (en) Method and electronic device for generating game prediction frame
CN116672707B (en) Method and electronic device for generating game prediction frame
WO2023169276A1 (en) Screen projection method, terminal device, and computer-readable storage medium
WO2023020339A1 (en) Interface display method and electronic device
CN116088970B (en) Method for controlling application call and related device
WO2024037346A1 (en) Page management method and electronic device
CN116737037A (en) Stack management method in interface display and related device
CN117971305A (en) Upgrading method of operating system, server and electronic equipment
CN117742849A (en) Interface display method and related device based on application splitting
CN117666861A (en) Service card distribution method, system and electronic equipment
CN117369914A (en) Display method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant