Display screen control method, device, terminal and storage medium
By automatically detecting and adjusting the status of the flexible display screen, it realizes scaling without manual or button triggering in different application scenarios, solving the complex and cost problems of scaling in the existing technology, and improving the intelligent control capability of the display screen.
Patent Information
- Application Number
- CN202010514094.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-08
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2040-06-08
AI Technical Summary
The scaling method of existing telescopic screens requires users to manually operate or trigger through key presses. The process is complex and costly, and in some scenarios, users cannot easily scaling.
By obtaining the current and historical status of the flexible display, the target display status is automatically determined, and the status is telescopic when the status does not match, so that automatic telescopicity without manual or key-triggering is achieved.
The flexible display screen is simplified and the degree of telescopic intelligence is improved. Users can automatically obtain the display screen status that meets habits according to different application scenarios.
Smart Images

Figure CN113835470B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of terminal technology, and in particular to a control method, device, terminal and storage medium for a display screen. Background Art
[0002] As a new type of terminal screen structure, the retractable screen can change the screen size of the terminal through retractable operations.
[0003] In the related art, the telescopic screen can be extended and retracted manually by the user and automatically by pressing a button. When manually extending and retracting, the user holds the telescopic screen with both hands and stretches or contracts it; when automatically extending and retracting by pressing a button, the user clicks a virtual button or a physical button to trigger the screen mechanical structure to automatically extend and retract the telescopic screen. Summary of the invention
[0004] The present application provides a method, device, terminal and storage medium for controlling a display screen. The technical solution is as follows:
[0005] On the one hand, an embodiment of the present application provides a method for controlling a display screen, the method being used for a terminal having a flexible display screen, the terminal comprising a first shell and a second shell, the second shell being slidably connected to the first shell, the second shell and the first shell changing an exposed display area of the flexible display screen through relative movement, the method comprising:
[0006] Acquire a current display screen state of the flexible display screen in a current application scenario, where the current display screen state includes at least one of an extended state and a rolled state;
[0007] Determine a target display screen state corresponding to the current application scenario, wherein the target display screen state is determined according to a historical display screen state of the flexible display screen in the current application scenario;
[0008] In response to the current display screen state not matching the target display screen state, the flexible display screen is controlled to be extended or retracted, wherein the display screen state of the flexible display screen after extension or retraction is the target display screen state.
[0009] On the other hand, an embodiment of the present application provides a control device for a display screen, the device being used for a terminal having a flexible display screen, the terminal comprising a first shell and a second shell, the second shell being slidably connected to the first shell, the second shell and the first shell changing an exposed display area of the flexible display screen through relative movement, the device comprising:
[0010] An acquisition module, used to acquire a current display screen state of the flexible display screen in a current application scenario, wherein the current display screen state includes at least one of an extended state and a rolled state;
[0011] A state determination module, used to determine a target display screen state corresponding to the current application scenario, wherein the target display screen state is determined according to a historical display screen state of the flexible display screen in the current application scenario;
[0012] The control module is used for controlling the flexible display screen to extend and retract in response to the current display screen state not matching the target display screen state, wherein the display screen state of the flexible display screen after extension and retraction is the target display screen state.
[0013] On the other hand, an embodiment of the present application provides a terminal, which includes a processor and a memory; the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to implement the control method of the display screen as described in the above aspect.
[0014] On the other hand, a computer-readable storage medium is provided, wherein the storage medium stores at least one instruction, and the at least one instruction is used to be executed by a processor to implement the method for controlling a display screen as described in the above aspect.
[0015] On the other hand, a computer program product is provided. The computer program product stores at least one instruction, and the at least one instruction is loaded and executed by a processor to implement the method for controlling a display screen as described in the above aspect.
[0016] In an embodiment of the present application, for a terminal equipped with a flexible display screen with a variable exposed display area, the current display screen state of the flexible display screen in the current application scenario is obtained, and the target display screen state corresponding to the current application scenario is determined according to the historical display screen state of the flexible display screen in the current application scenario. Therefore, when the current display screen state does not match the target display screen state, the flexible display screen is automatically controlled to be in the target display screen state. This realizes that according to the user's habit of extending and retracting the display screen in different application scenarios, the flexible display screen is automatically extended to a display screen state that conforms to the user's usage habits. There is no need for the user to manually stretch the flexible display screen, nor is there a need for the user to trigger the extension and retraction of the flexible display screen by pressing a button. This simplifies the extension and retraction process of the flexible display screen and improves the extension and retraction intelligence of the flexible display screen. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 is a schematic structural diagram of a terminal in a retracted state provided by an exemplary embodiment of the present application;
[0018] Figure 2 is a schematic diagram of the structure of a terminal in a stretched state provided by an exemplary embodiment of the present application;
[0019] Figure 3is a three-dimensional exploded schematic diagram of a terminal provided by an exemplary embodiment of the present application;
[0020] Figure 4 is a schematic structural diagram of a terminal cross section in a retracted state provided by an exemplary embodiment of the present application;
[0021] Figure 5 is a schematic structural diagram of a terminal cross section in an extended state provided by an exemplary embodiment of the present application;
[0022] Figure 6 A flow chart showing a method for controlling a display screen provided by an exemplary embodiment of the present application is shown;
[0023] Figure 7 It is an interface schematic diagram of an implementation process of a method for controlling a display screen provided by an exemplary embodiment of the present application;
[0024] Figure 8 is a flow chart of a method for controlling a display screen provided by another exemplary embodiment of the present application;
[0025] Fig. 9 is a flow chart of a method for controlling a display screen provided by another exemplary embodiment of the present application;
[0026] Fig.10 A structural block diagram of a control device for a display screen provided by an embodiment of the present application is shown;
[0027] Fig.11 A structural block diagram of a terminal provided by an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION
[0028] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0029] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0030] The display screen control method provided in the embodiment of the present application is applied to a terminal with a flexible display screen (retractable screen terminal). The structure of the terminal is first described below.
[0031] Please combine Figures 1 to 3The terminal 100 in the embodiment of the present application includes a housing assembly 10, a flexible display screen 30, a driving member 50 and a driving mechanism 70. The housing assembly 10 is a hollow structure; the driving member 50, the driving mechanism 70 and the camera 60 and other components can be arranged in the housing assembly 10. It can be understood that the terminal 100 in the embodiment of the present application includes but is not limited to a mobile terminal such as a mobile phone, a tablet or other portable electronic devices. In this article, the terminal 100 is taken as an example of a mobile phone for description.
[0032] In the implementation of the present application, the housing assembly 10 includes a first housing 12 and a second housing 14, and the first housing 12 and the second housing 14 can move relative to each other. In a possible implementation, the first housing 12 and the second housing 14 are slidably connected, that is, the second housing 14 can slide relative to the first housing 12.
[0033] Optional, see Figure 4 and Figure 5 The first housing 12 and the second housing 14 together form a receiving space 16. The receiving space 16 can be used to place components such as the driving member 50, the camera 60 and the driving mechanism 70. The housing assembly 10 may further include a back cover 18, which together with the first housing 12 and the second housing 14 form the receiving space 16.
[0034] Optionally, the driving member 50 is disposed on the second housing 14, one end of the flexible display screen 30 is disposed on the first housing 12, the flexible display screen 30 bypasses the driving member 50, and the other end of the flexible display screen is disposed in the accommodating space 16, so that part of the flexible display screen 30 is hidden in the accommodating space 16, and the part of the flexible display screen 30 hidden in the accommodating space 16 may not be lit. The first housing 12 and the second housing 14 are relatively far apart, and the flexible display screen 30 can be driven to unfold by the driving member 50, so that more of the flexible display screen 30 is exposed outside the accommodating space 16. The flexible display screen 30 exposed outside the accommodating space 16 is lit up, so that the display area presented by the terminal 100 becomes larger.
[0035] Optionally, the driving member 50 is a rotating shaft structure with teeth 52 on the outside, and the flexible display screen 30 is linked to the driving member 50 by meshing or the like. When the first shell 12 and the second shell 14 are relatively far apart, the driving member 50 drives the part of the flexible display screen 30 meshed on the driving member 50 to move and unfold.
[0036] It can be understood that the driving member 50 can also be a round shaft without teeth 52. When the first shell 12 and the second shell 14 are relatively far away from each other, the driving member 50 is used to open the part of the flexible display screen 30 wound on the driving member 50, so that more of the flexible display screen is exposed outside the accommodating space 16 and is in a flat state. Optionally, the driving member 50 is rotatably arranged on the second shell 14. When the flexible display screen 30 is gradually opened, the driving member 50 can rotate with the movement of the flexible display screen 30. In other embodiments, the driving member 50 can also be fixed on the second shell 14, and the driving member 50 has a smooth surface. When the flexible display screen 30 is opened, the driving member 50 can slidably contact with the flexible display screen 30 through its smooth surface.
[0037] When the first housing 12 and the second housing 14 are relatively close to each other, the flexible display screen can be driven to retract by the driving member 50. Alternatively, the terminal 100 further includes a reset member (not shown), and one end of the flexible display screen accommodated in the accommodating space 16 is linked to the reset member. When the first housing 12 and the second housing 14 are relatively close to each other, the reset member drives the flexible display screen 30 to reset, thereby partially retracting the flexible display screen into the accommodating space 16.
[0038] In the embodiment of the present application, the driving mechanism 70 may be disposed in the accommodating space 16, and the driving mechanism 70 may be linked with the second housing 14, and the driving mechanism 70 is used to drive the second housing 14 to move away from the first housing 12, thereby driving the flexible display assembly 30 to extend. It is understood that the driving mechanism 70 may also be omitted, and the user may directly make the first housing and the second housing move relative to each other by manual operation or other means.
[0039] It should be noted that the above embodiment is only described by taking the flexible display screen being retractable in the width direction as an example. In other possible terminal forms, the width of the flexible display screen is fixed, but it is retractable in the height direction. For example, when the flexible display screen is in the extended state, the size of the terminal is similar to that of a traditional terminal, while when the flexible display screen is in the retracted state, the height of the terminal is half of that of a traditional terminal. This embodiment does not limit this.
[0040] In the related art, when manually controlling the extension and retraction of the flexible display screen, the user is required to hold the terminal with both hands, and control the contraction or extension by moving the hands toward and away from each other. In some scenarios, when it is inconvenient for the user to hold the terminal with both hands, the flexible display screen will not be able to be extended or retracted. When using a button touch method to control the extension and retraction of the flexible display screen, it is necessary to set virtual buttons in the user interface in advance, or to set physical buttons in the terminal shell. However, when using the virtual button trigger method, the user first needs to display the virtual buttons through a series of triggers, and the process is complicated; when using the physical button trigger method, it is necessary to set additional openings in the terminal shell, and the layout of other internal components of the terminal needs to be adjusted, and the implementation cost is relatively high.
[0041] By adopting the method provided in the embodiment of the present application, the terminal can determine the target display state in various application scenarios according to the historical display state of the flexible display, so that when the target display state does not match the current display state, the flexible display can be automatically controlled to be extended to the target display state without setting additional virtual buttons or physical buttons, and even if the user holds the terminal with one hand, it can be realized, which simplifies the extension process of the flexible display and improves the extension intelligence of the flexible display. The following is an exemplary embodiment for explanation.
[0042] Please refer to Figure 6 , which shows a flow chart of a method for controlling a display screen provided by an exemplary embodiment of the present application. Figures 1 to 5 The terminal execution shown is used as an example to illustrate the process, which includes the following steps:
[0043] Step 601: Obtain a current display screen state of the flexible display screen in a current application scenario, where the current display screen state includes at least one of an extended state and a rolled state.
[0044] Regarding the method of obtaining the display screen state of the flexible display screen, in a possible implementation manner, the terminal obtains the stretching distance of the flexible display screen through a displacement sensor, and thus determines the display screen state of the flexible display screen according to the stretching distance.
[0045] Optionally, if the stretching distance of the flexible display is less than a first distance threshold, the terminal determines that the flexible display is in a rolled-up state; if the stretching distance of the flexible display is greater than or equal to the first distance threshold, the terminal determines that the flexible display is in an extended state, wherein the first distance threshold is less than or equal to the maximum stretching distance of the flexible display.
[0046] For example, if the minimum size of the exposed display area of the flexible display is 7×7 cm and the maximum size is 7×14 cm, the maximum stretching distance is 7 cm. If the stretching distance of the flexible display is less than 7 cm (i.e., the exposed display area is less than 7×14 cm), it is in a rolled-up state; if the stretching distance of the flexible display is equal to 7 cm (i.e., the exposed display area is equal to 7×14 cm), it is in an extended state.
[0047] Of course, in addition to obtaining the display screen status of the flexible display screen in the above manner, the terminal can also obtain the display screen status in other ways (such as obtaining the display screen status through a mechanical structure connected to the flexible display screen), which is not limited in this embodiment.
[0048] Step 602: determine the target display screen state corresponding to the current application scenario, where the target display screen state is determined according to the historical display screen state of the flexible display screen in the current application scenario.
[0049] The target display screen state is the display screen state that meets the user's screen zooming habits in the current application scenario.
[0050] In a possible implementation, the target display screen state is determined based on the historical display screen state of the flexible display screen of the current terminal in the current application scenario, that is, the target display screen state is determined based on the historical screen scaling habits of the local user in the current application scenario; or, the target display screen state is determined based on the historical display screen state of the flexible display screen of the associated terminal in the current application scenario, wherein the terminal usage habits of the user corresponding to the associated terminal are similar to the terminal usage habits of the local user.
[0051] In some embodiments, during use, the terminal collects data on the display screen status of the flexible display screen in different application scenarios, and determines the target display screen status corresponding to different application scenarios through an analysis program, and then associates and stores the application scenarios with the target display screen status. When entering a certain application scenario later, the target display screen status is directly read from the association relationship.
[0052] Since the display screen state preferred by the user is related to many factors, such as the application currently running in the foreground (when using a video playback application, the user prefers to stretch the flexible display screen to the maximum size to achieve the best display effect; when using a news reading application, the user prefers to shrink the flexible display screen to the minimum size to achieve one-handed touch), the current power information (when the power is sufficient, the user prefers to stretch the flexible display screen to the maximum size to achieve the best display effect; when the power is insufficient, the user prefers to stretch the flexible display screen to the minimum size to reduce display power consumption and save power), the current location (for example, in a private place, the user prefers to stretch the flexible display screen to the maximum size to achieve the best display effect; in a public place, the user prefers to stretch the flexible display screen to the minimum size to avoid personal privacy leakage), and the current user of the terminal (for example, men have larger palms and prefer to stretch the flexible display screen, while women have smaller palms and prefer to shrink the flexible display screen). Therefore, in order to improve the accuracy of subsequent automatic display screen extension and retraction control, the terminal obtains multi-dimensional information corresponding to the current application scenario (that is, the application scenario is divided into fine granularity), and then determines the target display screen state according to the multi-dimensional information.
[0053] Optionally, the scene information corresponding to the current application scene includes at least one of the following: foreground application information, power information, location information and usage object information.
[0054] Among them, the foreground application information includes at least one of the foreground application identifier and the foreground application type; the power information includes at least one of the remaining power and the charging status; the location information includes at least one of the geographical location coordinates and the location type (home, company, public transportation, etc.); the user object information includes at least one of the user object name, the user object gender, and the user object biological parameters (such as fingerprints).
[0055] Step 603 , in response to the current display screen state not matching the target display screen state, controlling the flexible display screen to be extended or retracted, wherein the display screen state of the flexible display screen after extension or retraction is the target display screen state.
[0056] Further, the terminal detects whether the current display screen state matches the target display screen state. If not, the terminal controls the flexible display screen to be extended or retracted so that the display screen state of the flexible display screen after extension or retraction is the target display screen state.
[0057] In an illustrative example, Figure 7 As shown, the terminal 701 determines the extended state of the target display state of the flexible display according to the video playback application 702 currently running in the foreground. Since the current display state is a contracted state, the terminal controls the flexible display to stretch to the extended state and displays the video picture in full screen on the stretched flexible display.
[0058] In a possible implementation, the terminal generates a retracting instruction and sends the retracting instruction to the screen mechanical component, and the screen mechanical component controls the retracting of the flexible display screen according to the retracting instruction. The retracting instruction may be a pulse width modulation (PWM) signal, and the screen mechanical component may be Figure 4 The drive mechanism 70 is shown.
[0059] In some embodiments, in response to the current display screen state matching the target display screen state, the terminal controls the flexible display screen to maintain the current display screen state.
[0060] It should be noted that after the terminal automatically controls the extension and retraction of the flexible display screen, it is necessary to readjust the display cache and re-layout and draw the interface elements in the user interface to adapt to the screen size (and screen resolution) of the exposed display area of the flexible display screen after extension and retraction. This embodiment will not be repeated here.
[0061] To summarize, in the embodiments of the present application, for a terminal equipped with a flexible display screen with a variable exposed display area, the current display screen state of the flexible display screen in the current application scenario is obtained, and the target display screen state corresponding to the current application scenario is determined based on the historical display screen state of the flexible display screen in the current application scenario. When the current display screen state does not match the target display screen state, the flexible display screen is automatically controlled to be in the target display screen state. This realizes that according to the user's habit of extending and retracting the display screen in different application scenarios, the flexible display screen is automatically extended to a display screen state that conforms to the user's usage habits. There is no need for the user to manually stretch the flexible display screen, nor is there a need for the user to trigger the extension and retraction of the flexible display screen by pressing a button. This simplifies the extension and retraction process of the flexible display screen and improves the extension and retraction intelligence of the flexible display screen.
[0062] Please refer to Figure 8 , which shows a flow chart of a method for controlling a display screen provided by another exemplary embodiment of the present application. Figures 1 to 5 The terminal execution shown is used as an example to illustrate the process, which includes the following steps:
[0063] Step 801: Obtain a current display screen state of the flexible display screen in a current application scenario, where the current display screen state includes at least one of an extended state and a rolled state.
[0064] The implementation of this step may refer to the above step 601, and this embodiment will not be described in detail here.
[0065] Step 802 , obtaining a first duration that the flexible display screen is in an extended state and a second duration that the flexible display screen is in a rolled state in the current application scenario.
[0066] In a certain application scenario, the longer the flexible display screen remains in a certain display screen state, the more the display screen state conforms to the screen extension habit in the application scenario. Therefore, in a possible implementation mode, the terminal counts the time the flexible display screen is in various display screen states in various application scenarios, thereby determining the first time the flexible display screen is in the extended state (obtained by accumulating the time in the extended state) and the second time the flexible display screen is in the rolled up state (obtained by accumulating the time in the rolled up state) in each application scenario.
[0067] In some embodiments, the terminal stores the statistical data locally, and when needed, it is read from the local; in another possible implementation, the terminal reports the statistical data to the server, and when needed, it is read from the server, which is not limited in this embodiment.
[0068] In an illustrative example, the correspondence between the application scenario stored in the terminal (described in terms of two dimensions including foreground application information and power information), the first duration, and the second duration is shown in Table 1.
[0069] Table 1
[0070] Foreground application information Battery Information First duration Second duration Video playback application More than 50% 140 minutes 20 minutes Video playback application Less than 50% 15 minutes 75 minutes Instant messaging applications More than 50% 10 minutes 90 minutes Instant messaging applications Less than 50% 12 minutes 80 minutes
[0071] After acquiring the first duration and the second duration, the terminal determines the target display screen state corresponding to the current application scenario according to the first duration and the second duration (steps 803 to 805).
[0072] Step 803: Determine the proportion of the first duration in the extended state and the proportion of the second duration in the curled state according to the first duration and the second duration.
[0073] In a possible implementation, the terminal determines the total duration in the current application scenario based on the first duration and the second duration, and then determines the proportion of the first duration in the extended state based on the first duration and the total duration, and determines the proportion of the second duration in the curled state based on the second duration and the total duration.
[0074] Combined with the example in Table 1, if the video playback application is currently running in the foreground and the remaining battery power is greater than 50%, the terminal determines that the first duration accounts for 140÷(140+20)=87.5%, and the second duration accounts for 20÷(140+20)=12.5%.
[0075] Step 804: In response to the first duration ratio being greater than a first threshold, determining that the state of the target display screen is an extended state.
[0076] In a possible implementation, the terminal is preset with a first threshold, and when the first duration ratio is greater than the first threshold, the terminal determines that the target display screen state is an extended state. For example, the first threshold is 80%, 85% or 90%.
[0077] In combination with the example in the above steps, since the first duration proportion of 87.5% is greater than the first threshold of 80%, the terminal determines the extended state as the target display screen state.
[0078] Step 805 : In response to the second duration ratio being greater than a second threshold, determining that the state of the target display screen is a contracted state.
[0079] In a possible implementation, the terminal is preset with a second threshold, and when the second duration ratio is greater than the second threshold, the terminal determines that the target display screen state is a rolled-up state. For example, the second threshold is 75%, 80% or 85%.
[0080] Combined with the example in Table 1, if an instant messaging application is currently running in the foreground and the remaining battery power is greater than 50%, the terminal determines that the second duration accounts for 90%. Since the second duration accounts for 90% greater than the second threshold of 85%, the terminal determines the curled state as the target display state.
[0081] It should be noted that in addition to determining the target display state based on the maintenance time of the display state, in other possible implementations, the terminal can also determine the target display state corresponding to the application scenario based on the frequency of change of the display state of the flexible display in the application scenario. This embodiment is not limited to this.
[0082] Step 806 , determining a third duration for which the flexible display screen presents different screen sizes in the target display screen state, where the screen size is the size of the exposed display area of the flexible display screen.
[0083] In some embodiments, when the terminal supports stretching the flexible display screen to the maximum screen size and shrinking the flexible display screen to the minimum screen size, accordingly, if the current display screen state does not match the target display screen state, the terminal will stretch the flexible display screen to the maximum screen size (the target display screen state is the extended state) or shrink the flexible display screen to the minimum screen size (the target display screen state is the curled state) according to the target display screen state.
[0084] In another possible implementation, since the user can appropriately stretch the flexible display screen according to personal usage habits when using the terminal, that is, the screen size of the exposed display area of the flexible display screen can be between the minimum screen size and the maximum screen size. Therefore, in order to make the screen size of the flexible display screen after automatic extension more in line with the user's personal habits, optionally, after the terminal determines the target display screen state, it further determines the target display screen state, and the flexible display screen presents a third duration of different screen sizes. Among them, the screen size can be a screen size range or a specific screen size, which is not limited in this embodiment.
[0085] In an illustrative example, in the rolled state, the screen size of the flexible display screen ranges from 7 to 10.5 cm, and in the extended state, the screen size of the flexible display screen ranges from 10.5 to 14 cm. When the target display screen state corresponding to the application scenario is the extended state, the terminal determines the third duration of the flexible display screen at each screen size in the interval of 10.5 cm to 14 cm. For example, the terminal determines that the third duration at the screen size of 11 cm is 10 minutes, the third duration at the screen size of 12 cm is 90 minutes, the third duration at the screen size of 13 cm is 20 minutes, and the third duration at the screen size of 14 cm is 20 minutes.
[0086] Step 807: determine the screen size corresponding to the longest third duration as the target screen size.
[0087] Further, the terminal determines the longest third duration, and determines the screen size corresponding thereto as the target screen size. In combination with the example in the above steps, the terminal determines 12 cm as the target screen size.
[0088] Step 808 , in response to the current display screen state not matching the target display screen state, controlling the flexible display screen to be extended or retracted according to the target screen size, wherein the size of the exposed display area of the flexible display screen after extension or retraction is the target screen size.
[0089] In a possible implementation, if the current display screen state does not match the target display screen state, the terminal generates a telescopic instruction according to the target screen size, thereby sending the telescopic instruction to the screen mechanical component, so that the screen mechanical component controls the flexible display screen to telescope to the target screen size.
[0090] Step 809 : In response to the current display screen state matching the target display screen state, determine the current screen size of the flexible display screen.
[0091] If the current display state matches the target display state, the terminal maintains the current display state of the flexible display.
[0092] In order to avoid affecting user usage due to the fact that the screen size of the exposed display area of the flexible display may be significantly different from the target screen size in the current display state, in a possible implementation, the terminal determines the current screen size of the flexible display, and then determines whether the current screen size needs to be fine-tuned based on the current screen size and the target screen size.
[0093] Step 810: In response to the difference between the current screen size and the target screen size being smaller than a fourth threshold, controlling the flexible display screen to maintain the current screen size.
[0094] In a possible implementation, if the size difference between the current screen size and the target screen size is small, adjusting the current screen size will not significantly improve the user's use, but will interfere with the user's use due to automatic adjustment, so if the size difference between the current screen size and the target screen size is less than a fourth threshold, the flexible display screen is controlled to maintain the current screen size. For example, the fourth threshold is 0.5 cm.
[0095] In an illustrative example, if the current screen size is 12.3×7 cm and the target screen size is 12×7 cm, since the size difference between the two is 0.3 cm, which is less than 0.5 cm, the terminal maintains the current screen size.
[0096] Step 811, in response to the size difference between the current screen size and the target screen size being greater than a fourth threshold, controlling the flexible display screen to be extended or retracted according to the size difference, wherein the size of the exposed display area of the flexible display screen after extension or retraction is the target screen size.
[0097] Similarly, if the size difference between the current screen size and the target screen size is small, adjusting the current screen size will significantly improve user experience. Therefore, the terminal controls the expansion and contraction of the flexible display according to the size difference so that the screen size of the flexible display reaches the target screen size.
[0098] In an illustrative example, if the current screen size is 13×7 cm and the target screen size is 12×7 cm, since the size difference between the two is 1 cm which is greater than 0.5 cm, the terminal controls the flexible display screen to shrink by 1 cm so that the screen size reaches 12×7 cm.
[0099] In the above embodiments, the flexible display screen is automatically controlled by the terminal, so the user's holding posture of the terminal will affect the automatic extension. In order to ensure the normal execution of automatic extension, in a possible implementation, when controlling the extension of the flexible display screen, the terminal obtains the terminal holding state, and if the terminal holding state supports automatic extension, the flexible display screen is controlled to extend; if the terminal holding posture does not support automatic extension, a reminder to adjust the holding posture is given.
[0100] Regarding the method of obtaining the terminal holding posture, in some embodiments, a sensor is provided at the edge of the first shell and the second shell (i.e., constituting the middle frame of the terminal), and the sensor may be at least one of a touch sensor, a pressure sensor, and a thermal sensor. The terminal determines the terminal holding posture through the sensor data collected by the sensor.
[0101] For example, when sensor data is collected at the first shell edge and the second shell edge at the same time, the terminal determines that the terminal holding posture does not support automatic extension; when only the first shell edge or the second shell edge collects sensor data, the terminal determines that the terminal holding posture supports automatic extension.
[0102] Optionally, the method of providing the reminder for adjusting the holding posture may include at least one of a vibration reminder, a text reminder, an animation reminder, and a voice reminder, which is not limited in this embodiment.
[0103] In this embodiment, the terminal counts the time that the flexible display screen is in the extended state and the curled state in the application scenario, and determines the target display screen state corresponding to the application scenario according to the proportion of the time. That is, the display screen state that is maintained for the longest time in the application scenario is determined as the target display screen state, so that the determined target display screen state is likely to meet the user's usage habits, thereby improving the accuracy of automatic control of the display screen.
[0104] In addition, in this embodiment, the terminal further determines the optimal screen size of the target display state based on the retention time corresponding to different screen sizes under the target display state, and then controls the extension and retraction of the flexible display based on the optimal screen size, so that the screen size of the flexible display after extension and retraction conforms to the user's personal usage habits, further improving the user experience after the display is automatically extended and retracted.
[0105] At the same time, in this embodiment, before controlling the automatic extension of the flexible display, the terminal obtains the terminal holding state and controls the extension of the flexible display when the holding state supports automatic extension, thereby avoiding the user's holding gesture from affecting the automatic extension of the screen and improving the safety of automatic extension.
[0106] For some application scenarios that appear for the first time or infrequently, the target display screen state determined based on the statistical data may be biased due to the limited statistical data of the display screen state in the application scenario. In order to improve the accuracy of the determined target display screen state, the terminal can obtain the target display screen state of other terminals in the application scenario from the server. Figure 8 On the basis of Fig. 9 As shown, steps 803 to 805 can be replaced by step 8031, and step 802 can also include 8032 and 8033.
[0107] Step 8031, in response to the total usage time in the current application scenario being greater than a third threshold, determining a target display screen state corresponding to the current application scenario according to the first time and the second time.
[0108] Optionally, the total duration used is the sum of the first duration and the second duration.
[0109] If the total usage time is greater than the third threshold, the terminal determines that the statistical data in the current application scenario is sufficient, and thus determines the target display screen state according to the first time length and the second time length. This process can refer to the above steps 804 and 805, and this embodiment will not be repeated here.
[0110] In an illustrative example, if the total usage time of the current application scenario is greater than 100 minutes, the terminal determines the target display screen state corresponding to the current application scenario according to the first time length and the second time length.
[0111] Step 8032, in response to the total usage time in the current application scenario being less than the third threshold, sending a target user portrait to the server, the target user portrait including the display screen status corresponding to other application scenarios, and the display screen status corresponding to other application scenarios is determined based on the historical display screen status of the flexible display screen in other application scenarios.
[0112] In a possible implementation, the terminal determines the display screen status corresponding to different application scenarios (the total usage time of the application scenario is greater than the third threshold) based on the statistical data under different application scenarios, and constructs a target user portrait based on the correspondence between the application scenario and the display screen status. In an illustrative example, the target user portrait (the application scenario includes foreground application information, power information, and location information) includes data as shown in Table 2.
[0113] Table 2
[0114] Foreground application information Battery Information Location information Display status Video playback application More than 50% Public Places Curled state Video playback application Less than 50% Public Places Curled state Video playback application More than 50% Private Places Stretched state News Reading Apps More than 50% Public Places Stretched state News Reading Apps Less than 50% Public Places Curled state News Reading Apps More than 50% Private Places Stretched state
[0115] Optionally, the terminal uploads the constructed target user portrait to the server, and the server analyzes the user portraits uploaded by a large number of terminals to determine associated terminals that have similar usage habits to the current terminal.
[0116] When the total usage time in the current application scenario is less than the third threshold, the terminal sends a display screen status acquisition request to the server, which includes the scenario information corresponding to the current application scenario, and requests the server to feedback the target display screen status corresponding to the current application scenario.
[0117] In some embodiments, in addition to the correspondence between application scenarios and display screen states, the user portrait may also include user information, such as user age, user gender, user region, or terminal information, such as terminal model, applications installed on the terminal, and frequency of application use, etc. This implementation is not limited to this.
[0118] Step 8033, receiving the target display screen state fed back by the server, the target display screen state is determined by the server based on the display screen state corresponding to the current application scenario in the reference user portrait, and the matching degree between the display screen state corresponding to other application scenarios in the reference user portrait and the target user portrait is greater than the matching degree threshold.
[0119] In one possible implementation, after obtaining the target user portrait, the server performs data conversion processing on the data therein to obtain a target portrait matrix corresponding to the target user portrait conversion, and calculates the matching degree between the target portrait matrix and the massive portrait matrix, thereby determining the portrait matrix with a matching degree higher than the matching degree threshold as the reference portrait matrix, and then determining the target display screen state corresponding to the current application scenario based on the reference user portrait corresponding to the reference portrait matrix (including the display screen state corresponding to the current application scenario).
[0120] In addition, the server may also determine the similarity between user portraits based on other information, such as the above-mentioned user information and terminal information, etc., which is not limited in this embodiment.
[0121] The server will feed back the determined target display screen status to the terminal so that the terminal can automatically scale the screen according to the target display screen status provided by the server (determined based on the screen usage habits of similar users in the current application scenario) when the corresponding statistical data for the current application scenario is insufficient.
[0122] In this embodiment, the terminal sends the user portrait corresponding to the current terminal to the server, and the server determines a reference user portrait similar to the current user portrait from massive user portraits, and then determines the target display screen state according to the display screen state corresponding to the current application scenario in the reference user portrait, and feeds back to the terminal for automatic scaling control, thereby improving the accuracy of automatic screen scaling control in application scenarios that appear for the first time or in low-frequency application scenarios.
[0123] Please refer to Fig.10 , which shows a structural block diagram of a control device for a display screen provided by an embodiment of the present application. The device can be implemented as all or part of a terminal through software, hardware, or a combination of both. The device includes:
[0124] An acquisition module 1001 is used to acquire a current display screen state of the flexible display screen in a current application scenario, where the current display screen state includes at least one of an extended state and a rolled state;
[0125] A state determination module 1002 is used to determine a target display screen state corresponding to the current application scenario, wherein the target display screen state is determined according to a historical display screen state of the flexible display screen in the current application scenario;
[0126] The control module 1003 is configured to control the flexible display screen to extend or retract in response to the current display screen state not matching the target display screen state, wherein the display screen state of the flexible display screen after extension or retraction is the target display screen state.
[0127] Optionally, the state determination module 1002 includes:
[0128] a duration acquisition unit, configured to acquire a first duration that the flexible display screen is in the extended state and a second duration that the flexible display screen is in the rolled state in the current application scenario;
[0129] A state determination unit is used to determine the target display screen state corresponding to the current application scenario according to the first duration and the second duration.
[0130] Optionally, a state determination unit, configured to:
[0131] Determine, according to the first time length and the second time length, a first time length ratio in the stretched state and a second time length ratio in the curled state;
[0132] In response to the first duration ratio being greater than a first threshold, determining that the target display screen state is the extended state;
[0133] In response to the second time duration ratio being greater than a second threshold, the target display screen state is determined to be the contracted state.
[0134] Optionally, the state determination unit is further configured to:
[0135] In response to the total usage duration in the current application scenario being greater than a third threshold, determining the target display screen state corresponding to the current application scenario according to the first duration and the second duration;
[0136] The device also includes:
[0137] a portrait sending module, configured to send a target user portrait to a server in response to the total usage time in the current application scenario being less than the third threshold, wherein the target user portrait includes display screen states corresponding to other application scenarios, and the display screen states corresponding to the other application scenarios are determined according to the historical display screen states of the flexible display screen in the other application scenarios;
[0138] A receiving module is used to receive the target display screen state fed back by the server, wherein the target display screen state is determined by the server based on the display screen state corresponding to the current application scenario in the reference user portrait, and the matching degree between the reference user portrait and the display screen state corresponding to other application scenarios in the target user portrait is greater than a matching degree threshold.
[0139] Optionally, the device further comprises:
[0140] A size determination module is used to determine, in the target display state, a third duration for which the flexible display presents different screen sizes, where the screen size is the size of an exposed display area of the flexible display; and determine the screen size corresponding to the longest third duration as the target screen size;
[0141] The control module 1003 is used to:
[0142] In response to the current display screen state not matching the target display screen state, the flexible display screen is controlled to be extended or retracted according to the target screen size, wherein the size of the exposed display area of the flexible display screen after extension or retraction is the target screen size.
[0143] Optionally, the control module 1003 is further used to:
[0144] In response to the current display screen state matching the target display screen state, the flexible display screen is controlled to maintain the current display screen state.
[0145] Optionally, the control module 1003 further includes:
[0146] A size determining unit, used to determine the current screen size of the flexible display screen;
[0147] A first control unit, configured to control the flexible display screen to maintain the current screen size in response to a size difference between the current screen size and the target screen size being smaller than a fourth threshold;
[0148] A second control unit is used to control the extension and retraction of the flexible display screen according to the size difference in response to the size difference between the current screen size and the target screen size being greater than the fourth threshold, wherein the size of the exposed display area of the flexible display screen after extension and retraction is the target screen size.
[0149] Optionally, the control module 1003 is further used to:
[0150] Get the terminal holding posture;
[0151] In response to the terminal supporting automatic extension and retraction under the holding posture, controlling the flexible display screen to extend and retract;
[0152] The device also includes:
[0153] The prompt module is used for providing a reminder for adjusting the holding posture in response to the terminal not supporting automatic retraction under the holding posture.
[0154] Optionally, the scene information corresponding to the current application scene includes at least one of the following: foreground application information, power information, location information and usage object information.
[0155] To summarize, in the embodiments of the present application, for a terminal equipped with a flexible display screen with a variable exposed display area, the current display screen state of the flexible display screen in the current application scenario is obtained, and the target display screen state corresponding to the current application scenario is determined based on the historical display screen state of the flexible display screen in the current application scenario. When the current display screen state does not match the target display screen state, the flexible display screen is automatically controlled to be in the target display screen state. This realizes that according to the user's habit of extending and retracting the display screen in different application scenarios, the flexible display screen is automatically extended to a display screen state that conforms to the user's usage habits. There is no need for the user to manually stretch the flexible display screen, nor is there a need for the user to trigger the extension and retraction of the flexible display screen by pressing a button. This simplifies the extension and retraction process of the flexible display screen and improves the extension and retraction intelligence of the flexible display screen.
[0156] In this embodiment, the terminal counts the time that the flexible display screen is in the extended state and the curled state in the application scenario, and determines the target display screen state corresponding to the application scenario according to the proportion of the time. That is, the display screen state that is maintained for the longest time in the application scenario is determined as the target display screen state, so that the determined target display screen state is likely to meet the user's usage habits, thereby improving the accuracy of automatic control of the display screen.
[0157] In addition, in this embodiment, the terminal further determines the optimal screen size of the target display state based on the retention time corresponding to different screen sizes under the target display state, and then controls the extension and retraction of the flexible display based on the optimal screen size, so that the screen size of the flexible display after extension and retraction conforms to the user's personal usage habits, further improving the user experience after the display is automatically extended and retracted.
[0158] At the same time, in this embodiment, before controlling the automatic extension of the flexible display, the terminal obtains the terminal holding state and controls the extension of the flexible display when the holding state supports automatic extension, thereby avoiding the user's holding gesture from affecting the automatic extension of the screen and improving the safety of automatic extension.
[0159] In this embodiment, the terminal sends the user portrait corresponding to the current terminal to the server, and the server determines a reference user portrait similar to the current user portrait from massive user portraits, and then determines the target display screen state according to the display screen state corresponding to the current application scenario in the reference user portrait, and feeds back to the terminal for automatic scaling control, thereby improving the accuracy of automatic scaling control of the screen in application scenarios that appear for the first time or in low-frequency application scenarios.
[0160] In the above-mentioned device embodiment, the functional implementation process of each module or unit can refer to the above-mentioned method embodiment, and this embodiment will not be repeated here.
[0161] Please refer to Fig.11 , which shows a block diagram of a terminal provided by an exemplary embodiment of the present application. The terminal 1100 may be a smart phone, a tablet computer, a wearable device, etc. The terminal 1100 in the present application may include one or more of the following components: a processor 1110, a memory 1120, and a flexible display screen 1130.
[0162] The processor 1110 may include one or more processing cores. The processor 1110 uses various interfaces and lines to connect the various parts of the entire terminal 1100, and executes various functions and processes data of the terminal 1100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1120, and calling data stored in the memory 1120. Optionally, the processor 1110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1110 can integrate one or more combinations of a central processing unit (CPU), a graphics processing unit (GPU), a neural network processor (NPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content that needs to be displayed on the touch display 1130; the NPU is used to implement artificial intelligence (AI) functions; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 1110, but may be implemented by a separate chip.
[0163] The memory 1120 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 1120 includes a non-transitory computer-readable storage medium. The memory 1120 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 1120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.; the data storage area may store data created according to the use of the terminal 800 (such as audio data, a phone book), etc.
[0164] The flexible display screen 1130 is used to receive a touch operation on or near the flexible display screen 1130 using any suitable object such as a finger or a touch pen, and to display the user interface of each application. The flexible display screen 1130 is usually arranged on the front panel of the terminal 1100. In the embodiment of the present application, the size of the exposed display area of the flexible display screen 1130 can be changed with the retracting operation; optionally, the terminal 1100 can only light up the exposed display area of the flexible display screen 1130.
[0165] In the embodiment of the present application, the terminal 1100 further includes a driving member, which is used to drive the flexible display screen to expand or contract. Optionally, the terminal 1100 further includes a driving mechanism, which is used to drive the first shell and the second shell to perform relative motion.
[0166] In addition, those skilled in the art will appreciate that the structure of the terminal 1100 shown in the above figures does not limit the terminal 1100, and the terminal may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the terminal 1100 also includes a radio frequency circuit, a shooting component, a sensor, an audio circuit, a wireless fidelity (WiFi) component, a power supply, a Bluetooth component, and other components, which will not be described in detail here.
[0167] An embodiment of the present application further provides a computer-readable medium storing at least one instruction, wherein the at least one instruction is loaded and executed by a processor to implement the control method of a display screen as described in the above embodiments.
[0168] An embodiment of the present application further provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by a processor to implement the control method of the display screen described in the above embodiments.
[0169] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.
[0170] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for controlling a display screen, characterized in that: The method is used for a terminal with a flexible display screen, the terminal comprising a first shell and a second shell, the second shell being slidably connected to the first shell, and the second shell and the first shell changing an exposed display area of the flexible display screen through relative movement, the method comprising: Acquire a current display screen state of the flexible display screen in a current application scenario, where the current display screen state includes at least one of an extended state and a rolled state; Determine a target display screen state corresponding to the current application scenario, wherein the target display screen state is determined according to a historical display screen state of the flexible display screen in the current application scenario, and the target display screen state conforms to a user screen extension habit in the current application scenario; Determine the presentation duration of the flexible display screen at different screen sizes in the target display screen state as a third duration corresponding to the screen size, where the screen size is the size of an exposed display area of the flexible display screen; Determine the screen size corresponding to the longest third duration as the target screen size; In response to the current display screen state not matching the target display screen state, the flexible display screen is controlled to be extended or retracted according to the target screen size, wherein the size of the exposed display area of the flexible display screen after extension or retraction is the target screen size.
2. The method according to claim 1, characterized in that: The determining of the target display screen state corresponding to the current application scenario includes: Acquire a first duration that the flexible display screen is in the extended state and a second duration that the flexible display screen is in the rolled state in the current application scenario; The target display screen state corresponding to the current application scenario is determined according to the first duration and the second duration.
3. The method according to claim 2, characterized in that The determining, according to the first duration and the second duration, the target display screen state corresponding to the current application scenario includes: Determine, according to the first time length and the second time length, a first time length ratio in the stretched state and a second time length ratio in the curled state; In response to the first duration ratio being greater than a first threshold, determining that the target display screen state is the extended state; In response to the second time duration ratio being greater than a second threshold, determining that the target display screen state is the curled state.
4. The method according to claim 2, characterized in that: The determining, according to the first duration and the second duration, the target display screen state corresponding to the current application scenario includes: In response to the total usage duration in the current application scenario being greater than a third threshold, determining the target display screen state corresponding to the current application scenario according to the first duration and the second duration; The method further comprises: In response to the total usage time in the current application scenario being less than the third threshold, sending a target user portrait to a server, wherein the target user portrait includes display screen states corresponding to other application scenarios, and the display screen states corresponding to the other application scenarios are determined according to the historical display screen states of the flexible display screen in the other application scenarios; Receive the target display screen state fed back by the server, where the target display screen state is determined by the server based on the display screen state corresponding to the current application scenario in the reference user portrait, and the matching degree between the reference user portrait and the display screen state corresponding to other application scenarios in the target user portrait is greater than a matching degree threshold.
5. The method according to any one of claims 1 to 4, characterized in that: After determining the target display screen state corresponding to the current application scenario, the method further includes: In response to the current display screen state matching the target display screen state, the flexible display screen is controlled to maintain the current display screen state.
6. The method according to claim 5, characterized in that The controlling the flexible display screen to maintain the current display screen state includes: Determining a current screen size of the flexible display screen; In response to a size difference between the current screen size and the target screen size being smaller than a fourth threshold, controlling the flexible display screen to maintain the current screen size; In response to a size difference between the current screen size and the target screen size being greater than the fourth threshold, the flexible display screen is controlled to be retracted according to the size difference, wherein the size of the exposed display area of the flexible display screen after retraction is the target screen size.
7. The method according to any one of claims 1 to 4, characterized in that: The controlling the flexible display screen to extend and retract comprises: Get the terminal holding posture; In response to the terminal supporting automatic extension and retraction under the holding posture, controlling the flexible display screen to extend and retract; The method further comprises: In response to the terminal not supporting automatic retraction in the holding posture, a holding posture adjustment reminder is provided.
8. The method according to any one of claims 1 to 4, characterized in that: The scene information corresponding to the current application scene includes at least one of the following: foreground application information, power information, location information and usage object information.
9. A control device for a display screen, characterized in that: The device is used for a terminal with a flexible display screen, the terminal comprises a first shell and a second shell, the second shell is slidably connected to the first shell, and the second shell and the first shell change the exposed display area of the flexible display screen through relative movement, the device comprises: An acquisition module, used to acquire a current display screen state of the flexible display screen in a current application scenario, wherein the current display screen state includes at least one of an extended state and a rolled state; A state determination module, used to determine a target display screen state corresponding to the current application scenario, wherein the target display screen state is determined according to a historical display screen state of the flexible display screen in the current application scenario, and the target display screen state conforms to the user's screen extension and retraction habits in the current application scenario; a size determination module, configured to determine, in the target display state, a presentation duration of the flexible display screen at different screen sizes as a third duration corresponding to the screen size, where the screen size is a size of an exposed display area of the flexible display screen; and determine the screen size corresponding to the longest third duration as the target screen size; The control module is used for controlling the extension and retraction of the flexible display screen according to the target screen size in response to the current display screen state not matching the target display screen state, wherein the size of the exposed display area of the flexible display screen after extension and retraction is the target screen size.
10. A terminal, characterized in that: The terminal includes a processor and a memory; the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to implement the control method of the display screen as described in any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction, and the at least one instruction is used to be executed by a processor to implement the control method of a display screen as described in any one of claims 1 to 8.
