CN111158815B - Dynamic wallpaper blurring method, terminal and computer readable storage medium - Google Patents

Dynamic wallpaper blurring method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN111158815B
CN111158815B CN201911312254.6A CN201911312254A CN111158815B CN 111158815 B CN111158815 B CN 111158815B CN 201911312254 A CN201911312254 A CN 201911312254A CN 111158815 B CN111158815 B CN 111158815B
Authority
CN
China
Prior art keywords
dynamic wallpaper
wallpaper
blurring
dynamic
frame rate
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
CN201911312254.6A
Other languages
Chinese (zh)
Other versions
CN111158815A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201911312254.6A priority Critical patent/CN111158815B/en
Publication of CN111158815A publication Critical patent/CN111158815A/en
Application granted granted Critical
Publication of CN111158815B publication Critical patent/CN111158815B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Abstract

The invention discloses a dynamic wallpaper blurring method, a terminal and a computer readable storage medium, which aim at the problems that icons and characters are blurred, dynamic effects are not possessed, switching between the screenshot blurring wallpaper and the original dynamic wallpaper is incoherent and the like caused by adopting a screenshot and blurring scheme in the existing dynamic wallpaper blurring scheme, and a corresponding picture interface is provided by reading a real-time picture of the dynamic wallpaper; acquiring the frame rate of the dynamic wallpaper, providing a play frame rate identical to the frame rate, and providing a frame rate interface for acquiring the play frame rate; according to the play frame rate, acquiring a real-time picture of the dynamic wallpaper through a picture interface, performing blurring processing, and manufacturing a dynamic wallpaper blurring video; under a preset scene, the fuzzy video of the dynamic wallpaper is used as a background, so that independent blurring of the dynamic wallpaper is realized, the interference of the dynamic wallpaper to specific display contents is reduced, the continuity of switching between the original dynamic wallpaper and the processed fuzzy dynamic wallpaper is ensured, and the use experience of a user is improved.

Description

Dynamic wallpaper blurring method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of terminal display interfaces, and more particularly, to a dynamic wallpaper blurring method, a terminal, and a computer-readable storage medium.
Background
With the development of modern society, people cannot leave various terminals in daily life. Many terminals in daily life are provided with a display interface, and wallpaper is the most obvious in the display interface. Because everyone has different preferences, users often set their favorite pictures as wallpaper, and many users also set dynamic wallpaper. In some application scenarios, for example, when a folder on a desktop is unfolded and a latest task bar is opened, a few wallpaper or dynamic wallpaper will interfere with the target display content, so as to affect the user experience, and therefore, how to blur the wallpaper or dynamic wallpaper is also a focus of attention.
Many terminals have Gaussian blur wallpaper functions, the functions are easy to realize, only the current static wallpaper is required to be subjected to Gaussian blur, but when the terminals use the dynamic wallpaper, as the pictures of the dynamic wallpaper are always changed and the blurring processing is difficult, most of the terminals currently adopt a scheme of not blurring the dynamic wallpaper, the original dynamic wallpaper is directly displayed, and some terminals adopt a scheme of capturing the current dynamic wallpaper and performing Gaussian blur processing, but some icons and characters also participate in blur due to the scheme, and the wallpaper does not have a dynamic effect due to the scheme of capturing and blurring processing, so that the effect expected by a user cannot be achieved; in addition, when the original static blurred stop-motion picture returns to the normal display state from the blurred state, the original static blurred stop-motion picture is quite likely to be different from the current normal display dynamic wallpaper picture, so that interface transition is incoherent, and user experience is reduced.
Disclosure of Invention
The invention aims to solve the technical problem of only blurring the dynamic wallpaper, reduce the interference of the dynamic wallpaper to specific display contents in partial application scenes, and maintain the consistency of the original dynamic wallpaper and the dynamic wallpaper after blurring processing when being mutually switched, and provides a dynamic wallpaper blurring method, a terminal and a computer readable storage medium.
In order to solve the technical problems, the invention provides a dynamic wallpaper blurring method, which comprises the following steps:
reading a real-time picture of the dynamic wallpaper, and providing a picture interface for acquiring the real-time picture of the dynamic wallpaper;
acquiring the frame rate of the dynamic wallpaper, providing a play frame rate which is the same as the frame rate of the dynamic wallpaper, and providing a frame rate interface for acquiring the play frame rate;
acquiring a play frame rate, acquiring a real-time picture of the dynamic wallpaper through a picture interface according to the play frame rate, performing fuzzy processing, and manufacturing the real-time picture of the dynamic wallpaper after the fuzzy processing into a dynamic wallpaper fuzzy video;
and taking the dynamic wallpaper blurred video as a background in a preset scene.
Optionally, acquiring the dynamic wallpaper picture includes:
the drawing content of the wallpaper window is individually distinguished through a system drawing core;
And reading a real-time picture of the dynamic wallpaper in the wallpaper window.
Optionally, the step of obtaining the real-time picture of the dynamic wallpaper through the picture interface according to the play frame rate specifically includes:
and according to the playing frame rate, in the playing process of the dynamic wallpaper, acquiring real-time pictures of the dynamic wallpaper at specific time intervals until the dynamic wallpaper is completely played at least once.
Optionally, the mode of performing fuzzy processing on the real-time picture of the dynamic wallpaper specifically includes: and blurring the real-time picture of the dynamic wallpaper by using a Gaussian blurring algorithm.
Optionally, the making the real-time picture of the dynamic wallpaper after the blurring processing into the dynamic wallpaper blurring video includes:
and sequentially inserting real-time pictures of the dynamic wallpaper after the blurring processing at specific time intervals according to the play frame rate, and synthesizing a dynamic wallpaper blurring video, wherein the duration of the dynamic blurring video is the same as that of the dynamic wallpaper.
Optionally, the step of using the dynamic wallpaper blurred video as a background comprises:
taking the fuzzy video of the dynamic wallpaper as a new wallpaper interface, and replacing the original dynamic wallpaper interface;
or, the dynamic wallpaper blurred video is used as an independent interface to be covered on the original dynamic wallpaper interface.
Optionally, the play start picture of the dynamic wallpaper blurred video corresponds to the current picture of the dynamic wallpaper.
Optionally, the preset scene includes at least one of the following:
when the desktop folder window is unfolded, the task bar is displayed, the desktop is tidied, the status bar is pulled down, and the window pops up.
Further, the embodiment of the invention also provides a terminal, which comprises a processor, a memory and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the dynamic wallpaper blurring method described above.
Further, an embodiment of the present invention further provides a computer readable storage medium, where one or more programs are stored, and the one or more programs may be executed by one or more processors to implement the steps of the dynamic wallpaper blurring method described above.
The beneficial effects of the invention are that
The invention provides a dynamic wallpaper blurring method, a terminal and a computer readable storage medium, which aim at the problems that icons and characters are blurred, dynamic effects are not possessed, and switching between the screenshot blurring wallpaper and the original dynamic wallpaper is incoherent and the like caused by adopting a screenshot and blurring scheme in the existing dynamic wallpaper blurring scheme; acquiring the frame rate of the dynamic wallpaper, providing a play frame rate which is the same as the frame rate of the dynamic wallpaper, and providing a frame rate interface for acquiring the play frame rate; acquiring a play frame rate, acquiring a real-time picture of the dynamic wallpaper through a picture interface according to the play frame rate, performing fuzzy processing, and manufacturing the real-time picture of the dynamic wallpaper after the fuzzy processing into a dynamic wallpaper fuzzy video; under a preset scene, the fuzzy video of the dynamic wallpaper is used as a background, so that independent blurring of the dynamic wallpaper is realized (irrelevant icons and characters are eliminated), the interference of the dynamic wallpaper on specific display contents is reduced under partial scenes, the continuity of switching between the original dynamic wallpaper and the processed fuzzy dynamic wallpaper is ensured, and the use experience of a user is improved.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a schematic diagram of an alternative hardware architecture of a terminal for implementing various embodiments of the present invention;
FIG. 2 is a flow chart of a method for blurring dynamic wallpaper according to an embodiment of the invention;
FIG. 3 is a diagram showing the blur of dynamic wallpaper when a folder window of a desktop is unfolded according to a first embodiment of the present invention;
FIG. 4 is a diagram showing a motion wallpaper blur when a status bar is pulled down in a first embodiment of the present invention;
FIG. 5 is a schematic view of dynamic wallpaper blur when a window pops up in accordance with a first embodiment of the present invention;
FIG. 6 is a flow chart of a method for blurring dynamic wallpaper according to a second embodiment of the present invention;
FIG. 7 is a flow chart of a method for blurring dynamic wallpaper according to a third embodiment of the present invention;
fig. 8 is a diagram showing a structure of a terminal in a fourth embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
The terminal may be implemented in various forms. For example, the terminals described in the present invention may include mobile terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and fixed terminals such as digital TVs, desktop computers, and the like.
The following description will be given taking a mobile terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for a moving purpose.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, global System for Mobile communications), GPRS (General Packet Radio Service ), CDMA2000 (Code Division Multiple Access, CDMA 2000), WCDMA (Wideb and Code Division Multiple Access ), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time Division synchronous code Division multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency Division Duplex Long term evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution, time Division Duplex Long term evolution), etc.
WiFi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 102, it is understood that it does not belong to the necessary constitution of a mobile terminal, and can be omitted entirely as required within a range that does not change the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting the audio signal.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. In particular, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Further, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power source 111 (e.g., a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described herein.
Based on the above-mentioned mobile terminal hardware structure, various embodiments of the present invention are presented.
First embodiment
In order to solve the problems that icons and characters participate in blurring, have no dynamic effect, and the switching between the screenshot blurring wallpaper and the original dynamic wallpaper is not consistent due to the adoption of the screenshot blurring scheme in the existing dynamic wallpaper blurring scheme, the embodiment provides a dynamic wallpaper blurring method which can be applied to various electronic terminals, including various mobile terminals, such as mobile phones, tablets, palm computers or notebook computers; and can also be used on terminals of non-mobile type, such as desktop computers, etc. Fig. 2 is a flowchart of a dynamic wallpaper blurring method according to an embodiment of the present invention, the dynamic wallpaper blurring method comprising the following steps:
s201: and reading the real-time picture of the dynamic wallpaper and providing a picture interface for acquiring the real-time picture of the dynamic wallpaper.
In an Android (Android, hereinafter referred to as Android) system, there are many system services, including a surfefliger (system drawing core, hereinafter referred to as surfefliger) service. The underlying SurfaceFlinger display of the Android system is a combination, each application may correspond to one or more windows (graphical interfaces, hereinafter referred to as windows), each of which is independent of each other, and has a respective position and size on the screen, and the content, content size, position, etc. displayed in each of the windows may change when we change the application, for example, under the micro-letter application interface, both the top status bar and the bottom navigation key are present at the same time. The wallpaper is also an independent window, and the interface of the desktop is drawn on the wallpaper window, so that the window of the wallpaper can be distinguished independently through the surface eFlinger service, and then the picture of the wallpaper is read, and when the used wallpaper is dynamic wallpaper, the read picture is the current real-time picture of the dynamic wallpaper. It should be appreciated that either static wallpaper or dynamic wallpaper may be looked up for its window through the surfeflinger service. In addition, the surfeflinger service may also provide an interface for capturing a picture of wallpaper. It should be understood that the present invention is not limited to this interface, as long as the interface can obtain the current wallpaper picture, for example, a getCurrentWallpaperBitmap interface may be defined to obtain the real-time picture of the current dynamic wallpaper.
S202: and obtaining the frame rate of the dynamic wallpaper, providing a playing frame rate which is the same as the frame rate of the dynamic wallpaper, and providing a frame rate interface for obtaining the playing frame rate.
The essence of the dynamic wallpaper is to play a video, so that the dynamic wallpaper service in the Android system can be utilized to obtain relevant parameters of the dynamic wallpaper in use, wherein the parameters comprise the frame rate of the dynamic wallpaper. The dynamic wallpaper service provides the same playing frequency according to the acquired dynamic wallpaper frequency, and the playing frequency can be acquired through an interface provided by the dynamic wallpaper service. It should be understood that the present invention is not limited to this interface, as long as the interface can obtain the above-mentioned play frame rate, and for example, a getdynamicwallpapers interface may be defined to obtain the play frame rate.
S203: and acquiring a play frame rate, acquiring a real-time picture of the dynamic wallpaper through a picture interface according to the play frame rate, performing blurring processing, and manufacturing the real-time picture of the dynamic wallpaper after blurring processing into a dynamic wallpaper blurring video.
The Gaussian blur client obtains the playing frame rate through an interface provided by the dynamic wallpaper service, and obtains the current real-time picture of the dynamic wallpaper through a picture interface provided by the SurfaceFlinger service according to the frame rate. Wherein, the obtaining the dynamic wallpaper real-time picture specifically comprises: and according to the playing frame rate, in the playing process of the dynamic wallpaper, acquiring real-time pictures of the dynamic wallpaper at specific time intervals until the dynamic wallpaper is completely played at least once. For example, when the playing frame rate is 50 frames per second, it means that 50 real-time frames of the dynamic wallpaper need to be acquired every second, so the time interval for acquiring the real-time frames is 0.02 second, that is, the first real-time frame of the dynamic wallpaper is acquired at the 0 th second, and then one real-time frame of the dynamic wallpaper is acquired every 0.02 second until the dynamic wallpaper is completely played at least once. It should be understood that the process of obtaining the real-time frames of the dynamic wallpaper needs to be continued until the dynamic wallpaper is completely played at least once, so as to obtain all the real-time frames of the dynamic wallpaper at a specific time interval, and avoid generating omission to cause inconsistent dynamic video blurring effect and original dynamic video.
The gaussian blur client performs blur processing on the acquired dynamic wallpaper real-time picture, and it should be understood that the dynamic wallpaper real-time picture can be subjected to blur processing each time the dynamic wallpaper real-time picture is acquired, or can be subjected to blur processing after all the dynamic wallpaper real-time pictures are acquired. The blurring process is not limited to the obtained real-time dynamic wallpaper picture, and the processing method capable of realizing the picture blurring effect can be any processing method, for example, the real-time dynamic wallpaper picture can be subjected to the blurring process by adopting algorithms including, but not limited to, gaussian blurring, mean blurring, stark blur blurring and the like. Preferably, in the embodiment, a gaussian blur algorithm is adopted to perform blur processing on the real-time frames of the dynamic wallpaper. Before the dynamic wallpaper real-time picture blurring processing is carried out, the user can set the level to be blurred, the higher the level is, the stronger the blurring effect is, and if the level is not set, the processing is carried out according to the default blurring level.
After all acquired dynamic wallpaper real-time pictures are subjected to fuzzy processing, the dynamic wallpaper real-time pictures are manufactured into dynamic wallpaper fuzzy videos, and the method specifically comprises the following steps of: and sequentially inserting real-time pictures of the dynamic wallpaper after the blurring processing at specific time intervals according to the play frame rate, and synthesizing a dynamic wallpaper blurring video, wherein the duration of the dynamic blurring video is the same as that of the dynamic wallpaper. For example, when the play frame rate is 50 frames per second, a real-time picture of the blurred dynamic wallpaper is inserted every 0.02 second, and the blurred dynamic wallpaper video is synthesized. Because the number of the acquired real-time pictures of the dynamic wallpaper is determined by the duration and the playing frame rate of the dynamic wallpaper, the time length of the synthesized dynamic wallpaper fuzzy video is the same as that of the dynamic wallpaper under the condition that the frame rate and the number of the real-time pictures of the dynamic wallpaper after the fuzzy processing are the same. Before synthesizing the dynamic wallpaper blurred video, a preview interface can be provided for a user to preview the effect of the dynamic wallpaper blurred video, and if the effect is unsatisfactory, the step of returning to the step of selecting the blur level can be carried out for reselection.
S204: and taking the dynamic wallpaper blurred video as a background in a preset scene.
The preset scene refers to a scene in which the dynamic wallpaper may affect the specific display content, or a scene set by the terminal manufacturer and the user, for example, the preset scene may be at least one of the following: when the folder window of the desktop is unfolded, when the latest taskbar is displayed, when the desktop is tidied, when the status bar is pulled down, and when the window pops up. The following describes a scenario such as a folder window, status bar drop-down, and window pop-up of a desktop.
The effect of using the blurred video of the dynamic wallpaper as a background when the folder window of the desktop is unfolded is shown in fig. 3, and the dynamic wallpaper is normally displayed before the folder window is unfolded. After the folder window is unfolded, the blurred video of the dynamic wallpaper is used as a background, and the blurred effect of the dynamic wallpaper is shown.
The effect of using the blurred video of the dynamic wallpaper as a background when the status bar is pulled down is shown in fig. 4, and the dynamic wallpaper is normally displayed before the status bar is pulled down. After the status bar is pulled down, the blurred video of the dynamic wallpaper is used as a background, and the blurred effect of the dynamic wallpaper is shown.
The effect of using the dynamic wallpaper blurred video as a background when the window pops up is shown in fig. 5, and the dynamic wallpaper is normally displayed when the window pops up. After the window pops up, the blurred video of the dynamic wallpaper is used as a background, and the blurred effect of the dynamic wallpaper is shown.
The method for using the dynamic wallpaper blurred video as the background specifically comprises the following steps: taking the fuzzy video of the dynamic wallpaper as a new window, and replacing the original dynamic wallpaper window; or the fuzzy video of the dynamic wallpaper is used as an independent window to be covered on the window of the original dynamic wallpaper.
Preferably, in order to ensure the consistency of the dynamic wallpaper fuzzy video and the original dynamic wallpaper during the mutual switching, before the dynamic wallpaper fuzzy video is used as a background, the picture which is the same as the current dynamic wallpaper can be used as a starting picture for playing, so that the progress of the dynamic wallpaper fuzzy video during playing is ensured to be the same as the playing progress of the current dynamic wallpaper. It should be understood that each frame of the dynamic wallpaper blurred video can be compared with the real-time dynamic wallpaper picture when the dynamic wallpaper blurred is required by the image comparison mode, a frame with the highest similarity is found out, and the dynamic wallpaper blurred video is played from the frame; the current playing progress (playing time, playing percentage and the like) of the dynamic wallpaper can be obtained, and the dynamic wallpaper blurred video can be started to be played at the same progress of the dynamic wallpaper blurred video.
The embodiment provides a dynamic wallpaper blurring method, which comprises the steps of reading a real-time picture of dynamic wallpaper, acquiring the frame rate of the dynamic wallpaper through an interface, and providing a play frame rate which is the same as the frame rate of the dynamic wallpaper; acquiring a play frame rate, acquiring a real-time picture of the wallpaper according to the play frame rate, performing blurring processing, and manufacturing the real-time picture of the dynamic wallpaper after blurring processing into a dynamic wallpaper blurring video; and taking the dynamic wallpaper blurred video as a background in a preset scene. The frame rate of the dynamic wallpaper is obtained, the real-time picture of the dynamic wallpaper is obtained according to the play frame rate to carry out fuzzy processing, the dynamic wallpaper fuzzy video is synthesized, the dynamic wallpaper fuzzy video is used as a background in a preset scene, independent fuzzy of the dynamic wallpaper is realized, the interference of the dynamic wallpaper to specific display contents is reduced in part of the scenes, the switching continuity between the original dynamic wallpaper and the processed fuzzy dynamic wallpaper is ensured, and the user experience is improved.
Second embodiment
In order to solve the problems that icons and characters participate in blurring, have no dynamic effect, and the switching between the screenshot blurring wallpaper and the original dynamic wallpaper is not consistent due to the adoption of the screenshot blurring scheme in the existing dynamic wallpaper blurring scheme, the embodiment provides a dynamic wallpaper blurring method which can be applied to various electronic terminals, including various mobile terminals, such as mobile phones, tablets, palm computers or notebook computers; and can also be used on terminals of non-mobile type, such as desktop computers, etc. Fig. 6 is a flowchart of a dynamic wallpaper blurring method according to a second embodiment of the present invention, the dynamic wallpaper blurring method comprising the following steps:
s601: and reading the real-time picture of the dynamic wallpaper and providing a picture interface for acquiring the real-time picture of the dynamic wallpaper.
In an Android (Android, hereinafter referred to as Android) system, there are many system services, including a surfefliger (system drawing core, hereinafter referred to as surfefliger) service. The underlying SurfaceFlinger display of the Android system is a combination, each application may correspond to one or more windows (graphical interfaces, hereinafter referred to as windows), each of which is independent of each other, and has a respective position and size on the screen, and the content, content size, position, etc. displayed in each of the windows may change when we change the application, for example, under the micro-letter application interface, both the top status bar and the bottom navigation key are present at the same time. The wallpaper is also an independent window, and the interface of the desktop is drawn on the wallpaper window, so that the window of the wallpaper can be distinguished independently through the surface eFlinger service, and then the picture of the wallpaper is read, and when the used wallpaper is dynamic wallpaper, the read picture is the current real-time picture of the dynamic wallpaper. It should be appreciated that either static wallpaper or dynamic wallpaper may be looked up for its window through the surfeflinger service. In addition, the surfeflinger service may also provide an interface for capturing a picture of wallpaper. It should be understood that the present invention is not limited to this interface, as long as the interface can obtain the current wallpaper picture, for example, a getCurrentWallpaperBitmap interface may be defined to obtain the real-time picture of the current dynamic wallpaper.
S602: and acquiring the frame rate of the dynamic wallpaper, judging whether the frame rate meets the preset condition, and providing the corresponding playing frame rate according to the condition that the frame rate meets.
The essence of the dynamic wallpaper is to play a video, so that the dynamic wallpaper service in the Android system can be utilized to obtain relevant parameters of the dynamic wallpaper in use, wherein the parameters comprise the frame rate of the dynamic wallpaper.
Comparing the obtained frame rate of the dynamic wallpaper with the maximum frame rate supported by the terminal display screen, and providing a playing frequency the same as the frame rate of the dynamic wallpaper by the dynamic wallpaper service when the frame rate of the dynamic wallpaper is smaller than or equal to the maximum frame rate supported by the terminal display screen; when the frame rate of the dynamic wallpaper is greater than the maximum frame rate supported by the terminal display screen, the dynamic wallpaper service provides a playing frequency which is the same as the maximum frame rate supported by the terminal display screen. For example, the maximum frame rate supported by the terminal display screen is 60 frames, and when the frame rate of the dynamic wallpaper is 30 frames, the dynamic wallpaper service provides a play frame rate of 30 frames; when the frame rate of the dynamic wallpaper is 90 frames, the dynamic wallpaper service provides a play frame rate of 60 frames.
In addition, in order to achieve the effect of saving resources, the user can also customize the playing frame rate. For example, the maximum frame rate supported by the terminal display screen is 60 frames, the frame rate of the dynamic wallpaper is also 60 frames, and the user can set the playing frame rate of the dynamic wallpaper service for providing 30 frames to save resources.
The play frame rate may be obtained through an interface provided by the dynamic wallpaper service. It should be understood that the present invention is not limited to this interface, as long as the interface can obtain the above-mentioned play frame rate, and for example, a getdynamicwallpapers interface may be defined to obtain the play frame rate.
S603: and acquiring a play frame rate, acquiring a real-time picture of the dynamic wallpaper through a picture interface according to the play frame rate, performing blurring processing, and manufacturing the real-time picture of the dynamic wallpaper after blurring processing into a dynamic wallpaper blurring video.
The Gaussian blur client obtains the playing frame rate through an interface provided by the dynamic wallpaper service, and obtains the current real-time picture of the dynamic wallpaper through a picture interface provided by the SurfaceFlinger service according to the frame rate. Wherein, the obtaining the dynamic wallpaper real-time picture specifically comprises: and according to the playing frame rate, in the playing process of the dynamic wallpaper, acquiring real-time pictures of the dynamic wallpaper at specific time intervals until the dynamic wallpaper is completely played at least once. For example, when the playing frame rate is 50 frames per second, it means that 50 real-time frames of the dynamic wallpaper need to be acquired every second, so the time interval for acquiring the real-time frames is 0.02 second, that is, the first real-time frame of the dynamic wallpaper is acquired at the 0 th second, and then one real-time frame of the dynamic wallpaper is acquired every 0.02 second until the dynamic wallpaper is completely played at least once. It should be understood that the process of obtaining the real-time frames of the dynamic wallpaper needs to be continued until the dynamic wallpaper is completely played at least once, so as to obtain all the real-time frames of the dynamic wallpaper at a specific time interval, and avoid generating omission to cause inconsistent dynamic video blurring effect and original dynamic video.
The gaussian blur client performs blur processing on the acquired dynamic wallpaper real-time picture, and it should be understood that the dynamic wallpaper real-time picture can be subjected to blur processing each time the dynamic wallpaper real-time picture is acquired, or can be subjected to blur processing after all the dynamic wallpaper real-time pictures are acquired. The blurring process is not limited to the obtained real-time dynamic wallpaper picture, and the processing method capable of realizing the picture blurring effect can be any processing method, for example, the real-time dynamic wallpaper picture can be subjected to the blurring process by adopting algorithms including, but not limited to, gaussian blurring, mean blurring, stark blur blurring and the like. Preferably, in the embodiment, a gaussian blur algorithm is adopted to perform blur processing on the real-time frames of the dynamic wallpaper. Before the dynamic wallpaper real-time picture blurring processing is carried out, the user can set the level to be blurred, the higher the level is, the stronger the blurring effect is, and if the level is not set, the processing is carried out according to the default blurring level.
After all acquired dynamic wallpaper real-time pictures are subjected to fuzzy processing, the dynamic wallpaper real-time pictures are manufactured into dynamic wallpaper fuzzy videos, and the method specifically comprises the following steps of: and sequentially inserting real-time pictures of the dynamic wallpaper after the blurring processing at specific time intervals according to the play frame rate, and synthesizing a dynamic wallpaper blurring video, wherein the duration of the dynamic blurring video is the same as that of the dynamic wallpaper. For example, when the play frame rate is 50 frames per second, a real-time picture of the blurred dynamic wallpaper is inserted every 0.02 second, and the blurred dynamic wallpaper video is synthesized. Because the number of the acquired real-time pictures of the dynamic wallpaper is determined by the duration and the playing frame rate of the dynamic wallpaper, the time length of the synthesized dynamic wallpaper fuzzy video is the same as that of the dynamic wallpaper under the condition that the frame rate and the number of the real-time pictures of the dynamic wallpaper after the fuzzy processing are the same. Before synthesizing the dynamic wallpaper blurred video, a preview interface can be provided for a user to preview the effect of the dynamic wallpaper blurred video, and if the effect is unsatisfactory, the step of returning to the step of selecting the blur level can be carried out for reselection.
S604: and taking the dynamic wallpaper blurred video as a background in a preset scene.
The preset scene refers to a scene in which the dynamic wallpaper may affect the specific display content, or a scene set by the terminal manufacturer and the user, for example, the preset scene may be at least one of the following: when the folder window of the desktop is unfolded, when the latest taskbar is displayed, when the desktop is tidied, when the status bar is pulled down, and when the window pops up.
The method for using the dynamic wallpaper blurred video as the background specifically comprises the following steps: taking the fuzzy video of the dynamic wallpaper as a new window, and replacing the original dynamic wallpaper window; or the fuzzy video of the dynamic wallpaper is used as an independent window to be covered on the window of the original dynamic wallpaper.
Preferably, in order to ensure the consistency of the dynamic wallpaper fuzzy video and the original dynamic wallpaper during the mutual switching, before the dynamic wallpaper fuzzy video is used as a background, the picture which is the same as the current dynamic wallpaper can be used as a starting picture for playing, so that the progress of the dynamic wallpaper fuzzy video during playing is ensured to be the same as the playing progress of the current dynamic wallpaper. It should be understood that each frame of the dynamic wallpaper blurred video can be compared with the real-time dynamic wallpaper picture when the dynamic wallpaper blurred is required by the image comparison mode, a frame with the highest similarity is found out, and the dynamic wallpaper blurred video is played from the frame; the current playing progress (playing time, playing percentage and the like) of the dynamic wallpaper can be obtained, and the dynamic wallpaper blurred video can be started to be played at the same progress of the dynamic wallpaper blurred video.
The embodiment provides a dynamic wallpaper blurring method, which comprises the steps of reading a real-time picture of dynamic wallpaper, acquiring the frame rate of the dynamic wallpaper through an interface, judging whether the frame rate meets a preset condition and providing a corresponding play frame rate; acquiring a play frame rate, acquiring a real-time picture of the wallpaper according to the play frame rate, performing blurring processing, and manufacturing the real-time picture of the dynamic wallpaper after blurring processing into a dynamic wallpaper blurring video; and taking the dynamic wallpaper blurred video as a background in a preset scene. The frame rate of the dynamic wallpaper is obtained, the corresponding playing frame rate is provided, the real-time picture of the dynamic wallpaper is obtained according to the playing frame rate, the fuzzy processing is carried out, the dynamic wallpaper fuzzy video is synthesized, the dynamic wallpaper fuzzy video is used as a background in a preset scene, the independent fuzzy of the dynamic wallpaper is realized, the interference of the dynamic wallpaper to specific display contents is reduced in part of the scenes, the switching continuity between the original dynamic wallpaper and the processed fuzzy dynamic wallpaper is ensured, the relation between the dynamic fuzzy effect and the resource consumption can be adaptively adjusted, and the user experience is improved.
Third embodiment
In order to solve the problems that icons and characters participate in blurring, a dynamic effect is not achieved, and switching between screenshot blurring wallpaper and original dynamic wallpaper is not consistent due to the adoption of a screenshot and blurring scheme in the existing dynamic wallpaper blurring scheme, the embodiment provides a dynamic wallpaper blurring method which is applied to a system comprising an initiating terminal and a processing terminal. The initiating terminal can be various electronic terminals, including various mobile terminals such as mobile phones, tablets, palm computers or notebook computers; and can also be used on terminals of non-mobile type, such as desktop computers, etc. The processing end is a device capable of executing an Android virtual machine, such as a mobile phone, a tablet, a palm computer, a notebook computer, a desktop computer, a server, etc., and fig. 7 is a flowchart of a dynamic wallpaper blurring method provided by the embodiment of the invention, where the dynamic wallpaper blurring method includes the following steps:
S701: the initiating terminal sends the dynamic wallpaper to the processing terminal.
The dynamic wallpaper can be the dynamic wallpaper which is currently used by the initiating terminal, and the method can be executed once for avoiding each time of changing the dynamic wallpaper, and the dynamic wallpaper stored in the terminal can be also sent. Preferably, the maximum frame rate supported by the display screen of the initiating terminal or the user-defined frame rate can be sent to the processing terminal while the dynamic wallpaper is sent.
S702: and the processing end sets the received dynamic wallpaper as the wallpaper in the android virtual machine.
And the processing end runs the android virtual machine, and after receiving the dynamic wallpaper, the dynamic wallpaper is set as the wallpaper in the android virtual machine.
It should be understood that the following steps S703 to S705 are all executed in the Andriod virtual machine at the processing end.
S703: and reading the real-time picture of the dynamic wallpaper and providing a picture interface for acquiring the real-time picture of the dynamic wallpaper.
In an Android (Android, hereinafter referred to as Android) system, there are many system services, including a surfefliger (system drawing core, hereinafter referred to as surfefliger) service. The underlying SurfaceFlinger display of the Android system is a combination, each application may correspond to one or more windows (graphical interfaces, hereinafter referred to as windows), each of which is independent of each other, and has a respective position and size on the screen, and the content, content size, position, etc. displayed in each of the windows may change when we change the application, for example, under the micro-letter application interface, both the top status bar and the bottom navigation key are present at the same time. The wallpaper is also an independent window, and the interface of the desktop is drawn on the wallpaper window, so that the window of the wallpaper can be distinguished independently through the surface eFlinger service, and then the picture of the wallpaper is read, and when the used wallpaper is dynamic wallpaper, the read picture is the current real-time picture of the dynamic wallpaper. It should be appreciated that either static wallpaper or dynamic wallpaper may be looked up for its window through the surfeflinger service. In addition, the surfeflinger service may also provide an interface for capturing a picture of wallpaper. It should be understood that the present invention is not limited to this interface, as long as the interface can obtain the current wallpaper picture, for example, a getCurrentWallpaperBitmap interface may be defined to obtain the real-time picture of the current dynamic wallpaper.
S704: and acquiring the frame rate of the dynamic wallpaper or the user-defined frame rate of the user, providing the playing frame rate which is the same as the frame rate, and providing a frame rate interface for acquiring the playing frame rate.
The essence of the dynamic wallpaper is to play a video, so that the dynamic wallpaper service in the Android system can be utilized to obtain relevant parameters of the dynamic wallpaper in use, wherein the parameters comprise the frame rate of the dynamic wallpaper. The dynamic wallpaper service provides the same playing frequency according to the acquired dynamic wallpaper frequency, and the playing frequency can be acquired through an interface provided by the dynamic wallpaper service. It should be understood that the present invention is not limited to this interface, as long as the interface can obtain the above-mentioned play frame rate, and for example, a getdynamicwallpapers interface may be defined to obtain the play frame rate.
S705: and acquiring a play frame rate, acquiring a real-time picture of the dynamic wallpaper through a picture interface according to the play frame rate, performing blurring processing, and manufacturing the real-time picture of the dynamic wallpaper after blurring processing into a dynamic wallpaper blurring video.
The Gaussian blur client obtains the playing frame rate through an interface provided by the dynamic wallpaper service, and obtains the current real-time picture of the dynamic wallpaper through a picture interface provided by the SurfaceFlinger service according to the frame rate. Wherein, the obtaining the dynamic wallpaper real-time picture specifically comprises: and according to the playing frame rate, in the playing process of the dynamic wallpaper, acquiring real-time pictures of the dynamic wallpaper at specific time intervals until the dynamic wallpaper is completely played at least once. For example, when the playing frame rate is 50 frames per second, it means that 50 real-time frames of the dynamic wallpaper need to be acquired every second, so the time interval for acquiring the real-time frames is 0.02 second, that is, the first real-time frame of the dynamic wallpaper is acquired at the 0 th second, and then one real-time frame of the dynamic wallpaper is acquired every 0.02 second until the dynamic wallpaper is completely played at least once. It should be understood that the process of obtaining the real-time frames of the dynamic wallpaper needs to be continued until the dynamic wallpaper is completely played at least once, so as to obtain all the real-time frames of the dynamic wallpaper at a specific time interval, and avoid generating omission to cause inconsistent dynamic video blurring effect and original dynamic video.
The gaussian blur client performs blur processing on the acquired dynamic wallpaper real-time picture, and it should be understood that the dynamic wallpaper real-time picture can be subjected to blur processing each time the dynamic wallpaper real-time picture is acquired, or can be subjected to blur processing after all the dynamic wallpaper real-time pictures are acquired. The blurring process is not limited to the obtained real-time dynamic wallpaper picture, and the processing method capable of realizing the picture blurring effect can be any processing method, for example, the real-time dynamic wallpaper picture can be subjected to the blurring process by adopting algorithms including, but not limited to, gaussian blurring, mean blurring, stark blur blurring and the like. Preferably, in the embodiment, a gaussian blur algorithm is adopted to perform blur processing on the real-time frames of the dynamic wallpaper.
After all acquired dynamic wallpaper real-time pictures are subjected to fuzzy processing, the dynamic wallpaper real-time pictures are manufactured into dynamic wallpaper fuzzy videos, and the method specifically comprises the following steps of: and sequentially inserting real-time pictures of the dynamic wallpaper after the blurring processing at specific time intervals according to the play frame rate, and synthesizing a dynamic wallpaper blurring video, wherein the duration of the dynamic blurring video is the same as that of the dynamic wallpaper. For example, when the play frame rate is 50 frames per second, a real-time picture of the blurred dynamic wallpaper is inserted every 0.02 second, and the blurred dynamic wallpaper video is synthesized. Because the number of the acquired real-time pictures of the dynamic wallpaper is determined by the duration and the playing frame rate of the dynamic wallpaper, the time length of the synthesized dynamic wallpaper fuzzy video is the same as that of the dynamic wallpaper under the condition that the frame rate and the number of the real-time pictures of the dynamic wallpaper after the fuzzy processing are the same.
S706: and the processing end sends the dynamic wallpaper blurred video to the initiating end.
S707: and the initiating terminal takes the dynamic wallpaper blurred video as a background under a preset scene.
The preset scene refers to a scene in which the dynamic wallpaper may affect the specific display content, or a scene set by the terminal manufacturer and the user, for example, the preset scene may be at least one of the following: when the folder window of the desktop is unfolded, when the latest taskbar is displayed, when the desktop is tidied, when the status bar is pulled down, and when the window pops up.
The method for using the dynamic wallpaper blurred video as the background specifically comprises the following steps: taking the fuzzy video of the dynamic wallpaper as a new window, and replacing the original dynamic wallpaper window; or the fuzzy video of the dynamic wallpaper is used as an independent window to be covered on the window of the original dynamic wallpaper.
Preferably, in order to ensure the consistency of the dynamic wallpaper fuzzy video and the original dynamic wallpaper during the mutual switching, before the dynamic wallpaper fuzzy video is used as a background, the picture which is the same as the current dynamic wallpaper can be used as a starting picture for playing, so that the progress of the dynamic wallpaper fuzzy video during playing is ensured to be the same as the playing progress of the current dynamic wallpaper. It should be understood that each frame of the dynamic wallpaper blurred video can be compared with the real-time dynamic wallpaper picture when the dynamic wallpaper blurred is required by the image comparison mode, a frame with the highest similarity is found out, and the dynamic wallpaper blurred video is played from the frame; the current playing progress (playing time, playing percentage and the like) of the dynamic wallpaper can be obtained, and the dynamic wallpaper blurred video can be started to be played at the same progress of the dynamic wallpaper blurred video.
The embodiment provides a dynamic wallpaper blurring method, which is applied to a system comprising an initiating terminal and a processing terminal, wherein the dynamic wallpaper blurring method comprises the steps that a sending terminal sends dynamic wallpaper required to the processing terminal, and the processing terminal executes the following steps in an Android virtual machine: the method comprises the steps of applying the dynamic wallpaper, reading a real-time picture of the dynamic wallpaper, obtaining the frame rate of the dynamic wallpaper through an interface, judging whether the frame rate meets preset conditions and providing a corresponding playing frame rate; and acquiring a play frame rate, acquiring a real-time picture of the wallpaper according to the play frame rate, performing blurring processing, and manufacturing the real-time picture of the dynamic wallpaper after blurring processing into a dynamic wallpaper blurring video. The processing end sends the dynamic wallpaper blurred video to the initiating end, and the initiating end takes the dynamic wallpaper blurred video as a background under a preset scene. The dynamic wallpaper to be processed is obtained through the external equipment, the frame rate of the dynamic wallpaper is provided according to the frame rate of the dynamic wallpaper, the real-time picture of the dynamic wallpaper is obtained according to the frame rate of the dynamic wallpaper to be processed in a blurring mode, the dynamic wallpaper blurring video is synthesized and then sent to the initiating terminal, the initiating terminal takes the dynamic wallpaper blurring video as a background under a preset scene, independent blurring of the dynamic wallpaper is achieved, interference of the dynamic wallpaper to specific display contents is reduced under partial scenes, continuity of switching between the original dynamic wallpaper and the processed blurring dynamic wallpaper is guaranteed, most of the blurring process of the dynamic wallpaper is processed by the external equipment, resource consumption of the initiating terminal is reduced, and user experience is improved.
Fourth embodiment
The present embodiment provides a terminal, as shown in fig. 8, which includes a processor 81, a memory 82, and a communication bus 83, wherein:
the communication bus 83 is used to enable connection communication between the processor 81 and the memory 82;
the processor 81 is configured to execute one or more programs stored in the memory 82 to implement the steps in the dynamic wallpaper blurring method in the first and/or second and/or third embodiments described above.
The present embodiment also provides a computer-readable storage medium storing one or more programs executable by one or more processors to implement steps in the dynamic wallpaper blurring method as in the first embodiment and/or the second embodiment and/or the third embodiment, which are not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (7)

1. A method for blurring dynamic wallpaper, comprising:
reading a real-time picture of the dynamic wallpaper, and providing a picture interface for acquiring the real-time picture of the dynamic wallpaper;
acquiring the frame rate of the dynamic wallpaper, providing a playing frame rate which is the same as the frame rate of the dynamic wallpaper, and providing a frame rate interface for acquiring the playing frame rate;
acquiring the play frame rate, acquiring a real-time picture of the dynamic wallpaper through the picture interface according to the play frame rate, performing fuzzy processing, and manufacturing the real-time picture of the dynamic wallpaper after the fuzzy processing into a dynamic wallpaper fuzzy video; the step of obtaining the real-time picture of the dynamic wallpaper through the picture interface according to the play frame rate specifically comprises the following steps: according to the playing frame rate, in the process of playing the dynamic wallpaper, acquiring real-time pictures of the dynamic wallpaper at specific time intervals until the dynamic wallpaper is completely played at least once; the step of manufacturing the real-time picture of the dynamic wallpaper after the blurring process into the dynamic wallpaper blurring video comprises the following steps: according to the play frame rate, sequentially inserting real-time pictures of the dynamic wallpaper after the blurring process at specific time intervals to synthesize a dynamic wallpaper blurring video, wherein the duration of the dynamic blurring video is the same as that of the dynamic wallpaper;
And under a preset scene, taking the dynamic wallpaper blurred video as a background, wherein a play start picture of the dynamic wallpaper blurred video corresponds to a current picture of the original dynamic wallpaper.
2. The dynamic wallpaper blurring method of claim 1 wherein the reading of the dynamic wallpaper picture comprises:
the drawing content of the wallpaper window is individually distinguished through a system drawing core;
and reading a real-time picture of the dynamic wallpaper in the wallpaper window.
3. The method for blurring dynamic wallpaper according to claim 2, wherein the blurring of the real-time frame of the dynamic wallpaper is performed by: and blurring the real-time picture of the dynamic wallpaper by using a Gaussian blurring algorithm.
4. A method of blurring dynamic wallpaper as defined in claim 3 wherein said blurring the video of the dynamic wallpaper as a background comprises:
taking the dynamic wallpaper blurred video as a new wallpaper interface, and replacing the original dynamic wallpaper interface;
or, the fuzzy video of the dynamic wallpaper is used as an independent interface to be covered on the interface of the original dynamic wallpaper.
5. The dynamic wallpaper blurring method of any of claims 1-4 wherein the preset scene comprises at least one of:
When the desktop folder window is unfolded, the task bar is displayed, the desktop is tidied, the status bar is pulled down, and the window pops up.
6. A terminal comprising a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute one or more programs stored in a memory to implement the steps of the dynamic wallpaper blurring method according to any of claims 1 to 5.
7. A computer readable storage medium storing one or more programs executable by one or more processors to implement the steps of the dynamic wallpaper blurring method of any of claims 1-5.
CN201911312254.6A 2019-12-18 2019-12-18 Dynamic wallpaper blurring method, terminal and computer readable storage medium Active CN111158815B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911312254.6A CN111158815B (en) 2019-12-18 2019-12-18 Dynamic wallpaper blurring method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911312254.6A CN111158815B (en) 2019-12-18 2019-12-18 Dynamic wallpaper blurring method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111158815A CN111158815A (en) 2020-05-15
CN111158815B true CN111158815B (en) 2023-06-23

Family

ID=70557294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911312254.6A Active CN111158815B (en) 2019-12-18 2019-12-18 Dynamic wallpaper blurring method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111158815B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112631698A (en) * 2020-12-18 2021-04-09 平安普惠企业管理有限公司 Data display method and device, computer equipment and storage medium
CN116051387A (en) * 2022-06-30 2023-05-02 荣耀终端有限公司 Dynamic image blurring method, terminal device, and computer-readable storage medium
CN116719466B (en) * 2022-09-14 2024-04-12 荣耀终端有限公司 Method for displaying multi-task interface, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387239A (en) * 2010-08-27 2012-03-21 希姆通信息技术(上海)有限公司 Method for implementing dynamic wallpaper of mobile phone
CN105204624A (en) * 2015-08-28 2015-12-30 努比亚技术有限公司 Fuzzy processing method and device for shooting

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9026946B2 (en) * 2011-08-08 2015-05-05 Blackberry Limited Method and apparatus for displaying an image
JP6401855B2 (en) * 2014-07-30 2018-10-10 華為技術有限公司Huawei Technologies Co.,Ltd. Method and apparatus for setting background of UI control, and terminal
CN105975239B (en) * 2016-04-29 2019-08-20 广东远峰汽车电子有限公司 A kind of generation method and device of vehicle electronic device display screen dynamic background
CN107832103A (en) * 2017-11-02 2018-03-23 四川长虹电器股份有限公司 The method of the processing of UI controls blurred background and Dynamic Announce based on android system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387239A (en) * 2010-08-27 2012-03-21 希姆通信息技术(上海)有限公司 Method for implementing dynamic wallpaper of mobile phone
CN105204624A (en) * 2015-08-28 2015-12-30 努比亚技术有限公司 Fuzzy processing method and device for shooting

Also Published As

Publication number Publication date
CN111158815A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
US11848773B2 (en) Transmit antenna switching method and terminal device
US20220276909A1 (en) Screen projection control method and electronic device
US11243653B2 (en) Method for display control and mobile terminal
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
WO2019196707A1 (en) Mobile terminal control method and mobile terminal
CN107613131B (en) Application program disturbance-free method, mobile terminal and computer-readable storage medium
US20220286504A1 (en) Application sharing method, electronic device and computer readable storage medium
CN109525710B (en) Method and device for accessing application program
US20220131636A1 (en) Transmission antenna switching method and terminal device
CN111158815B (en) Dynamic wallpaper blurring method, terminal and computer readable storage medium
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN109558046B (en) Information display method and terminal equipment
CN109348019B (en) Display method and device
CN111147919A (en) Play adjustment method, electronic equipment and computer readable storage medium
US20220318076A1 (en) Application sharing method, first electronic device, and computer-readable storage medium
CN110990172A (en) Application sharing method, first electronic device and computer-readable storage medium
CN109189303B (en) Text editing method and mobile terminal
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN110505660B (en) Network rate adjusting method and terminal equipment
CN108089935B (en) Application program management method and mobile terminal
CN107729100B (en) Interface display control method and mobile terminal
CN111447598B (en) Interaction method and display device
CN110796438B (en) Message sending method and mobile terminal
CN109947323B (en) Terminal display method and terminal
CN109947617B (en) Method, terminal and readable storage medium for monitoring display content of application interface

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