CN113010056A - Desktop display control method, device, terminal and storage medium - Google Patents

Desktop display control method, device, terminal and storage medium Download PDF

Info

Publication number
CN113010056A
CN113010056A CN202110199055.XA CN202110199055A CN113010056A CN 113010056 A CN113010056 A CN 113010056A CN 202110199055 A CN202110199055 A CN 202110199055A CN 113010056 A CN113010056 A CN 113010056A
Authority
CN
China
Prior art keywords
desktop
wallpaper
application
window
touch operation
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.)
Pending
Application number
CN202110199055.XA
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110199055.XA priority Critical patent/CN113010056A/en
Publication of CN113010056A publication Critical patent/CN113010056A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Abstract

The disclosure relates to a desktop display control method, a desktop display control device, a terminal and a storage medium, which are applied to the terminal, wherein the method comprises the following steps: displaying a transparent desktop window and displaying an opaque application icon on the desktop window; a first desktop wallpaper provided by a wallpaper application is displayed below the application icon in a stacked mode; detecting touch operation acting on a touch screen; and if the touch area of the touch operation is the area outside the application icon, controlling the dynamic change of the first desktop wallpaper based on the touch operation. Therefore, the desktop wallpaper of the terminal can be controlled to dynamically change according to the touch operation, and the interactivity of the desktop wallpaper is enhanced.

Description

Desktop display control method, device, terminal and storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a desktop display control method, apparatus, terminal, and storage medium.
Background
In the related art, the desktop wallpaper is preset as the background of the desktop, and usually the desktop wallpaper is a static wallpaper map, or a combination of different wallpapers switched according to a predetermined period. Therefore, the display of the existing desktop wallpaper is single, and even if different wallpapers can be switched based on a preset period, a user cannot change the display effect of the desktop wallpaper at any time according to own preference, or the desktop wallpaper is changed into the display effect required by the user at any time according to own preference, so that the user experience is not facilitated.
Disclosure of Invention
According to a first aspect of the embodiments of the present disclosure, there is provided a desktop display control method, applied to a terminal, including:
displaying a transparent desktop window and displaying an opaque application icon in the desktop window;
a first desktop wallpaper provided by a wallpaper application is displayed below the application icon in a stacked mode;
detecting touch operation acting on a touch screen;
and if the touch area of the touch operation is the area outside the application icon, controlling the dynamic change of the first desktop wallpaper based on the touch operation.
Optionally, the displaying a transparent desktop window and displaying an opaque application icon in the desktop window includes:
in a first window mode, displaying a transparent desktop window and the opaque application icons in the first window;
the first desktop wallpaper provided by a wallpaper application is displayed below the application icon in a stacked mode, and the method comprises the following steps:
and in the first window mode, a second window is displayed under the first window in a stacking mode, and the first desktop wallpaper provided by the wallpaper application is displayed in the second window.
Optionally, the method further comprises:
in a second window mode, displaying an opaque desktop window and an application icon positioned in the desktop window, and maintaining the wallpaper application in a closed state; the application icon bottom layer in the opaque desktop window is provided with second desktop wallpaper provided by the desktop application.
Optionally, if the touch area of the touch operation is an area other than the application icon, controlling dynamic change of the first desktop wallpaper based on the touch operation includes:
after receiving the touch coordinates of the touch operation, the desktop application determines whether the touch area of the touch operation is an area outside the application icon according to the touch coordinates;
if the touch area of the touch operation is the area outside the application icon, transmitting the operation parameters of the touch operation to the wallpaper application;
and the wallpaper application controls the dynamic change of the first desktop wallpaper according to the operation parameters of the touch operation.
Optionally, the method further comprises:
if the touch area of the touch operation acts on the application icon, triggering an application program corresponding to the application icon acted by the touch operation to start;
and switching the desktop window into a started program window of the application program.
Optionally, the controlling the first desktop wallpaper to dynamically change based on the touch operation includes:
and controlling the target object of the first desktop wallpaper to move according to the direction or the track indicated by the touch operation based on the touch operation.
According to a second aspect of the embodiments of the present disclosure, there is provided a desktop display control apparatus, applied in a terminal, including:
the first display module is used for displaying a transparent desktop window and displaying an opaque application icon in the desktop window;
the second display module is used for displaying a first desktop wallpaper provided by a wallpaper application in a stacking mode below the application icon;
the detection module is used for detecting touch operation acting on the touch screen;
and the control module is used for controlling the dynamic change of the first desktop wallpaper based on the touch operation if the touch area of the touch operation is the area outside the application icon.
Optionally, the first display module is further configured to:
in a first window mode, displaying a transparent desktop window and the opaque application icons in the first window;
the second display module is further configured to:
and in the first window mode, a second window is displayed under the first window in a stacking mode, and the first desktop wallpaper provided by the wallpaper application is displayed in the second window.
Optionally, the apparatus further comprises:
the third display module is used for displaying an opaque desktop window and an application icon positioned in the desktop window in the second window mode and maintaining the wallpaper application in a closed state; the application icon bottom layer in the opaque desktop window is provided with second desktop wallpaper provided by the desktop application.
Optionally, the control module is further configured to:
after receiving the touch coordinates of the touch operation, the desktop application determines whether the touch area of the touch operation is an area outside the application icon according to the touch coordinates;
if the touch area of the touch operation is the area outside the application icon, transmitting the operation parameters of the touch operation to the wallpaper application;
and the wallpaper application controls the dynamic change of the first desktop wallpaper according to the operation parameters of the touch operation.
Optionally, the apparatus further comprises:
the triggering module is used for triggering an application program corresponding to the application icon acted by the touch operation to start if the touch area of the touch operation acts on the application icon;
and switching the desktop window into a program window for starting the application program.
Optionally, the control module is further configured to:
and controlling the target object of the first desktop wallpaper to move according to the direction or the track indicated by the touch operation based on the touch operation.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: and when the method is executed, the steps of any one of the desktop display control methods are realized.
In a fourth aspect of the embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided, where instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to perform steps for implementing any one of the above desktop display control methods.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the embodiment of the disclosure displays an opaque application icon in a transparent desktop window by displaying the desktop window; a first desktop wallpaper provided by a wallpaper application is displayed below the application icon in a stacked mode; detecting touch operation acting on a touch screen; and if the touch area of the touch operation is the area outside the application icon, controlling the dynamic change of the first desktop wallpaper based on the touch operation. Therefore, the desktop wallpaper of the terminal can be dynamically changed based on touch operation, namely the desktop wallpaper can be dynamically changed based on the touch operation of the user, interaction between the desktop wallpaper and the user can be realized, the display effect of the desktop wallpaper can be changed by the user according to the preference of the user at any time, and the user experience is improved. Compared with the related art, the desktop wallpaper is displayed singly, and the replacement display among the desktop wallpapers can be performed only in a preset period if dynamic change is needed, and the desktop wallpapers are preset and cannot meet the current preference of a user, so that compared with the display effect of the desktop wallpaper in the related art, the first desktop wallpaper can be dynamically changed based on touch operation of the user, so that the user can perform touch operation according to the preference of the user to change the display effect of the desktop wallpaper at any time, and the current preference of the user is met. Furthermore, dynamic change of the desktop wallpaper can be realized based on touch operation of a user, so that the desktop wallpaper is not presented in a fixed mode any more, but different display effects can be presented at any time based on different touch operations, interactivity of the desktop wallpaper is enhanced, display of the desktop wallpaper is diversified, and user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram illustrating a desktop display control method in accordance with an exemplary embodiment;
FIG. 2 is a scene schematic diagram illustrating a desktop display control method according to an exemplary embodiment;
FIG. 3 is another flow diagram illustrating a method for desktop display control in accordance with an exemplary embodiment;
FIG. 4 is a flow diagram illustrating a method for desktop display control in accordance with one embodiment;
FIG. 5 is a block diagram illustrating a desktop display control apparatus according to an exemplary embodiment;
fig. 6 is a block diagram illustrating a terminal according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
In order to improve the interchangeability of desktop wallpapers and enrich the desktop display effect, the embodiment of the disclosure provides a desktop display control method. Fig. 1 is a flowchart illustrating a desktop display control method according to an exemplary embodiment, which is applied to a terminal, as shown in fig. 1, and includes the following steps:
step 11: displaying a transparent desktop window and displaying an opaque application icon within the desktop window.
Here, the terminal may be a mobile phone, a tablet computer, a notebook computer, or a wearable device; wherein, wearable equipment can be smart watch or intelligent bracelet etc.. The terminal can also be intelligent household equipment, such as an intelligent refrigerator, an intelligent television and the like. It is understood that the terminal may include all electronic devices having a displayable desktop and having a touch screen.
It should be noted that the desktop window of the terminal is a display window provided by the desktop application, or a display page. It will be appreciated that desktop applications have the ability to manage other applications within the system, and to provide access to other applications. In practical application, the system configures the attributes of the file list of the desktop application with management attributes, so that the desktop should have the capability of managing other application programs in the system. Specifically, taking the android system as an example, in a desktop application of the android system, an attribute of a file list (android manifest.xml) of the desktop application may be configured as a management attribute, and specifically, the attribute is set as a Home attribute, that is, configuration attribute information < category.
In some embodiments, the displaying a transparent desktop window and displaying an opaque application icon within the desktop window comprises:
when the desktop application is started, drawing a transparent desktop background but maintaining the display of the application icon to ensure that the user can operate the application icon on the desktop.
Specifically, the desktop window can realize the control of the transparency of the desktop window through the setting of the transparency of the image.
In further embodiments, before displaying a transparent desktop window and displaying an opaque application icon within the desktop window, the method further comprises:
determining whether to launch a wallpaper application;
if the wallpaper application is started, wallpaper service is established;
drawing a transparent desktop background but maintaining display of the application icon by a wallpaper service when a desktop application is started.
Here, the wallpaper service may be created by a system layer.
The determining whether to launch the wallpaper application comprises:
the method comprises the steps that a system layer obtains configuration information, wherein the configuration information is used for indicating whether a wallpaper application needs to be started or not;
and if the configuration information indicates that the wallpaper application needs to be started, determining to start the wallpaper application.
Therefore, a user can pre-configure whether to start the wallpaper application according to the self requirement, so that the wallpaper application can be automatically started according to the user requirement in the using process, and the transparent desktop background can be automatically drawn.
Step 12: and displaying a first desktop wallpaper provided by a wallpaper application in an overlapped mode below the application icon.
It is noted that the first desktop wallpaper provided by the wallpaper application may be an application page of the wallpaper application provided by the embodiments of the present disclosure to achieve higher interchangeability of desktop wallpapers. Through the first desktop wallpaper, a desktop wallpaper page which is used for displaying more interactivity in a desktop background of the terminal can be provided.
It is necessary to supplement that the page provided by the wallpaper application, which is capable of interacting with the user, is presented as a first desktop wallpaper within the desktop window, thereby visually replacing the desktop background originally provided by the desktop application. In some embodiments, the wallpaper application is started while the terminal monitors the starting of the desktop application, so that the first desktop wallpaper provided by the wallpaper application can seamlessly engage with the desktop background of the desktop application. Therefore, from the visual angle of the user, the first desktop wallpaper is equivalent to the opaque desktop background provided by the desktop application, the desktop background can be provided for the application icon in time when the desktop application is started, and the phenomenon of poor user appearance caused by delay of display of the desktop background of the user in the visual direction is reduced.
Specifically, a first desktop wallpaper process corresponding to the wallpaper application may be set in a system layer, and when the system layer of the terminal monitors that the desktop application is started, the first desktop wallpaper process is started to display the first desktop wallpaper, so that the first desktop wallpaper is equal to the current desktop wallpaper, that is, the first desktop wallpaper may have the function of a desktop background while having interactivity.
It is to be added that the wallpaper application is an invisible application in the terminal, and in some embodiments, the wallpaper application is closed when the system service listens that the terminal exits the desktop application. Therefore, under the condition that the terminal exits the desktop application, for example, under the condition that the terminal already enters a program page of an application program managed by the desktop application, the wallpaper application is closed in time, so that the first desktop wallpaper process corresponding to the wallpaper application is closed in time, the first desktop wallpaper is not displayed in the window any more, and the phenomenon of mistaken display of the first desktop wallpaper when the terminal still enters the program page of the application program managed by the desktop application is reduced.
Specifically, after the wallpaper application is started, an active component instance of the wallpaper application process is created. Here, after the active component of the wallpaper application process is created, the active component is located below the desktop window, and when the transparency of the desktop window is set to be transparent, the first desktop wallpaper can be presented to the user through the transparent desktop window.
In some embodiments, the step 11 of displaying a transparent desktop window and displaying an opaque application icon in the desktop window includes:
in a first window mode, displaying a transparent desktop window and the opaque application icons in the first window;
and step 12, namely, in the first window mode, displaying a second window below the first window in a stacking manner, and displaying a first desktop wallpaper prompted by the wallpaper application in the second window.
It should be noted that, in the first window mode, at least two or more windows can be displayed simultaneously under the desktop window. Specifically, at least one of the first window and the second window herein is a free window. Here, the free window refers to a window that can be simultaneously displayed on the touch screen with a currently displayed window, that is, two or more applications may be simultaneously allowed to run in the foreground simultaneously in the first window mode. In some embodiments, the method further comprises: the window attribute of the first desktop wallpaper process corresponding to the first desktop wallpaper provided by the wallpaper application is set as the attribute of the free window, so that when the first desktop wallpaper process of the wallpaper desktop is started, the first desktop wallpaper corresponding to the first desktop wallpaper process can be displayed in the desktop window together with the currently displayed application in the desktop window in the form of the free window.
In other embodiments, the method further comprises:
in a second window mode, displaying an opaque desktop window and an application icon positioned in the desktop, and maintaining the wallpaper application in a closed state; the application icon bottom layer in the opaque desktop window is provided with second desktop wallpaper provided by the desktop application.
It should be noted that, in the second window mode, a window can be displayed below the desktop window. That is, only one application can be allowed to run in the foreground in the second window mode.
Step 13: touch operation acting on the touch screen is detected.
Here, detecting a touch operation on the active touch screen includes determining the touch operation by detecting various operations of a UI (user Interface) on the touch screen.
The touch operation may include a sliding operation, a clicking operation, a long-time pressing operation, or the like; the sliding operation may include an operation of sliding left, an operation of sliding right, or an operation of sliding along a certain track; the clicking operation may further include a single clicking operation, a multi-clicking operation, and the like. In some embodiments, the touch operation may further include: single finger operation, or multi-finger operation. Here, all the touch operations are not limited at all, and any operation may be applied to the touch screen.
Step 14: and if the touch area of the touch operation is the area outside the application icon, controlling the dynamic change of the first desktop wallpaper based on the touch operation.
Here, the first desktop wallpaper dynamic change may include: the color of the first desktop wallpaper changes, or the form of the first desktop wallpaper changes. Specifically, the color change of the first preset wallpaper may include a change of RGB data and/or HSB data in the image information in the first desktop wallpaper, for example, a change of green in the original image to red. The form change of the first desktop wallpaper may include: presetting that the screen locking wallpaper is turned over, or presetting that the position of a target object in the first desktop wallpaper is changed, and the like. Of course, the dynamic change of the first desktop wallpaper is not limited to the change of the color or the form, and any change that can be generated by the whole first desktop wallpaper, or all or part of the content presented in the first desktop wallpaper belongs to the dynamic change of the first desktop wallpaper according to the embodiment of the disclosure.
Specifically, in some embodiments, please refer to fig. 2, fig. 2 is a schematic view illustrating a scene of a desktop display control method according to an exemplary embodiment, and as shown in fig. 2, the step 14 of controlling the dynamic change of the first desktop wallpaper based on the touch operation includes:
and controlling the target object of the first desktop wallpaper to move according to the direction or the track indicated by the touch operation based on the touch operation.
Here, the touch operation is performed in the touch panel 21 of the terminal 2 and in the region 211 other than the application icon. The target object may be a scene object or a person object in the first desktop wallpaper. Here, the target object is a flowerpot. Here, the touch operation may be a single-finger rightward sliding, and then the target object of the first desktop wallpaper may be correspondingly controlled to move rightward or turn rightward. Therefore, the first desktop wallpaper is not presented as a fixed scene any more, and the target object in the first desktop wallpaper can be controlled to dynamically change based on touch operation, so that the first desktop wallpaper can be presented more flexibly, and the interactivity and the diversified display effect of the first desktop wallpaper are improved.
Actually, the touch operation and the control instruction for controlling the dynamic change of the first desktop wallpaper have a corresponding relationship. For example, if the touch operation is a single finger sliding to the right, the correspondingly generated control instruction may be an instruction to control the first desktop wallpaper to turn to the right. Or, as shown in fig. 2, if the touch operation is a single finger sliding to the right, the correspondingly generated control instruction may be a target object indicating the first desktop wallpaper to turn or move to the right. For another example, if the touch operation is a single-finger leftward sliding operation, the correspondingly generated control instruction may be an instruction to control the first desktop wallpaper to be flipped leftward, or the correspondingly generated control instruction may be an instruction to control a target object in the first desktop wallpaper to be flipped leftward or moved. For another example, if the touch operation is a double-finger rightward sliding operation, the corresponding control instruction may indicate to control the image color of the first desktop wallpaper to become bright, or change the original red color into green color, so as to enrich the display effect of the first desktop wallpaper.
Further, in some embodiments, the controlling the first desktop wallpaper to dynamically change based on the touch operation includes:
acquiring a dynamic change parameter of the first desktop wallpaper based on the touch operation;
and controlling the preset screen locking wallpaper to dynamically change based on the dynamic change parameters.
Here, the changing parameters of the first desktop wallpaper include: a color class change parameter, or a morphology class change parameter. Wherein the color class variation parameters include: parameters for representing changes in RGB data and/or HSB data of the image information of the first desktop wallpaper, and the like. The morphological change parameters comprise: the turning parameter of the first desktop wallpaper, or the change parameter of the target object of the first desktop wallpaper, and the like, where the turning parameter may also include a turning direction parameter, and the change parameter of the target object in the first desktop wallpaper may include a coordinate position change of the target object in the lock screen wallpaper.
In other embodiments, please refer to fig. 3, where fig. 3 is another flowchart illustrating a desktop display control method according to an exemplary embodiment, and as shown in fig. 3, the step 14, namely, if the touch area of the touch operation is an area other than the application icon, controlling the dynamic change of the first desktop wallpaper based on the touch operation includes:
step 141: after receiving the touch coordinates of the touch operation, the desktop application determines whether the touch area of the touch operation is an area outside the application icon according to the touch coordinates;
step 142: if the touch area of the touch operation is the area outside the application icon, transmitting the operation parameters of the touch operation to the wallpaper application;
step 143: and the wallpaper application controls the dynamic change of the first desktop wallpaper according to the operation parameters of the touch operation.
Here, the operation parameter of the touch operation may be understood as a parameter capable of identifying different touch operations, for example, an operation parameter corresponding to a leftward sliding is different from an operation parameter corresponding to a rightward sliding. In some embodiments, the operation parameters of the touch operation may further include coordinate information of the touch operation, and the like, and based on the coordinate information, an object to be controlled by the touch operation is determined. For example, referring to fig. 2, the operation parameters of the touch operation further include the coordinate information, and the coordinates of the target object are determined based on the operation parameters of the touch operation, so as to control the target object to dynamically change based on the touch operation.
It should be noted that the system of the terminal may monitor the touch operation acting on the touch screen in real time, and usually, when the desktop application is started, the operation parameters of the touch operation are preferentially reported to the desktop application, so that the desktop application can execute a corresponding command according to the touch operation, for example, start an application, or perform page turning processing on an application icon in the desktop. In this embodiment, if the touch area of the touch operation is an area other than the application icon, the operation parameters of the touch operation are transmitted to the wallpaper application, and the wallpaper application controls the dynamic change of the first desktop wallpaper according to the operation parameters of the touch operation.
In this embodiment, based on the current priority that the touch operation is reported to the desktop application, and when the touch area of the touch operation is an area other than the application icon, the desktop application transmits the operation parameters of the touch operation to the wallpaper application, and the wallpaper application executes the command corresponding to the touch operation, so that the execution program of the system does not need to be modified, and only the control logic of the desktop application needs to be simply modified.
In other embodiments, if the touch area of the touch operation is an area other than the application icon, controlling the dynamic change of the first desktop wallpaper based on the touch operation includes:
after receiving the touch coordinates of the touch operation, the system determines whether the touch area of the touch operation is an area outside the application icon according to the touch coordinates; if the touch area of the touch operation is the area outside the application icon, transmitting the operation parameters of the touch operation to the wallpaper application; and the wallpaper application controls the dynamic change of the first desktop wallpaper according to the operation parameters of the touch operation. Therefore, the touch operation can be directly reported to the wallpaper application by the system without being reported to the wallpaper application by the desktop application, so that the processing flow inside the terminal is saved, and the processing efficiency is improved.
In other embodiments, the method further comprises:
if the touch area of the touch operation acts on the application icon, triggering an application program corresponding to the application icon acted by the touch operation to start;
and switching the desktop window into a program window for starting the application program.
And the system layer determines that the touch area of the touch operation acts on the application icon and reports the desktop application, and the desktop application is triggered to be started by the application program corresponding to the application icon acted by the touch operation based on the touch operation.
In this embodiment, the application icon is acted in the touch area of the touch operation, that is, the operation parameter of the touch operation is monitored by the system layer and then transmitted to the desktop application, the desktop application determines the application icon acted by the touch operation according to the touch coordinate of the touch operation, and then the corresponding application program is started and enters the desktop window to be switched to a program window for starting the application program. And the misoperation phenomenon that the dynamic control of the wallpaper is still performed when the touch operation is applied to the application icon is reduced.
In the embodiment, the first desktop wallpaper can be dynamically changed based on the touch operation of the user, so that the user can perform the touch operation at any time according to the preference of the user to change the display effect of the desktop wallpaper at any time, and the current preference of the user is met. And because the desktop wallpaper is not presented in a fixed mode any more, the desktop wallpaper can be dynamically changed based on the touch operation of the user, so that the interactivity of the desktop wallpaper is enhanced, the display of the desktop wallpaper is more diversified and interesting, and the user experience of the terminal is improved.
As another optional embodiment, the controlling the first desktop wallpaper to dynamically change by the touch operation includes:
determining whether the touch operation is a preset touch operation or not based on the touch operation;
and if the touch operation is the preset touch operation, controlling the first desktop wallpaper to dynamically change based on the preset touch operation.
In order to reduce the phenomenon of false touch in the screen locking state.
In some embodiments, the determining, based on the touch operation, whether the touch operation is a preset touch operation may further include:
detecting touch information generated on a touch screen based on the touch operation;
and if the touch information meets the touch condition, determining that the touch operation is the preset touch operation.
Here, the touch information includes: and gesture information generated by touch operation.
It can be understood that, when there are many application icons on the desktop, page turning is required to display all the visible application icons, and for this reason, in some embodiments, in order to distinguish the touch operation for triggering page turning of the application icons on the terminal desktop, the gesture information corresponding to the preset touch operation is different from the gesture information generated by the touch operation for triggering page turning of the application icons on the terminal desktop. The gesture information corresponding to the preset touch operation may be stored in the terminal in advance.
For example, if the touch operation set for turning the page of the application icon on the desktop is a single-finger sliding operation, the touch operation set for user interaction with the first desktop wallpaper may be a double-finger sliding operation or a single-finger double-click operation.
Of course, in some embodiment modes, the terminal does not need to distinguish between a touch operation for triggering page turning of an application icon on a desktop of the terminal and a touch operation for controlling dynamic change of the wallpaper of the first desktop. In this embodiment, the touch operation may trigger both page turning of the application icon on the terminal desktop and controlling the first desktop wallpaper to change, that is, based on the touch operation, the page turning of the application icon on the terminal desktop may be triggered and the first desktop wallpaper may be dynamically changed at the same time, so that the variety of display effects of the desktop wallpaper is increased, and the user experience is improved.
In further embodiments, the touch information includes: and (5) touch pressure.
In some embodiments, the touch condition includes: the touch pressure value is greater than a first preset pressure value, wherein it can be understood that the first preset pressure value is greater than a second preset pressure value, and here, the second preset pressure value is a pressure value at which the touch screen is determined to detect the touch operation.
Based on this, in this embodiment, the touch pressure value is set to be greater than the first preset pressure value, that is, only when the application is used with a force greater than that used in a normal use, the first desktop wallpaper can be controlled to dynamically change, the touch for interacting with the application and the touch for interacting with the first desktop lock screen wallpaper can be better distinguished, and a confusion phenomenon caused by the fact that the first desktop wallpaper is simultaneously operated by the touch operation which is performed by the application icon page turning operation or the dragging of the application icon of the desktop is reduced.
Further, in order to better understand the desktop display control method provided by the embodiment of the present disclosure, a specific embodiment is also provided, please refer to fig. 4, and as shown in fig. 4, the method further includes:
step 41: starting the desktop application;
step 42: whether the wallpaper application is started, if yes, executing step 43, and if not, returning to step 41;
here, the system determines whether there is a need to start the wallpaper application according to the configuration information, and if so, the wallpaper application is started.
Step 43: creating a wallpaper service;
here, the wallpaper service may be created at a system layer, and the wallpaper service is provided by the system layer. The wallpaper service may be the wallpaper service described in the above embodiments.
Step 44: drawing a transparent desktop window;
step 45: setting window attributes corresponding to the wallpaper application and providing first desktop wallpaper as free windows;
step 46: placing an active component instance of a wallpaper process used by the wallpaper application to provide the first desktop wallpaper under an active component instance of a wallpaper process used by the desktop application to provide the second desktop wallpaper;
step 47: the wallpaper service continuously monitors touch operations.
In fact, the wallpaper service continuously monitors the touch operation, which may be understood as continuously monitoring the touch operation by the wallpaper service of the system layer, and if the touch area of the touch operation is an area other than the application icon, the first desktop wallpaper is controlled to dynamically change based on the touch operation.
In the embodiment, the first desktop wallpaper capable of interacting with the user is provided by starting the wallpaper application, and when the touch area of the touch operation is in an area outside the application icon, the first desktop wallpaper is controlled to dynamically change based on the touch operation, so that the display effect of the desktop wallpaper is enriched, and the user experience is enhanced.
Further, in order to improve the interchangeability of the desktop wallpaper and enrich the effect of the desktop wallpaper, the embodiment of the disclosure further provides a desktop display control device. Fig. 5 is a diagram illustrating a desktop display control apparatus according to an exemplary embodiment, and referring to fig. 5, the apparatus includes: a first display module 51, a second display module 52, a detection module 53 and a control module 54;
the first display module 51 configured to display a transparent desktop window and display an opaque application icon within the desktop window;
the second display module 52 is configured to display a first desktop wallpaper provided by a wallpaper application in an overlapping manner below the application icon;
the detection module 53 is configured to detect a touch operation acting on the touch screen;
the control module 54 is configured to control the dynamic change of the first desktop wallpaper based on the touch operation if the touch area of the touch operation is an area other than the application icon.
In an alternative embodiment, the first display module 51 is further configured to:
in a first window mode, displaying a transparent desktop window and the opaque application icons in the first window;
the second display module 52, further configured to:
and in the first window mode, a second window is displayed under the first window in a stacking mode, and the first desktop wallpaper provided by the wallpaper application is displayed in the second window.
In an optional embodiment, the apparatus further comprises:
the third display module is configured to display an opaque desktop window and an application icon positioned in the desktop window in a second window mode and maintain the wallpaper application in a closed state; the application icon bottom layer in the opaque desktop window is provided with second desktop wallpaper provided by the desktop application.
In an alternative embodiment, the control module 54 is configured to:
after receiving the touch coordinates of the touch operation, the desktop application determines whether the touch area of the touch operation is an area outside the application icon according to the touch coordinates;
if the touch area of the touch operation is the area outside the application icon, transmitting the operation parameters of the touch operation to the wallpaper application;
and the wallpaper application controls the dynamic change of the first desktop wallpaper according to the operation parameters of the touch operation.
In an optional embodiment, the apparatus further comprises:
the triggering module is used for triggering an application program corresponding to the application icon acted by the touch operation to start if the touch area of the touch operation acts on the application icon;
and switching the desktop window into a program window for starting the application program.
In an alternative embodiment, the control module 54 is further configured to:
and controlling the target object of the first desktop wallpaper to move according to the direction or the track indicated by the touch operation based on the touch operation.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating a terminal 600 according to an example embodiment. For example, the terminal 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and so forth.
Referring to fig. 6, terminal 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an interface to input/output (I/O) 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the terminal 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the terminal 600. Examples of such data include instructions for any application or method operating on terminal 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 606 provides power to the various components of terminal 600. Power components 606 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal 600.
The multimedia component 608 comprises a screen providing an output interface between the terminal 600 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 600 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a Microphone (MIC) configured to receive external audio signals when the terminal 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing various aspects of status assessment for the terminal 600. For example, sensor component 614 can detect an open/closed state of terminal 600, relative positioning of components, such as a display and keypad of terminal 600, change in position of terminal 600 or a component of terminal 600, presence or absence of user contact with terminal 600, orientation or acceleration/deceleration of terminal 600, and temperature change of terminal 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the terminal 600 and other devices in a wired or wireless manner. The terminal 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the terminal 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a terminal, enable the terminal to perform the page display method according to the above embodiments.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (14)

1. A desktop display control method is applied to a terminal and comprises the following steps:
displaying a transparent desktop window and displaying an opaque application icon in the desktop window;
a first desktop wallpaper provided by a wallpaper application is displayed below the application icon in a stacked mode;
detecting touch operation acting on a touch screen;
and if the touch area of the touch operation is the area outside the application icon, controlling the dynamic change of the first desktop wallpaper based on the touch operation.
2. The method of claim 1, wherein displaying a transparent desktop window and displaying an opaque application icon within the desktop window comprises:
in a first window mode, displaying a transparent desktop window and the opaque application icons in the first window;
the first desktop wallpaper provided by a wallpaper application is displayed below the application icon in a stacked mode, and the method comprises the following steps:
and in the first window mode, a second window is displayed under the first window in a stacking mode, and the first desktop wallpaper provided by the wallpaper application is displayed in the second window.
3. The method of claim 2, further comprising:
in a second window mode, displaying an opaque desktop window and an application icon positioned in the desktop window, and maintaining the wallpaper application in a closed state; the application icon bottom layer in the opaque desktop window is provided with second desktop wallpaper provided by the desktop application.
4. The method according to claim 1, wherein if the touch area of the touch operation is an area other than the application icon, controlling the dynamic change of the first desktop wallpaper based on the touch operation comprises:
after receiving the touch coordinates of the touch operation, the desktop application determines whether the touch area of the touch operation is an area outside the application icon according to the touch coordinates;
if the touch area of the touch operation is the area outside the application icon, transmitting the operation parameters of the touch operation to the wallpaper application;
and the wallpaper application controls the dynamic change of the first desktop wallpaper according to the operation parameters of the touch operation.
5. The method of claim 1, further comprising:
if the touch area of the touch operation acts on the application icon, triggering an application program corresponding to the application icon acted by the touch operation to start;
and switching the desktop window into a started program window of the application program.
6. The method of claim 1, wherein the controlling the first desktop wallpaper to dynamically change based on the touch operation comprises:
and controlling the target object of the first desktop wallpaper to move according to the direction or the track indicated by the touch operation based on the touch operation.
7. A desktop display control device is applied to a terminal and comprises:
the first display module is used for displaying a transparent desktop window and displaying an opaque application icon in the desktop window;
the second display module is used for displaying a first desktop wallpaper provided by a wallpaper application in a stacking mode below the application icon;
the detection module is used for detecting touch operation acting on the touch screen;
and the control module is used for controlling the dynamic change of the first desktop wallpaper based on the touch operation if the touch area of the touch operation is the area outside the application icon.
8. The apparatus of claim 7, wherein the first display module is further configured to:
in a first window mode, displaying a transparent desktop window and the opaque application icons in the first window;
the second display module is further configured to:
and in the first window mode, a second window is displayed under the first window in a stacking mode, and the first desktop wallpaper provided by the wallpaper application is displayed in the second window.
9. The apparatus of claim 8, further comprising:
the third display module is used for displaying an opaque desktop window and an application icon positioned in the desktop window in the second window mode and maintaining the wallpaper application in a closed state; the application icon bottom layer in the opaque desktop window is provided with second desktop wallpaper provided by the desktop application.
10. The apparatus of claim 7, wherein the control module is further configured to:
after receiving the touch coordinates of the touch operation, the desktop application determines whether the touch area of the touch operation is an area outside the application icon according to the touch coordinates;
if the touch area of the touch operation is the area outside the application icon, transmitting the operation parameters of the touch operation to the wallpaper application;
and the wallpaper application controls the dynamic change of the first desktop wallpaper according to the operation parameters of the touch operation.
11. The apparatus of claim 7, further comprising:
the triggering module is used for triggering an application program corresponding to the application icon acted by the touch operation to start if the touch area of the touch operation acts on the application icon;
and switching the desktop window into a program window for starting the application program.
12. The apparatus of claim 7, wherein the control module is further configured to:
and controlling the target object of the first desktop wallpaper to move according to the direction or the track indicated by the touch operation based on the touch operation.
13. A terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: performing the method steps of implementing any of claims 1 to 6.
14. A non-transitory computer-readable storage medium, having stored thereon a computer program, characterized in that instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to perform the method steps of implementing any of claims 1 to 6.
CN202110199055.XA 2021-02-22 2021-02-22 Desktop display control method, device, terminal and storage medium Pending CN113010056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110199055.XA CN113010056A (en) 2021-02-22 2021-02-22 Desktop display control method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110199055.XA CN113010056A (en) 2021-02-22 2021-02-22 Desktop display control method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN113010056A true CN113010056A (en) 2021-06-22

Family

ID=76406606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110199055.XA Pending CN113010056A (en) 2021-02-22 2021-02-22 Desktop display control method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113010056A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113393373A (en) * 2021-07-02 2021-09-14 维沃移动通信(杭州)有限公司 Icon processing method and device
CN114510307A (en) * 2022-01-28 2022-05-17 统信软件技术有限公司 Dynamic wallpaper implementation method, computing device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140149943A1 (en) * 2011-07-20 2014-05-29 Zte Corporation Method and apparatus for generating dynamic wallpaper
CN104020973A (en) * 2014-05-19 2014-09-03 广州酷狗计算机科技有限公司 Message display method and device
CN108037859A (en) * 2017-11-17 2018-05-15 珠海市君天电子科技有限公司 A kind of wallpaper control method, device, electronic equipment and storage medium
CN109308207A (en) * 2018-09-28 2019-02-05 珠海市君天电子科技有限公司 A kind of display methods of dynamic wallpaper, device, electronic equipment and storage medium
CN110069182A (en) * 2019-04-28 2019-07-30 努比亚技术有限公司 Wallpaper control method, mobile terminal and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140149943A1 (en) * 2011-07-20 2014-05-29 Zte Corporation Method and apparatus for generating dynamic wallpaper
CN104020973A (en) * 2014-05-19 2014-09-03 广州酷狗计算机科技有限公司 Message display method and device
CN108037859A (en) * 2017-11-17 2018-05-15 珠海市君天电子科技有限公司 A kind of wallpaper control method, device, electronic equipment and storage medium
CN109308207A (en) * 2018-09-28 2019-02-05 珠海市君天电子科技有限公司 A kind of display methods of dynamic wallpaper, device, electronic equipment and storage medium
CN110069182A (en) * 2019-04-28 2019-07-30 努比亚技术有限公司 Wallpaper control method, mobile terminal and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113393373A (en) * 2021-07-02 2021-09-14 维沃移动通信(杭州)有限公司 Icon processing method and device
CN113393373B (en) * 2021-07-02 2023-03-24 维沃移动通信(杭州)有限公司 Icon processing method and device
CN114510307A (en) * 2022-01-28 2022-05-17 统信软件技术有限公司 Dynamic wallpaper implementation method, computing device and storage medium
CN114510307B (en) * 2022-01-28 2024-01-23 统信软件技术有限公司 Dynamic wallpaper implementation method, computing device and storage medium

Similar Documents

Publication Publication Date Title
CN108804010B (en) Terminal control method, device and computer readable storage medium
CN105955607B (en) Content sharing method and device
CN107908351B (en) Application interface display method and device and storage medium
CN107562322B (en) Page switching method and device
US10705676B2 (en) Method and device for interacting with button
CN107526494B (en) Keyboard display method, device, terminal and storage medium
US20170344192A1 (en) Method and device for playing live videos
EP3933565A1 (en) Screen projection method, screen projection device, and storage medium
CN105893136B (en) Multitask management method and device
CN111314768A (en) Screen projection method, screen projection device, electronic equipment and computer readable storage medium
CN111381739B (en) Application icon display method and device, electronic equipment and storage medium
CN107992257B (en) Screen splitting method and device
CN105487805B (en) Object operation method and device
CN104317402B (en) Description information display method and device and electronic equipment
CN111580904A (en) Display state switching method, display state switching device and storage medium
EP3754959A1 (en) Quick access to an application in the lock screen
CN109976861B (en) Interactive interface display method and device and storage medium
CN111610912B (en) Application display method, application display device and storage medium
CN111552426B (en) Intelligent equipment operation method and device and storage medium
CN113010056A (en) Desktop display control method, device, terminal and storage medium
CN111124587A (en) Interface display method and device, terminal equipment and storage medium
CN111381738B (en) Interface display method and device, electronic equipment and storage medium
US11221734B2 (en) Punch-hole screen display method and apparatus
CN112882779A (en) Lock screen display control method and device, mobile terminal and storage medium
CN109521923B (en) Floating window control method and device and storage medium

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