CN115793776A - Electronic device control method, electronic device control device, storage medium, and electronic device - Google Patents

Electronic device control method, electronic device control device, storage medium, and electronic device Download PDF

Info

Publication number
CN115793776A
CN115793776A CN202111057605.0A CN202111057605A CN115793776A CN 115793776 A CN115793776 A CN 115793776A CN 202111057605 A CN202111057605 A CN 202111057605A CN 115793776 A CN115793776 A CN 115793776A
Authority
CN
China
Prior art keywords
display screen
sliding
flexible display
shell
drive
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
CN202111057605.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 CN202111057605.0A priority Critical patent/CN115793776A/en
Publication of CN115793776A publication Critical patent/CN115793776A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a control method and device of electronic equipment, a storage medium and the electronic equipment, wherein the embodiment of the application is applied to the electronic equipment with a flexible display screen and used for detecting sliding operation triggered based on a preset touch area; determining a sliding parameter corresponding to the sliding operation, wherein the sliding parameter comprises a sliding direction; and controlling the second shell to move so as to drive the flexible display screen to stretch according to the relation between the sliding direction and the preset direction. By adopting the embodiment of the application, a user can hold the electronic equipment and drive the flexible display screen to stretch out and draw back through sliding operation triggered in the preset touch control area, a stretching instruction does not need to be triggered based on a specific physical key or a virtual control, and the convenience of stretching operation control is improved.

Description

Electronic device control method and device, storage medium and electronic device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling an electronic device, a storage medium, and an electronic device.
Background
With the development of electronic equipment technology, display screens of intelligent terminals such as smart phones and tablet computers are developed greatly, and because a larger display screen can present richer contents, human-computer interaction is more vivid and efficient, and better user experience is brought; meanwhile, in order to enable the intelligent terminal to be carried more easily, a foldable terminal and a flexible screen terminal are born, and the portability requirement of the intelligent terminal with a large display screen is met to a great extent.
Disclosure of Invention
The embodiment of the application provides a control method and device for electronic equipment, a storage medium and the electronic equipment, and can improve the convenience of flexible control of a flexible display screen.
In a first aspect, an embodiment of the present application provides a method for controlling an electronic device,
the electronic equipment comprises a first shell, a second shell and a flexible display screen, wherein the second shell is connected with the first shell in a sliding mode, the first shell and the second shell form an accommodating space together, one end of the flexible display screen is arranged on the first shell, the other end of the flexible display screen is arranged in the accommodating space, so that part of the flexible display screen is hidden in the accommodating space, and when the second shell runs relative to the first shell, the flexible display screen can be driven to stretch and retract; the method comprises the following steps:
detecting sliding operation triggered based on a preset touch area;
determining a sliding parameter corresponding to the sliding operation, wherein the sliding parameter comprises a sliding direction;
and controlling the second shell to move to drive the flexible display screen to stretch according to the relation between the sliding direction and the preset direction.
In a second aspect, an embodiment of the present application further provides a control device for an electronic device,
the electronic equipment comprises a first shell, a second shell and a flexible display screen, wherein the second shell is connected with the first shell in a sliding mode, the first shell and the second shell form an accommodating space together, one end of the flexible display screen is arranged on the first shell, the other end of the flexible display screen is arranged in the accommodating space, so that part of the flexible display screen is hidden in the accommodating space, and when the second shell runs relative to the first shell, the flexible display screen can be driven to stretch and retract; the device comprises:
the touch detection module is used for detecting sliding operation triggered based on a preset touch area;
a parameter obtaining module, configured to determine a sliding parameter corresponding to the sliding operation, where the sliding parameter includes a sliding direction;
and the telescopic control module is used for controlling the second shell to move so as to drive the flexible display screen to stretch according to the relation between the sliding direction and the preset direction.
In a third aspect, embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the control method of an electronic device as provided in any embodiment of the present application.
In a fourth aspect, an embodiment of the present application further provides an electronic device, including a processor and a memory, where the memory has a computer program, and the processor is configured to execute the control method of the electronic device according to any embodiment of the present application by calling the computer program.
According to the technical scheme, the sliding direction of the sliding operation triggered based on the preset touch area is detected, the second shell can be controlled to move to stretch and retract the flexible display screen, based on the scheme, a user can grip the electronic equipment, the flexible display screen is driven to stretch and retract through the sliding operation triggered by the preset touch area, a stretching instruction does not need to be triggered based on a specific physical key or a virtual control, and the convenience of stretching operation control is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 3 is a perspective exploded schematic view of an electronic device according to an embodiment of the present application.
Fig. 4 is a first flowchart illustrating a control method of an electronic device according to an embodiment of the present application.
Fig. 5 is a schematic diagram of an unfolding process of the flexible display screen in the embodiment of the present application.
Fig. 6 is a schematic structural diagram of a control device of an electronic apparatus according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are intended to be within the scope of the present application.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein may be combined with other embodiments.
An execution main body of the control method of the electronic device may be the control apparatus of the electronic device provided in the embodiment of the present application, or an electronic device integrated with the control apparatus of the electronic device, where the control apparatus of the electronic device may be implemented in a hardware or software manner. The electronic device may be a smart phone, a tablet computer, a palm computer, a notebook computer, or a desktop computer.
An embodiment of the present application provides a method for controlling an electronic device, where the method is applied to an electronic device including a flexible display screen, and fig. 1 and 2 show a schematic structural diagram of an electronic device according to an embodiment of the present application. Fig. 2 is another schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device 100 of the embodiment of the present application includes a housing assembly 10 and a flexible display screen 30, the housing assembly 10 is a hollow structure, and the housing assembly 10 includes a first housing 12 and a second housing 14, specifically, in this embodiment, the first housing 12 and the second housing 14 are slidably connected, that is, the second housing 14 is capable of sliding relative to the first housing 12.
The first housing 12 and the second housing 14 together form an accommodating space. One end of the flexible display screen 30 is disposed in the second housing 14, and the other end of the flexible display screen 30 is disposed in the accommodating space, so that part of the flexible display screen 30 is hidden in the accommodating space, and the part of the flexible display screen 30 hidden in the accommodating space may not be lighted.
Referring to fig. 3, fig. 3 is a schematic exploded perspective view of an electronic device according to an embodiment of the present disclosure. 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.
The electronic device 100 further includes a driving mechanism 70, and the driving mechanism 70 can be used to drive the second housing 14 to move relative to the first housing 12, such as to move away from or towards each other. When the driving mechanism 70 drives the second housing 14 to move away from the first housing 12, i.e. the second housing 14 moves in the second direction, the electronic device 100 can enter the state shown in fig. 2 from the state shown in fig. 1. When the driving mechanism 70 drives the second housing 14 to move relatively to the first housing 12, i.e. the second housing 14 moves along the first direction, the electronic device 100 can enter the state shown in fig. 1 from the state shown in fig. 2.
The electronic device 100 further comprises a driving member 50, and the driving member 50 can be placed in the accommodating space. The flexible display screen 30 bypasses the driving component 50, and when the driving mechanism 70 drives the second housing 14 to move away from the first housing 12, the second housing 14 can drive the flexible display screen 30 to unfold by the driving component 50, so that more flexible display screens 30 are exposed outside the accommodating space, and the flexible display screens 30 exposed outside the accommodating space are lighted up, so that the display area presented by the electronic device 100 is enlarged.
The driving member 50 may be a rotating shaft structure with teeth on the outside, the flexible display 30 is linked with the driving member 50 by engaging, and when the first casing 12 and the second casing 14 are relatively far away from each other, the driving member 50 drives a portion of the flexible display 30 engaged with the driving member 50 to move and unfold.
It is understood that the driving member 50 can also be a circular shaft without teeth, and when the first casing 12 and the second casing 14 are relatively far away from each other, the driving member 50 can stretch the portion of the flexible display screen 30 wound around the driving member 50, so that more flexible display screens are exposed out of the accommodating space and are in a flat state. Specifically, 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 can be fixed on the second housing 14, and the driver 50 has 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 driving mechanism 70 drives the second housing 14 to move close to the first housing 12, the second housing 14 can drive the flexible display 30 to contract through the driving component 50, so that less flexible display 30 is exposed outside the accommodating space, and the display area presented by the electronic device 100 is reduced.
In some embodiments, the driving mechanism 70 may be disposed in the accommodating space, and the driving mechanism 70 may be linked with the second housing 14.
It should be noted that, the extending and contracting directions of the flexible display screen shown in fig. 1 and fig. 2 are only examples, and in other embodiments, the flexible display screen may also be configured to extend and contract along a vertical direction when a user holds the device vertically.
Referring to fig. 4, fig. 4 is a first flowchart illustrating a control method of an electronic device according to an embodiment of the present disclosure. The specific flow of the control method for the electronic device provided by the embodiment of the application may be as follows:
101. and detecting a sliding operation triggered based on a preset touch area.
In the scheme of the embodiment of the application, the preset touch area may be located in a display area of the electronic device or in a non-display area of the electronic device. For example, in one embodiment, the entire display area of the flexible display screen is used as the predetermined touch area. For another example, in another embodiment, a part of the specific area of the flexible display screen is used as the preset touch area. For another example, a touch sensor is disposed under a side frame of the electronic device to set a part or all of the side frame as a preset touch area. The method and the device can trigger the sliding operation based on the preset touch area.
102. And determining a sliding parameter corresponding to the sliding operation, wherein the sliding parameter comprises a sliding direction.
When the electronic equipment detects the sliding operation, the sliding parameters corresponding to the sliding operation are obtained, and the sliding parameters comprise the sliding direction.
In some embodiments, to avoid the misoperation, the sliding operation may be further limited. For example, the sliding parameter further includes a sliding distance, and when the sliding distance is greater than a preset distance, the subsequent step 103 is performed.
Or, in another embodiment, after detecting the sliding operation triggered based on the preset touch area, the method further includes: determining whether the flexible display screen is in a telescopic adjustment mode; and if so, executing the sliding parameters corresponding to the sliding operation.
In this embodiment, after the sliding operation is detected, whether the electronic device is in the telescopic adjustment mode is detected, if the electronic device is currently in the telescopic adjustment mode, a sliding parameter corresponding to the sliding operation is determined, and the subsequent step 103 is executed according to the sliding parameter. Otherwise, if the electronic equipment is not in the telescopic adjustment mode currently, the current conventional sliding operation of the sliding operation is detected, and misoperation is avoided. The embodiment recognizes the sliding operation in the specific mode as the sliding operation of adjusting the expansion and contraction of the screen by setting the expansion and contraction adjustment mode. In other modes, the user can perform other touch controls by the same sliding operation.
In an embodiment, a user may control the electronic device to enter the scaling mode by using a virtual control or a physical key. For example, the on/off key is pressed multiple times in succession to control the electronic device to enter the telescopic adjustment mode.
Or, in another embodiment, when the application switching operation is detected, determining to switch to a target application running in the foreground; determining a first display size corresponding to a target application program, and acquiring a current second display size of the flexible display screen; and when the first display size is inconsistent with the second display size, the flexible display screen is set to be in a telescopic adjustment mode.
Since users have different requirements on the size of the screen when using different applications. For example, a user may need to set the screen to a maximum when playing a game, watching a video, and to a smaller screen in a scenario of listening to music, answering a phone call, etc. Based on this, in the embodiment of the present application, the first display size corresponding to each target application program is set in advance, that is, the most suitable display size for the application program to run is set by default. The first display size can be learned by the electronic device according to user habits, and can also be manually preset by the user according to needs. When the switching operation of the application program is detected, the target application program which is switched to the foreground to run is determined, a first display size corresponding to the target application program is obtained, a current second display size of the flexible display screen is obtained, whether the first display size and the current second display size are consistent or not is judged, and if the first display size and the current second display size are not consistent, the flexible display screen is set to be in a telescopic adjustment mode. In the telescopic adjustment mode, a user can adjust the telescopic of the flexible display screen by triggering sliding operation on a preset touch area.
In an embodiment, within a preset time period after the flexible display screen is set to the telescopic adjustment mode, if the sliding operation is not detected, the electronic device is controlled to exit the telescopic adjustment mode.
103. And controlling the second shell to move to drive the flexible display screen to stretch according to the relation between the sliding direction and the preset direction.
And then, controlling the second shell to move to drive the flexible display screen to stretch according to the relation between the sliding direction and the preset direction.
Wherein, flexible display screen's flexible mode can set up as required. For example, it may be set to be telescopic only in accordance with a specific display size, or may be telescopic steplessly.
For example, in an embodiment, the second housing may drive the flexible display to perform a telescopic operation according to a specific telescopic size, where when the flexible display is contracted, the screen size is reduced, and the area of the display screen is reduced. For example, the size of the screen is 1920 × 1920 when the flexible display is expanded to the maximum screen, and the size of the screen is 1920 × 1020 when the flexible display is contracted to the minimum screen, and in addition, one or more intermediate states having a size between the maximum screen and the minimum screen are set, for example, the screen can be expanded from the minimum screen to the middle screen, and the size is 1920 × 1470.
Referring to fig. 5, fig. 5 is a schematic view illustrating an unfolding process of the flexible display screen according to an embodiment of the present application. The size of the flexible display screen of the electronic equipment can be in three forms, namely a small screen state, a middle screen state and a large screen state. When the flexible display screen is in a small screen state, the user performs a first sliding operation to control the screen size of the flexible display screen to be expanded from 1920 × 1020 to 1920 × 1470, and performs a second sliding operation to control the screen size of the flexible display screen to be expanded from 1920 × 1470 to 1920 × 1920.
The step of "controlling the second housing to move to drive the flexible display screen to extend and retract according to the relation between the sliding direction and the preset direction" may include: when the sliding direction is opposite to the preset direction, the second shell is controlled to move along the first direction so as to drive the flexible display screen to contract; when the sliding direction is the same as the preset direction, the second shell is controlled to move along the second direction so as to drive the flexible display screen to unfold.
For example, taking the electronic device as an example, a vertical downward direction when the user holds the mobile phone vertically is set as a preset direction. When the detected sliding direction of the sliding operation is opposite to the preset direction, that is, the user is detected to slide upwards in the preset touch area, it can be determined that the user intends to trigger a contraction operation, and the second shell is controlled to move along the first direction to drive the flexible display screen to contract. When the user performs downward sliding operation triggered by the preset touch area, namely the detected sliding direction of the sliding operation is the same as the preset direction, it can be determined that the user intends to perform unfolding operation, and the second shell is controlled to move along the second direction to drive the flexible display screen to unfold. In this embodiment, because the flexible display screen stretches according to the specific stretching size, when the user triggers a pressing operation, the flexible display screen stretches according to the specific stretching size. The same principle is also true when the flexible display is unfolded.
For example, referring to fig. 6, the current screen size of the flexible display screen is 1920 × 1020, when the user triggers a downward sliding operation in the preset touch region, the electronic device controls the second housing to move along the second direction to drive the flexible display screen to expand, and the screen size is expanded to 1920 × 1470.
Wherein, in some embodiments, before controlling the second housing to move along the first direction to bring the flexible display screen to contract, the method further includes: when the sliding direction is opposite to the preset direction, determining whether the flexible display screen is contracted to the minimum display screen; if not, the second shell is controlled to move along the first direction so as to drive the flexible display screen to contract. Before controlling the second casing to move along the second direction so as to drive the flexible display screen to unfold, the display device further comprises: when the sliding direction is the same as the preset direction, determining whether the flexible display screen is unfolded to the maximum display screen; if not, the second shell is controlled to move along the second direction so as to drive the flexible display screen to be unfolded.
In this embodiment, when the sliding direction is opposite to the preset direction, it is first determined whether the flexible display screen has been currently retracted to the minimum display screen. If the minimum display has been shrunk, no response to the operation is necessary. Or, the user can be reminded that the contraction cannot be continued in a mode of vibrating and outputting a prompt tone.
In other embodiments, the flexible display screen can perform the telescopic operation according to any telescopic size within the telescopic range of the flexible display screen. Assuming that the size of the screen is 1920 x 1920 when the flexible display is expanded to the maximum screen and 1920 x 1020 when the flexible display is contracted to the minimum screen, the width of the screen can be adjusted between 1020 and 1920 and can be adjusted to any desired value. Further, it is understood that the minimum adjustment unit, such as any one of 1-10, may be set as desired.
In an embodiment, the sliding parameters further comprise a sliding distance; according to the relation between slip direction and the predetermined direction, control second casing motion is flexible in order to drive flexible display screen, includes: when the sliding direction is opposite to the preset direction, determining the shrinking size according to the sliding distance, and controlling the second shell to move according to the shrinking size to drive the flexible display screen to shrink, wherein the shrinking size is in direct proportion to the sliding distance; when the sliding direction is the same as the preset direction, the unfolding size is determined according to the sliding distance, and the second shell is controlled to move according to the unfolding size so as to drive the flexible display screen to unfold, wherein the unfolding size is in direct proportion to the sliding distance.
In this embodiment, the flexible display screen may be infinitely flexible. A mapping relationship between the contracted size or the expanded size and the sliding distance may be preset, wherein the contracted size is proportional to the sliding distance and the expanded size is proportional to the sliding distance. For example, a mapping relationship between the contraction size or expansion size and the sliding distance is represented as L1= k1 × L2, where L2 is the sliding distance, L1 is the expansion size or contraction size, and the coefficient k1 takes a value range of: k1 is more than 0 and less than or equal to 1. Alternatively, in other embodiments, the mapping relationship between the contracted size or the expanded size and the sliding distance may be set in other forms as needed.
After the electronic device obtains the sliding distance corresponding to the sliding operation, the electronic device obtains the expansion size or the contraction size corresponding to the current sliding distance according to the mapping relation between the sliding distance and the contraction size or the expansion size. For example, if the sliding operation is performed in a downward sliding direction, the expansion size corresponding to the current sliding distance is obtained, the second housing is controlled to move along the second direction to drive the flexible display screen to expand, and the expansion displacement is the expansion size. If the sliding operation direction is upward sliding, the contraction size corresponding to the current sliding distance is obtained, the second shell is controlled to move along the second direction to drive the flexible display screen to contract, and the contraction displacement is the contraction size.
In an embodiment, the slip parameters further include a slip speed; according to the relation between slip direction and the preset direction, control second casing motion and stretch out and draw back in order to drive flexible display screen, include: when the sliding direction is opposite to the preset direction, determining the contraction speed according to the sliding speed, and controlling the second shell to move according to the contraction speed to drive the flexible display screen to contract, wherein the contraction speed is in direct proportion to the sliding speed; when the sliding direction is the same as the preset direction, determining the unfolding speed according to the sliding speed, and controlling the second shell to move according to the unfolding speed to drive the flexible display screen to unfold, wherein the unfolding speed is in direct proportion to the sliding speed.
In this embodiment, the expansion and contraction speed of the flexible display screen is controlled by the sliding speed in the sliding operation. Specifically, a sliding speed and a sliding direction corresponding to the sliding operation are acquired, and when the sliding direction is opposite to a preset direction, a contraction speed is determined according to the sliding speed, wherein a mapping relation between the sliding speed and the contraction speed or the expansion speed is stored in the electronic equipment in advance, the contraction speed is in direct proportion to the sliding speed, and the expansion speed is in direct proportion to the sliding speed. That is to say, when the user slides downwards in presetting the touch-control region fast, then determine corresponding show speed to control the second casing and follow the expansion speed motion and drive the flexible display screen expandes with quick. On the contrary, when the user slides upwards in the preset touch area quickly, the corresponding contraction speed is determined, and the second shell is controlled to quickly drive the flexible display screen to contract according to the contraction speed. For the setting manner of the mapping relationship between the sliding speed and the contraction speed or the expansion speed, please refer to the previous embodiment and set in a similar manner, which is not described herein again.
In specific implementation, the present application is not limited by the execution sequence of the described steps, and some steps may be performed in other sequences or simultaneously without conflict.
Therefore, according to the control method of the electronic device, the second shell can be controlled to move to drive the flexible display screen to stretch and retract by detecting the sliding direction of the sliding operation triggered based on the preset touch area.
In one embodiment, a control device of an electronic device is also provided. Referring to fig. 6, fig. 6 is a schematic structural diagram of a control device 300 of an electronic apparatus according to an embodiment of the present disclosure. The control device 300 of the electronic device is applied to an electronic device, the electronic device includes a first housing, a second housing connected with the first housing in a sliding manner, and a flexible display screen, the first housing and the second housing together form an accommodating space, one end of the flexible display screen is disposed in the first housing, the other end of the flexible display screen is disposed in the accommodating space, so that part of the flexible display screen is hidden in the accommodating space, and the second housing can drive the flexible display screen to extend and retract when operating relative to the first housing; the control device 300 of the electronic device includes a touch detection module 301, a parameter obtaining module 302, and a telescopic control module 303, as follows:
a touch detection module 301, configured to detect a sliding operation triggered based on a preset touch area;
a parameter obtaining module 302, configured to determine a sliding parameter corresponding to the sliding operation, where the sliding parameter includes a sliding direction;
and the telescopic control module 303 is used for controlling the second shell to move so as to drive the flexible display screen to stretch according to the relation between the sliding direction and the preset direction.
In some embodiments, the telescopic control module 303 is configured to control the second housing to move along the first direction to drive the flexible display screen to contract when the sliding direction is opposite to the preset direction;
when the sliding direction is the same as the preset direction, the second shell is controlled to move along the second direction so as to drive the flexible display screen to unfold.
In some embodiments, the telescoping control module 303 is configured to determine whether the flexible display screen is retracted to a minimum display screen when the sliding direction is opposite to the preset direction; if not, controlling the second shell to move along the first direction so as to drive the flexible display screen to contract;
before controlling the second housing to move along the second direction to drive the flexible display screen to unfold, the display device further comprises:
when the sliding direction is the same as the preset direction, determining whether the flexible display screen is unfolded to the maximum display screen; if not, the second shell is controlled to move along the second direction so as to drive the flexible display screen to be unfolded.
In some embodiments, the parameter obtaining module 302 is configured to determine whether the flexible display screen is in a telescopic adjustment mode;
and if so, executing and determining the sliding parameters corresponding to the sliding operation.
In some embodiments, the parameter obtaining module 302 is configured to, when an application switching operation is detected, determine to switch to a target application running in a foreground;
determining a first display size corresponding to the target application program, and acquiring a current second display size of the flexible display screen;
and when the first display size is inconsistent with the second display size, setting the flexible display screen into a telescopic adjustment mode.
In some embodiments, the telescopic control module 303 is configured to determine a contraction speed according to the sliding speed when the sliding direction is opposite to the preset direction, and control the second housing to move according to the contraction speed to drive the flexible display screen to contract, where the contraction speed is proportional to the sliding speed;
when the sliding direction is the same as the preset direction, determining the unfolding speed according to the sliding speed, and controlling the second shell to move according to the unfolding speed to drive the flexible display screen to unfold, wherein the unfolding speed is in direct proportion to the sliding speed.
In some embodiments, the sliding parameters further include a sliding distance; the telescopic control module 303 is configured to determine a contraction size according to the sliding distance when the sliding direction is opposite to the preset direction, and control the second housing to move according to the contraction size to drive the flexible display screen to contract, where the contraction size is proportional to the sliding distance;
when the sliding direction is the same as the preset direction, determining an unfolding size according to the sliding distance, and controlling the second shell to move according to the unfolding size to drive the flexible display screen to unfold, wherein the unfolding size is in direct proportion to the sliding distance.
It should be noted that the control apparatus of the electronic device provided in the embodiment of the present application and the control method of the electronic device in the foregoing embodiments belong to the same concept, and any method provided in the control method embodiment of the electronic device can be implemented by the control apparatus of the electronic device, and a specific implementation process of the method is described in the control method embodiment of the electronic device, and is not described herein again.
By last can know, the controlling means of electronic equipment that this application embodiment provided, through detecting the slip direction based on the slide operation that predetermines the touch-control regional trigger, can control the motion of second casing in order to drive flexible display screen and stretch out and draw back, based on this scheme, the user can be when gripping electronic equipment, in order to drive flexible display screen and stretch out and draw back at the slide operation that predetermines the touch-control regional trigger, need not to trigger flexible instruction based on specific physics button or virtual controlling part, has improved the convenience of flexible operation control.
The embodiment of the application further provides the electronic equipment. The electronic device can be a smart phone, a tablet computer and the like. Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 400 comprises a processor 401 and a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the electronic device 400, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or calling a computer program stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device.
Memory 402 may be used to store computer programs and data. The memory 402 stores computer programs containing instructions executable in the processor. The computer program may constitute various functional modules. The processor 401 executes various functional applications and data processing by calling a computer program stored in the memory 402.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to one or more processes of the computer program into the memory 402 according to the following steps, and the processor 401 runs the computer program stored in the memory 402, so as to implement various functions:
detecting sliding operation triggered based on a preset touch area;
determining a sliding parameter corresponding to the sliding operation, wherein the sliding parameter comprises a sliding direction;
and controlling the second shell to move to drive the flexible display screen to stretch according to the relation between the sliding direction and the preset direction.
In some embodiments, please refer to fig. 8, and fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device 400 further comprises: radio frequency circuit 403, display 404, control circuit 405, input unit 406, audio circuit 407, sensor 408, and power supply 409. The processor 401 is electrically connected to the rf circuit 403, the display 404, the control circuit 405, the input unit 406, the audio circuit 407, the sensor 408, and the power source 409.
The rf circuit 403 is used for transceiving rf signals to communicate with network devices or other electronic devices through wireless communication.
The display screen 404 may be used to display information entered by or provided to the user as well as various graphical user interfaces of the electronic device, which may be comprised of images, text, icons, video, and any combination thereof.
The control circuit 405 is electrically connected to the display screen 404, and is configured to control the display screen 404 to display information.
The input unit 406 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. The input unit 406 may include a fingerprint recognition module.
The audio circuit 407 may provide an audio interface between the user and the electronic device through a speaker, microphone. Wherein the audio circuit 407 comprises a microphone. The microphone is electrically connected to the processor 401. The microphone is used for receiving voice information input by a user.
The sensor 408 is used to collect external environmental information. The sensors 408 may include one or more of ambient light sensors, acceleration sensors, gyroscopes, etc.
The power supply 409 is used to power the various components of the electronic device 400. In some embodiments, the power source 409 may be logically connected to the processor 401 through a power management system, so that functions of managing charging, discharging, and power consumption are implemented through the power management system.
Although not shown in the drawings, the electronic device 400 may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to processes of one or more computer programs into the memory 402 according to the following steps, and the processor 401 executes the computer programs stored in the memory 402, thereby implementing various functions:
detecting sliding operation triggered based on a preset touch area;
determining a sliding parameter corresponding to the sliding operation, wherein the sliding parameter comprises a sliding direction;
and controlling the second shell to move to drive the flexible display screen to stretch according to the relation between the sliding direction and the preset direction.
By last knowing, this application embodiment provides an electronic equipment, electronic equipment can control the motion of second casing in order to drive flexible display screen and stretch out and draw back through detecting the slip direction based on the sliding operation of predetermineeing the touch-control regional trigger, and based on this scheme, the user can be when holding electronic equipment to the sliding operation that triggers at the touch-control regional preset drives flexible display screen and stretches out and draws back, need not to trigger flexible instruction based on specific physics button or virtual controlling part, has improved the convenience of flexible operation control.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program runs on a computer, the computer executes the control method of the electronic device according to any of the above embodiments.
It should be noted that, all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer readable storage medium, which may include, but is not limited to: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
In addition, the terms "first", "second", and "third", etc. in this application are used to distinguish different objects, and are not used to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules recited, but rather, some embodiments include additional steps or modules not recited, or inherent to such process, method, article, or apparatus.
The electronic device control method, the electronic device control apparatus, the storage medium, and the electronic device provided in the embodiments of the present application are described in detail above. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. The control method of the electronic equipment is characterized in that the electronic equipment comprises a first shell, a second shell and a flexible display screen, wherein the second shell is connected with the first shell in a sliding mode, the first shell and the second shell jointly form an accommodating space, one end of the flexible display screen is arranged on the first shell, the other end of the flexible display screen is arranged in the accommodating space, so that part of the flexible display screen is hidden in the accommodating space, and when the second shell operates relative to the first shell, the flexible display screen can be driven to stretch and retract; the method comprises the following steps:
detecting sliding operation triggered based on a preset touch area;
determining a sliding parameter corresponding to the sliding operation, wherein the sliding parameter comprises a sliding direction;
and controlling the second shell to move to drive the flexible display screen to stretch according to the relation between the sliding direction and the preset direction.
2. The method of claim 1, wherein the controlling the second housing to move to extend and retract the flexible display screen according to the relationship between the sliding direction and a preset direction comprises:
when the sliding direction is opposite to the preset direction, the second shell is controlled to move along the first direction so as to drive the flexible display screen to contract;
when the sliding direction is the same as the preset direction, the second shell is controlled to move along the second direction so as to drive the flexible display screen to unfold.
3. The method of claim 2, wherein prior to controlling the second housing to move in the first direction to cause the flexible display to collapse, further comprising:
when the sliding direction is opposite to the preset direction, determining whether the flexible display screen is contracted to a minimum display screen;
if not, controlling the second shell to move along the first direction so as to drive the flexible display screen to contract;
before controlling the second housing to move along the second direction to drive the flexible display screen to unfold, the display device further comprises:
when the sliding direction is the same as the preset direction, determining whether the flexible display screen is unfolded to the maximum display screen;
if not, the second shell is controlled to move along the second direction so as to drive the flexible display screen to be unfolded.
4. The method as claimed in claim 1, wherein after the detecting the sliding operation triggered based on the preset touch area, the method further comprises:
determining whether the flexible display screen is in a telescoping adjustment mode;
and if so, executing and determining the sliding parameters corresponding to the sliding operation.
5. The method as claimed in claim 4, wherein the detecting of the sliding operation triggered based on the preset touch area further comprises:
when the switching operation of the application program is detected, determining to switch to a target application program operated in a foreground;
determining a first display size corresponding to the target application program, and acquiring a current second display size of the flexible display screen;
and when the first display size is inconsistent with the second display size, setting the flexible display screen into a telescopic adjustment mode.
6. The method of claims 1 to 5, wherein the slip parameters further comprise a slip speed; according to the relation between slip direction and the preset direction, control the motion of second casing is in order to drive flexible display screen stretches out and draws back, includes:
when the sliding direction is opposite to the preset direction, determining a contraction speed according to the sliding speed, and controlling the second shell to move according to the contraction speed to drive the flexible display screen to contract, wherein the contraction speed is in direct proportion to the sliding speed;
when the sliding direction is the same as the preset direction, determining the unfolding speed according to the sliding speed, and controlling the second shell to move according to the unfolding speed to drive the flexible display screen to unfold, wherein the unfolding speed is in direct proportion to the sliding speed.
7. The method of claims 1 to 5, wherein the slip parameters further include a slip distance; according to the relation between slip direction and the default direction, control the second casing motion is in order to drive flexible display screen stretches out and draws back, includes:
when the sliding direction is opposite to the preset direction, determining a contraction size according to the sliding distance, and controlling the second shell to move according to the contraction size to drive the flexible display screen to contract, wherein the contraction size is in direct proportion to the sliding distance;
when the sliding direction is the same as the preset direction, determining an unfolding size according to the sliding distance, and controlling the second shell to move according to the unfolding size to drive the flexible display screen to unfold, wherein the unfolding size is in direct proportion to the sliding distance.
8. A control device of electronic equipment is characterized in that the electronic equipment comprises a first shell, a second shell and a flexible display screen, wherein the second shell is connected with the first shell in a sliding mode, the first shell and the second shell form an accommodating space together, one end of the flexible display screen is arranged on the first shell, the other end of the flexible display screen is arranged in the accommodating space, so that part of the flexible display screen is hidden in the accommodating space, and the second shell can drive the flexible display screen to stretch and retract when running relative to the first shell; the device comprises:
the touch detection module is used for detecting sliding operation triggered based on a preset touch area;
a parameter obtaining module, configured to determine a sliding parameter corresponding to the sliding operation, where the sliding parameter includes a sliding direction;
and the telescopic control module is used for controlling the second shell to move so as to drive the flexible display screen to stretch according to the relation between the sliding direction and the preset direction.
9. A computer-readable storage medium on which a computer program is stored, characterized by causing a computer to execute a control method of an electronic device according to any one of claims 1 to 7 when the computer program runs on the computer.
10. An electronic device comprising a processor and a memory, the memory storing a computer program, wherein the processor is configured to execute a control method of the electronic device according to any one of claims 1 to 7 by calling the computer program.
CN202111057605.0A 2021-09-09 2021-09-09 Electronic device control method, electronic device control device, storage medium, and electronic device Pending CN115793776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111057605.0A CN115793776A (en) 2021-09-09 2021-09-09 Electronic device control method, electronic device control device, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111057605.0A CN115793776A (en) 2021-09-09 2021-09-09 Electronic device control method, electronic device control device, storage medium, and electronic device

Publications (1)

Publication Number Publication Date
CN115793776A true CN115793776A (en) 2023-03-14

Family

ID=85416988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111057605.0A Pending CN115793776A (en) 2021-09-09 2021-09-09 Electronic device control method, electronic device control device, storage medium, and electronic device

Country Status (1)

Country Link
CN (1) CN115793776A (en)

Similar Documents

Publication Publication Date Title
US11567656B2 (en) Information processing device, operation input method and operation input program
JP7062092B2 (en) Display control method and terminal
JP5977627B2 (en) Information processing apparatus, information processing method, and program
WO2022100260A1 (en) Display control method and apparatus, storage medium, and electronic device
US20180039403A1 (en) Terminal control method, terminal, and storage medium
KR20160001602A (en) Foldable electronic apparatus and method for performing interfacing thereof
CN108509105B (en) Application program management method and terminal
EP3525075A1 (en) Method for lighting up screen of double-screen terminal, and terminal
EP3916532A1 (en) Image storage method and terminal apparatus
CN108446156B (en) Application program control method and terminal
CN108519851A (en) A kind of interface switching method and mobile terminal
JP2023519184A (en) Display method and electronic equipment
CN111459333A (en) Content display method and electronic equipment
CN109683768B (en) Application operation method and mobile terminal
CN106802808A (en) Suspension button control method and device
JP4818478B1 (en) Mobile terminal device and application software activation method
CN108509131B (en) Application program starting method and terminal
CN113687808A (en) Desktop icon layout method and device, storage medium and electronic equipment
WO2021063239A1 (en) Application control method and terminal
CN112230910B (en) Page generation method, device and equipment of embedded program and storage medium
CN112947685A (en) Electronic device control method and device, storage medium and electronic device
CN111625176A (en) Device control method, device, storage medium and electronic device
CN108958607B (en) Split screen display starting method and device, storage medium and electronic equipment
CN115793776A (en) Electronic device control method, electronic device control device, storage medium, and electronic device
WO2021223520A1 (en) Device control method and apparatus, 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