CN114691249A - Desktop display method, terminal and storage medium of flexible display screen - Google Patents

Desktop display method, terminal and storage medium of flexible display screen Download PDF

Info

Publication number
CN114691249A
CN114691249A CN202011573549.1A CN202011573549A CN114691249A CN 114691249 A CN114691249 A CN 114691249A CN 202011573549 A CN202011573549 A CN 202011573549A CN 114691249 A CN114691249 A CN 114691249A
Authority
CN
China
Prior art keywords
desktop
display
preset
size
size value
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
CN202011573549.1A
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.)
Shenzhen Royole Technologies Co Ltd
Original Assignee
Shenzhen Royole Technologies 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 Shenzhen Royole Technologies Co Ltd filed Critical Shenzhen Royole Technologies Co Ltd
Priority to CN202011573549.1A priority Critical patent/CN114691249A/en
Publication of CN114691249A publication Critical patent/CN114691249A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Abstract

The application provides a desktop display method of a flexible display screen, a terminal and a storage medium. The method comprises the following steps: detecting whether the size of a display area of the flexible display screen changes or not; when the size of a display area of the flexible display screen is detected to be changed, acquiring a current size value of the display area after the change; judging whether the size change of the display area meets a preset condition or not according to the current size value; and if the size change of the display area meets the preset condition, switching the display pattern of the target application program in the display desktop of the flexible display screen according to a preset display rule. By the desktop display method, the display picture of the large-screen desktop can be fuller when the flexible display screen is changed into the large screen, and therefore user experience is improved.

Description

Desktop display method of flexible display screen, terminal and storage medium
Technical Field
The application relates to the technical field of display of flexible display screens, in particular to a desktop display method, a terminal and a storage medium of a flexible display screen.
Background
With the development of mobile communication technology, electronic devices such as mobile phones and tablet computers become an indispensable part of people's daily life, and people have higher and higher requirements for the electronic devices. In recent years, the development of flexible display technology has brought a new direction of development to the display technology of electronic devices. The flexible display screen has the characteristics of being bendable, foldable, stretchable, and retractable, and the area of the display screen can be correspondingly reduced or increased according to the use requirements of users, so that the use requirements of users on large-screen display and small-screen portability can be met simultaneously.
However, when the flexible display screen is switched between the small-screen state and the large-screen state, compared with a small-screen desktop, the size of the display area of the large-screen desktop is increased, for example, the width of the display area is increased, so that the distance between application icons in the large-screen desktop is increased, the display frame of the desktop is not full enough, and the user experience is reduced.
Disclosure of Invention
In view of this, the present application provides a desktop display method, a terminal and a storage medium for a flexible display screen, where the desktop display method enables a display pattern of an application program in a display desktop to be switched between a desktop icon and a desktop widget when the flexible display screen is switched between a small-screen state and a large-screen state, so that a display screen of a large-screen desktop is fuller, and user experience can be improved.
A first aspect of the present application provides a desktop display method of a flexible display screen, which is applied to a terminal having the flexible display screen, and the method includes: detecting whether the size of a display area of the flexible display screen changes or not; when the size of a display area of the flexible display screen is detected to be changed, acquiring a current size value of the display area after the change; judging whether the size change of the display area meets a preset condition or not according to the current size value; and if the size change of the display area meets the preset condition, switching the display pattern of the target application program in the display desktop of the flexible display screen according to a preset display rule, wherein the display pattern of the target application program comprises a desktop icon and a desktop widget.
A second aspect of the present application provides a terminal, which includes a memory, a processor and a computer program stored on the memory and executable in the processor, wherein the processor is configured to run the computer program stored in the memory to perform the steps of the method for displaying a desktop of a flexible display screen according to the first aspect.
A third aspect of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the desktop display method of the flexible display screen described above.
According to the desktop display method of the flexible display screen, when the flexible display screen is detected to be switched between the small screen state and the large screen state, the display pattern of the target application program in the display desktop of the flexible display screen can be switched between the desktop icon and the desktop widget according to the preset display rule, so that the display picture of the large screen desktop is full, the desktop display diversity can be increased, and the user experience can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a desktop display of a flexible display screen during display state switching;
fig. 2 is a schematic flowchart of a desktop display method of a flexible display screen according to a first embodiment of the present application;
fig. 3 is a flowchart illustrating a desktop display method of a flexible display screen according to a second embodiment of the present application;
FIG. 4 is a schematic diagram of a desktop widget and a desktop icon corresponding to the same application;
fig. 5 is a schematic flowchart of a desktop display method of a flexible display screen according to a third embodiment of the present application;
fig. 6 is a schematic diagram illustrating an implementation effect corresponding to the desktop display method of the flexible display screen shown in fig. 5;
fig. 7 is a schematic flowchart of a desktop display method of a flexible display screen according to a fourth embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present disclosure.
In the description of the present application, it is noted that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Because the flexible display screen has the characteristics of being bendable, foldable, stretchable, rollable and the like, the area of the display screen can be correspondingly reduced or increased according to the use requirements of users, and therefore the use requirements of the users on large-screen display and small-screen portability can be met simultaneously. In practical application, with the change of an application scene, a user can switch the flexible display screen between a small-screen state and a large-screen state as required, please refer to fig. 1, the small-screen state corresponds to the desktop 101, and the large-screen state corresponds to the desktop 102, and compared with the desktop 101, the size of a display area of the desktop 102 becomes larger, which causes the distance between application icons in the desktop 102 to become larger, which causes the display screen of the desktop 102 to be less full, and reduces the user experience. In addition, when the information of the application program is viewed in the desktop of the existing display screen, the user can only click the icon of the application program and enter the application program for viewing, so that the user can not use the desktop conveniently.
The application provides a desktop display method, a terminal and a storage medium of a flexible display screen, when the flexible display screen 50 is switched between a small screen state and a large screen state, the display pattern of an application program in a display desktop can be switched between a desktop icon and a desktop widget, so that the display picture of a large screen desktop is full, and the user experience can be improved.
Referring to fig. 2, fig. 2 is a schematic flow chart of a desktop display method of a flexible display screen in a first embodiment of the present application, where the desktop display method of the flexible display screen is applied to a terminal 100 having a flexible display screen 50, and the terminal 100 may be a terminal having the flexible display screen 50, such as a smart phone, a tablet computer, and a smart watch. It should be noted that the desktop display method of the flexible display screen in the first embodiment of the present application is not limited to the steps and the sequence in the flowchart shown in fig. 2. Steps in the illustrated flowcharts may be added, removed, or changed in order according to various needs.
As shown in fig. 2, the desktop display method of the flexible display screen includes the following steps:
step 201, detecting whether the size of the display area of the flexible display screen changes.
In some embodiments of the present application, the terminal 100 may detect whether the size of the display area of the flexible display screen 50 changes in real time, may also detect whether the size of the display area of the flexible display screen 50 changes at a preset frequency, and may also detect whether the size of the display area of the flexible display screen 50 changes only when the terminal 100 is in a bright screen state. In some embodiments of the present application, whether the size of the display area of the flexible display 50 changes may be detected by a hinge sensor (not shown) disposed on a housing (not shown) of the terminal 100.
Step 202, when the size of the display area of the flexible display screen is detected to be changed, obtaining the changed current size value of the display area.
In some embodiments of the present application, the stretching or shrinking distance of the flexible display screen 50 may be obtained through a hinge sensor disposed on a housing of the terminal 100, and the current size value is calculated according to the distance and the size parameter of the flexible display screen 50. In other embodiments, the current size value of the flexible display screen 50 may also be obtained through a resistive element disposed on the flexible display screen 50, and the current size value of the flexible display screen 50 may also be obtained according to photosensitive coordinate information acquired by a photosensitive device disposed on the flexible display screen 50.
In this embodiment, when detecting that the size of the display area of the flexible display 50 changes, an initial size value of the display area of the flexible display 50 before the change is also obtained, where the initial size value may be obtained and stored in the terminal 100 before the size change, or may be obtained while detecting the size change. For example, if the size of the display area of the flexible display 50 before the change is 6.0 inches and the size after the change is 6.5 inches, the initial size is 6.0 inches and the current size is 6.5 inches.
And 203, judging whether the size change of the display area meets a preset condition according to the current size value.
And 204, if the size change of the display area meets the preset condition, switching the display pattern of the target application program in the display desktop of the flexible display screen according to a preset display rule. Wherein the display pattern of the target application includes a desktop icon and a desktop widget.
Specifically, referring to fig. 3, steps 2031-. In this embodiment, the preset conditions include a first preset condition and a second preset condition.
Fig. 3 is a schematic flow chart of a desktop display method of a flexible display screen according to a second embodiment of the present application, where the desktop display method of the flexible display screen includes the following steps:
step 201, detecting whether the size of the display area of the flexible display screen changes.
Step 202, when the size of the display area of the flexible display screen is detected to be changed, obtaining the changed current size value of the display area.
The specific technical details of the steps 201-202 in the present embodiment can refer to the related technical details of the steps 201-202 in the embodiment shown in fig. 2, and are not repeated herein.
Step 2031, determine whether the change in size of the display area is an increase or a decrease. If the size of the display area is increased, step 2032 is performed. If the size of the display area is decreased, step 2033 is performed.
Specifically, the step 2031 may determine whether the size change of the display area is increased or decreased by comparing the sizes of the initial size value and the current size value. For example, the current size value is 6.0 inches and the initial size value is 6.5 inches, and it is apparent that the size of the display area is changed to be reduced.
Step 2032, determining whether the current size value meets a first preset condition. If the current size value meets the first preset condition, go to step 2041. If the current size value does not meet the first preset condition, returning to step 201, and continuously detecting whether the size of the display area of the flexible display screen changes.
The first preset condition is that the current size value is larger than a preset size value. The preset size value may be set and stored in the terminal 100 when the terminal 100 leaves a factory, or may be set by a user. The preset size value is a value between a minimum size value and a maximum size value of the display area of the flexible display screen, for example, the minimum size value and the maximum size value of the display area of the flexible display screen are 6.0 inches and 6.5 inches, and the preset size value may be set to 6.2 inches.
Step 2041, determine whether the current display pattern of the target application is a desktop icon. If the current display pattern of the target application program is a desktop icon, go to step 2042. Otherwise, returning to step 201, and continuously detecting whether the size of the display area of the flexible display screen is changed.
The target application program is an application program which has an application function of a desktop widget and meets a preset deformation condition, wherein the preset deformation condition comprises at least one of the following conditions:
the use frequency of the application program reaches the preset use frequency;
the application program has the latest information or prompt;
the application program is an application program set by a user.
Specifically, the fact that the usage frequency of the application reaches the preset usage frequency may be understood as that the usage frequency of the application reaches the preset usage frequency within a preset time period. The preset number of times of use may be set and stored in the terminal 100 when the terminal 100 leaves a factory, or may be set by a user. For example, the display desktop includes five application programs with application functions of desktop widgets, such as WeChat, weather, Taobao, email, and dictionary, the preset time period is set to 1 day, and the preset number is set to 3 times. If the terminal 100 obtains that the times of using the five application programs by the user in one day are respectively as follows: the WeChat application is used 2 times, the weather application is used 1 time, the Taobao application is used 4 times, the mail application is used 5 times, and the dictionary application is used 2 times. Then, the Taobao application and the mail application satisfy the preset deformation condition, and are determined as the target application. In some embodiments of the present application, the fact that the usage frequency of the application reaches the preset usage frequency may also be understood as that the usage time ranking of the application reaches the preset time ranking within a preset time period, and may also be understood as that the usage time ranking of the application reaches the preset time ranking within the preset time period. Similarly, the preset times and the preset time may be set and stored in the terminal 100 when the terminal 100 leaves the factory, or may be set by a user.
In this embodiment, the application having the latest information or prompt may be understood as a dynamic state in which the application is latest and not viewed before the size of the display area of the flexible display screen changes, for example, the display desktop includes five applications having application functions of a desktop widget, such as WeChat, weather, Taobao, email, and dictionary, and the email application receives the latest email, the WeChat application receives the latest message, and the weather application refreshes the latest weather information and does not view the latest email, the WeChat application, and the weather application before detecting that the size of the display area of the flexible display screen changes. Then, the mail application, the WeChat application and the weather application satisfy the preset deformation condition and are determined as the target application.
In this embodiment, the application program is an application program set by a user, and may be understood as an application program that is displayed in a display desktop and is preset by the user to be displayed as a corresponding desktop widget when the display area size value is greater than the preset size value. For example, five application programs with application functions of desktop widgets, such as WeChat, weather, Taobao, email and dictionary, are included in the display desktop, and the user can preset the weather application program to be displayed in the corresponding desktop widget when the size value of the display area is larger than the preset size value. Then the weather application satisfies the preset deformation condition and is determined as the target application.
Step 2042, switching the display pattern of the target application program from the desktop icon to the desktop widget. After the step is executed, returning to step 201, and continuously detecting whether the size of the display area of the flexible display screen changes. In some embodiments of the present application, the target application does not include an application that is displayed in the display desktop and is preset by the user to always be displayed with a corresponding desktop icon. For example, if the user sets the mail application to always display as a desktop icon in advance, the display pattern of the mail application is always the desktop icon regardless of the change in the size of the display area of the flexible display screen, and switching is not performed.
Step 2033, determining whether the current size value meets a second preset condition. If the current size value meets the second preset condition, go to step 2043. Otherwise, returning to step 201, and continuing to detect whether the size of the display area of the flexible display screen changes. Wherein the second preset condition is that the current size value is smaller than the preset size value.
Step 2043, determine whether the current display pattern of the target application is a desktop widget. If the current display pattern of the target application program is a desktop widget, step 2042 is performed. Otherwise, returning to step 201, and continuing to detect whether the size of the display area of the flexible display screen changes.
Step 2044, the display pattern of the target application program is switched from the desktop widget to the desktop icon. After the step is executed, returning to step 201, and continuously detecting whether the size of the display area of the flexible display screen changes. In some embodiments of the present application, the target application does not include an application that is displayed in the display desktop and is preset by the user to always be displayed in a corresponding desktop widget. For example, if the user sets the wechat application to be always displayed as a desktop widget in advance, no matter how the size of the display area of the flexible display screen changes, the display pattern of the wechat application is always the desktop widget and is not switched.
It can be appreciated that desktop widgets and desktop icons corresponding to the same application are associated. In some embodiments of the present application, the desktop widget includes at least one of:
a symbolic color or pattern of an associated desktop icon;
the content corresponding to the latest information of the corresponding application program;
and the contact attribute information corresponding to the latest information of the corresponding application program.
To facilitate introducing the corresponding relationship between the desktop widget and the desktop icon corresponding to the same application, please refer to fig. 4, where fig. 4 is a schematic diagram of the desktop widget and the desktop icon corresponding to the same application. Fig. 4 illustrates an example of a wechat application, and it is obvious that a desktop widget 402 corresponding to the wechat application is associated with a desktop icon 401, and a background color of the desktop widget 402 may be taken from a background color of the desktop icon 401, where the terminal 100 performs AI algorithm color taking on the desktop icon 401, and sets a color with a largest color proportion in the desktop icon 401 as the background color of the desktop widget 402, for example, when the color with the largest color proportion in the desktop icon 401 is green, the background color of the corresponding desktop widget 402 is green. The contents of the desktop widget 402 may also include a pattern of the desktop icon 401. The desktop widget 402 may also call, through the wechat application, content corresponding to the latest information and contact attribute information corresponding to the latest information, and match and combine the content corresponding to the latest information and the contact attribute information corresponding to the latest information to serve as the content of the desktop widget 402, where the contact attribute information includes a contact avatar, and the content includes the latest information sent by the contact, for example. The text color and the background color of the latest information content in the desktop widget 402 are determined according to the background color of the desktop widget 402, for example, the background color of the desktop widget 402 is green, the text color is determined to be white, and the background color of the text box is determined to be light green. It should be noted that fig. 4 is an exemplary schematic diagram, and instead of limiting the corresponding relationship between the desktop widget and the desktop icon corresponding to the same application, the desktop widget may further include other content.
According to the desktop display method of the flexible display screen, when the flexible display screen is switched between the small-screen state and the large-screen state, the display patterns of the target application program in the display desktop can be switched between the desktop icon and the desktop widget, so that the display picture of the large-screen desktop is fuller, the desktop display diversity can be increased, and the user experience can be improved; meanwhile, when the display pattern of the target application program is switched from the desktop icon to the desktop widget, the user can check the related information of the application program without entering the application program, and the user can use the desktop widget conveniently.
Referring to fig. 5, fig. 5 is a schematic flow chart of a desktop display method of a flexible display screen in a third embodiment of the present application, where the desktop display method of the flexible display screen includes the following steps:
step 501, detecting whether the size of a display area of the flexible display screen changes.
Step 502, when detecting that the size of the display area of the flexible display screen changes, acquiring a current size value of the display area after the change.
In this embodiment, when detecting that the size of the display area of the flexible display 50 changes, an initial size value of the display area of the flexible display 50 before the change is also obtained, where the initial size value may be obtained and stored in the terminal 100 before the size change, or may be obtained while detecting the size change.
For specific technical details of steps 501-502 of the embodiment, reference may be made to the related technical details of steps 201-202 of the embodiment shown in fig. 2, and details are not repeated herein.
Step 5031, determining whether the change in size of the display area is increasing or decreasing. If the size of the display area is increased, then step 5032 is performed. If the size of the display area decreases, step 5033 is performed.
Step 5032, determining whether the current size value meets the first preset condition. If the current size value satisfies the first predetermined condition, go to step 5041, otherwise, go to step 505. The first preset condition is that the current size value is larger than the preset size value.
Step 5041, determine whether the current display pattern of the target application is a desktop icon. If the current display pattern of the target application program is a desktop icon, step 5042 is executed, otherwise, step 505 is executed.
Step 5042, switching the display pattern of the target application from the desktop icon to a desktop widget. After this step is performed, step 505 is performed.
Step 5033, determining whether the current size value meets the second preset condition. If the current size value satisfies the second predetermined condition, step 5043 is executed, otherwise, step 505 is executed. Wherein the second preset condition is that the current size value is smaller than the preset size value.
Step 5043, determine if the current display pattern of the target application is a desktop widget. If the current display pattern of the target application program is a desktop widget, step 5044 is executed, otherwise, step 505 is executed.
Step 5044, switch the display pattern of the target application from the desktop widget to a desktop icon. After this step is performed, step 505 is performed.
And 505, carrying out self-adaptive layout on the display pattern of the application program in the display desktop. After the step is executed, the step 501 is returned to, and whether the size of the display area of the flexible display screen is changed or not is continuously detected. Each display pattern corresponds to an application program, and the adaptive layout comprises adaptive adjustment on at least one of the size and the position of each display pattern and the distance between adjacent display patterns.
Referring to fig. 6, fig. 6 is a schematic diagram illustrating an implementation effect corresponding to the desktop display method of the flexible display screen shown in fig. 5, when it is detected that the size of the display area of the flexible display screen 50 changes, as shown in fig. 6, the display desktop of the terminal 100 switches between the desktop 601 and the desktop 602, first, the display pattern of the target application program switches between the desktop pattern and the desktop widget, as shown in fig. 6, the target application program includes an application program 603 and an application program 604, and finally, the size and the position of all the display patterns displayed in the display desktop are correspondingly adjusted.
According to the desktop display method of the flexible display screen, when the flexible display screen is switched between the small-screen state and the large-screen state, the display pattern of the target application program in the display desktop can be switched between the desktop icon and the desktop widget, so that the display picture of the large-screen desktop is fuller, the desktop display diversity can be increased, and the user experience can be improved; meanwhile, when the display pattern of the target application program is switched from a desktop icon to a desktop widget, a user can view the related information of the application program without entering the application program, and the user can use the desktop widget conveniently; in addition, when the flexible display screen is switched between the small-screen state and the large-screen state, all display patterns displayed in the display desktop are subjected to self-adaptive layout, so that the desktop display picture is more harmonious and full, and the user experience can be further improved.
Referring to fig. 7, fig. 7 is a flowchart illustrating a desktop display method of a flexible display screen in a fourth embodiment of the present application, in this embodiment, when the number of the target applications is more than one, a priority is assigned to the target applications according to a requirement of a user, where the priority may be assigned according to user setting, or may be automatically assigned according to a usage frequency of the applications, for example, the target applications that are used more than 10 times in a day are assigned as a first priority, and the applications that are used more than 5 times and less than 10 times are assigned as a second priority. It will be appreciated that the hierarchical allocation of priority may be more than two levels.
The desktop display method of the flexible display screen comprises the following steps:
step 701, detecting whether the size of a display area of the flexible display screen changes.
Step 702, when it is detected that the size of the display area of the flexible display screen changes, obtaining a changed current size value of the display area. In this embodiment, when detecting that the size of the display area of the flexible display 50 changes, an initial size value of the display area of the flexible display 50 before changing is obtained at the same time, where the initial size value may be obtained and stored in the terminal 100 before the size changes, or may be obtained while detecting the size changes.
The specific technical details of steps 701-702 in the present embodiment may refer to the related technical details of steps 201-202 in the embodiment shown in fig. 2, and are not described herein again.
Step 7031, it is determined whether the change in size of the display area is an increase or a decrease. If the size of the display area is increased, step 7032 is performed. If the size of the display area is decreased, step 7034 is performed.
Step 7032, determine whether the current size value is greater than a first predetermined size value. If the current size value is greater than the first preset size value, step 7041 is executed, otherwise, step 705 is executed.
Step 7041, determine whether the current display pattern of the first priority target application is a desktop icon. If the current display pattern of the target application program with the first priority is a desktop icon, step 7042 is executed, otherwise, step 705 is executed.
Step 7042, switching the display pattern of the target application program of the first priority from the desktop icon to the desktop widget. After this step is performed, step 7033 is performed.
Step 7033, determine whether the current size value is greater than a second predetermined size value. If the current size value is greater than the second preset size value, step 7043 is performed, otherwise, step 705 is performed.
In step 7043, it is determined whether the currently displayed pattern of the second priority target application is a desktop icon. If the current display pattern of the target application program with the second priority is a desktop icon, step 7044 is executed, otherwise, step 705 is executed.
Step 7044, switching the display pattern of the target application program of the second priority from the desktop icon to the desktop widget. After this step is performed, step 705 is performed.
Step 7034, it is determined whether the current size value is smaller than a second predetermined size value. If the current size value is smaller than the second preset size value, step 7045 is executed, otherwise, step 705 is executed.
Step 7045, determine whether the current display pattern of the target application with the second priority is a desktop widget. If the current display pattern of the target application program of the second priority is a desktop widget, step 7046 is executed, otherwise, step 705 is executed.
Step 7046, switching the display pattern of the target application program of the second priority from the desktop widget to a desktop icon. After this step is performed, step 7035 is performed.
Step 7035, determine whether the current size value is smaller than a first preset size value. If the current size value is smaller than the first preset size value, step 7047 is performed, otherwise, step 705 is performed.
Step 7047, determine whether the current display pattern of the first priority target application is a desktop widget. If the current display pattern of the target application program of the first priority is a desktop widget, step 7048 is executed, otherwise, step 705 is executed.
Step 7048, switching the display pattern of the target application program of the first priority from the desktop widget to a desktop icon. After this step is performed, step 705 is performed.
Step 705, the display pattern of the application program is adaptively laid out in the display desktop. After the step is executed, returning to the step 701, and continuously detecting whether the size of the display area of the flexible display screen changes.
For details of the step 705 in the present embodiment, reference may be made to the related technical details of the step 505 in the embodiment shown in fig. 5, which are not described herein again.
In this embodiment, the first preset size value and the second preset size value may be set and stored in the terminal 100 when the terminal 100 leaves a factory, or may be set by a user. The first preset size value and the second preset size value are both values between a minimum size value and a maximum size value of a display area of the flexible display screen, and the first preset size value is smaller than the second preset size value, for example, the minimum size value and the maximum size value of the display area of the flexible display screen are 6.0 inches and 6.5 inches, the first preset size value can be set to 6.2 inches, and the second preset size value can be set to 6.3 inches.
According to the desktop display method of the flexible display screen, when the flexible display screen is switched between the small-screen state and the large-screen state, the display pattern of the target application program in the display desktop can be switched between the desktop icon and the desktop widget, so that the display picture of the large-screen desktop is fuller, the desktop display diversity can be increased, and the user experience can be improved; meanwhile, when the display pattern of the target application program is switched from a desktop icon to a desktop widget, a user can view the related information of the application program without entering the application program, and the user can use the desktop widget conveniently; in addition, when the number of the target application programs is more than one, the priority is distributed to the target application programs, and the display patterns of the application programs with the corresponding priority levels are switched when the corresponding switching conditions are met, so that the target application programs with higher priority levels can be preferentially displayed as desktop widgets, the switching of desktop display pictures is more hierarchical, and the user experience can be further improved.
Fig. 8 is a schematic structural diagram of a terminal in an embodiment of the present application. As shown in fig. 8, the terminal 100 comprises at least a processor 20, a memory 30, a computer program 40 (e.g. a desktop display program of a flexible display) stored in the memory 30 and operable on the processor 20, a detection device 60 and a flexible display 50.
The terminal 100 may be a terminal having the flexible display screen 50, such as a smart phone, a tablet computer, or a smart watch. Those skilled in the art will appreciate that the schematic diagram 8 is merely an example of the terminal 100 for implementing the desktop display method of the flexible display 50, and does not constitute a limitation of the terminal 100, and may include more or less components than those shown, or combine some components, or different components, for example, the terminal 100 may further include an input and output device, a network access device, and the like.
The processor 20 executes the steps 201 to 204 shown in fig. 2, or the steps 201 to 202, the step 2031 + 2033 and the step 2041 + 2044 shown in fig. 3, or the steps 501 to 202, the step 5031 + 5033, the step 5041 + 5044 and the step 505 shown in fig. 5, or the steps 701 to 702, the step 7031 + 7035, the step 7041 + 7048 and the step 705 shown in fig. 7 when executing the computer program 40.
The Processor 20 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 20 is the control center of the terminal 100 and connects the various parts of the entire terminal 100 using various interfaces and lines.
The memory 30 may be used to store the computer program 40, and the processor 20 implements various functions of the terminal 100 by running or executing the computer program 40 stored in the memory 30 and calling data stored in the memory 30. The memory 30 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (e.g., a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to the use of the terminal 100 (e.g., audio data, a phonebook, data set, acquired using the desktop display method of the flexible display 50 described above, etc.), and the like. Further, the memory 30 may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The detecting device 60 is used for detecting the size value of the display area of the flexible display screen 50. In one embodiment, the detecting device 60 includes a rotation shaft sensor disposed on the terminal 100. In other embodiments, the detection device 60 comprises a resistive element or a photosensitive device disposed on the flexible display screen 50.
The present application further provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, performs the steps of the desktop display method of a flexible display screen described in the above embodiments.
The terminal 100 of the present application, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer-readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. Several units or means recited in the apparatus claims may also be embodied by one and the same item or means in software or hardware.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present application and not for limiting, and although the present application is described in detail with reference to the above preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical solutions of the present application without departing from the spirit and scope of the technical solutions of the present application.

Claims (11)

1. A desktop display method of a flexible display screen is applied to a terminal with the flexible display screen, and is characterized by comprising the following steps:
detecting whether the size of a display area of the flexible display screen changes or not;
when the size of a display area of the flexible display screen is detected to be changed, acquiring a current size value of the display area after the change;
judging whether the size change of the display area meets a preset condition or not according to the current size value;
and if the size change of the display area meets the preset condition, switching the display pattern of the target application program in the display desktop of the flexible display screen according to a preset display rule, wherein the display pattern of the target application program comprises a desktop icon and a desktop widget.
2. The method of desktop display of a flexible display screen of claim 1, the method further comprising:
and performing adaptive layout on all display patterns displayed in the display desktop, wherein each display pattern corresponds to an application program, and the adaptive layout comprises the step of adaptively adjusting at least one of the size and the position of each display pattern and the distance between the adjacent display patterns.
3. The desktop display method of the flexible display screen according to claim 2, wherein the preset conditions include a first preset condition and a second preset condition, wherein the first preset condition is that the current size value is greater than a preset size value, and the second preset condition is that the current size value is smaller than the preset size value;
the method further comprises the following steps:
when the size of the display area of the flexible display screen is detected to be changed, acquiring an initial size value of the display area of the flexible display screen before the change;
the judging whether the size change of the display area meets a preset condition according to the current size value comprises the following steps:
judging whether the size of the display area is increased or decreased according to the initial size value and the current size value;
if the size of the display area is increased, judging whether the current size value meets the first preset condition;
and if the size of the display area is reduced, judging whether the current size value meets the second preset condition.
4. The desktop display method of the flexible display screen as claimed in claim 3, wherein if the size change of the display area satisfies the preset condition, switching the display pattern of the target application program in the display desktop of the flexible display screen according to a preset display rule includes:
if the size of the display area is increased and the current size value meets the first preset condition, judging whether the current display pattern of the target application program is a desktop icon, and switching the display pattern of the target application program from the desktop icon to a desktop widget when the current display pattern of the target application program is the desktop icon;
if the size of the display area is reduced and the current size value meets the second preset condition, judging whether the current display pattern of the target application program is a desktop widget or not, and switching the display pattern of the target application program from the desktop widget to a desktop icon when the current display pattern of the target application program is the desktop widget.
5. The method of desktop display of a flexible display screen of claim 4, wherein the method further comprises:
judging whether the application program corresponding to each display pattern displayed in the display desktop has the application function of the desktop widget or not;
judging whether an application program with the application function of the desktop widget meets a preset deformation condition or not;
and determining the application program meeting the preset deformation condition as the target application program.
6. The desktop display method of a flexible display screen according to claim 5, wherein the preset deformation condition includes at least one of the following conditions:
the use frequency of the application program reaches the preset use frequency;
the application program has the latest information or prompt;
the application program is an application program set by a user.
7. The method of desktop display of a flexible display screen of claim 5, wherein the preset size value comprises a first preset size value and a second preset size value, the method further comprising:
when the number of the target application programs is more than one, allocating priority to the target application programs;
switching the display pattern of the target application program with the first priority when the first switching condition is met; and
switching the display pattern of the target application program with the second priority when the second switching condition is satisfied;
wherein the first switching condition comprises any one of:
the size of the display area is increased, and the current size value is larger than the first preset size value;
the size of the display area is reduced, and the current size value is smaller than the first preset size value;
the second switching condition includes any one of:
the size of the display area is increased, and the current size value is larger than the second preset size value;
and the size of the display area is reduced, and the current size value is smaller than the second preset size value.
8. The desktop display method of the flexible display screen according to any one of claims 1 to 7, wherein a desktop widget and a desktop icon corresponding to the same application are associated, and the desktop widget includes at least one of the following contents:
a symbolic color or pattern of an associated desktop icon;
the content corresponding to the latest information of the corresponding application program;
and the contact person attribute information corresponding to the latest information of the corresponding application program.
9. A method of desktop display of a flexible display screen as recited in any of claims 1-7, the method further comprising:
and acquiring the stretching or shrinking distance of the flexible display screen through a rotating shaft sensor arranged on a shell of the terminal, and calculating the current size value according to the distance and the size parameter of the flexible display screen.
10. A terminal comprising a memory, a processor and a computer program stored on the memory and executable in the processor, characterized in that the computer program, when executed by the processor, implements the method of any of the preceding claims 1-9.
11. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-9.
CN202011573549.1A 2020-12-25 2020-12-25 Desktop display method, terminal and storage medium of flexible display screen Pending CN114691249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011573549.1A CN114691249A (en) 2020-12-25 2020-12-25 Desktop display method, terminal and storage medium of flexible display screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011573549.1A CN114691249A (en) 2020-12-25 2020-12-25 Desktop display method, terminal and storage medium of flexible display screen

Publications (1)

Publication Number Publication Date
CN114691249A true CN114691249A (en) 2022-07-01

Family

ID=82129070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011573549.1A Pending CN114691249A (en) 2020-12-25 2020-12-25 Desktop display method, terminal and storage medium of flexible display screen

Country Status (1)

Country Link
CN (1) CN114691249A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120159386A1 (en) * 2010-12-21 2012-06-21 Kang Raehoon Mobile terminal and operation control method thereof
CN102968313A (en) * 2012-12-21 2013-03-13 珠海市魅族科技有限公司 Generation method and terminal of desktop widget
US20130127918A1 (en) * 2011-11-22 2013-05-23 Samsung Electronics Co., Ltd Flexible display apparatus and method of providing user interface by using the same
CN104731456A (en) * 2015-03-31 2015-06-24 努比亚技术有限公司 Desktop widget display method and device
CN107092421A (en) * 2017-04-12 2017-08-25 广州三星通信技术研究有限公司 Show the method and device of the control of application
CN107566638A (en) * 2017-08-31 2018-01-09 维沃移动通信有限公司 The display control method and mobile terminal of a kind of application program
CN108052247A (en) * 2017-11-29 2018-05-18 努比亚技术有限公司 Desktop icons method of adjustment, mobile terminal and computer readable storage medium
CN108196752A (en) * 2018-01-15 2018-06-22 维沃移动通信有限公司 A kind of display methods and terminal device
CN109871162A (en) * 2017-12-05 2019-06-11 益富可视精密工业(深圳)有限公司 Electronic equipment and icon display method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120159386A1 (en) * 2010-12-21 2012-06-21 Kang Raehoon Mobile terminal and operation control method thereof
US20130127918A1 (en) * 2011-11-22 2013-05-23 Samsung Electronics Co., Ltd Flexible display apparatus and method of providing user interface by using the same
CN102968313A (en) * 2012-12-21 2013-03-13 珠海市魅族科技有限公司 Generation method and terminal of desktop widget
CN104731456A (en) * 2015-03-31 2015-06-24 努比亚技术有限公司 Desktop widget display method and device
CN107092421A (en) * 2017-04-12 2017-08-25 广州三星通信技术研究有限公司 Show the method and device of the control of application
CN107566638A (en) * 2017-08-31 2018-01-09 维沃移动通信有限公司 The display control method and mobile terminal of a kind of application program
CN108052247A (en) * 2017-11-29 2018-05-18 努比亚技术有限公司 Desktop icons method of adjustment, mobile terminal and computer readable storage medium
CN109871162A (en) * 2017-12-05 2019-06-11 益富可视精密工业(深圳)有限公司 Electronic equipment and icon display method
CN108196752A (en) * 2018-01-15 2018-06-22 维沃移动通信有限公司 A kind of display methods and terminal device

Similar Documents

Publication Publication Date Title
US11500513B2 (en) Method for icon display, terminal, and storage medium
CN107632874B (en) Interface display method and device and terminal
CN112817684B (en) User interface display method, device, terminal and storage medium
CN107181858B (en) Method and terminal for displaying notification message
CN109283996B (en) Display control method and related product
CN107390976B (en) Icon display processing method and electronic equipment
CN110572572B (en) Shooting parameter selection method and device, mobile terminal and storage medium
CN109118447B (en) Picture processing method, picture processing device and terminal equipment
US20150116368A1 (en) Method and device for adjusting characters of application
CN106126041B (en) Desktop icon management method of mobile terminal and mobile terminal
CN107155059A (en) A kind of image preview method and terminal
CN110618852B (en) View processing method, view processing device and terminal equipment
WO2022262499A1 (en) Display method and apparatus, storage medium, and electronic device
WO2020061783A1 (en) Bendable electronic device and interface adaptation method thereof
CN110377220B (en) Instruction response method and device, storage medium and electronic equipment
CN109873980B (en) Video monitoring method and device and terminal equipment
CN107864333B (en) Image processing method, device, terminal and storage medium
CN113407270A (en) Display method and device of electronic equipment and storage medium
CN112055156B (en) Preview image updating method and device, mobile terminal and storage medium
CN110677586B (en) Image display method, image display device and mobile terminal
US10685621B1 (en) Contextual display dimension control in rollable display device to reduce the addiction of mobile device
CN114402280A (en) Screen parameter adjusting method and device and terminal equipment
CN108898169B (en) Picture processing method, picture processing device and terminal equipment
WO2020007010A1 (en) Volume display method and apparatus, terminal device, and storage medium
CN114691249A (en) Desktop display method, terminal and storage medium of flexible display screen

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20220701