Display terminal and wallpaper control method thereof
1. A wallpaper control method is used for a display terminal, the display terminal comprises a display screen, and the control method comprises the following steps:
obtaining the bending angle or the display area of the display terminal;
and controlling and displaying the corresponding wallpaper according to the bending angle or the display area.
2. The control method of claim 1, wherein the wallpaper includes a background map; the controlling and displaying the corresponding wallpaper according to the bending angle or the display area comprises the following steps:
and controlling one or more of the size, the display position and the display content of the background picture to be changed and displayed according to the bending angle or the display area.
3. The control method according to claim 2, wherein controlling and displaying one or more of a size, a display position, and a display content of the background map in accordance with the bending angle or the display area includes:
and controlling and displaying one or more of the size, the display position and the display content of the background picture according to the current value of the bending angle or the display area.
4. The control method according to claim 2, wherein the controlling and displaying one or more of the size, the display position, and the display content of the background map according to the bending angle or the display area includes:
acquiring a change value of the bending angle or the display area, wherein the change value of the bending angle or the display area comprises any one of a difference value of the bending angle or the display area of the front state and the back state of the display terminal and a change rate of the bending angle or the display area;
and controlling and displaying one or more of the size, the display position and the display content of the background image according to the change value of the bending angle or the display area.
5. The control method according to claim 1, wherein the wallpaper comprises a background map and at least one display element located in the background map, each display element comprises a plurality of display parameters and presents different display states under different display parameters, and the bending angle or the display area has a corresponding relationship with at least one display parameter of the display element; the controlling and displaying the corresponding wallpaper according to the bending angle or the display area comprises the following steps:
and controlling the display elements to display according to the bending angle or the display area and the corresponding display parameters.
6. The control method according to claim 5, wherein the controlling the display element to display with the display parameter corresponding to the control value according to the bending angle or the display area includes:
and controlling the display elements to display according to the current values of the bending angles or the display areas and the corresponding display parameters.
7. The control method according to claim 5, wherein the controlling the display element to display with the display parameter corresponding to the control value according to the bending angle or the display area includes:
acquiring a change value of the bending angle or the display area, wherein the change value of the bending angle or the display area comprises any one of a difference value of the bending angle or the display area of the front state and the back state of the display terminal and a change rate of the bending angle or the display area;
and controlling the display elements to display according to the change value of the bending angle or the display area and the corresponding display parameters.
8. The control method according to claim 5, wherein the display elements are plural, and when a collision occurs between the display elements, at least one display parameter of the display element in which the collision occurs is changed.
9. The control method according to claim 5, wherein the display parameters include a position, a color, a shape, a hide/display ratio, a zoom ratio, and a transparency of the display element.
10. The method for controlling the display of the wallpaper according to the bending angle or the display area as claimed in claim 5, further comprising:
and controlling one or more of the size, the display position and the display content of the background picture to be changed and displayed according to the bending angle or the display area.
11. The control method according to claim 5, further comprising, after the controlling the display element to be displayed with a display parameter corresponding to the control value according to the bend angle or the display area:
judging whether the bending angle or the display area changes or not;
when the bending angle or the display area is not changed, at least one display parameter of the display element is periodically changed or randomly changed according to a time value.
12. The control method according to claim 11, further comprising:
when the bending angle or the display area is changed, determining a target display parameter of the display element according to the bending angle or the display area and the time value, and controlling the display element to display according to the target display parameter.
13. The method of claim 12, wherein determining the target display parameter of the display element based on the bend angle or the display area in combination with the time value comprises:
determining at least one first display parameter of the display element corresponding to the bending angle or the display area; determining at least one second display parameter of the display element corresponding to the time value; determining the target display parameter according to the at least one first display parameter and the at least second display parameter.
14. The control method of claim 13, wherein said determining the target display parameter based on the at least one first display parameter and the at least one second display parameter comprises:
when the repeated parameters do not exist, determining that the target display parameters comprise specific parameters, wherein the repeated parameters are display parameters of the same category in the at least one first display parameter and the at least one second display parameter, and the specific parameters are display parameters of different categories in the at least one first display parameter and the at least one second display parameter.
15. The control method of claim 14, wherein said determining the target display parameter based on the at least one first display parameter and the at least one second display parameter comprises:
and when the repeated parameters exist, converting the repeated parameters into updated parameters according to a preset relation, wherein the target display parameters comprise the updated parameters and the specific parameters.
16. The control method according to claim 10, further comprising, after the controlling and displaying one or more of a size, a display position, and a display content of the background map in accordance with the bending angle or the display area, the changing and displaying:
judging whether the bending angle or the display area changes or not;
when the bending angle or the display area is not changed, one or more of the size, the display position and the display content of the background image are changed regularly or randomly according to a time value.
17. The control method according to claim 16, wherein when the display content of the background map changes according to the time law, the similarity between the display content of the background map corresponding to a first time and the display content of the background map corresponding to a second time is inversely proportional to the time difference between the first time and the second time.
18. The control method as claimed in claim 5, wherein the background map in the wallpaper is not changed.
19. A display terminal comprising a display screen, a processor and a memory, wherein the memory stores input control instructions executable on the processor, and the processor executes the input control instructions to perform the wallpaper control method according to any one of claims 1 to 19.
20. A storage medium having stored therein input control instructions which, when run on a display terminal, cause the display terminal to perform the wallpaper control method according to any one of claims 1-19.
Background
Wallpaper display in the prior art mainly comprises static picture wallpaper and dynamic picture wallpaper, the static picture wallpaper can be manually switched according to user operation or automatically switched according to time, the dynamic picture wallpaper mainly changes the display content of the wallpaper according to time, the change of the display content of the wallpaper is single, and an interaction process with a user is lacked.
Disclosure of Invention
The embodiment of the invention provides a wallpaper control method, which is used for solving the problems that the display content of the current wallpaper is single in conversion and lacks of an interactive process with a user.
In a first aspect, an embodiment of the present application provides a wallpaper control method for a display terminal, where the display terminal includes a display screen, and the wallpaper includes a plurality of wallpapers, and the control method includes:
obtaining the bending angle or the display area of the display terminal;
and controlling and displaying the corresponding wallpaper according to the bending angle or the display area.
In a second aspect, an embodiment of the present application provides a display terminal, including a display screen, a processor, and a memory, where the memory stores input control instructions executable on the processor, and the processor executes the input control instructions to perform the following steps:
obtaining the bending angle or the display area of the display terminal;
and controlling and displaying the corresponding wallpaper according to the bending angle or the display area.
In a third aspect, an embodiment of the present application provides a storage medium, where the storage medium stores an input control instruction, and when the input control instruction runs on a display terminal, the display terminal is caused to perform the following steps:
obtaining the bending angle or the display area of the display terminal;
and controlling and displaying the corresponding wallpaper according to the bending angle or the display area.
According to the wallpaper control method of the display terminal, the display terminal comprises a display screen, and the bending angle or the display area of the display terminal is obtained firstly; and controlling and displaying the corresponding wallpaper according to the bending angle or the display area. The interaction process of the user and the display terminal is enhanced.
Drawings
The following drawings are included to provide a detailed description of various embodiments of the invention. It should be understood that the elements illustrated in the drawings are not necessarily to scale, and that they are merely schematic representations made for clarity of illustration and are not to be construed as limitations of the invention.
Fig. 1 is a flowchart of a wallpaper control method of a display terminal in a first embodiment.
Fig. 2 is a flowchart of a wallpaper control method of a display terminal in a second embodiment.
Fig. 3 is a flowchart of a wallpaper control method of a display terminal in a third embodiment.
Fig. 4 is a flowchart of a wallpaper control method of a display terminal in a fourth embodiment.
Fig. 5 is a flowchart of a wallpaper control method of a display terminal in a fifth embodiment.
6A-6C are schematic diagrams of display element position as a function of control value in one embodiment.
7A-7C are schematic diagrams illustrating the change in display element position with control value in one embodiment.
FIG. 8 is a diagram illustrating the variation of display element position with control value in one embodiment.
9A-9C are schematic diagrams of display element position as a function of control value in one embodiment.
10A-10C are schematic diagrams illustrating the variation of element shapes with control values in one embodiment.
11A-11C are diagrams illustrating the color of display elements as a function of control value in one embodiment.
FIGS. 12A-12C are diagrams illustrating the hidden/displayed scale of a display element as a function of control value in one embodiment.
FIGS. 13A-13C are diagrams illustrating the transparency of a display element as a function of control value in one embodiment.
14A-14C are schematic diagrams showing the shape and position of an element simultaneously as a function of control value in one embodiment.
Fig. 15 is a flowchart of a wallpaper control method of a display terminal in a sixth embodiment.
Fig. 16 is a flowchart of a wallpaper control method of a display terminal in the seventh embodiment.
Fig. 17 is a flowchart of a wallpaper control method of a display terminal in an eighth embodiment.
Fig. 18 is a flowchart of a wallpaper control method of a display terminal in the ninth embodiment.
Fig. 19 is a flowchart of a wallpaper control method of a display terminal in the tenth embodiment.
Fig. 20 is a flowchart of a wallpaper control method of a display terminal in the eleventh embodiment.
Fig. 21 is a block diagram of a display terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to a plurality of embodiments and accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
Fig. 1 shows a flowchart of a wallpaper control method of a display terminal in a first embodiment. The display terminal in this embodiment includes a display screen, and the display terminal may be bent or a display area of the display terminal may be changed. The display terminal may be a terminal that can be bent or has a changeable display area, such as a smart Phone (e.g., a Mobile Phone such as an Android Mobile Phone, an iOS Mobile Phone, and a Windows Phone), a tablet computer, a Mobile Internet Device (MID), and an intelligent wearable Device.
In particular, the display screen may be a rigid display screen (i.e., a non-flexible, non-bendable display screen) or a flexible display screen (i.e., a flexible, bendable display screen).
When the display screen is a hard display screen, in an embodiment, the display terminal includes a bending mechanism, and the bending mechanism can change the orientation of a single display screen or change an included angle between at least two display screens. For example, the display terminal may be a laptop computer having a single display screen, or a smart phone having two display screens respectively disposed on housings hinged to each other. The display terminal comprises a structure for changing the exposed display area of the display screen, and particularly comprises a telescopic structure which is used for changing the exposed display area of the display screen contained in the display terminal. For example, the display terminal may be a television, a sound box, etc. with a display screen telescopically received in the body.
When the display screen is a flexible display screen, in an embodiment, the display terminal includes a bending mechanism, and the bending mechanism can change a bending angle of the display screen. For example, the display terminal may be a foldable smart phone with a flexible display screen, and the like. In another embodiment, the display terminal includes a structure for changing an exposed display area of the display screen, and specifically, the display terminal includes a pull structure for changing the exposed display area of the display screen accommodated in the display terminal. For example, the display terminal may be a scroll-type smart phone or the like.
Referring to fig. 1, the wallpaper control method of the display terminal includes the following steps:
step S1: and acquiring the bending angle or the display area of the display terminal.
The bending angle of the display terminal may be an included angle between two structures of the display terminal, which are capable of rotating relatively. The relatively rotatable structure may be a housing, a support structure, or the like. Preferably, at least one display screen is arranged on the relatively rotatable structure. When the relatively rotatable structure rotates, the relative orientation of the at least one display screen changes. In one embodiment, one region of the display screen is disposed on one of the relatively rotatable structures, and the other region of the display screen is disposed on the other relatively rotatable structure. When the relatively rotatable structure is rotated, an included angle (bending angle) between the one region and the other region of the display screen is changed. In another embodiment, the display terminal includes two display screens, one display screen is disposed on one relatively rotatable structure, and the other display screen is disposed on the other relatively rotatable structure. When the relatively rotatable structure rotates, an included angle (bending angle) between the display screen and the other display screen changes.
The display area of the display terminal is the area of the display screen of the display terminal for displaying. Preferably, the display area of the display terminal is an area of the display screen of the display terminal exposed to an effective display area of the display terminal body, and the "effective" refers to an area of the display screen visible to a user.
The bending angle or the display area of the display terminal can be obtained by the prior art well known in the art and will not be described in detail here. It can be understood that the bending angle or the display area of the display terminal can be directly obtained through the prior art, or can be calculated after obtaining the relevant parameters through the prior art. For example, the bending angle of the display terminal may be directly obtained by a sensor, or the bending angle of the display terminal may be calculated by parameters of gravity sensors respectively disposed on the relatively rotatable structures. The display area of the display terminal can be directly obtained through the sensor, and the side length of an exposed area of a display screen of the display terminal can also be obtained through the sensor to calculate the display area of the display terminal.
Step S2: and controlling and displaying the corresponding wallpaper according to the bending angle or the display area.
The wallpaper is displayed on a display screen of the display terminal at a certain moment, and the display terminal respectively displays a plurality of wallpapers at a plurality of moments. And controlling the display terminal to display the corresponding wallpaper at a certain moment according to the control value, wherein the display content of the wallpaper is changed according to the change of the control value. That is, when the size of the bending angle or the value of the display area of the display terminal or the change value of the bending angle or the change value of the display area changes, if the control value changes correspondingly, the display content of the wallpaper displayed by the display terminal changes.
Specifically, at least one of the following parameters of the wallpaper is changed according to the control value: the display content change area ratio, the number of display elements displaying the content, and the display parameters of the display elements displaying the content. For example, when the control value is the first control value, the display content in 10% of the corresponding area in the wallpaper changes; when the control value is the second control value, the display content in the area corresponding to 20% of the wallpaper changes.
Optionally, step S2 may specifically be: and determining a control value according to the bending angle or the display area, and controlling and displaying the corresponding wallpaper according to the control value.
The control value can be determined by one of the current value of the bending angle or the display area, the change value of the bending angle or the display area, the numerical range to which the current value of the bending angle or the display area belongs, and the numerical range to which the change value of the bending angle or the display area belongs. Specifically, the control value may be a current value of the bending angle or the display area, or may be a change value of the bending angle or the display area.
Optionally, in an alternative embodiment, step S2 may be replaced by: and when the bending angle or the display area meets the preset condition, determining a control value corresponding to the preset condition.
In this embodiment, the preset condition may be that the current value of the bending angle or the display area, and the variation value of the bending angle or the display area belong to a preset numerical range. The control value is determined according to the preset numerical range. For example, the preset numerical range is (a, B) corresponding to the first control value; or a predetermined value range > C, corresponding to the second control value. It is also possible that a plurality of different preset value ranges correspond to the same control value, which is not limited herein.
Referring to fig. 2, fig. 2 is a flowchart illustrating a wallpaper control method of a display terminal according to a second embodiment. The wallpaper includes a background map. Step S2 further includes the steps of:
step S21: and controlling one or more of the size, the display position and the display content of the background image according to the bending angle or the display area and displaying the changed background image.
Optionally, step S21 may specifically be: and determining a control value according to the bending angle or the display area, and controlling and displaying a background picture corresponding to the control value according to the control value.
For different control values, different background maps are correspondingly displayed. In one embodiment, different background images are displayed in a one-to-one correspondence according to different control values. For example, when the control value is a, controlling to display a first background image; and when the control value is b, controlling to display a second background image. In another embodiment, the variation of the control value determines the variation proportion of the background map, i.e. the proportion of the changed area in the whole.
In one embodiment, the background map is continuous in accordance with the process of changing the control value. Thus, the changing process of the display element 30 is smooth and beautiful. In other embodiments, the change process of the background map according to the control value may also be discontinuous, i.e. the change between the two background maps of the front and back states may be accomplished instantaneously. Thus, the hardware requirements are reduced.
The size of the background image is understood to be the length and width of the background image. For example, at a first control value, the corresponding background map size is 300mm x 400 mm; at the second control value, the size of the corresponding background map is 600mm x 800 mm. It is to be understood that the size change of the background map is controlled according to the control value, i.e. one or more of the overall zoom factor, length value, width value of the background map is determined according to the control value.
The display position of the background image can be understood as the position where the background image is displayed in the display screen. For convenience of explanation, the display area and the background map of the display screen are rectangles, a rectangular coordinate system is established for the display area of the display screen, the lower left corner of the display screen is taken as the origin (0,0), and the upper right corner of the display screen is taken as (1000 ). For example, at the first control value, the lower left corner of the background map is located at (100 ), and the upper right corner is located at (200 ); under the second control value, the lower left corner of the background map is located at (200 ) and the upper right corner is located at (300 ). It is to be understood that the display position change of the background map is controlled according to the control value, that is, one or more of a translation direction, a translation distance, and a rotation angle of the background map about a certain point are determined according to the control value.
The display content of the background image can be understood as the pattern, the background color, and the like in the background image. It is understood that the display content of the background image is controlled to change according to the control value, that is, one or more of the increase and decrease of the number of patterns included in the background image, the position change of the patterns included in the background image, the change of the patterns themselves, the color of the background image, the resolution of the background image, and the contrast of the background image is determined according to the control value.
Referring to fig. 3, fig. 3 is a flowchart illustrating a wallpaper control method of a display terminal according to a third embodiment. Step S21 includes the following steps:
step S211: and controlling one or more of the size, the display position and the display content of the background image to be changed and displayed according to the current value of the bending angle or the display area.
Optionally, step S211 may specifically be: and determining the current value of the bending angle or the display area as a control value, and controlling and displaying a background picture corresponding to the control value according to the control value.
In a second embodiment, the control value is a current value of the bending angle or the display area. And the current value of the bending angle or the display area is a specific value of the bending angle or the display area of the display terminal at the current moment.
Referring to fig. 4, fig. 4 is a flowchart illustrating a wallpaper control method of a display terminal according to a fourth embodiment. Optionally, step S211 may be replaced by:
step S213: and obtaining the change value of the bending angle or the display area.
Step S214: and controlling and displaying one or more of the size, the display position and the display content of the background image according to the change value of the bending angle or the display area.
Optionally, step S214 may specifically be: and determining the change value of the bending angle or the display area as a control value, and controlling and displaying the background picture corresponding to the control value according to the control value.
In the fourth embodiment, the control value is a change value of the bending angle or the display area. Wherein, the change value of the bending angle or the display area is any one of the difference value of the bending angle or the display area of the front and back states of the display terminal and the change rate of the bending angle or the display area. The front-back state of the display terminal is a state of the display terminal at a first time and a state of the display terminal at a second time, wherein the first time is before the second time. In step S24, specifically, the bending angle or the display area of the display terminal at the first time and the second time are respectively obtained, and then the change value of the bending angle or the display area is calculated.
Referring to fig. 5, fig. 5 is a flowchart illustrating a wallpaper control method of a display terminal according to a fifth embodiment. The wallpaper comprises a background picture and at least one display element positioned in the background picture, wherein each display element comprises a plurality of display parameters and presents different display states under different display parameters. Specifically, the display parameters include a position, a color, a shape, a scaling ratio, a hiding ratio, a display ratio, a transparency, and the like of the display element. The control value has a correspondence with at least one display parameter of the display element. For example, when the control value and the color of the display element have a corresponding relationship, the change of the control value only changes the color of the display element correspondingly, and does not affect other display parameters of the display element. It will be appreciated that when a control value corresponds to two or more display parameters, a change in the control value will change the two or more display parameters of a display element simultaneously. Step S2 further includes the steps of:
step S23: and controlling the display elements to display according to the bending angle or the display area and the corresponding display parameters.
Optionally, step S23 may specifically be: and determining a control value according to the bending angle or the display area, and controlling the display element to display according to the control value and the display parameter corresponding to the control value.
Wherein the display elements may be patterns with well-defined boundaries, such as regular figures (circles, triangles, rectangles, polygons, etc.), irregular figures (drops, hearts, etc.). The display element may also be a pattern without an explicit border (as shown in fig. 12).
The display element includes a plurality of display parameters. Specifically, the display parameters include the position, color, shape, scaling, hiding scale, display scale, transparency, and the like of the display element.
In one embodiment, when a display element in the wallpaper changes with a control value, the background map in the wallpaper does not change with the control value or with the time value.
Referring to fig. 6A-6C, fig. 6A-6C are schematic diagrams illustrating the change of the position of the display element with the control value according to an embodiment. The wallpaper 10 comprises a background map 20 and at least one display element 30 located within the background map 20. Fig. 6A to 6C represent changes of the display element 30 when the control values are a, b, and C, respectively. a. The magnitude relationship between b and c is not limited herein. In the present embodiment, the control value is associated with the position of the display element 30. When the control value is a, the display element 30 is located on the far left side of the background map 20; when the control value is b, the display element 30 is located in the middle of the background map 20; when the control value is c, the display element 30 is located on the far right side of the background map 20. When the control value is different, the display element 30 is located at a different position.
Referring to fig. 7A-7C, fig. 7A-7C are schematic diagrams illustrating the variation of element positions with control values according to an embodiment. The wallpaper 10 comprises a background map 20 and at least one display element 30 located within the background map 20. Fig. 7A to 7C represent changes of the display element 30 when the control values are a, b, and C, respectively. a. The size relationship between b and c can be a sequential relationship from small to large or from large to small. In the present embodiment, the control value is associated with the position of the display element 30. When the control value changes from a → b → c, the display element 30 moves in accordance with the trajectory 40. Specifically, when the control value changes from a → B → C, the display element 30 gradually moves along the trajectory 40 from the position of fig. 7A to the position of fig. 6B, and further gradually moves to the position of fig. 7C, and the change process is continuous. Thus, the changing process of the display element 30 is smooth and beautiful. It is understood that the shape of the trace 40 in the figures is by way of example only and is not limited to the shape of the figures. In other embodiments, the change in position of the display element 30 may also be discontinuous when the control value changes from a → b → c, i.e., the change between the front and rear states may be accomplished instantaneously. In this manner, display elements 30 corresponding to each control value that match a corresponding display parameter are not required, reducing hardware requirements.
Referring to FIG. 8, FIG. 8 is a diagram illustrating a position of a display element varying with a control value according to an embodiment. The wallpaper 10 comprises a background map 20 and at least one display element 30 located within the background map 20. In the present embodiment, the control value is associated with the position of the display element 30. When the control value is changed, the display element 30 moves randomly within the variation range 50. The control value is not directly associated with a particular position of the display element 30, and a change in the control value causes a change in the position of the display element 30 within the range of variation 50, but the change in the position of the display element 30 within the range of variation 50 is completely random. For example, when the control value is changed from a → b → a, the positions of the corresponding display elements 30 are not necessarily the same, although the control value is changed and returned to the original value. It is to be understood that the shape of the variation range 50 in the drawings is merely an example and is not limited to the shape in the drawings.
Referring to FIGS. 9A-9C, FIGS. 9A-9C are schematic diagrams illustrating the variation of display element positions with control values according to one embodiment. The wallpaper 10 comprises a background map 20 and at least one display element 30 located within the background map 20. Fig. 9A to 9C represent changes of the display element 30 when the control values are a, b, and C, respectively. a. The magnitude relationship between b and c is not limited herein. In the present embodiment, the control value is associated with the position of the display element 30. When the control value is a, the rotation angle of the display element 30 is 0 °; when the control value is b, the display element 30 is rotated counterclockwise by n ° about the rotation point 60; when the control value is c, the display element 30 is rotated counterclockwise by m ° around the rotation point 60. When the control values are different, the rotation angles of the display elements 30 around the rotation point 60 are different. In one embodiment, the magnitude relationship between a, b, and c may be a sequential relationship from small to large or from large to small. When the control value changes from a → b → c, the display element 30 is gradually rotated about the rotation point 60. Specifically, when the control value changes from a → B → C, the display element 30 gradually rotates about the rotation point 60 from the position of fig. 9A to the position of fig. 9B, and then gradually rotates to the position of fig. 9C. The process of variation is continuous. Thus, the changing process of the display element 30 is smooth and beautiful. In other embodiments, the change in the rotation angle of the display element 30 may also be discontinuous when the control value changes from a → b → c, i.e., the change between the front and rear states may be accomplished instantaneously. It will be appreciated that the rotation point 60 may be located within the display element 30 or may be located outside the display element 30.
Referring to fig. 10A-10C, fig. 10A-10C are schematic diagrams illustrating the shape of an element as a function of control values according to an embodiment. The wallpaper 10 comprises a background map 20 and at least one display element 30 located within the background map 20. Fig. 10A to 10C represent changes of the display element 30 when the control values are a, b, and C, respectively. a. The magnitude relationship between b and c is not limited herein. In the present embodiment, the control value is associated with the shape of the display element 30. When the control value is a, the display element 30 is circular; when the control value is b, the display element 30 is a pentagon; when the control value is c, the display element 30 is rectangular. When the control value is different, the display element 30 takes different shapes. It will be appreciated that the shape of the display element 30 may be a pattern with or without borders. Specifically, when the control value changes from a → b → c, the shape of the display element 30 may gradually change from a circle to a pentagon and then gradually change to a square, and the change process of the shape of the display element 30 is continuous. Thus, the changing process of the display element 30 is smooth and beautiful. In other embodiments, the process of changing the shape of the display element 30 may be discontinuous. In this manner, display elements 30 corresponding to each control value that match a corresponding display parameter are not required, reducing hardware requirements.
Referring to fig. 11A-11C, fig. 11A-11C are schematic diagrams illustrating the color of a display element varying with a control value according to an embodiment. The wallpaper 10 comprises a background map 20 and at least one display element 30 located within the background map 20. Fig. 11A to 11C represent changes of the display element 30 when the control values are a, b, and C, respectively. a. The magnitude relationship between b and c is not limited herein. In the present embodiment, the control value is associated with the color of the display element 30. When the control values are a, b, c, respectively, the display elements 30 are different colors. Specifically, when the control value changes from a → b → c, the process of changing the color of the display element 30 is continuous. Thus, the changing process of the display element 30 is smooth and beautiful. In other embodiments, the process of changing the shape of the display element 30 may be discontinuous. In this manner, display elements 30 corresponding to each control value that match a corresponding display parameter are not required, reducing hardware requirements. It is to be understood that the color change of the display element 30 is not limited to the overall color change, and may be a color change of a local area, or a color change of a plurality of local areas simultaneously.
Referring to fig. 12A-12C, fig. 12A-12C are schematic diagrams illustrating an embodiment of a display element hiding/displaying ratio varying with a control value. The hidden proportion is the proportion of the hidden proportion in the whole pattern, the display proportion is the proportion of the displayed proportion in the whole pattern, and the hidden proportion and the display proportion can only be converted with each other. For example, when the display ratio of a pattern is 10%, the hiding ratio of the pattern is 1-10% to 90%. The following description will be made by taking the display scale as an example. The wallpaper 10 comprises a background map 20 and at least one display element 30 located within the background map 20. Fig. 12A to 12C represent changes of the display element 30 when the control values are a, b, and C, respectively. a. The size relationship between b and c can be a sequential relationship from small to large or from large to small. In the present embodiment, the control value is associated with the display scale of the display element 30. When the control value changes from a → b → c, the display scale of the display element 30 gradually increases. Specifically, when the control value changes from a → b → c, the display proportion of the display element 30 gradually increases from n% to m% and further gradually increases to o%, and the change process is continuous. Thus, the changing process of the display element 30 is smooth and beautiful. In other embodiments, when the control value changes from a → b → c, the change in the display scale of the display element 30 may also be discontinuous, i.e., the change between the front and rear states may be accomplished instantaneously. In this manner, display elements 30 corresponding to each control value that match a corresponding display parameter are not required, reducing hardware requirements.
Referring to fig. 13A-13C, fig. 13A-13C are schematic diagrams illustrating the transparency of a display element according to the control value in one embodiment. The wallpaper 10 comprises a background map 20 and at least one display element 30 located within the background map 20. Fig. 13A to 13C represent changes of the display element 30 when the control values are a, b, and C, respectively. a. The size relationship between b and c can be a sequential relationship from small to large or from large to small. In the present embodiment, the control value is associated with the transparency of the display element 30. When the control value changes from a → b → c, the transparency of the display element 30 gradually increases. Specifically, when the control value changes from a → b → c, the transparency of the display element 30 gradually increases from n% to m% and further gradually increases to o%, and the change process is continuous. Thus, the changing process of the display element 30 is smooth and beautiful. In other embodiments, the change in transparency of the display element 30 may also be discontinuous when the control value changes from a → b → c, i.e., the change between the front and back states may be accomplished instantaneously. In this manner, display elements 30 corresponding to each control value that match a corresponding display parameter are not required, reducing hardware requirements.
It is understood that the specific variation process of the display parameters, such as the scaling, according to the control values, which are not mentioned in the display element 30, can refer to the above embodiments, and those skilled in the art can obtain specific embodiments according to the above embodiments, and the description will not be repeated here.
Referring to fig. 14A-14C, fig. 14A-14C are schematic diagrams illustrating the shape and position of a display element simultaneously changing with a control value according to an embodiment. The wallpaper 10 comprises a background map 20 and at least one display element 30 located within the background map 20. Fig. 14A to 14C represent changes of the display element 30 when the control values are a, b, and C, respectively. a. The size relationship between b and c can be a sequential relationship from small to large or from large to small. In the present embodiment, the control value is associated with both the shape and the position of the display element 30. When the control value is a, the display element 30 is circular in shape, and is located on the left side of the background map 20; when the control value is b, the shape of the display element 30 changes from a circular shape to a square shape at a middle position of the background map 20; when the control value is c, the display element 30 is square in shape and is located on the right side of the background map 20. Specifically, when the control value changes from a → b → c, the display element 30 gradually changes from a circle to a square and gradually moves from the left side of the background map 20 to the right side of the background map 20, and the changing process is continuous. Thus, the changing process of the display element 30 is smooth and beautiful. In other embodiments, the change in shape and position of the display element 30 may also be discontinuous when the control value changes from a → b → c, i.e., the change between the front and rear states may be accomplished instantaneously. In this manner, display elements 30 corresponding to each control value that match a corresponding display parameter are not required, reducing hardware requirements. It will be appreciated that when a control value corresponds to two or more display parameters, a change in the control value will change the two or more display parameters of a display element simultaneously. The display parameters include the position, color, shape, scaling, hiding scale, display scale, transparency, etc. of the display element.
Optionally, in an embodiment, the display elements are multiple, and when a collision occurs between the display elements, at least one display parameter of the display element that has the collision is changed. For example, the display elements include a first display element and a second display element, the color of the first display element is black and the color of the second display element is red before the collision occurs; after the collision, the color of the first display element changes to white and the color of the second display element changes to green. The display parameter of the display element having the collision may be changed randomly, or may be related to the display parameter of another display element according to a preset rule, for example, in the above example, after the first display element and the second display element collide, the colors of the two display elements may be changed to the original colors. For example, the first display element and the second display element are two circles and each move in a specific direction and speed, the first display element and the second display element are set to each include a weight parameter, and the first display element and the second display element change the original movement direction and speed to continue moving according to the law of conservation of momentum after the collision occurs. It will be appreciated that the display elements may or may not overlap each other at all when a collision occurs between the display elements. In another embodiment, when a collision occurs between the display elements, the display elements that have collided are merged into one display element, and the display parameters of the merged display element are related to the display parameters of the display elements that have collided.
Referring to fig. 15, fig. 15 is a flowchart illustrating a wallpaper control method for a display terminal in a sixth embodiment. Step S23 includes:
step S231: and controlling the display elements to display according to the current values of the bending angles or the display areas and the corresponding display parameters.
Optionally, step S231 may specifically be: and determining the current value of the bending angle or the display area as a control value, and controlling the display element to display according to the control value and the corresponding display parameter.
In the sixth embodiment, the control value is the current value of the bending angle or the display area. And the current value of the bending angle or the display area is a specific value of the bending angle or the display area of the display terminal at the current moment.
Referring to fig. 16, fig. 16 is a flowchart illustrating a wallpaper control method for a display terminal according to a seventh embodiment. The steps of the wallpaper control method of the seventh embodiment are basically the same as those of the wallpaper control method of the sixth embodiment, except that step S231 is replaced by:
step S233: and obtaining the change value of the bending angle or the display area.
Step S234: and controlling the display elements to display according to the change value of the bending angle or the display area and the corresponding display parameters.
Optionally, step S234 may specifically be: and determining the change value of the bending angle or the display area as a control value, and controlling the display elements to display according to the control value and the corresponding display parameters.
In the seventh embodiment, the control value is a change value of the bending angle or the display area. Wherein, the change value of the bending angle or the display area is any one of the difference value of the bending angle or the display area of the front and back states of the display terminal and the change rate of the bending angle or the display area. The front-back state of the display terminal is a state of the display terminal at a first time and a state of the display terminal at a second time, wherein the first time is before the second time. In step S233, specifically, the bending angle or the display area of the display terminal at the first time and the second time is respectively obtained, and then the change value of the bending angle or the display area is calculated.
Referring to fig. 17, fig. 17 is a flowchart illustrating a wallpaper control method for a display terminal in an eighth embodiment. The steps of the wallpaper control method according to the sixth embodiment are substantially the same as those of the wallpaper control method according to the first embodiment, except that step S2 includes steps S23 and S21, and the execution sequence of steps S21 and S23 is not limited, and may be executed simultaneously or sequentially. In the sixth embodiment, both the background map and the display element control display according to the same control value. Specifically, when the control value is the current value of the bending angle or the display area, the background map and the display elements are displayed in a changing manner according to the change of the current value of the bending angle or the display area; when the control value is a change value of the bending angle or the display area, the background map and the display elements are displayed in a changed manner according to the change value of the bending angle or the display area.
In other embodiments, the control values controlling the background map and the display element variation display may not be the same control values. For example, controlling the background map change shows the current value of the bend angle or display area; the control display element change shows a change value of the bending angle or the display area. For another example, controlling the background map variation shows a difference value of the bending angle or the display area among variation values of the bending angle or the display area; the control display element change shows a change rate of the bend angle or the display area in the change value of the bend angle or the display area.
In one embodiment, the display parameters of the background map and the display elements are varied simultaneously. For example, the size of the background image gradually becomes smaller. Specifically, the long side of the background image gradually decreases, visually as one of the wide sides of the background image gradually moves toward the other wide side. At this point, the display element remains within the background map and, due to the reduction of the background map, the display element moves from the initial position to the other position, visually as if pushed to the other position by the one of the broadsides of the background map. Optionally, when there are a plurality of display elements, since collision occurs between the display elements, in this embodiment, it is the position of the display element that is changed after collision occurs between the display elements. That is, the plurality of display elements are visually pushed and squeezed to the other side just like one of the wide sides of the background image, and the plurality of display elements may change their positions after colliding with each other, specifically, at least one of the motion trajectory, the speed, the direction, and the like of the colliding display elements is changed. After the change, the density of the display elements in the wallpaper is small and large.
Referring to fig. 18, fig. 18 is a flowchart illustrating a wallpaper control method for a display terminal in a ninth embodiment. The steps of the wallpaper control method of the ninth embodiment are basically the same as the steps of the wallpaper control method of the fifth embodiment, except that the steps S23 are followed by further steps of:
step S3: and judging whether the bending angle or the display area is changed.
Optionally, the control value is determined according to the bending angle or the display area, and step S3 may specifically be: and judging whether the control value is changed.
The determination of whether the control value has changed in step S3 is to determine whether the control value has changed within a predetermined time threshold. The preset time threshold may be a preset time length, such as 10 s. Preferably, it may be determined whether the control value changes within the preset time threshold after the display terminal does not receive the user operation. Preferably, whether the control value changes or not may be whether the control value changes beyond a preset range, and if the control value does not change, it is determined that the control value changes. In this way, it is possible to prevent malfunction due to fluctuation of the control value.
When the control value is not changed, step S31 is executed: at least one display parameter of the display element is periodically or randomly varied according to a time value.
At least one display parameter of the display elements in step S31 is periodically or randomly varied according to a time value. Specifically, the position, shape, color, scaling, hiding ratio, display ratio, transparency, and the like of the display element are periodically changed or randomly changed according to the time value. More specifically, the position of the display element may change regularly and periodically or randomly within a certain change range according to the time value, or move periodically on a preset track according to the time value, or the like; the color, shape, scaling, hiding ratio, display ratio, transparency, and the like of the display elements may also be changed periodically according to a preset rule or randomly within a preset range.
Referring to fig. 19, fig. 19 is a flowchart illustrating a wallpaper control method for a display terminal in a tenth embodiment. The steps of the wallpaper control method of the tenth embodiment are basically the same as the steps of the wallpaper control method of the ninth embodiment, except that the steps S3 are followed by:
when the control value is changed, step S33 is executed: and determining target display parameters of the display elements according to the bending angle or the display area and the time value, and controlling the display elements to display according to the target display parameters.
Optionally, the control value is determined according to the bending angle or the display area, and step S33 may specifically be: and determining the target display parameters of the display elements according to the control values and the time values, and controlling the display elements to display according to the target display parameters.
Specifically, step S33 includes:
determining at least one first display parameter of the display element corresponding to the bending angle or the display area; determining at least one second display parameter of the display element corresponding to the time value; determining the target display parameter according to the at least one first display parameter and the at least second display parameter.
Optionally, the control value is determined according to the bending angle or the display area, and the steps may specifically be: determining at least one first display parameter of the display element corresponding to the control value; determining at least one second display parameter of the display element corresponding to the time value; determining the target display parameter according to the at least one first display parameter and the at least second display parameter.
The display parameters of the display elements corresponding to the control values may not be the same as the display parameters of the display elements corresponding to the time values, and thus, if the control values and the time values are changed simultaneously, the display of the display elements may conflict.
In an embodiment, when the control value and the time value are changed simultaneously, the display element is displayed according to the first display parameter or the second display parameter corresponding to the control value or the time value, that is, the target display parameter is the first display parameter or the second display parameter.
In another embodiment, when the control value and the time value are changed simultaneously, the display element displays according to a target display parameter determined by the first display parameter and the second display parameter corresponding to the control value and the time value. Specifically, the method comprises the following steps:
when no repeat parameter is present, determining that the target display parameter includes a specific parameter. The repeated parameters are display parameters of the same category in the at least one first display parameter and the at least one second display parameter, and the specific parameters are display parameters of different categories in the at least one first display parameter and the at least one second display parameter. The categories of the display parameters include the position, shape, color, scale, display scale, hiding scale, transparency, and the like of the display element.
Specifically, whether the at least one first display parameter has the same type of repeated parameter as the at least one second display parameter and different types of specific parameter is compared. For example, if one first display parameter corresponding to the control value a is red, and two second display parameters corresponding to the time value t1 are a display proportion of 40% and a transparency of 30%, there is no repetition parameter, and the specific parameters are the color, the display proportion, and the transparency of the display element. The target display parameters are red, the display proportion is 40%, the transparency is 30%, and the display elements are displayed according to the target display parameters.
Further comprising: and when the repeated parameters exist, converting the repeated parameters into updated parameters according to a preset relation, wherein the target display parameters comprise the updated parameters and the specific parameters.
For example, if the two first display parameters corresponding to the control value a are square, red, and the three second display parameters corresponding to the time value t1 are blue, the display proportion is 40%, and the transparency is 30%, the repetition parameter is the color of the display element, and the specificity parameter is the shape, the display proportion, and the transparency of the display element. And converting the color of the display element into an update parameter according to a preset relation, and if the color is purple by mixing red and blue in a ratio of 1:1, the update parameter is purple. The target display parameters are square, purple, the display proportion is 40%, the transparency is 30%, and the display elements are displayed according to the target display parameters. It is understood that the conversion of the repeated parameters into updated parameters according to the preset relationship may include various ways, for example, for colors, the repeated parameters may be mixed according to a specific ratio; for position, a midpoint or vector sum may be taken; for transparency, an average value or the like may be obtained. There is no particular limitation as long as one skilled in the art can think and apply it.
Referring to fig. 20, fig. 20 is a flowchart illustrating a wallpaper control method for a display terminal in an eleventh embodiment. The steps of the wallpaper control method of the eleventh embodiment are basically the same as the steps of the wallpaper control method of the ninth embodiment, except that step S31 is replaced by:
when the control value is not changed, step S35 is executed: one or more of the size, display position, and display content of the background map are regularly changed or randomly changed according to the time value.
Specifically, when the display content of the background map changes according to the time period, the similarity between the display content of the background map corresponding to the first time and the display content of the background map corresponding to the second time is inversely proportional to the time difference between the first time and the second time. That is, the greater the time difference between the first time and the second time, the smaller the similarity between the display content of the background map corresponding to the first time and the display content of the background map corresponding to the second time, and the greater the change. It is understood that, in other embodiments, the larger the time difference between the first time and the second time, the larger the change ratio of the background map corresponding to the first time to the background map corresponding to the second time, where the change ratio is the ratio of the area of the background map where the display content changes to the whole area.
Fig. 21 is a block diagram of a display terminal according to an embodiment of the present application. As shown in fig. 21, the display terminal of this embodiment includes: the wallpaper control method comprises a processor, a sensor, a memory and computer readable instructions stored in the memory and capable of running on the processor, wherein the sensor is used for acquiring the bending angle or the display area of the display terminal, and the computer readable instructions realize the wallpaper control method when being executed by the processor.
Those skilled in the art will appreciate that FIG. 21 is merely an example of a foldable touch device and does not constitute a limitation of a foldable touch device, and may include more or fewer components than shown, or some components in combination, or different components, e.g., the foldable touch device may also include input-output devices, network access devices, buses, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The sensor may be a gravity sensor, an angle sensor, a photoelectric sensor, an electromagnetic sensor, or the like for detecting a bending angle or a display area of the display terminal.
The memory may be an internal storage unit of the foldable touch device, such as a hard disk or a memory of the foldable touch device. The memory may also be an external storage device of the foldable touch device, such as a plug-in hard disk provided on the foldable touch device, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory may also include both an internal storage unit and an external storage device of the folding touch device. The memory is used to store computer readable instructions and other programs and data needed for the foldable touch device. The memory may also be used to temporarily store data that has been output or is to be output.
The display may be a liquid crystal display, an Organic Light Emitting Diode (OLED) (e.g., passive matrix OLED (pmoled) or active matrix OLED (amoled)) display, or an electronic ink (e-link) display.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:一种车机主题自定义系统及自定义方法