CN113741624A - Terminal control method, device, terminal and storage medium - Google Patents

Terminal control method, device, terminal and storage medium Download PDF

Info

Publication number
CN113741624A
CN113741624A CN202010473945.0A CN202010473945A CN113741624A CN 113741624 A CN113741624 A CN 113741624A CN 202010473945 A CN202010473945 A CN 202010473945A CN 113741624 A CN113741624 A CN 113741624A
Authority
CN
China
Prior art keywords
state
terminal
screen
flexible display
display screen
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
CN202010473945.0A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010473945.0A priority Critical patent/CN113741624A/en
Publication of CN113741624A publication Critical patent/CN113741624A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a terminal control method, a terminal control device, a terminal and a storage medium, and relates to the technical field of terminals. The method is applied to a terminal with a flexible display screen, the terminal comprises a first shell and a second shell, the second shell is connected with the first shell in a sliding mode, and the second shell and the first shell change the exposed display area of the flexible display screen through relative movement, and the method comprises the following steps: acquiring the current state information of the terminal, wherein the state information comprises the environment state of the terminal and the display state of the terminal; when the terminal is in a preset state, acquiring screen states of the flexible display screen, wherein the screen states comprise a rolling state and an extending state; and controlling the first shell and the second shell to move relatively to enable the flexible display screen to be curled in response to the flexible display screen being in the stretching state. According to the embodiment of the application, the function of automatically curling the screen is realized when the terminal is in the preset state, the flexibility is high, and the user experience is good.

Description

Terminal control method, device, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to a terminal control method, a terminal control device, a terminal and a storage medium.
Background
With the development of the times, terminals are becoming an indispensable part of people's lives.
In the related art, in order to meet the needs of people, the display screen of a terminal is increasingly large, and a terminal manufacturer produces a flexible display screen and a folding display screen: the flexible display screen refers to a display screen which can be bent and folded; the foldable display screen refers to a foldable display screen.
Disclosure of Invention
The embodiment of the application provides a terminal control method, a terminal control device, a terminal and a storage medium. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a terminal control method, where the method is applied to a terminal having a flexible display screen, where the terminal includes a first housing and a second housing, the second housing is slidably connected to the first housing, and the second housing and the first housing change an exposed display area of the flexible display screen through a relative motion, and the method includes:
acquiring current state information of the terminal, wherein the state information comprises an environment state of the terminal and a display state of the terminal;
when the terminal is in a preset state, acquiring screen states of the flexible display screen, wherein the screen states comprise a rolling state and an extending state;
controlling the first shell and the second shell to move relatively to enable the flexible display screen to be rolled and contracted in response to the flexible display screen being in the stretching state.
In another aspect, an embodiment of the present application provides a terminal control device, where the device is applied to a terminal having a flexible display screen, where the terminal includes a first housing and a second housing, the second housing is slidably connected to the first housing, and the second housing and the first housing change an exposed display area of the flexible display screen through a relative motion, and the device includes:
the information acquisition module is used for acquiring the current state information of the terminal, and the state information comprises the environment state of the terminal and the display state of the terminal;
the state acquisition module is used for acquiring the screen state of the flexible display screen when the terminal is in a preset state, wherein the screen state comprises a rolling state and an extending state;
and the screen control module is used for controlling the first shell and the second shell to move relatively in response to the flexible display screen being in the stretching state, so that the flexible display screen is curled.
In another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the terminal control method according to the above aspect.
In still another aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program is loaded and executed by a processor to implement the terminal control method according to the above aspect.
The technical scheme provided by the embodiment of the application can bring the following beneficial effects:
through the state information who obtains the terminal to when the terminal is in the state of predetermineeing, and when the flexible display screen was in the state of extending, the first casing of automatic control and second casing relative motion, so that the flexible display screen is in the state of crimpling, this application embodiment has realized when the terminal is in the state of predetermineeing, the function of the screen of automatic crimpling, and the flexibility is high, and user experience is good.
Drawings
Fig. 1 to 5 are schematic diagrams of a terminal provided in an embodiment of the present application;
fig. 6 is a flowchart of a terminal control method according to an embodiment of the present application;
fig. 7 is a flowchart of a terminal control method according to another embodiment of the present application;
fig. 8 is a flowchart of a terminal control method according to another embodiment of the present application;
fig. 9 is a block diagram of a terminal control apparatus according to an embodiment of the present application;
fig. 10 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
In the method provided by the embodiment of the application, the execution main body of each step may be a terminal. Alternatively, the terminal is an electronic device such as a mobile phone, a tablet Computer, a smart wearable device, a PC (Personal Computer), a laptop portable Computer, or the like.
For example, the terminal in the embodiment of the present application is a terminal having a display screen, and the display screen is a terminal having a flexible display screen, and the structure of the terminal will be described first.
Referring to fig. 1 to fig. 3, a terminal 100 according to an embodiment of the present disclosure includes a housing assembly 10, a flexible display 30, a driver 50, and a driving mechanism 70. The shell assembly 10 is a hollow structure; the components of the driver 50, the drive mechanism 70, and the camera 90 may all be disposed in the housing assembly 10. It is understood that the terminal 100 of 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, and herein, the terminal 100 is taken as a mobile phone for example.
In the present embodiment, the housing assembly 10 includes a first housing 12 and a second housing 14, and the first housing 12 and the second housing 14 are capable of relative movement. In one possible embodiment, the first housing 12 and the second housing 14 are slidably connected, that is, the second housing 14 is slidable relative to the first housing 12.
Optionally, referring to fig. 4 and fig. 5, the first casing 12 and the second casing 14 together form an accommodating space 16. The accommodating space 16 can be used for accommodating components such as the driver 50, the camera 60, the driving mechanism 70 and the like. The housing assembly 10 may further include a rear cover 18, and the rear cover 18 and the first and second housings 12 and 14 together form an accommodating space 16.
Optionally, the driving element 50 is disposed in the second housing 14, one end of the flexible display 30 is disposed in the first housing 12, the flexible display 30 bypasses the driving element 50, and the other end of the flexible display is disposed in the accommodating space 16, so that a part of the flexible display is hidden in the accommodating space 16, and the part of the flexible display 30 hidden in the accommodating space 16 may not be lighted. The first housing 12 and the second housing 14 are relatively far away from each other, and the driving member 50 can drive the flexible display 30 to unfold, so that more flexible display 30 is exposed out of the accommodating space 16. The flexible display 30 exposed to the outside of the accommodating space 16 is illuminated so that a display area presented by the terminal 100 becomes large.
Optionally, the driving member 50 is a rotating shaft structure with teeth 52 on the outside, the flexible display 30 is linked with the driving member 50 by means of meshing or the like, and when the first casing 12 and the second casing 14 are relatively far away, the driving member 50 drives a portion of the flexible display 30 meshed with the driving member 50 to move and unfold.
It is understood that the driver 50 can also be a circular shaft without the belt 52, and when the first casing 12 and the second casing 14 are relatively far away from each other, the driver 50 can stretch the portion of the flexible display 30 wound on the driver 50, so that more flexible display is exposed out of the accommodating space 16 and is in a flat state. Optionally, the driving member 50 is rotatably disposed on the second housing 14, and the driving member 50 can rotate along with the movement of the flexible display 30 when the flexible display 30 is gradually opened. In other embodiments, the driver 50 may be fixed to the second housing 14, and the driver 50 may have a smooth surface. When the flexible display 30 is spread, the driver 50 is slidably contacted with the flexible display 30 through its smooth surface.
When the first housing 12 and the second housing 14 are relatively close to each other, the flexible display screen can be retracted by the driving member 50. Alternatively, the terminal 100 further includes a reset element (not shown), one end of the flexible display screen, which is accommodated in the accommodating space 16, is linked with the reset element, and when the first housing 12 and the second housing 14 are relatively close to each other, the reset element drives the flexible display screen 30 to reset, so that a part of the flexible display screen is retracted into the accommodating space 16.
In the embodiment of the present application, the driving mechanism 70 may be disposed in the accommodating space 16, the driving mechanism 70 may be linked with the second housing 14, and the driving mechanism 70 is configured to drive the second housing 14 to move away from the first housing 12, so as to drive the flexible display panel assembly 30 to extend. It will be appreciated that the drive mechanism 70 may be omitted and the user may directly move the first and second housings relative to one another, manually, etc.
Referring to fig. 6, a flowchart of a terminal control method according to an embodiment of the present application is shown. The embodiment of the present application is described by taking the method as an example executed by the terminal shown in fig. 1 to 5. The method may include several steps as follows.
Step 601, acquiring the current state information of the terminal.
In the embodiment of the application, the state information includes an environment state where the terminal is located and a display state of the terminal. For example, the environmental state includes a storage environment and a non-storage environment. The display state of the terminal comprises a screen-turning-off state and a screen-lighting state.
In a possible implementation manner, before the terminal acquires the current state information, the control system is started first, where starting the control system refers to calling a process to execute the terminal control process in the embodiment of the present application.
Step 602, when the terminal is in a preset state, acquiring a screen state of the flexible display screen.
In the embodiment of the present application, the screen state includes a rolled state and an extended state. The rolled state and the stretched state are two different states of the flexible display.
In a possible implementation manner, the terminal acquires a stretching distance of the flexible display screen through the displacement sensor, so that the screen state of the flexible display screen is determined according to the stretching distance. Optionally, if the stretching distance of the flexible display screen is smaller than a first distance threshold, the terminal determines that the flexible display screen is in a rolling state, and if the stretching distance of the flexible display screen is greater than or equal to the first distance, the terminal determines that the flexible display screen is in a stretching state, wherein the first distance threshold is less than or equal to the maximum stretching distance of the flexible display screen. For example, the minimum size of the exposed display area of the flexible display screen is 7 × 7cm, the maximum size is 7 × 14cm, and the maximum stretching distance is 7 cm. If the stretching distance of the flexible display screen is less than 7cm (namely, the exposed display area is less than 7 multiplied by 14cm), the flexible display screen is in a rolling state, and if the stretching distance of the flexible display screen is equal to 7cm (namely, the exposed display area is equal to 7 multiplied by 14cm), the flexible display screen is in an extending state.
Of course, besides obtaining the screen state of the flexible display screen in the above manner, the terminal may also obtain the screen state in other manners (for example, obtaining the screen state through a mechanical structure connected to the flexible display screen), which is not limited in this embodiment of the application.
When the terminal is in the preset state, the terminal needs to control the flexible display screen according to the screen state, namely, the exposed display area of the flexible display screen is changed, and at the moment, the terminal needs to acquire the screen state of the flexible display screen.
And 603, in response to the flexible display screen being in the extended state, controlling the first shell and the second shell to move relatively, so that the flexible display screen is rolled.
When the terminal is in a preset state, it indicates that the flexible display screen needs to be in a rolled state, and therefore when the flexible display screen is in an extended state, the first shell and the second shell need to be controlled to move relatively, so that the flexible display screen is rolled.
To sum up, among the technical scheme that this application embodiment provided, through the state information who acquires the terminal to when the terminal is in the preset state, and when flexible display screen was in the extension state, the first casing of automatic control and second casing relative motion, so that flexible display screen was in the state of curling, this application embodiment has realized when the terminal was in the preset state, the function of the screen that automatically curls, and the flexibility is high, and user experience is good.
Referring to fig. 7, a flowchart of a terminal control method according to another embodiment of the present application is shown. The embodiment of the present application is described by taking the method as an example executed by the terminal shown in fig. 1 to 5. The method may include several steps as follows.
Step 701, acquiring an environment state of the terminal based on the ambient light sensor.
The ambient light sensor is used to detect light around the terminal.
Step 702, determining the display state of the terminal based on the on-off screen state of the terminal.
In the embodiment of the application, the display state of the terminal comprises a screen-on state and a screen-off state, and the screen-on state comprises a screen-locking state. The bright screen state and the breath screen state are two different display states of the screen of the terminal. The screen-saving state refers to a state in which the screen of the terminal is not lighted, and may also be referred to as a screen-off state. The bright screen state refers to a state in which a screen of the terminal is emitting light. When the terminal is in the screen locking state, the flexible display screen of the terminal can be in the screen lightening state and the screen turning-off state.
It should be noted that step 701 and step 702 may be executed simultaneously; alternatively, step 702 may be performed first, and then step 701 may be performed; alternatively, step 701 may be executed first, and then step 702 may be executed, which is not limited in this embodiment of the present application.
And 703, acquiring the screen state of the flexible display screen when the terminal is in a preset state.
In the embodiment of the present application, the screen state includes a rolled state and an extended state.
And 704, controlling the first shell and the second shell to move relatively to enable the flexible display screen to be rolled in response to the flexible display screen being in the stretching state.
For the description of step 703 and step 704, reference may be made to the above embodiments, which are not repeated herein.
Referring to fig. 8, a flowchart of a terminal control method according to another embodiment of the present application is shown. The embodiment of the present application is described by taking the method as an example executed by the terminal shown in fig. 1 to 5. The method may include several steps as follows.
Step 801, a first sensor value output by an ambient light sensor is obtained.
Step 802, in response to the first sensor value being less than the first threshold, a second sensor value output by the distance sensor is obtained.
The terminal obtains a first sensor value output by the ambient light sensor and compares the first sensor value with a first threshold value. If the first sensor value is greater than the first threshold, it indicates that the terminal is not in a dark environment, e.g., a user may be in a normal circulation or office environment; if the first sensor value is less than the first threshold, this indicates that the terminal is in a dark environment, e.g., the terminal may be stowed in a pants pocket, a clothing pocket, or a backpack by the user, where further detection by the terminal is required.
And step 803, in response to the second sensor value being smaller than the second threshold value, determining that the terminal is currently in the storage environment.
The distance sensor, which may also be referred to as a proximity sensor, is used to detect the presence or proximity of an object around the terminal. The terminal detects whether a shielding object exists in a preset range through the distance sensor. Optionally, the preset range is set to be a circumferential range with the center of the terminal as a circle center and R as a radius, and R is 0-1 cm; when R is 0, indicating that the object is in contact with the terminal; r may be 0.5, 0.8, or other values, etc., which are not limited in the examples of the present application.
When the value of the second sensor is smaller than the second threshold value, it indicates that the terminal detects that a shielding object exists in the preset range, and the terminal may be stored in a pocket or a backpack.
When the first sensor value is smaller than the first threshold value and the second sensor value is larger than the second threshold value, it indicates that the terminal detects that no shielding object exists in the preset range, and at this time, the user may use the terminal in a dark environment, and the process is ended.
And step 804, determining the display state of the terminal based on the on-off screen state of the terminal.
In the embodiment of the application, the display state of the terminal comprises a screen-on state and a screen-off state, and the screen-on state comprises a screen-locking state.
It should be noted that step 804 may be executed first, and then step 801 may be executed; alternatively, step 801 and step 804 may be performed simultaneously; alternatively, step 801 may be performed first, and then step 804 may be performed, which is not limited in this embodiment of the application.
Step 805, when the terminal is in the screen turning state, acquiring the screen state of the flexible display screen.
When the terminal is in the screen-turning state, the user is not browsing the terminal. At this time, the user may greatly not need to use the terminal, which may be put into a storage pocket, for example, a trousers pocket, a clothes pocket, a backpack, etc., by the user. The terminal needs to detect whether the flexible display screen is in a curling state or not so as to reasonably control the occupied space of the terminal.
Step 806, when the terminal is in the bright screen state and the terminal is in the lock screen state, obtaining the screen state of the flexible display screen.
In a possible implementation mode, the terminal is triggered to enter a screen locking state through a power key of the touch terminal.
If the terminal is in the screen locking state, but the flexible display screen of the terminal is in the screen lightening state, the reason causing the phenomenon may be that the user accidentally touches the screen of the terminal or the user accidentally touches the power key, and the like, at this time, the terminal needs to confirm whether the flexible display screen of the terminal is in the scroll state, and a corresponding decision is given: when the flexible display screen of the terminal is in the stretching state, controlling the flexible display screen of the terminal to be in the rolling state; and when the flexible display screen of the terminal is in a rolling state, ending the process.
In step 807, when the terminal is in the storage environment and the terminal is in the screen-off state or the screen-locking state, the screen state of the flexible display screen is obtained.
When the terminal is in the storage state and the terminal is in the screen resting state or the screen locking state, the terminal can reasonably control the flexible display screen according to the screen state of the flexible display screen, so that the occupied space of the terminal is more reasonable.
It should be noted that, step 805 to step 807 are optionally performed, that is, step 808 may be directly performed after step 805 is performed, step 808 may be directly performed after step 806 is performed, step 808 may also be directly performed after step 807 is performed, and step 808 is also directly performed after step 807 is performed, which is not limited in this embodiment of the present application.
And 808, controlling the first shell and the second shell to move relatively to enable the flexible display screen to be rolled in response to the flexible display screen being in the stretching state.
When the terminal is in the screen state of resting, perhaps, when the terminal is in bright screen state, and the terminal is in the lock screen state, perhaps, when the terminal is in the environment of accomodating, and the terminal is in the screen state of resting or the lock screen state, if the flexible display screen at terminal is in the state of extending, then the space that can make the terminal occupy is great, causes inconvenience for the user to make user experience relatively poor. Therefore, when the terminal is in a screen-displaying state and the flexible display screen at the terminal is detected to be in an extending state, the flexible display screen at the terminal is controlled to be curled, so that the flexible display screen is in a curled state, the occupied space of the terminal is reduced, the terminal is convenient for a user to store, and the user experience is good. In addition, the user does not need to manually remove the crimping screen, but the terminal automatically removes the crimping screen, so that the flexibility is high, and the practicability and the experience of the user are improved.
When the flexible display screen of the terminal is in a bright screen state and the terminal is in an unlocked state, whether the terminal is used by a user or not needs to be determined, or whether the terminal is directly stored under the condition that the screen is not turned off and locked or not needs to be determined. In a possible implementation, whether the terminal is being used by the user is determined by detecting whether the terminal is in a call state. For the description about whether the terminal is in the storage state, refer to the above embodiments, and are not described herein again.
In a possible implementation manner, the flexible display screen of the terminal is controlled to be switched from the rolling state to the stretching state in response to the terminal being switched from the screen locking state to the screen unlocking state. When switching from the lock screen state to the unblock state, the terminal is automatic to be switched flexible display screen from the state of rolling up and contracting into the state of extending, and convenience of customers uses the terminal, and the flexibility is high, and user experience is good.
When the user does not have the condition of turning off the screen at the terminal and just directly accomodate the terminal into the pocket etc. under the local condition, the terminal also can carry out a series of judgments and realize the function of automatic shrink screen, and then improves user's practicality and experience nature.
In an exemplary embodiment, the terminal causes the flexible display to scroll by:
firstly, determining the rolling distance of the flexible display screen.
In a possible implementation, the terminal determines the crimping distance by:
1. and acquiring the current screen length of the flexible display screen in the stretching state.
In the embodiment of the application, the current screen length is the length of the exposed display area in the relative movement direction of the shell.
2. And determining the curling distance according to the current screen length and the target screen length.
In one possible embodiment, the distance between the current screen length and the target screen length is the scroll distance. For example, if the current screen length is 10cm and the target screen length is 5cm, the scrolling distance is 5 cm.
In the embodiment of the present application, the target screen length is a minimum scrolling length of the flexible display screen in the relative movement direction of the housing, or an adaptive screen length, and the adaptive screen length is greater than or equal to the minimum scrolling length. In a possible implementation manner, the length of the adaptive screen is preset by a user, for example, the length of the adaptive screen of the terminal is preset by the user to be 6cm when the terminal is in a preset state; alternatively, the adaptive screen length is determined by the environment where the terminal is located, for example, when the terminal is in the storage state, the terminal obtains the distance between itself and the storage environment, and determines the adaptive screen length according to the distance. Optionally, the smaller the distance between the terminal and the storage environment is, the shorter the adaptive screen length is; the larger the distance between the terminal and the storage environment is, the longer the adaptive screen length is.
And secondly, generating a curling instruction according to the curling distance.
Optionally, the terminal generates a curling instruction which can be recognized by the screen mechanical assembly according to the curling distance. The screen mechanical component may be the driving mechanism 70 shown in fig. 4, and the scrolling command may be a Pulse Width Modulation (PWM) signal for controlling the motor (belonging to the driving mechanism 70) to rotate.
And thirdly, sending a curling instruction to a screen mechanical assembly, wherein the screen mechanical assembly is used for controlling the first shell and the second shell to move relatively according to the curling instruction so as to enable the flexible display screen to curl.
In a possible implementation manner, the screen mechanical assembly controls only the first housing to move, or controls the second housing to move, or controls the first housing and the second housing to move together according to the scrolling command, which is not limited in the embodiment of the present application. The terminal sends a curling instruction to the screen mechanical assembly, and the screen mechanical assembly controls the flexible display screen to curl according to the curling distance indicated by the curling instruction, so that the screen length of the flexible display screen after the curling is the target screen length.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 9, a block diagram of a terminal control device provided in an embodiment of the present application is shown, where the terminal control device is applied to a terminal having a flexible display screen, the terminal includes a first housing and a second housing, the second housing is slidably connected to the first housing, and the second housing and the first housing change an exposed display area of the flexible display screen through a relative motion. The apparatus 900 may include: an information acquisition module 910, a status acquisition module 920, and a screen control module 930.
An information obtaining module 910, configured to obtain current state information of the terminal, where the state information includes an environment state where the terminal is located and a display state of the terminal;
a state obtaining module 920, configured to obtain a screen state of the flexible display screen when the terminal is in a preset state, where the screen state includes a rolled state and an extended state;
a screen control module 930, configured to control the relative movement of the first housing and the second housing to cause the flexible display to be rolled in response to the flexible display being in the extended state.
To sum up, among the technical scheme that this application embodiment provided, through the state information who acquires the terminal to when the terminal is in the preset state, and when flexible display screen was in the extension state, the first casing of automatic control and second casing relative motion, so that flexible display screen was in the state of curling, this application embodiment has realized when the terminal was in the preset state, the function of the screen that automatically curls, and the flexibility is high, and user experience is good.
Optionally, the information obtaining module 910 includes: a first acquisition unit and a second acquisition unit (not shown in the figure).
The first acquisition unit is used for acquiring the environmental state of the terminal based on an ambient light sensor;
the second obtaining unit is used for determining the display state of the terminal based on the on-off screen state of the terminal, the display state of the terminal comprises an on-screen state and an off-screen state, and the on-screen state comprises a screen locking state.
Optionally, the first obtaining unit is configured to:
acquiring a first sensor value output by the ambient light sensor;
responding to the first sensor value smaller than a first threshold value, and acquiring a second sensor value output by the distance sensor;
in response to the second sensor value being less than a second threshold, determining that the terminal is currently in a storage environment.
Optionally, the state obtaining module 920 is configured to:
when the terminal is in the screen turning state, acquiring the screen state of the flexible display screen;
when the terminal is in the screen lightening state and the terminal is in the screen locking state, acquiring the screen state of the flexible display screen;
and when the terminal is in the storage environment and the terminal is in the screen-off state or the screen-locking state, acquiring the screen state of the flexible display screen.
Optionally, the screen control module 930 includes: a distance determination unit, an instruction generation unit, and an instruction transmission unit (not shown in the figure).
The distance determining unit is used for determining the curling distance of the flexible display screen;
the instruction generating unit is used for generating a curling instruction according to the curling distance;
and the instruction sending unit is used for sending the curling instruction to a screen mechanical assembly, and the screen mechanical assembly is used for controlling the first shell and the second shell to move relatively according to the curling instruction so as to enable the flexible display screen to curl.
Optionally, the distance determining unit is configured to:
acquiring the current screen length of the flexible display screen in the stretching state, wherein the current screen length is the length of the exposed display area in the relative movement direction of the shell;
and determining the curling distance according to the current screen length and a target screen length, wherein the target screen length is the minimum curling length of the flexible display screen in the relative movement direction of the shell or the self-adaptive screen length, and the self-adaptive screen length is more than or equal to the minimum curling length.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Referring to fig. 10, a block diagram of a terminal according to an embodiment of the present application is shown.
The terminal in the embodiment of the present application may include one or more of the following components: a processor 1010 and a memory 1020.
Processor 1010 may include one or more processing cores. The processor 1010 connects various portions throughout the terminal using various interfaces and lines, and performs various functions of the terminal and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1020 and calling data stored in the memory 1020. Alternatively, the processor 1010 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1010 may be integrated with one or a combination of a Central Processing Unit (CPU) and a modem. Wherein, the CPU mainly processes an operating system, an application program and the like; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 1010, but may be implemented by a single chip.
Optionally, the processor 1010, when executing the program instructions in the memory 1020, implements the methods provided by the various method embodiments described above.
The Memory 1020 may include a Random Access Memory (RAM) or a Read-Only Memory (ROM). Optionally, the memory 1020 includes a non-transitory computer-readable medium. The memory 1020 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 1020 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, instructions for implementing the various method embodiments described above, and the like; the storage data area may store data created according to the use of the terminal, and the like.
The structure of the terminal described above is only illustrative, and in actual implementation, the terminal may include more or less components, such as: a display screen, etc., which are not limited in this embodiment.
Those skilled in the art will appreciate that the configuration shown in fig. 10 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, there is also provided a computer-readable storage medium having stored therein a computer program, which is loaded and executed by a processor of a computer apparatus to implement the respective steps in the above-described terminal control method embodiment.
In an exemplary embodiment, there is also provided a computer program product for implementing the above terminal control method when the computer program product is executed.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A terminal control method applied to a terminal with a flexible display screen, wherein the terminal comprises a first shell and a second shell, the second shell is connected with the first shell in a sliding mode, and the second shell and the first shell change an exposed display area of the flexible display screen through relative movement, and the method comprises the following steps:
acquiring current state information of the terminal, wherein the state information comprises an environment state of the terminal and a display state of the terminal;
when the terminal is in a preset state, acquiring screen states of the flexible display screen, wherein the screen states comprise a rolling state and an extending state;
controlling the first shell and the second shell to move relatively to enable the flexible display screen to be rolled and contracted in response to the flexible display screen being in the stretching state.
2. The method according to claim 1, wherein the obtaining of the current state information of the terminal comprises:
acquiring an environmental state of the terminal based on an ambient light sensor;
and determining the display state of the terminal based on the on-off screen state of the terminal, wherein the display state of the terminal comprises an on-screen state and an off-screen state, and the on-screen state comprises a screen locking state.
3. The method according to claim 2, wherein the obtaining the environmental status of the terminal based on the ambient light sensor comprises:
acquiring a first sensor value output by the ambient light sensor;
responding to the first sensor value smaller than a first threshold value, and acquiring a second sensor value output by the distance sensor;
in response to the second sensor value being less than a second threshold, determining that the terminal is currently in a storage environment.
4. The method according to claim 3, wherein the obtaining the screen state of the flexible display screen when the terminal is in the preset state comprises:
when the terminal is in the screen turning state, acquiring the screen state of the flexible display screen;
when the terminal is in the screen lightening state and the terminal is in the screen locking state, acquiring the screen state of the flexible display screen;
and when the terminal is in the storage environment and the terminal is in the screen-off state or the screen-locking state, acquiring the screen state of the flexible display screen.
5. The method of claim 1, wherein said controlling the relative movement of the first housing and the second housing to cause the flexible display screen to be rolled comprises:
determining a scroll distance of the flexible display screen;
generating a curling instruction according to the curling distance;
and sending the curling instruction to a screen mechanical assembly, wherein the screen mechanical assembly is used for controlling the first shell and the second shell to move relatively according to the curling instruction so as to enable the flexible display screen to curl.
6. The method of claim 5, wherein the determining the distance of the flexible display screen to be scrolled comprises:
acquiring the current screen length of the flexible display screen in the stretching state, wherein the current screen length is the length of the exposed display area in the relative movement direction of the shell;
and determining the curling distance according to the current screen length and a target screen length, wherein the target screen length is the minimum curling length of the flexible display screen in the relative movement direction of the shell or the self-adaptive screen length, and the self-adaptive screen length is more than or equal to the minimum curling length.
7. A terminal control device, wherein the device is applied to a terminal having a flexible display screen, the terminal includes a first housing and a second housing, the second housing is slidably connected to the first housing, the second housing and the first housing change an exposed display area of the flexible display screen through a relative movement, the device includes:
the information acquisition module is used for acquiring the current state information of the terminal, and the state information comprises the environment state of the terminal and the display state of the terminal;
the state acquisition module is used for acquiring the screen state of the flexible display screen when the terminal is in a preset state, wherein the screen state comprises a rolling state and an extending state;
and the screen control module is used for controlling the first shell and the second shell to move relatively in response to the flexible display screen being in the stretching state, so that the flexible display screen is curled.
8. The apparatus of claim 7, wherein the information obtaining module comprises:
the first acquisition unit is used for acquiring the environmental state of the terminal based on an ambient light sensor;
and the second acquisition unit is used for determining the display state of the terminal based on the on-off screen state of the terminal, the display state of the terminal comprises an on-screen state and an off-screen state, and the on-screen state comprises a screen locking state.
9. A terminal, characterized in that the terminal comprises a processor and a memory, the memory storing a computer program which is loaded and executed by the processor to implement the terminal control method according to any one of claims 1 to 6.
10. A computer-readable storage medium, in which a computer program is stored, the computer program being loaded and executed by a processor to implement the terminal control method according to any one of claims 1 to 6.
CN202010473945.0A 2020-05-29 2020-05-29 Terminal control method, device, terminal and storage medium Pending CN113741624A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010473945.0A CN113741624A (en) 2020-05-29 2020-05-29 Terminal control method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010473945.0A CN113741624A (en) 2020-05-29 2020-05-29 Terminal control method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN113741624A true CN113741624A (en) 2021-12-03

Family

ID=78724547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010473945.0A Pending CN113741624A (en) 2020-05-29 2020-05-29 Terminal control method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113741624A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103376825A (en) * 2012-04-16 2013-10-30 黄泽艺 Retractable screen technology (electronic bamboo slip)
CN106603756A (en) * 2016-10-27 2017-04-26 珠海市魅族科技有限公司 Display assembly and mobile terminal
CN107331301A (en) * 2017-08-08 2017-11-07 武汉华星光电半导体显示技术有限公司 A kind of flexible display apparatus
CN108230937A (en) * 2018-03-26 2018-06-29 京东方科技集团股份有限公司 Flexible display apparatus
CN110428732A (en) * 2019-07-20 2019-11-08 张拥银 A kind of drawing and pulling type flexible screen

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103376825A (en) * 2012-04-16 2013-10-30 黄泽艺 Retractable screen technology (electronic bamboo slip)
CN106603756A (en) * 2016-10-27 2017-04-26 珠海市魅族科技有限公司 Display assembly and mobile terminal
CN107331301A (en) * 2017-08-08 2017-11-07 武汉华星光电半导体显示技术有限公司 A kind of flexible display apparatus
CN108230937A (en) * 2018-03-26 2018-06-29 京东方科技集团股份有限公司 Flexible display apparatus
CN110428732A (en) * 2019-07-20 2019-11-08 张拥银 A kind of drawing and pulling type flexible screen

Similar Documents

Publication Publication Date Title
US11314851B2 (en) Method for protecting private information and terminal device
US20030064751A1 (en) Method and apparatus for a holster having a user interface
CN106951163B (en) Display control method and device
CN113760079A (en) Screen control method and device, mobile terminal and storage medium
JP2008171148A (en) Input/output device
CN104462913A (en) Fingerprint input information processing method and system and mobile terminal
US20130082840A1 (en) Method and Apparatus Pertaining to Automatically Moving a Component that Comprises a Part of a Portable Electronic Device
CN106095422B (en) Application control method and device and terminal equipment
CN113741624A (en) Terminal control method, device, terminal and storage medium
CN113687808A (en) Desktop icon layout method and device, storage medium and electronic equipment
CN101494679B (en) The unlock method of application touch control inductor
BR112019007633A2 (en) method for adjusting terminal and terminal screen duration
CA2791704A1 (en) Method and apparatus pertaining to automated configuration of a deployable-component's user interface
CN113807047B (en) Information display method, device, terminal and storage medium
CN113706946B (en) Answer content display method, device, terminal and storage medium
CN114967955A (en) Device control method, device, storage medium and electronic device
CN113824818A (en) Device control method, device, storage medium and electronic device
CN107809525A (en) Mobile terminal and its control method, storage device
CN113852721B (en) Device control method, device, storage medium and electronic device
CN113741778A (en) Device control method, device, storage medium and electronic device
CN113835470A (en) Display screen control method and device, terminal and storage medium
CN113645329A (en) Electronic device control method and device, storage medium and electronic device
CN115793776A (en) Electronic device control method, electronic device control device, storage medium, and electronic device
CN115497380A (en) Device control method, device, storage medium and electronic device
CN113625905A (en) Device control method, device, storage medium and electronic device

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