Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the embodiments of the present invention will be described in detail with reference to the accompanying drawings.
In the embodiment of the invention, the dynamic wallpaper configured on the touch screen of the terminal equipment and the dynamic icon on the touch screen are synthesized into the same layer, and different dynamic effects are displayed on the dynamic wallpaper based on the operation action of the user, so that the dynamic wallpaper and the desktop icon can be dynamically interacted based on the operation action of the user.
Referring to fig. 1, fig. 1 is a flowchart of an interaction method for a dynamic wallpaper and a desktop icon according to an embodiment of the present invention, where the method is applied to a terminal device provided with a touch screen, where the touch screen is configured with the dynamic wallpaper, and the dynamic wallpaper and the desktop icon on the touch screen are synthesized in the same layer, and the method mainly includes the following steps:
step 101, configuring dynamic effects corresponding to each operation action for the dynamic wallpaper.
And 102, when an operation action of an operator on the terminal equipment is sensed, outputting a dynamic effect corresponding to the operation action on the dynamic wallpaper on a display interface of the touch screen.
In practical applications, a user generally performs various operation actions on a terminal device through a specific operator, and the dynamic effect of interaction between a dynamic wallpaper and a desktop icon is different under different operation actions.
The operation action of the operator on the terminal device can be divided into two types, one is the operation action on the body of the terminal device, and the other is the operation action on the touch screen of the terminal device. The following describes the dynamic effects of these two types of operation.
The first type of operation acts: the operation action for the terminal equipment body mainly comprises: holding or shaking the terminal device, placing the terminal device obliquely, etc., wherein,
when the touch screen of the terminal device is sensed to be held in the black screen state, the display interface of the touch screen can be awakened from the black screen.
When the terminal equipment is induced to shake in the awakening state of the touch screen, the moving speed (shaking intensity) and the displacement (shaking amplitude) of the terminal equipment are measured, and the dynamic effect corresponding to the operation action on the dynamic wallpaper is output on the display interface of the touch screen according to the moving speed and the displacement of the terminal equipment. A three-axis accelerometer may be provided in the terminal device, with which the movement speed and displacement of the terminal device are measured. The dynamic effect corresponding to the operation action of the shaking terminal device mainly comprises water ripples generation, object falling or scattering and the like, for example, in dynamic wallpaper taking water as a theme, the water ripples can be generated, desktop icons can shake along with the shaking of the water ripples, and the desktop icons sinking to the water bottom are called out of the water surface; in the dynamic wallpaper with the theme of sand, gravel can be shaken and fall on the desktop icon; in the dynamic wallpaper with snow as a theme, snowflakes can be scattered everywhere.
When the terminal equipment is induced to be placed obliquely under the condition that the touch screen is kept in an awakening state, measuring the inclination of the terminal equipment, and outputting a dynamic effect corresponding to the operation action on the dynamic wallpaper on a display interface of the touch screen according to the inclination of the terminal equipment (the inclination determines the horizontal screen or vertical screen display of the dynamic mural). A three-axis gyroscope may be provided in the terminal device, with which the inclination of the terminal device is measured. The dynamic effect corresponding to the operation action of obliquely placing the terminal device mainly comprises object falling and the like, for example, in dynamic wallpaper with water as a theme, a desktop icon floats along with the inclination of the water surface; in the dynamic wallpaper taking sand as a theme, sand gravel falls along with the inclination angle; in dynamic wallpaper with snow as the theme, snowflakes slide off the branches.
The second type of operation action: the operation action of the touch screen of the terminal equipment mainly comprises the following steps: the operation of the operator moving on the touch screen, for example, the operator moving on the unlocking interface of the touch screen along a specific track to open the unlocking interface; the operator moves on a non-unlocking interface (the non-unlocking interface is various possible user operation interfaces entering after the unlocking interface is unlocked) of the touch screen to perform page turning operation; the operation is performed without long-time pressing of the desktop icon, the operation is performed by long-time pressing of the desktop icon to realize a pressing and holding selection operation action of selecting the desktop icon, the operation is performed by long-time pressing of the desktop icon to delete the pressing and holding operation action of the desktop icon), the operation is performed by simulating a pinching operation action of pinching up an object in reality, and the operation is performed by blowing air to the touch screen. Wherein,
when the movement of an operator on the touch screen is sensed, determining the movement track of the operator, and outputting a dynamic effect corresponding to the operation action on the dynamic wallpaper on the display interface of the touch screen according to the movement track of the operator and the type of the current display interface of the touch screen. The display interface types comprise an unlocking interface and a non-unlocking interface. The dynamic effect corresponding to the operation action of the operator on the unlocking interface of the touch screen mainly comprises calling out hidden contents, for example, in dynamic wallpaper with water as a theme, special ripples can be generated, and the unlocking is performed in a specified area; in the dynamic wallpaper with the theme of sand or snow, a drawn trace is displayed on a moving track, and unlocking occurs in a specified area. The dynamic effects corresponding to the operation actions of the operator on the non-unlocking interface of the touch screen mainly comprise floating, melting and splashing, for example, in dynamic wallpaper with water as a theme, page turning operation enables the desktop icon to float on the water surface along with water waves; in the dynamic wallpaper with the theme of sand, the page turning operation enables sand to be splashed and fall onto the desktop icon; in dynamic wallpaper with snow as a theme, the page turning operation melts the snow.
When the fact that an operator presses the desktop icon in the touch screen for a long time is sensed, determining the time for pressing the desktop icon for a long time, and outputting a dynamic effect corresponding to the operation action on the dynamic wallpaper on the display interface of the touch screen according to the time for pressing the desktop icon for a long time and the area where the desktop icon is located. The dynamic effect corresponding to the operation action of long-pressing the desktop icon is mainly sinking, for example, in the dynamic wallpaper with water as the theme, the pressed desktop icon sinks into water or water bottom; in the dynamic wallpaper with the theme of sand, the pressed desktop icon can sink into sand; in dynamic wallpaper with snow as a theme, the held desktop icon is embedded in the snow.
When two operation objects are induced to move to the same target area on the touch screen, determining respective moving tracks of the two operation objects and desktop icons associated with the moving tracks, and outputting dynamic effects corresponding to the operation actions on the dynamic wallpaper on a display interface of the touch screen according to the respective moving tracks of the two operations and the desktop icons associated with the moving tracks. The respective movement trajectories of the two operators can be determined using multi-touch technology. The operation actions of the two operators moving to the same target area on the touch screen correspond to the pinch-up operation actions in the foregoing, and the corresponding dynamic effect is splash, for example, in dynamic wallpaper with water as a theme, desktop icons (related desktop icons) through which the moving tracks of the two operators pass interact with the water surface to form a dynamic effect of splash; in the dynamic wallpaper with the theme of sand, desktop icons through which the moving tracks of two operators pass interact with the sand to form a dynamic effect that the sand is collided and splashed; in the dynamic wallpaper with snow as the theme, desktop icons through which the moving tracks of two operators pass interact with the snowflakes to form a dynamic effect of snowflake splashing.
When the airflow rushing towards the touch screen is sensed, the strength and the holding time of the sensed airflow are determined, and the dynamic effect corresponding to the operation action on the dynamic wallpaper is output on the display interface of the touch screen according to the strength and the holding time of the sensed airflow. A microphone may be provided in the terminal device, with which the airflow impinging on the touch screen is sensed and the airflow intensity and duration determined. The operation action of the airflow rushing towards the touch screen corresponds to the operation action of blowing air to the touch screen, and the corresponding dynamic effects mainly comprise ripples and object dancing, for example, in dynamic wallpaper with water as a theme, the display area corresponding to the area where the airflow is induced generates water ripples with the center as the center, and surrounding desktop icons can shake along with the water ripples; in the dynamic wallpaper with the theme of sand, sand is blown up by taking a display area corresponding to an area where air flow is induced as a center; in the dynamic wallpaper with snow as a theme, snowflakes fly around a display area corresponding to an area where airflow is induced.
In the embodiment of the invention, the color of the dynamic wallpaper can be adjusted based on the light brightness of the space where the terminal equipment is located. For this reason, it is necessary to configure a dynamic effect corresponding to different light brightness value intervals for the dynamic wallpaper. After configuration, the light brightness of the space where the terminal device is located can be measured at any time and any place, and a dynamic effect corresponding to the light brightness value interval where the light brightness is located is output on the display interface of the touch screen. A light sensor may be provided in the terminal device, and the light sensor may be used to measure the light brightness of the space in which the terminal device is located.
In the embodiment of the invention, the dynamic effect of the dynamic wallpaper, such as the color of the weather, can be adjusted based on the temperature and the humidity of the space where the terminal equipment is located. For this reason, the dynamic wallpaper needs to be configured with dynamic effects corresponding to different temperatures and humidities; after configuration, the temperature and the humidity of the space where the terminal equipment is located can be measured at any time and any place, and the dynamic effect corresponding to the temperature and the humidity is output on the display interface of the touch screen. Temperature and humidity sensors can be arranged in the terminal equipment, and the temperature and humidity of the space where the terminal equipment is located are measured by the temperature and humidity sensors.
In the embodiment of the invention, the operator can also perform suspension operation on the terminal equipment, the distance sensor is arranged in the terminal equipment, the suspension operation of the operator on the terminal equipment is sensed through the distance sensor, and then the dynamic effect corresponding to the suspension operation is output on the display interface of the touch screen.
In the embodiment of the invention, the dynamic effect of interaction between the dynamic wallpaper and the desktop icon can be displayed based on the use frequency of the desktop icon. For this reason, dynamic effects corresponding to different desktop icon use frequency value intervals can be configured for the dynamic wallpaper in advance. After configuration, the use frequency of the desktop icon can be counted periodically or at a specific time (for example, when an unlocking interface is opened to enter a user operation interface), and when the use frequency of the desktop icon and the use frequency counted last time are not in the same use frequency value interval, a dynamic effect corresponding to the use frequency value interval in which the current use frequency of the desktop icon is located is output on a display interface of the touch screen. For example, when the frequency of use of a desktop icon is higher than a certain threshold, in a dynamic wallpaper with a theme of water, the desktop icon floats on the water surface, and in a dynamic wallpaper with a theme of sand, the desktop icon lies on gravel; in the dynamic wallpaper with snow as a theme, the desktop icon is embedded in the snow.
In practical applications, when a moving object in the dynamic wallpaper travels, the moving object may also touch the desktop icon, and the touch type includes that the object falls, covers, skips or goes over the desktop icon, so that a dynamic effect corresponding to various touch actions of the moving object in the dynamic wallpaper on the desktop icon may also be configured for the dynamic wallpaper in advance. After configuration, the moving position of the moving object in the dynamic wallpaper can be detected, and when the moving object touches the desktop icon is determined according to the moving of the moving object, a dynamic effect corresponding to the touch action is output on the display interface of the touch screen. For example, in a dynamic wallpaper with water as a theme, a fish can skip over a desktop icon, and in a dynamic wallpaper with sand as a theme, a crab can skip over the desktop icon; in a dynamic wallpaper with snow as a theme, snowflakes float down on the desktop icons.
The interaction method of the dynamic wallpaper and the desktop icon in the embodiment of the invention is described above, and the invention further provides a terminal device with a touch screen, which is described in detail below with reference to fig. 2.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present invention, where the terminal device is provided with a touch screen, the touch screen is configured with a dynamic wallpaper, and the dynamic wallpaper and a desktop icon on the touch screen are synthesized in the same layer, and the terminal device includes: a configuration unit 201, a sensing unit 202 and a control unit 203; wherein,
a configuration unit 201, configured to configure a dynamic effect corresponding to each operation action for the dynamic wallpaper;
the sensing unit 202 is used for sensing the operation action of an operator on the terminal equipment;
and the control unit 203 is configured to sense an operation action of an operator on the terminal device by the sensing unit 202, and output a dynamic effect corresponding to the operation action on the dynamic wallpaper on the display interface of the touch screen.
In the terminal device, the control unit 203 is configured to wake up a display interface of the touch screen from a black screen when the sensing unit 202 senses that the touch screen of the terminal device is held in a black screen state; the sensing unit 202 is configured to measure a moving speed and a displacement of the terminal device when sensing that the terminal device is shaken in a wake-up state of the touch screen, and output a dynamic effect corresponding to the operation action on the dynamic wallpaper on a display interface of the touch screen according to the moving speed and the displacement of the terminal device; the sensing unit 202 is configured to measure an inclination of the terminal device when sensing that the terminal device is placed obliquely while the touch screen remains in the awake state, and output a dynamic effect corresponding to the operation action on the dynamic wallpaper on the display interface of the touch screen according to the inclination of the terminal device.
In the terminal device, the control unit 203 is configured to determine a moving track of the operator when the sensing unit 202 senses that the operator moves on the touch screen, and output a dynamic effect corresponding to the operation action on the dynamic wallpaper on a display interface of the touch screen according to the moving track of the operator and a current display interface type of the touch screen, where the display interface type includes an unlocking interface and a non-unlocking interface; the sensing unit 202 is used for sensing that an operator presses the desktop icon in the touch screen for a long time, determining the time for pressing the desktop icon for a long time, and outputting a dynamic effect corresponding to the operation action on the dynamic wallpaper on the display interface of the touch screen according to the time for pressing the desktop icon for a long time and the area where the desktop icon is located; the sensing unit 202 is configured to determine respective movement tracks of the two operators and desktop icons associated with the movement tracks when sensing that the two operators move to the same target area on the touch screen, and output a dynamic effect corresponding to the operation action on the dynamic wallpaper on a display interface of the touch screen according to the respective movement tracks of the two operators and the desktop icons associated with the movement tracks; the method is used for determining the strength and the retention time of the sensed airflow when the sensing unit 202 senses the airflow rushing towards the touch screen, and outputting a dynamic effect corresponding to the operation action on the dynamic wallpaper on the display interface of the touch screen according to the sensed strength and the retention time of the airflow.
In the terminal device described above, the terminal device,
the configuration unit 201 is further configured to configure a dynamic effect corresponding to different light brightness value intervals for the dynamic wallpaper;
the control unit 203 is further configured to measure the light brightness of the space where the terminal device is located, and output a dynamic effect corresponding to the light brightness value interval where the light brightness is located on the display interface of the touch screen.
In the terminal device described above, the terminal device,
the configuration unit 201 is further configured to configure dynamic effects corresponding to different temperatures and humidities for the dynamic wallpaper;
the control unit 203 is further configured to measure the temperature and humidity of the space where the terminal device is located, and output a dynamic effect corresponding to the temperature and humidity on the display interface of the touch screen.
In the terminal device described above, the terminal device,
the configuration unit 201 is further configured to configure a dynamic effect corresponding to different desktop icon usage frequency value intervals for the dynamic wallpaper;
the control unit 203 is further configured to count the usage frequency of the desktop icon, and output a dynamic effect corresponding to the usage frequency value interval where the current usage frequency of the desktop icon is located on the display interface of the touch screen when the usage frequency of the desktop icon is not in the same usage frequency value interval as the usage frequency counted most recently.
In the terminal device described above, the terminal device,
the configuration unit 201 is configured to configure a dynamic effect corresponding to various touch actions of a moving object in the dynamic wallpaper on the desktop icon for the dynamic wallpaper;
the control unit 203 is further configured to detect a moving position of a moving object in the dynamic wallpaper, and output a dynamic effect corresponding to a touch action on a display interface of the touch screen when it is determined that the moving object touches the desktop icon according to the moving position of the moving object.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.