CN111475242B - Equipment control method and device, storage medium and electronic equipment - Google Patents

Equipment control method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111475242B
CN111475242B CN202010261200.8A CN202010261200A CN111475242B CN 111475242 B CN111475242 B CN 111475242B CN 202010261200 A CN202010261200 A CN 202010261200A CN 111475242 B CN111475242 B CN 111475242B
Authority
CN
China
Prior art keywords
image
wallpaper
application
desktop
desktop application
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
CN202010261200.8A
Other languages
Chinese (zh)
Other versions
CN111475242A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010261200.8A priority Critical patent/CN111475242B/en
Publication of CN111475242A publication Critical patent/CN111475242A/en
Application granted granted Critical
Publication of CN111475242B publication Critical patent/CN111475242B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a device control method, a device, a storage medium and electronic equipment. The device control method is applied to electronic devices, the electronic devices are configured with a first desktop application and a wallpaper application, the first desktop application is used for displaying images, the wallpaper application is used for displaying wallpaper images, and the images displayed by the first desktop application are located on the upper layer of the wallpaper images, and the method comprises the following steps: detecting whether the electronic equipment displays images through the first desktop application when the wallpaper application displays static wallpaper; if the first desktop application does not display the image, acquiring an image corresponding to the static wallpaper; and carrying out animation processing on the image corresponding to the static wallpaper to obtain an animation image, and displaying the animation image through the first desktop application. The method and the device can improve the flexibility of displaying wallpaper images on the electronic equipment.

Description

Equipment control method and device, storage medium and electronic equipment
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to equipment control method and device, a storage medium and electronic equipment.
Background
The desktop of the electronic device is a graphical user interface for human-machine interaction. Generally, an icon of an application program and a picture such as wallpaper or desktop background are included on a desktop of an electronic device. The user can change wallpaper or pictures of the desktop background according to the needs of the user, so that the desktop of the electronic equipment is more attractive. However, in the related art, the flexibility of displaying wallpaper images by the electronic device is low.
Disclosure of Invention
The embodiment of the application provides a device control method, a device, a storage medium and electronic equipment, which can improve the flexibility of displaying wallpaper images by the electronic equipment.
The embodiment of the application provides a device control method, which is applied to electronic devices, wherein the electronic devices are configured with a first desktop application and a wallpaper application, the first desktop application is used for displaying images, the wallpaper application is used for displaying wallpaper images, and the images displayed by the first desktop application are located on the upper layer of the wallpaper images, and the method comprises the following steps:
detecting whether the electronic equipment displays an image through the first desktop application when the wallpaper application displays static wallpaper;
if the first desktop application does not display the image, acquiring an image corresponding to the static wallpaper;
and carrying out animation processing on the image corresponding to the static wallpaper to obtain an animation image, and displaying the animation image through the first desktop application.
The embodiment of the application provides a device control apparatus, which is applied to an electronic device, the electronic device is configured with a first desktop application and a wallpaper application, the first desktop application is used for displaying an image, the wallpaper application is used for displaying a wallpaper image, and the image displayed by the first desktop application is located at an upper layer of the wallpaper image, and the apparatus comprises:
the detection module is used for detecting whether the electronic equipment displays an image through the first desktop application when the wallpaper application displays static wallpaper;
the acquisition module is used for acquiring the image corresponding to the static wallpaper if the first desktop application does not display the image;
and the processing module is used for carrying out animation processing on the image corresponding to the static wallpaper to obtain an animation image, and displaying the animation image through the first desktop application.
The embodiment of the application provides a computer-readable storage medium, on which a computer program is stored, which when executed on a computer, causes the computer to execute a flow in the device control method provided in the embodiment of the application.
The embodiment of the application also provides electronic equipment, which comprises a memory and a processor, wherein the processor executes the flow in the equipment control method provided by the embodiment of the application by calling the computer program stored in the memory.
In the embodiment of the application, when the wallpaper application displays static wallpaper, the electronic device may detect whether an image is displayed by the first desktop application. If the first desktop application does not display the image, the electronic device may acquire an image corresponding to the static wallpaper, and then perform animation processing on the image corresponding to the static wallpaper, so as to obtain an animation image, and display the animation image through the first desktop application. Therefore, the embodiment of the application can display the dynamic display effect after the static wallpaper is processed, so that the flexibility of displaying the wallpaper image of the electronic equipment is improved.
Drawings
The technical solution of the present application and the advantageous effects thereof will be made apparent from the following detailed description of the specific embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a device control method according to an embodiment of the present application.
Fig. 2 is a schematic hierarchical relationship diagram of an image displayed by a first desktop application and an image displayed by a wallpaper application according to an embodiment of the present application.
Fig. 3 is another flow chart of the device control method provided in the embodiment of the present application.
Fig. 4 is a schematic hierarchical relationship of an image displayed by a first desktop application, an image displayed by a second desktop application, and an image displayed by a wallpaper application according to an embodiment of the present application.
Fig. 5 to 7 are schematic views of a scenario of an apparatus control method provided in an embodiment of the present application.
Fig. 8 is a schematic structural diagram of an apparatus control device according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 10 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numerals refer to like elements throughout, the principles of the present application are illustrated as embodied in a suitable computing environment. The following description is based on the illustrated embodiments of the present application and should not be taken as limiting other embodiments not described in detail herein.
It is understood that the execution subject of the embodiments of the present application may be an electronic device such as a smart phone or tablet computer.
Referring to fig. 1, fig. 1 is a flow chart of a device control method according to an embodiment of the present application. The device control method can be applied to electronic devices. The electronic device may be configured with a first desktop application and a wallpaper application, wherein the first desktop application may be used to display an image, the wallpaper application may be used to display a wallpaper image, and the image displayed by the first desktop application may be located at an upper layer of the wallpaper image. The flow of the device control method may include:
101. and when the wallpaper application displays the static wallpaper, detecting whether the electronic equipment displays an image through the first desktop application.
The desktop of the electronic device is a graphical user interface for human-machine interaction. Generally, an icon of an application program and a picture such as wallpaper or desktop background are included on a desktop of an electronic device. The user can change wallpaper or pictures of the desktop background according to the needs of the user, so that the desktop of the electronic equipment is more attractive. However, in the related art, the flexibility of displaying wallpaper images by the electronic device is low. For example, electronic devices typically can only display static wallpaper or only dynamic wallpaper.
In the embodiment of the application, for example, the electronic device may be configured with a first desktop application and a wallpaper application. The first desktop application may be used to display an image, the wallpaper application may be used to display a wallpaper image, and the image displayed by the first desktop application may be located at an upper layer of the wallpaper image. For example, the hierarchical relationship of the image displayed by the first desktop application and the image displayed by the wallpaper application may be as shown in FIG. 2. It will be appreciated that, since the image displayed by the first desktop application is located at the upper layer of the wallpaper image, if the first desktop application displays the image and the image does not have transparency, the wallpaper image is displayed even if the wallpaper application is located at the upper layer of the wallpaper image, but since the image displayed by the first desktop application is located at the upper layer of the wallpaper image, the wallpaper image is hidden by the image displayed by the first desktop application, that is, the user can only see the image displayed by the first desktop application, but cannot see the wallpaper image. If the first desktop application does not display the image, the wallpaper image is not occluded, i.e., the user can see the wallpaper image. If the first desktop application displays an image with a certain transparency gap, the wallpaper image is not completely obscured, i.e. the user can see part of the wallpaper image through the gap with a certain transparency.
In an embodiment of the present application, for example, when the wallpaper application displays static wallpaper, the electronic device may detect whether it is currently displaying an image through the first desktop application.
If the electronic device has an image displayed by the first desktop application, such as the electronic device displaying an image that serves as a desktop background by the first desktop application, then the electronic device may perform other operations.
If the electronic device is not displaying an image through the first desktop application, then 102 may be entered.
102. And if the first desktop application does not display the image, acquiring the image corresponding to the static wallpaper.
For example, if the electronic device detects that the image is not displayed by the first desktop application currently, the electronic device may acquire an image corresponding to the static wallpaper displayed by the wallpaper application.
103. And carrying out animation processing on the image corresponding to the static wallpaper to obtain an animation image, and displaying the animation image through the first desktop application.
For example, after the image corresponding to the static wallpaper is obtained, the electronic device may perform animation processing on the image corresponding to the static wallpaper, so as to obtain an animation image, and the electronic device may display the animation image through the first desktop application, that is, the electronic device may draw the animation image through the first desktop application.
It can be appreciated that in the embodiment of the present application, when the wallpaper application displays static wallpaper, the electronic device may detect whether an image is displayed by the first desktop application. If the first desktop application does not display the image, the electronic device may acquire an image corresponding to the static wallpaper, and then perform animation processing on the image corresponding to the static wallpaper, so as to obtain an animation image, and display the animation image through the first desktop application. Therefore, the embodiment of the application can display the dynamic display effect after the static wallpaper is processed, so that the flexibility of displaying the wallpaper image of the electronic equipment is improved.
In addition, compared with the scheme that only static wallpaper or only dynamic wallpaper can be displayed in the related art, the embodiment of the application can treat the static wallpaper under a certain condition and then display the dynamic display effect, so that the embodiment of the application can further improve the interestingness of the electronic equipment in displaying the wallpaper. Compared with the scheme of always displaying dynamic wallpaper, the embodiment of the application can save power consumption for electronic equipment because the static wallpaper is processed under a certain condition and then the dynamic display effect is presented.
Referring to fig. 3, fig. 3 is another flow chart of the device control method according to the embodiment of the present application. The device control method can be applied to electronic devices. The electronic device may be configured with a first desktop application, a second desktop application, and a wallpaper application, where the first desktop application may be used to display an image, for example, when a desktop background image needs to be displayed, the first desktop application may be used to display an image corresponding to the desktop background. The second desktop application may be used to display icons for the applications. The wallpaper application may be configured to display a wallpaper image, and the image displayed by the first desktop application may be located at an upper layer of the wallpaper image, and the image displayed by the first desktop application may be located at a lower layer of the image displayed by the second desktop application. For example, the hierarchical relationship of the image displayed by the second desktop application, the image displayed by the first desktop application, and the image displayed by the wallpaper application may be as shown in FIG. 4.
It will be appreciated that in one embodiment, the second desktop application is used to display icons for applications. Therefore, the gaps among the icons of the application program can have certain transparency, so that a user can see the desktop background image displayed by the first desktop application or the wallpaper image displayed by the wallpaper application through the gaps with certain transparency.
Since the image displayed by the first desktop application is located at the upper layer of the wallpaper image, if the first desktop application displays the image and the image does not have transparency, the wallpaper image is displayed even if the wallpaper application is located at the upper layer of the wallpaper image, but since the image displayed by the first desktop application is located at the upper layer of the wallpaper image, the wallpaper image is blocked by the image displayed by the first desktop application, that is, the user can only see the image displayed by the first desktop application and cannot see the wallpaper image. If the first desktop application does not display the image, the wallpaper image is not occluded, i.e., the user can see the wallpaper image. If the first desktop application displays an image with a certain transparency gap, the wallpaper image is not completely obscured, i.e. the user can see part of the wallpaper image through the gap with a certain transparency.
The flow of the device control method provided by the embodiment of the application may include:
201. when the wallpaper application displays static wallpaper, the electronic device detects whether an image is displayed by the first desktop application.
For example, when the wallpaper application displays static wallpaper, the electronic device may detect whether it is currently displaying an image via the first desktop application.
If the electronic device has an image displayed by the first desktop application, such as the electronic device displaying an image that serves as a desktop background by the first desktop application, then the electronic device may perform other operations.
If the electronic device is not displaying an image through the first desktop application, then 202 may be entered.
202. And if the first desktop application does not display the image, the electronic equipment acquires the image corresponding to the static wallpaper.
For example, if the electronic device detects that the image is not displayed by the first desktop application currently, the electronic device may acquire an image corresponding to the static wallpaper displayed by the wallpaper application.
203. And the electronic equipment converts the image corresponding to the static wallpaper into a bitmap-format image.
For example, after acquiring an image corresponding to a static wallpaper, the electronic device may convert the image corresponding to the static wallpaper into a Bitmap (Bitmap) format image.
The Bitmap (Bitmap) is also called a Raster image (rate graphics) or a Bitmap, and is an image represented by a Pixel array (Pixel-array/Dot-matrix lattice). Of course, in other embodiments, the electronic device may also convert the image corresponding to the static wallpaper into an image with another format, which is not specifically limited in the embodiments of the present application.
204. And the electronic equipment performs animation processing on the bitmap-format image to obtain an animation image, and displays the animation image through the first desktop application.
For example, after converting an image corresponding to the static wallpaper into a bitmap-format image, the electronic device may perform animation processing on the bitmap-format image, so as to obtain an animated image, and the electronic device may display the animated image through the first desktop application, that is, the electronic device may draw the animated image through the first desktop application.
205. After ending displaying the animated image, the electronic device sets the first desktop application to not display the image.
For example, after finishing displaying the animated image, for example, after the animated image is completely played or the user clicks on an icon of a certain application program, so that the interface of the electronic device jumps from the desktop to the operation interface of the application program, the electronic device may set the first desktop application to not display the image, that is, the electronic device will not display the animated image through the first desktop application any more. For example, the electronic device may clear the animated image previously displayed by the first desktop application such that the first desktop application no longer displays the image, i.e., assumes a transparent state.
In one embodiment, when the electronic device performs a process of detecting whether there is an image displayed by the first desktop application when the wallpaper application displays the static wallpaper, the process may be performed:
and when the wallpaper application displays static wallpaper at a preset time, detecting whether the electronic equipment displays an image through the first desktop application.
For example, the electronic device may detect whether the wallpaper application displays static wallpaper when the electronic device is at a preset time. When the wallpaper application is detected to display static wallpaper, whether the image is displayed by the first desktop application is further detected.
In an embodiment, the preset timing may at least include a timing of entering the desktop after the electronic device releases the screen lock state, and a timing of returning to the desktop from the operation interface of the application program.
For example, the preset time may be a time when the electronic device enters the desktop after the screen locking interface is unlocked. Under the occasion, if the wallpaper application displays static wallpaper and the electronic equipment does not display an image through the first desktop application, the electronic equipment can acquire an image corresponding to the static wallpaper, convert the image corresponding to the static wallpaper into a bitmap-format image, perform animation processing on the bitmap-format image to obtain an animation image, and display the animation image through the first desktop application. It will be appreciated that since the first desktop application has now displayed an animated image, the user may see the animated image and not the wallpaper image.
Or, the preset time may be a time when the electronic device returns to the desktop from the operation interface of the application program. Under the occasion, if the wallpaper application displays static wallpaper and the electronic equipment does not display an image through the first desktop application, the electronic equipment can acquire an image corresponding to the static wallpaper, convert the image corresponding to the static wallpaper into a bitmap-format image, perform animation processing on the bitmap-format image to obtain an animation image, and display the animation image through the first desktop application. It will be appreciated that since the first desktop application has now displayed an animated image, the user may see the animated image and not the wallpaper image.
It can be understood that, on the one hand, when the electronic device enters the desktop after the screen lock state is released or when the electronic device returns to the desktop from the operation interface of the application program, the electronic device in the embodiment of the application can perform animation processing on the static wallpaper, and display the animation image through the first desktop application, so that the effect of dynamic display of the static wallpaper is achieved.
On the other hand, when the preset time is not met, the electronic equipment can display the original static wallpaper, so that the effect of saving the efficacy is achieved.
In one embodiment, the animation processing of the image corresponding to the static wallpaper by the electronic device at least may include:
carrying out gradual change treatment between blurring and definition on an image corresponding to the static wallpaper in a circulating way;
or, carrying out ripple animation processing on the image corresponding to the static wallpaper;
or, carrying out shading and gradual change animation processing on the image corresponding to the static wallpaper.
For example, the animation processing performed by the electronic device on the image corresponding to the static wallpaper may be that the electronic device performs a gradual change processing between blurring and sharpness on the image corresponding to the static wallpaper. For example, the image corresponding to the static wallpaper can be changed from clear gradual change to blurring in a period of 2 seconds or 3 seconds, and then changed from blurring gradual change to clear, and the cycle is repeated.
For another example, the animation processing performed by the electronic device on the image corresponding to the static wallpaper may be ripple animation processing performed on the image corresponding to the static wallpaper. For example, the electronic device may add an animation effect of water-like waves to the image corresponding to the static wallpaper.
For another example, the animation processing performed by the electronic device on the image corresponding to the static wallpaper may be animation processing performed by performing shading on the image corresponding to the static wallpaper. For example, the image corresponding to the static wallpaper may be gradually lightened in a period of 2 seconds or 3 seconds, and then gradually darkened, and the cycle is repeated.
It should be noted that, after the above 3 animation effects are removed, the animation processing performed by the electronic device on the image corresponding to the static wallpaper may further include other animation effects, which is not limited in particular in the embodiment of the present application. The animation processing of the electronic device on the image corresponding to the static wallpaper can be implemented through various algorithms, and the algorithms are not particularly limited in the embodiment of the application, so long as the corresponding animation effect can be implemented.
In one implementation manner, the embodiment of the application may further include the following flow:
displaying image processing options with various animation effects on a desktop of an electronic device;
then, when the electronic device performs animation processing on the image corresponding to the static wallpaper, the method may include: and according to the selected image processing options, the electronic equipment performs animation processing on the image corresponding to the static wallpaper.
For example, the electronic device may display a plurality of image processing options on the desktop, each image processing option being used to represent an animation effect that the electronic device is capable of achieving. For example, the electronic device may display 3 image processing options, A, B, C respectively, on the desktop. The image processing option A is used for representing an animation effect of cyclically carrying out gradual change processing between blurring and sharpness on the image corresponding to the static wallpaper, which can be realized by the electronic equipment. The image processing option B is used for representing an animation effect of performing ripple animation processing on the image corresponding to the static wallpaper, which can be realized by the electronic equipment. The image processing option C is used for representing an animation effect of performing shading and gradual change animation processing on the image corresponding to the static wallpaper, which can be realized by the electronic equipment.
When the user selects the image processing option A, the electronic device can cyclically perform gradual change processing on the image corresponding to the static wallpaper between blurring and sharpness, so that a corresponding animation effect is achieved. Or when the user selects the image processing option B, the electronic device can perform ripple animation processing on the image corresponding to the static wallpaper, thereby achieving a corresponding animation effect, and the like.
Referring to fig. 5 to fig. 7, fig. 5 to fig. 7 are schematic views of a device control method according to an embodiment of the present application.
For example, as shown in fig. 5, 3 image processing options, A, B, C respectively, are displayed on the desktop of the electronic device, each for representing one animation effect that the electronic device is capable of achieving. The image processing option A is used for representing an animation effect of cyclically carrying out gradual change processing between blurring and sharpness on the image corresponding to the static wallpaper, which can be realized by the electronic equipment. The image processing option B is used for representing an animation effect of performing ripple animation processing on the image corresponding to the static wallpaper, which can be realized by the electronic equipment. The image processing option C is used for representing an animation effect of performing shading and gradual change animation processing on the image corresponding to the static wallpaper, which can be realized by the electronic equipment.
For example, the user selects the image processing option a by a click operation, that is, an animation effect indicating that the user wants to realize a gradation process between blurring and sharpness cyclically for an image corresponding to a static wallpaper.
In addition, the user sets two kinds of occasions as preset occasions, namely: the time when the desktop is accessed after the screen locking interface is unlocked and the time when the desktop is returned from the operation interface of the application program.
In this embodiment of the present application, for example, as shown in fig. 6, when the touch display screen of the electronic device is in a screen locking state, the user inputs fingerprint information on the electronic device. After the fingerprint information of the user is obtained, the electronic device can match the fingerprint information of the user with preset fingerprint information. For example, the electronic device detects that the fingerprint information of the user is successfully matched with the preset fingerprint information. At this time, the electronic device may release the locked state of the touch display screen.
After the screen locking interface is unlocked, the electronic device can enter the interface of the desktop. At this time, the electronic device may detect that the current is at a preset timing. In this case, the electronic device may detect whether the wallpaper application displays static wallpaper.
If the wallpaper application displays dynamic wallpaper, the electronic device may continue to display dynamic wallpaper.
If the wallpaper application displays static wallpaper, the electronic device may further detect whether an image is displayed by the first desktop application.
If the electronic device detects that the image has been displayed by the first desktop application, the electronic device may continue to display the image by the first desktop application, and it may be understood that the image displayed by the first desktop application is the desktop background image.
If the electronic device detects that the image is not displayed through the first desktop application currently, the electronic device is not provided with the desktop background image at the moment. Then, the electronic device may acquire an image corresponding to the static wallpaper, and convert the image corresponding to the static wallpaper into a bitmap format image.
The electronic device may then animate the image in the bitmap format by: the transition between blurring and sharpness is cyclically made. And, the electronic device may display the animated image obtained by the animation processing through the first desktop application. That is, the user can view the dynamic visual effect of the image fading between blur and sharpness on the desktop.
It can be understood that in the case that the electronic device uses the static wallpaper, the static wallpaper can be processed into the animation image, so that the flexibility and the interestingness of the electronic device for displaying the wallpaper image are improved.
For example, after entering the desktop, the user clicks on an application icon of the instant messaging application to launch the instant messaging application, as shown in fig. 7. At this time, the electronic device enters the operation interface of the application program from the interface of the desktop. Then the electronic device may end displaying the animated image corresponding to the static wallpaper and set the first desktop application to not display the image.
When the electronic device is at the preset time next time, the electronic device can still acquire the image corresponding to the static wallpaper, convert the image corresponding to the static wallpaper into the image in the bitmap format, perform animation processing on the image in the bitmap format to obtain an animation image, and display the animation image through the first desktop application.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an apparatus control device according to an embodiment of the present application. The device control apparatus can be applied to an electronic device. The electronic device is configured with a first desktop application and a wallpaper application, the first desktop application is used for displaying images, the wallpaper application is used for displaying wallpaper images, and the images displayed by the first desktop application are located on the upper layer of the wallpaper images. The device control apparatus 300 may include: the device comprises a detection module 301, an acquisition module 302 and a processing module 303.
The detection module 301 is configured to detect whether an image is displayed by the first desktop application when the wallpaper application displays static wallpaper.
And the obtaining module 302 is configured to obtain an image corresponding to the static wallpaper if the first desktop application does not display the image.
And the processing module 303 is used for performing animation processing on the image corresponding to the static wallpaper to obtain an animation image, and displaying the animation image through the first desktop application.
In one embodiment, the processing module 303 may also be configured to:
converting the image corresponding to the static wallpaper into a bitmap-format image;
and carrying out animation processing on the bitmap-format image.
In one embodiment, the processing module 303 may also be configured to:
after finishing displaying the animation image, the first desktop application is set to not display the image.
In one embodiment, the detection module 301 may be configured to:
and when the wallpaper application displays static wallpaper at a preset time, detecting whether the electronic equipment displays an image through the first desktop application.
In one embodiment, the preset time at least includes a time for entering the desktop after the screen lock state is released, and a time for returning to the desktop from the operation interface of the application program.
In one embodiment, the processing module 303 may be configured to:
carrying out gradual change treatment between blurring and definition on the image corresponding to the static wallpaper in a circulating way;
or, carrying out ripple animation processing on the image corresponding to the static wallpaper;
or performing shading and gradual change animation processing on the image corresponding to the static wallpaper.
In one embodiment, the detection module 301 may also be configured to:
displaying image processing options with various animation effects on a desktop of the electronic device;
then, the processing module 303 may be configured to: and according to the selected image processing options, performing animation processing on the image corresponding to the static wallpaper.
In one embodiment, the electronic device is further configured with a second desktop application, the second desktop application is used for displaying icons of application programs, the first desktop application is used for displaying images corresponding to desktop backgrounds, and the images displayed by the first desktop application are located at the lower layer of the images displayed by the second desktop application.
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed on a computer, causes the computer to execute a flow in an apparatus control method as provided in the present embodiment.
The embodiment of the application also provides electronic equipment, which comprises a memory and a processor, wherein the processor is used for executing the flow in the equipment control method provided by the embodiment by calling the computer program stored in the memory.
For example, the electronic device may be a mobile terminal such as a tablet computer or a smart phone. Referring to fig. 9, fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
The electronic device 400 may include a touch display 401, memory 402, processor 403, and the like. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 9 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The touch display 401 may be used to display information such as text, images, and the like, and the touch display 401 may also be used to receive a touch operation by a user or the like.
Memory 402 may be used to store applications and data. The memory 402 stores application programs including executable code. Applications may constitute various functional modules. Processor 403 executes various functional applications and data processing by running application programs stored in memory 402.
The processor 403 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing application programs stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device.
In this embodiment, the electronic device is configured with a first desktop application and a wallpaper application, where the first desktop application is used for displaying an image, the wallpaper application is used for displaying a wallpaper image, and the image displayed by the first desktop application is located at an upper layer of the wallpaper image.
The processor 403 in the electronic device loads executable code corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 403 executes the application programs stored in the memory 402, so as to execute:
detecting whether the electronic equipment displays an image through the first desktop application when the wallpaper application displays static wallpaper;
if the first desktop application does not display the image, acquiring an image corresponding to the static wallpaper;
and carrying out animation processing on the image corresponding to the static wallpaper to obtain an animation image, and displaying the animation image through the first desktop application.
Referring to fig. 10, an electronic device 400 may include a touch display 401, a memory 402, a processor 403, a battery 404, a speaker 405, a microphone 406, and the like.
The touch display 401 may be used to display information such as text, images, and the like, and the touch display 401 may also be used to receive a touch operation by a user or the like.
Memory 402 may be used to store applications and data. The memory 402 stores application programs including executable code. Applications may constitute various functional modules. Processor 403 executes various functional applications and data processing by running application programs stored in memory 402.
The processor 403 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing application programs stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device.
The battery 404 may be used to provide power support for various components, modules, and so forth of the electronic device to ensure proper operation of the electronic device.
The speaker 405 may be used to play sound signals.
Microphone 406 may be used to collect sound signals in the surrounding environment, e.g., microphone 406 may be used to collect sound signals corresponding to a user's voice instructions, etc.
In this embodiment, the electronic device is configured with a first desktop application and a wallpaper application, where the first desktop application is used for displaying an image, the wallpaper application is used for displaying a wallpaper image, and the image displayed by the first desktop application is located at an upper layer of the wallpaper image.
The processor 403 in the electronic device loads executable code corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 403 executes the application programs stored in the memory 402, so as to execute:
detecting whether the electronic equipment displays an image through the first desktop application when the wallpaper application displays static wallpaper;
if the first desktop application does not display the image, acquiring an image corresponding to the static wallpaper;
and carrying out animation processing on the image corresponding to the static wallpaper to obtain an animation image, and displaying the animation image through the first desktop application.
In one embodiment, the processor 403 may also perform: and converting the image corresponding to the static wallpaper into a bitmap-format image.
Then, when the processor 403 performs the animation processing on the image corresponding to the static wallpaper, the method may perform: and carrying out animation processing on the bitmap-format image.
In one embodiment, the processor 403 may also perform: after finishing displaying the animation image, the first desktop application is set to not display the image.
In one embodiment, when the processor 403 executes the detecting whether the electronic device displays an image through the first desktop application while the wallpaper application displays static wallpaper, the detecting may be performed: and when the wallpaper application displays static wallpaper at a preset time, detecting whether the electronic equipment displays an image through the first desktop application.
In one embodiment, the preset time at least includes a time of entering the desktop after the screen lock state is released, and a time of returning to the desktop from the operation interface of the application program.
In one embodiment, when the processor 403 performs the animation processing on the image corresponding to the static wallpaper, the method may be performed: carrying out gradual change treatment between blurring and definition on the image corresponding to the static wallpaper in a circulating way; or, carrying out ripple animation processing on the image corresponding to the static wallpaper; or performing shading and gradual change animation processing on the image corresponding to the static wallpaper.
In one embodiment, the processor 403 may also perform: displaying image processing options with various animation effects on a desktop of the electronic device;
then, when the processor 403 performs the animation processing on the image corresponding to the static wallpaper, the method may perform: and according to the selected image processing options, performing animation processing on the image corresponding to the static wallpaper.
In one embodiment, the electronic device is further configured with a second desktop application, the second desktop application is used for displaying icons of application programs, the first desktop application is used for displaying images corresponding to desktop backgrounds, and the images displayed by the first desktop application are located below the images displayed by the second desktop application.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and the portions of a certain embodiment that are not described in detail may be referred to the above detailed description of the device control method, which is not repeated herein.
The device control apparatus provided in the embodiment of the present application belongs to the same concept as the device control method in the foregoing embodiment, and any method provided in the device control method embodiment may be run on the device control apparatus, and a specific implementation process of the device control apparatus is detailed in the device control method embodiment and will not be described herein.
It should be noted that, for the device control method according to the embodiment of the present application, it will be understood by those skilled in the art that all or part of the flow of implementing the device control method according to the embodiment of the present application may be implemented by controlling related hardware by using a computer program, where the computer program may be stored in a computer readable storage medium, such as a memory, and executed by at least one processor, and the execution may include the flow of the embodiment of the device control method as described herein. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a random access Memory (RAM, random Access Memory), etc.
For the device control apparatus of the embodiments of the present application, each functional module may be integrated in one processing chip, or each module may exist separately and physically, or two or more modules may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated module, if implemented as a software functional module and sold or used as a stand-alone product, may also be stored on a computer readable storage medium such as read-only memory, magnetic or optical disk, etc.
The foregoing describes in detail a device control method, device, storage medium and electronic device provided in the embodiments of the present application, and specific examples are applied to illustrate principles and implementations of the present application, where the foregoing description of the embodiments is only used to help understand the method and core idea of the present application; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.

Claims (11)

1. An apparatus control method applied to an electronic apparatus, wherein the electronic apparatus is configured with a first desktop application and a wallpaper application, the first desktop application is used for displaying an image, the wallpaper application is used for displaying a wallpaper image, and the image displayed by the first desktop application is located at an upper layer of the wallpaper image, the method comprising:
detecting whether the electronic equipment displays an image through the first desktop application when the wallpaper application displays static wallpaper;
if the first desktop application does not display the image, acquiring an image corresponding to the static wallpaper;
performing animation processing on the image corresponding to the static wallpaper to obtain an animation image, displaying the animation image through the first desktop application, and if the first desktop application display does not have transparency, only the animation image displayed by the first desktop application can be seen by a user, but the static wallpaper displayed by the wallpaper application cannot be seen by the user; if the first desktop application display has a certain transparency gap, the user can see the animation image displayed by the first desktop application and part of the static wallpaper displayed by the wallpaper application;
the electronic equipment is also configured with a second desktop application; the second desktop application is used for displaying icons of application programs; the gaps among the icons of the application programs have certain transparency, and the first desktop application display has certain transparency gaps, so that a user can see the image displayed by the first desktop application and part of the wallpaper image displayed by the wallpaper application through the gaps with certain transparency;
after the animated image is displayed, and the interface of the electronic device jumps from the desktop to the operation interface of the application program, the electronic device sets the first desktop application to not display the image, and the electronic device can not display the animated image through the first desktop application any more, and presents a transparent state.
2. The apparatus control method according to claim 1, characterized in that the method further comprises:
converting the image corresponding to the static wallpaper into a bitmap-format image;
the animation processing of the image corresponding to the static wallpaper comprises the following steps: and carrying out animation processing on the bitmap-format image.
3. The apparatus control method according to claim 1, characterized in that the method further comprises:
after finishing displaying the animation image, the first desktop application is set to not display the image.
4. The device control method of claim 1, wherein the detecting whether the electronic device has displayed an image via the first desktop application while the wallpaper application is displaying static wallpaper comprises:
and when the wallpaper application displays static wallpaper at a preset time, detecting whether the electronic equipment displays an image through the first desktop application.
5. The device control method according to claim 4, wherein the preset timing includes at least a timing of entering a desktop after releasing a screen lock state, and a timing of returning to the desktop from an operation interface of an application program.
6. The apparatus control method according to claim 1, wherein said performing animation processing on the image corresponding to the static wallpaper includes at least:
carrying out gradual change treatment between blurring and definition on the image corresponding to the static wallpaper in a circulating way;
or, carrying out ripple animation processing on the image corresponding to the static wallpaper;
or performing shading and gradual change animation processing on the image corresponding to the static wallpaper.
7. The apparatus control method according to claim 1, characterized in that the method further comprises:
displaying image processing options with various animation effects on a desktop of the electronic device;
the animation processing of the image corresponding to the static wallpaper comprises the following steps: and according to the selected image processing options, performing animation processing on the image corresponding to the static wallpaper.
8. The device control method according to claim 1, wherein the electronic device is further configured with a second desktop application for displaying icons of application programs, the first desktop application is for displaying images corresponding to desktop backgrounds, and the images displayed by the first desktop application are located below the images displayed by the second desktop application.
9. A device control apparatus applied to an electronic device, wherein the electronic device is configured with a first desktop application and a wallpaper application, the first desktop application is used for displaying an image, the wallpaper application is used for displaying a wallpaper image, and the image displayed by the first desktop application is located at an upper layer of the wallpaper image, the apparatus comprising:
the detection module is used for detecting whether the electronic equipment displays an image through the first desktop application when the wallpaper application displays static wallpaper;
the acquisition module is used for acquiring the image corresponding to the static wallpaper if the first desktop application does not display the image;
the processing module is used for carrying out animation processing on the image corresponding to the static wallpaper to obtain an animation image, displaying the animation image through the first desktop application, and if the display of the first desktop application does not have transparency, a user can only see the animation image displayed by the first desktop application and cannot see the static wallpaper displayed by the wallpaper application; if the first desktop application display has a certain transparency gap, the user can see the animation image displayed by the first desktop application and part of the static wallpaper displayed by the wallpaper application; the electronic equipment is also configured with a second desktop application; the second desktop application is used for displaying icons of application programs; the gaps among the icons of the application programs have certain transparency, and the first desktop application display has certain transparency gaps, so that a user can see the image displayed by the first desktop application and part of the wallpaper image displayed by the wallpaper application through the gaps with certain transparency; after the animated image is displayed, and the interface of the electronic device jumps from the desktop to the operation interface of the application program, the electronic device sets the first desktop application to not display the image, and the electronic device can not display the animated image through the first desktop application any more, and presents a transparent state.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed on a computer, causes the computer to perform the method of any one of claims 1 to 8.
11. An electronic device comprising a memory, a processor, wherein the processor executes the method of any of claims 1 to 8 by invoking a computer program stored in the memory.
CN202010261200.8A 2020-04-03 2020-04-03 Equipment control method and device, storage medium and electronic equipment Active CN111475242B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010261200.8A CN111475242B (en) 2020-04-03 2020-04-03 Equipment control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010261200.8A CN111475242B (en) 2020-04-03 2020-04-03 Equipment control method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111475242A CN111475242A (en) 2020-07-31
CN111475242B true CN111475242B (en) 2024-03-19

Family

ID=71749773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010261200.8A Active CN111475242B (en) 2020-04-03 2020-04-03 Equipment control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111475242B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114089876B (en) * 2020-08-10 2024-05-24 深圳市万普拉斯科技有限公司 Wallpaper display method, wallpaper display device, computer equipment and storage medium
CN113849096B (en) * 2021-11-30 2022-06-24 统信软件技术有限公司 Desktop display method and device and computing equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252299A (en) * 2013-06-28 2014-12-31 上海斐讯数据通信技术有限公司 Mobile terminal for controlling wallpaper to change color
CN104834373A (en) * 2015-04-29 2015-08-12 深圳市金立通信设备有限公司 Method for displaying wallpaper element
CN109308207A (en) * 2018-09-28 2019-02-05 珠海市君天电子科技有限公司 A kind of display methods of dynamic wallpaper, device, electronic equipment and storage medium
CN110908762A (en) * 2019-11-22 2020-03-24 珠海豹趣科技有限公司 Dynamic wallpaper implementation method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252299A (en) * 2013-06-28 2014-12-31 上海斐讯数据通信技术有限公司 Mobile terminal for controlling wallpaper to change color
CN104834373A (en) * 2015-04-29 2015-08-12 深圳市金立通信设备有限公司 Method for displaying wallpaper element
CN109308207A (en) * 2018-09-28 2019-02-05 珠海市君天电子科技有限公司 A kind of display methods of dynamic wallpaper, device, electronic equipment and storage medium
CN110908762A (en) * 2019-11-22 2020-03-24 珠海豹趣科技有限公司 Dynamic wallpaper implementation method and device

Also Published As

Publication number Publication date
CN111475242A (en) 2020-07-31

Similar Documents

Publication Publication Date Title
US11320960B2 (en) Icon display method, device, and terminal
CN108803964B (en) Buoy display method, device, terminal and storage medium
CN116501210B (en) Display method, electronic equipment and storage medium
US20200008142A1 (en) Method for Controlling Terminal, and Terminal
CN111225138A (en) Camera control method and device, storage medium and terminal
CN111475242B (en) Equipment control method and device, storage medium and electronic equipment
EP3822758B1 (en) Method and apparatus for setting background of ui control
CN112035046B (en) Method and device for displaying list information, electronic equipment and storage medium
CN111127469A (en) Thumbnail display method, device, storage medium and terminal
WO2015200618A1 (en) Light dismiss manager
CN112184595A (en) Mobile terminal and image display method thereof
CN111124668A (en) Memory release method and device, storage medium and terminal
CN111913614B (en) Multi-picture display control method and device, storage medium and display
CN111107427B (en) Image processing method and related product
CN111866372A (en) Self-photographing method, device, storage medium and terminal
CN110471700B (en) Graphic processing method, apparatus, storage medium and electronic device
CN110045958B (en) Texture data generation method, device, storage medium and equipment
WO2024067319A1 (en) Method and system for creating stickers from user-generated content
CN117651212A (en) Exposure parameter adjusting method and electronic equipment
CN110489318B (en) Systrace information grabbing method and device, storage medium and terminal
CN113038141A (en) Video frame processing method and electronic equipment
CN112489006A (en) Image processing method, image processing device, storage medium and terminal
CN113934500A (en) Rendering method, rendering device, storage medium and electronic equipment
CN115482154A (en) Training method for generating confrontation network model, and hyper-resolution image reconstruction method and device
CN109675312B (en) Game item list display method and device

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