CN110930878B - Control method of flexible screen and electronic equipment - Google Patents

Control method of flexible screen and electronic equipment Download PDF

Info

Publication number
CN110930878B
CN110930878B CN201911096800.7A CN201911096800A CN110930878B CN 110930878 B CN110930878 B CN 110930878B CN 201911096800 A CN201911096800 A CN 201911096800A CN 110930878 B CN110930878 B CN 110930878B
Authority
CN
China
Prior art keywords
flexible screen
area
length
image
color
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.)
Active
Application number
CN201911096800.7A
Other languages
Chinese (zh)
Other versions
CN110930878A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911096800.7A priority Critical patent/CN110930878B/en
Publication of CN110930878A publication Critical patent/CN110930878A/en
Application granted granted Critical
Publication of CN110930878B publication Critical patent/CN110930878B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09FDISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
    • G09F9/00Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements
    • G09F9/30Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements
    • G09F9/301Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements flexible foldable or roll-able electronic displays, e.g. thin LCD, OLED

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a control method of a flexible screen and electronic equipment, wherein the method comprises the following steps: and acquiring an image of a part, which is just opposite to the body, in the second surface of the flexible screen to obtain an image, acquiring the area occupied by the imaging result of the first area in the image, and determining the extending length of the flexible screen according to the area. According to the control method of the flexible screen, the extending length of the flexible screen can be determined by obtaining the area occupied by the imaging result of the first area in the part, facing the body, of the second surface, and the extending position of the flexible screen can be monitored in real time to control the extending or the recycling of the flexible screen.

Description

Control method of flexible screen and electronic equipment
Technical Field
The embodiment of the invention relates to the field of flexible display devices, in particular to a control method of a flexible screen and electronic equipment.
Background
As the demands of consumers for the size and portability of the screen of the electronic device are gradually increased, the electronic device having the flexible screen becomes a development trend. Electronic equipment with flexible screen when the user does not use the screen, can contract the flexible screen inside the body, when the user needs to use, can stretch out the flexible screen automatically to provide good user experience.
During the use of the electronic device having the flexible screen, an excessive protrusion of the flexible screen may occur, thereby causing damage to the electronic device. In order to solve the problem, the extending length of the flexible screen needs to be detected, the extending position of the flexible screen is monitored in real time, and the extending or the recovering of the flexible screen is controlled according to the extending position. Patent CN201610832563.6 discloses a method for controlling the extension or recovery of a flexible screen through resistance change, in which a positioning wire is installed at one end of the flexible screen, the resistance value of the positioning wire changes along with the extension of the flexible screen, and the extension length of the flexible screen is determined by detecting the potential change at a specific position, so as to control the extension or recovery of the flexible screen. According to the scheme, sensing devices such as a positioning lead and an electrical detection element need to be additionally arranged on the electronic equipment, so that the complexity of the equipment is improved.
In view of the above problems, there is a need for a method for accurately detecting the extending length of the flexible screen and controlling the extending or retracting of the flexible screen without increasing the complexity of the apparatus.
Disclosure of Invention
The invention aims to provide a control method of a flexible screen and electronic equipment, which can solve the problem that the equipment required for controlling the extension or the recovery of the flexible screen is complex in the prior art.
The implementation of the invention is as follows:
in a first aspect, the invention provides a control method of a flexible screen, which is applied to electronic equipment, wherein the electronic equipment comprises an equipment body and the flexible screen, the flexible screen comprises a fixed end and an extending end, the flexible screen further comprises a first surface and a second surface, the first surface is a display surface, the second surface of the flexible screen comprises a first area, and in the extending process of the flexible screen, the area of the part, which is opposite to the equipment body, in the first area is in positive correlation or negative correlation with the extending length of the flexible screen.
The control method comprises the following steps:
collecting an image of a second surface of the flexible screen, which is opposite to the body of the electronic equipment;
acquiring the area occupied by the imaging result of the first region in the image according to the acquired image;
determining the extension length of the flexible screen according to the area occupied by the imaging result of the first region in the image;
and controlling the flexible screen to stretch out or retract according to the stretching length.
In a second aspect, the present solution provides an electronic device, including: the acquisition module is used for acquiring an image of the second surface of the flexible screen in the body; the acquisition module is used for acquiring the area of a first area in the image according to the image of the second surface of the flexible screen opposite to the body; the calculation module is used for determining the extending length of the flexible screen according to the area of the first region in the image; and the control module is used for controlling the flexible screen to stretch out or recover according to the stretching length.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the control method for the flexible screen.
In a fourth aspect, a computer-readable storage medium is characterized in that the computer-readable storage medium stores thereon a computer program, and the computer program, when executed by a processor, implements the steps of the control method of the flexible screen.
In the invention, when the flexible screen extends out of the electronic equipment body, the image of the part of the non-display surface of the flexible screen, which is opposite to the body, is acquired, the extending length of the flexible screen is determined according to the area of the preset area in the image, the extending position of the flexible screen can be monitored in real time without additionally increasing a sensing device, and the extending or the recycling of the flexible screen can be controlled according to the extending length.
Drawings
Fig. 1 is a flowchart of a control method of a flexible screen according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of an electronic device provided by an embodiment of the invention when the flexible screen is in a fully extended state;
FIG. 3 is a schematic view of the second side of the flexible screen in an embodiment of the invention;
FIG. 4 is another schematic illustration of the second side of the flexible screen in an embodiment of the invention;
FIG. 5 is yet another schematic illustration of the second side of the flexible screen in an embodiment of the invention;
fig. 6 is a flowchart of a control method of a flexible screen according to a second embodiment of the present invention;
fig. 7 is a schematic view of the second surface of the flexible screen in a corresponding relationship according to the second embodiment of the present invention in a non-extended, partially extended and fully extended state;
fig. 8 is a schematic view of the second surface of the flexible screen in an unextended, partially extended and fully extended state according to another corresponding relationship in the second embodiment of the present invention;
fig. 9 is a block diagram of an electronic device according to a third embodiment of the present invention;
fig. 10 is a block diagram of an electronic device according to a fourth embodiment of the present invention;
fig. 11 is a schematic diagram of a hardware structure of an electronic device in a fifth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. The terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. Further, as used herein, "and/or" means at least one of the connected objects.
The control method of the flexible screen is applied to the electronic equipment, and the electronic equipment can be any electronic equipment with the flexible screen, including but not limited to a mobile phone and a tablet computer.
The following describes a control method of a flexible screen according to an embodiment of the present invention.
Example one
Referring to fig. 1, a method for controlling a flexible screen according to an embodiment of the present invention is applied to an electronic device shown in fig. 2, where the electronic device includes a device body 1 and a flexible screen 2, and the flexible screen 2 includes a fixed end, an extended end, a first surface, and a second surface, and the method includes the following steps:
and 101, acquiring an image of a part, which is just opposite to the body, of the second surface of the flexible screen to obtain an image.
The first surface of the flexible screen is a display surface, and the second surface of the flexible screen comprises a first area.
And 102, acquiring the area occupied by the imaging result of the first region in the image.
In this embodiment, in the process of extending the flexible screen, the area of the portion, facing the device body, in the first region is positively or negatively correlated with the extending length of the flexible screen.
Referring to fig. 3-5, the second side of the flexible screen includes a first region 21 and other regions 22. In fig. 3, the first area is a right triangle, and is enclosed by two adjacent edges and a diagonal line of the flexible screen. In fig. 4, the first area is a triangle, one side of the triangle is the side where the fixed end of the flexible screen is located, and one vertex of the triangle is located on the side where the extended end of the flexible screen is located. In fig. 5, the first area is defined by two adjacent edges of the flexible screen and a curve, and two end points of the curve are two vertexes of the flexible screen.
It should be noted that the dividing manner of the first region and the other regions includes, but is not limited to, three manners shown in fig. 3 to 5, and any dividing manner that satisfies that, in the process of extending the flexible screen, the area of the portion of the first region facing the device body is in positive correlation or negative correlation with the extending length of the flexible screen belongs to the protection scope of the embodiment of the present invention.
103, determining the extending length of the flexible screen according to the area;
specifically, the area and the extending length of the flexible screen are in positive correlation or negative correlation, that is, the area of the part, which is opposite to the device body, in the first region and the extending length of the flexible screen are in one-to-one correspondence, so that the area is obtained, and the extending length of the flexible screen can be determined according to the correspondence.
And 104, controlling the flexible screen to stretch out or retract according to the stretching length.
Specifically, in the process of stretching out the flexible screen, the stretching position of the flexible screen is monitored in real time, and when the stretching length of the flexible screen reaches the maximum value, the flexible screen is controlled to stop stretching out, so that the electronic equipment is prevented from being damaged due to over-stretching; in the process of recycling the flexible screen, the extending position of the flexible screen is monitored in real time, and when the extending length of the flexible screen is the minimum value, the flexible screen is controlled to stop recycling, so that the electronic equipment is prevented from being damaged due to excessive recycling; when the flexible screen is used, the optimal extending length of the flexible screen is determined according to the proportion of the display objects, and then the extending or the retracting of the flexible screen is controlled.
In the embodiment of the invention, when the flexible screen extends out of the electronic equipment body, the image of the part, right opposite to the body, of the second surface of the flexible screen is acquired, the area occupied by the imaging result of the first area in the image is acquired, the extending length of the flexible screen can be accurately detected, the extending position of the flexible screen is monitored in real time, and the extending or the recycling of the flexible screen is controlled.
Example two
The following further explains the control method of the flexible screen with reference to the present embodiment.
Referring to fig. 6, the method for controlling the flexible screen according to the embodiment of the present invention includes the following steps:
step 601, image acquisition is carried out on the part, right opposite to the body of the electronic equipment, of the second surface of the flexible screen, and an image is obtained.
The first surface of the flexible screen is a display surface, and the second surface of the flexible screen comprises a first area.
In this embodiment, the first region of the flexible screen is divided as shown in fig. 3, specifically, the first region is a right triangle, and is defined by two adjacent edges and a diagonal line of the flexible screen.
In the present embodiment, the color of the first region 21 is different from the color of the other region 22, and the color of the first region 21 is the first color.
Alternatively, the first color may be black, white, red, etc., preferably black or white.
Step 602, counting the number of pixel points of the first color in the image.
In this embodiment, since an actually photographed picture may be interfered by an environment, in order to reduce the environmental interference, an RGB determination threshold of a pixel point may be set, and optionally, the RGB determination threshold of a black pixel point is set to 50, specifically, when three values of RGB of the pixel point are all less than 50, the pixel point is determined to be a black pixel point; the judgment threshold value of the RGB of the white pixel point is set to be 200, and specifically, when the three numerical values of the RGB of the pixel point are all larger than 200, the pixel point is judged to be the white pixel point.
Step 603, acquiring the area occupied by the first color in the image according to the number of the first color pixel points in the image.
Specifically, the number of all pixel points of the second surface of the flexible screen is counted, the proportion of the number of the pixel points of the first color in all the pixel points is calculated, and the area occupied by the first color in the image is calculated according to the proportion.
And step 604, determining the extending length of the flexible screen according to the area occupied by the first color in the image.
The corresponding relationship between the area occupied by the first color in the image and the extending length of the flexible screen includes, but is not limited to, the following two types:
the first correspondence relationship: the area occupied by the first color is in positive linear correlation with the extending length of the flexible screen;
the second correspondence relationship: the area occupied by the first color is linearly inversely related to the extension length of the flexible screen.
The following specifically explains the control method of the flexible screen under two corresponding relations:
in a first correspondence, a schematic view of the second face of the flexible screen in the non-extended, partially extended and fully extended states is shown with reference to fig. 7. The second side of the flexible screen comprises a first area and a further area, the first area being a triangular area formed by the first side, the second side and a diagonal of the flexible screen. Wherein, the first edge is any edge of the flexible screen along the extending direction (x direction in the figure), and the side length is l; the second edge is positioned at the fixed end of the flexible screen and is perpendicular to the first edge (in the y direction in the figure), and the length of the second edge is b; the third edge is the edge of the device body opposite to the flexible screen along the x direction, and the side length is a. As shown in fig. 7, in the portion of the second surface of the flexible screen facing the body of the electronic device, the area occupied by the first color gradually changes from a triangular MNP to a trapezoidal MNPQ, and the area gradually increases.
Specifically, according to the area occupied by the first color in the image, the following formula is adopted to determine the extending length of the flexible screen:
Figure BDA0002268595490000061
wherein x is the extension length of the flexible screen, and S is the area occupied by the first color in the image.
In a second correspondence, a schematic view of the second face of the flexible screen in a non-extended, partially extended and fully extended state is shown with reference to fig. 8. The second side of the flexible screen comprises a first area and a further area, the first area being a triangular area formed by the first side, the second side and a diagonal of the flexible screen. Wherein, the first edge is any edge of the flexible screen along the extending direction (x direction in the figure), and the side length is l; the fourth edge is positioned at the fixed end of the flexible screen and is perpendicular to the first edge (in the y direction in the figure), and the side length is b; the third edge is the edge of the device body opposite to the flexible screen along the x direction, and the side length is a. As shown in fig. 8, in the portion of the flexible screen where the second surface of the flexible screen faces the body of the electronic device, the imaging result of the first area gradually changes from the trapezoid MNPQ to the triangle MPQ, and the occupied area gradually decreases.
Specifically, according to the area occupied by the first color, the following formula is adopted to determine the extending length of the flexible screen:
Figure BDA0002268595490000062
wherein x is the extension length of the flexible screen, and S is the area occupied by the first color in the image.
And step 605, controlling the flexible screen to stretch out or retract according to the stretching length.
Specifically, in the process of stretching out the flexible screen, the stretching position of the flexible screen is monitored in real time, and when the stretching length of the flexible screen reaches the maximum value, the flexible screen is controlled to stop stretching out, so that the electronic equipment is prevented from being damaged due to over-stretching; in the process of recycling the flexible screen, the extending position of the flexible screen is monitored in real time, and when the extending length of the flexible screen is the minimum value, the flexible screen is controlled to stop recycling, so that the electronic equipment is prevented from being damaged due to excessive recycling; when the flexible screen is used, the optimal extending length of the flexible screen is determined according to the proportion of the display objects, and then the extending or the retracting of the flexible screen is controlled.
In the embodiment of the invention, when the flexible screen extends out of the electronic equipment body, the image of the part, opposite to the body, of the second surface of the flexible screen is acquired, the number of the pixel points of the first color in the image is counted, the area occupied by the first color in the image is obtained, the extending length of the flexible screen is determined according to the corresponding relation between the area occupied by the first color and the extending length of the flexible screen, the extending position of the flexible screen can be monitored in real time, and the extending or the recycling of the flexible screen is controlled.
EXAMPLE III
The electronic device provided by the embodiment of the invention can realize the details of the control method of the flexible screen in the first embodiment and achieve the same effect.
Referring to fig. 9, the electronic device provided in this embodiment includes:
the acquisition module 901 is used for acquiring an image of a part, opposite to the body, of the second surface of the flexible screen;
an obtaining module 902, configured to obtain an area occupied by an imaging result of a first region in the image;
a calculating module 903, configured to determine the extension length of the flexible screen according to an area occupied by an imaging result of the first region in the image;
and the control module 904 is used for controlling the extension or the recovery of the flexible screen according to the extension length.
In the embodiment of the invention, when the flexible screen extends out of the electronic equipment body, the image of the part, right opposite to the body, of the second surface of the flexible screen is acquired, the area occupied by the imaging result of the first area in the image is acquired, the extending length of the flexible screen can be accurately detected, the extending position of the flexible screen is monitored in real time, and the extending or the recycling of the flexible screen is controlled.
Example four
The electronic device provided by the embodiment of the invention can realize the details of the control method of the flexible screen in the second embodiment and achieve the same effect.
Referring to fig. 10, the electronic device provided in this embodiment includes:
the acquisition module 1001 is used for acquiring an image of a part, opposite to the body, of the second surface of the flexible screen;
an obtaining module 1002, configured to obtain an area occupied by an imaging result of a first region in the image;
in this embodiment, the color of the first region is different from the colors of the other regions, and the color of the first region is the first color.
Accordingly, the obtaining module 1002 includes:
the counting submodule 10021 is configured to count the number of pixel points of the first color in the image of the portion, opposite to the body, of the second surface of the flexible screen;
the calculating submodule 10022 is configured to obtain, according to the number of the pixel points of the first color, an area occupied by an imaging result of the first region in the image.
And the calculating module 1003 is configured to determine the extending length of the flexible screen according to the area occupied by the imaging result of the first region in the image.
A control module 1004 for controlling the extension or retraction of the flexible screen according to the extension length
In the embodiment of the invention, when the flexible screen extends out of the electronic equipment body, the image of the part, opposite to the body, of the second surface of the flexible screen is acquired, the number of the pixel points of the first color in the image is counted, the area occupied by the first color in the image is obtained, the extending length of the flexible screen is further determined, the extending position of the flexible screen can be monitored in real time, and the extending or the recycling of the flexible screen is controlled.
EXAMPLE five
As shown in fig. 11, the electronic device 1100 includes, but is not limited to: radio frequency unit 1101, network module 1102, audio output unit 1103, input unit 1104, sensor 1105, display unit 1106, user input unit 1107, interface unit 1108, memory 1109, processor 1110, and power supply 1111. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 11 does not constitute a limitation of electronic devices, which may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The display unit 1106 includes a flexible screen, which includes a fixed end, an extended end, a first side and a second side, where the second side includes a first area and other areas.
The electronic equipment further comprises an image acquisition device for acquiring an image of a part, opposite to the body, of the second surface of the flexible screen.
Processor 1110 is configured to: acquiring the area occupied by the imaging result of a first area in the image according to the acquired image of the part, opposite to the body, in the second surface of the flexible screen; determining the extension length of the flexible screen according to the area occupied by the imaging result of the first area; and controlling the flexible screen to stretch out or retract according to the stretching length of the flexible screen.
Optionally, the processor 1110 is specifically configured to: counting the number of pixel points of a first color in the image according to the collected image of the part, opposite to the body, in the second surface of the flexible screen; acquiring the area occupied by the imaging result of the first region in the image according to the number of the first color pixel points; determining the extending length of the flexible screen according to the area; and controlling the flexible screen to stretch out or retract according to the stretching length of the flexible screen.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1101 may be configured to receive and transmit signals during a message transmission or a call, and specifically, receive downlink data from a base station and then process the received downlink data to the processor 1110; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 1101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1101 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 1102, such as to assist the user in sending and receiving e-mail, browsing web pages, and accessing streaming media.
The audio output unit 1103 may convert audio data received by the radio frequency unit 1101 or the network module 1102 or stored in the memory 1109 into an audio signal and output as sound. Also, the audio output unit 1103 may also provide audio output related to a specific function performed by the electronic device 1100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1104 is used to receive audio or video signals. The input Unit 1104 may include a Graphics Processing Unit (GPU) 11041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or video obtained by an image pickup device such as a camera in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 1106. The image frames processed by the graphic processor 11041 may be stored in the memory 1109 (or other storage medium) or transmitted via the radio frequency unit 1101 or the network module 1102. The microphone 11042 may receive sound and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1101 in case of the phone call mode.
The electronic device 1100 also includes at least one sensor 1105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 11061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 11061 and/or the backlight when the electronic device 1100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 1105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., and will not be described in detail herein.
The display unit 1106 is used to display information input by a user or information provided to the user. The Display unit 1106 may include a Display panel 11061, and the Display panel 11061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1107 may be used to receive input numeric or character information and generate key signal inputs relating to user settings and function control of the electronic apparatus. Specifically, the user input unit 1107 includes a touch panel 11071 and other input devices 11072. The touch panel 11071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 11071 (e.g., operations by a user on or near the touch panel 11071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 11071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1110, and receives and executes commands sent from the processor 1110. In addition, the touch panel 11071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 1107 may include other input devices 11072 in addition to the touch panel 11071. In particular, the other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 11071 can be overlaid on the display panel 11061, and when the touch panel 11071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1110 to determine the type of the touch event, and then the processor 1110 provides a corresponding visual output on the display panel 11061 according to the type of the touch event. Although the touch panel 11071 and the display panel 11061 are shown in fig. 11 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 11071 and the display panel 11061 may be integrated to implement the input and output functions of the electronic device, and the embodiment is not limited herein.
The interface unit 1108 is an interface for connecting an external device to the electronic apparatus 1100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. Interface unit 1108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within electronic device 1100 or may be used to transmit data between electronic device 1100 and external devices.
The memory 1109 may be used to store software programs as well as various data. The memory 1109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory 1109 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 1109 and calling data stored in the memory 1109, thereby integrally monitoring the electronic device. Processor 1110 may include one or more processing units; preferably, the processor 1110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
The electronic device 1100 may further include a power supply 1111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 1111 may be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the electronic device 1100 includes some functional modules that are not shown, and thus are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 1110, a memory 1109, and a computer program that is stored in the memory 1109 and is executable on the processor 1110, and when the computer program is executed by the processor 1110, the processes of the foregoing photographing method embodiment are implemented, and the same technical effect can be achieved, and details are not repeated herein to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned image display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

Claims (10)

1. A control method of a flexible screen is applied to electronic equipment, the electronic equipment comprises an equipment body and the flexible screen, the flexible screen comprises a fixed end and an extending end, the flexible screen further comprises a first surface and a second surface, the first surface is a display surface, and the control method is characterized in that the second surface of the flexible screen comprises a first area, and in the extending process of the flexible screen, the area of the part, which is just opposite to the equipment body, of the first area is positively or negatively correlated with the extending length of the flexible screen;
the method comprises the following steps:
acquiring an image of a part, which is opposite to the body, in the second surface to obtain an image;
acquiring the area occupied by the imaging result of the first region in the image;
determining the extending length of the flexible screen according to the area;
and controlling the flexible screen to stretch out or retract according to the stretching length.
2. The control method of the flexible screen according to claim 1, wherein the color of the first area is a first color, and the first color is different from the color of other areas of the second face;
the area occupied by the imaging result of the first region in the image is specifically:
counting the number of pixel points of a first color in the image;
and acquiring the area occupied by the imaging result of the first region in the image according to the number of the pixel points.
3. The control method of the flexible screen according to claim 1, wherein the first area is a triangular area surrounded by a first side, a second side and a diagonal line of the flexible screen, the first side is any one side of the flexible screen in the extending direction, and the second side is a side which is located at a fixed end of the flexible screen and is perpendicular to the first side;
determining the extending length of the flexible screen according to the area, specifically:
determining the extension of the flexible screen using the following formula:
Figure FDA0003009617090000011
wherein, x is the extension length of flexible screen, l is the length on first limit, b is the length on second limit, and an is the equipment body with the length on the third limit just opposite to flexible screen, the third limit with the direction of extension of flexible screen is parallel, and S is the area that the formation of image result in first region occupied.
4. The control method of the flexible screen according to claim 1, wherein the first area is a triangular area surrounded by a first edge, a fourth edge and a diagonal line of the flexible screen, the first edge is any one of the edges of the flexible screen in the extending direction, and the fourth edge is an edge which is positioned at the extending end of the flexible screen and is perpendicular to the first edge;
determining the extending length of the flexible screen according to the area, specifically:
determining the extension of the flexible screen using the following formula:
Figure FDA0003009617090000021
wherein, x does the extension length of flexible screen, l does the length on first side, b does the length of fourth side, and an does the equipment body with the length of the third side just opposite flexible screen, the third side with the direction of stretching out of flexible screen is parallel, and S is the area that the formation of image result in first region occupied.
5. An electronic device, characterized in that, electronic device includes equipment body and flexible screen, electronic device still includes:
the acquisition module is used for acquiring an image of a part, opposite to the body, of the second surface of the flexible screen;
the acquisition module is used for acquiring the area occupied by the imaging result of the first area in the image according to the image of the part, opposite to the body, in the second surface of the flexible screen;
the calculation module is used for determining the extension length of the flexible screen according to the area occupied by the imaging result of the first area in the image;
and the control module is used for controlling the flexible screen to stretch out or recover according to the stretching length.
6. The electronic device of claim 5, wherein the color of the first area is a first color, and the first color is different from the color of other areas of the second side;
the acquisition module includes:
the counting submodule is used for counting the number of pixel points of the first color in the image of the part, opposite to the body, of the second surface of the flexible screen;
and the calculation submodule is used for acquiring the area occupied by the imaging result of the first area in the image according to the number of the pixel points of the first color in the image of the part, opposite to the body, of the second surface of the flexible screen.
7. The electronic device according to claim 6, wherein the first region is a triangular region surrounded by a first side, a second side and a diagonal line of the flexible screen, the first side is any one side of the flexible screen in the extending direction, and the second side is a side which is located at a fixed end of the flexible screen and is perpendicular to the first side;
the calculation module is specifically configured to determine the extension length of the flexible screen by using the following formula:
Figure FDA0003009617090000031
wherein, x is the extension length of flexible screen, l is the length on first limit, b is the length on second limit, and an is the equipment body with the length on the third limit just opposite to flexible screen, the third limit with the direction of extension of flexible screen is parallel, and S is the area that the formation of image result in first region occupied.
8. The electronic device according to claim 6, wherein the first area is a triangular area surrounded by a first side, a fourth side and a diagonal line of the flexible screen, the first side is any side of the flexible screen along the extending direction, the fourth side is a side which is positioned at an extending end of the flexible screen and is perpendicular to the first side:
the calculation module is specifically configured to determine the extension length of the flexible screen by using the following formula:
Figure FDA0003009617090000032
wherein, x does the extension length of flexible screen, l does the length on first side, b does the length of fourth side, and an does the equipment body with the length of the third side just opposite flexible screen, the third side with the direction of stretching out of flexible screen is parallel, and S is the area that the formation of image result in first region occupied.
9. An electronic device, characterized in that it comprises a processor, a memory and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the control method of a flexible screen according to any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the method of controlling a flexible screen according to any one of claims 1 to 4.
CN201911096800.7A 2019-11-11 2019-11-11 Control method of flexible screen and electronic equipment Active CN110930878B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911096800.7A CN110930878B (en) 2019-11-11 2019-11-11 Control method of flexible screen and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911096800.7A CN110930878B (en) 2019-11-11 2019-11-11 Control method of flexible screen and electronic equipment

Publications (2)

Publication Number Publication Date
CN110930878A CN110930878A (en) 2020-03-27
CN110930878B true CN110930878B (en) 2021-06-18

Family

ID=69853798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911096800.7A Active CN110930878B (en) 2019-11-11 2019-11-11 Control method of flexible screen and electronic equipment

Country Status (1)

Country Link
CN (1) CN110930878B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103426366A (en) * 2012-05-22 2013-12-04 三星显示有限公司 Display device
CN103426384A (en) * 2012-05-22 2013-12-04 三星显示有限公司 Display device, calibration method of display device, and display method of display device
KR20140144029A (en) * 2013-06-10 2014-12-18 엘지전자 주식회사 Multimedia device comprising flexible display and method for controlling the same
CN104461444A (en) * 2014-12-30 2015-03-25 上海华勤通讯技术有限公司 Split-screen display method for flexible screen and terminal device
CN106157816A (en) * 2016-07-08 2016-11-23 广东欧珀移动通信有限公司 A kind of flexible display apparatus
CN106448465A (en) * 2016-10-11 2017-02-22 上海天马微电子有限公司 Flexible display device
US9703323B2 (en) * 2012-11-01 2017-07-11 Samsung Electronics Co., Ltd. Providing adaptive user interface using flexible display
CN107665657A (en) * 2016-07-29 2018-02-06 乐金显示有限公司 Can wound flexible display device
CN107820629A (en) * 2016-11-09 2018-03-20 深圳市柔宇科技有限公司 Flexible display and expansion detection method
CN107845330A (en) * 2016-09-19 2018-03-27 上海和辉光电有限公司 Flexible display and its display methods
CN108037893A (en) * 2017-12-29 2018-05-15 努比亚技术有限公司 A kind of display control method of flexible screen, device and computer-readable recording medium
KR101945985B1 (en) * 2018-06-28 2019-02-08 엘지디스플레이 주식회사 Display device
CN109388193A (en) * 2018-10-18 2019-02-26 维沃移动通信有限公司 A kind of acquisition methods and electronic equipment of flexible display screen spread length
CN209118666U (en) * 2019-01-03 2019-07-16 京东方科技集团股份有限公司 A kind of display device
EP3136223B1 (en) * 2015-08-26 2019-07-24 LG Electronics Inc. Flexible display device and operating method thereof

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023833B (en) * 2009-09-11 2012-09-05 联想(北京)有限公司 Portable terminal and display control method thereof
US20130234951A1 (en) * 2012-03-09 2013-09-12 Jihwan Kim Portable device and method for controlling the same
CN104461442B (en) * 2014-12-30 2018-04-24 华勤通讯技术有限公司 The region displaying method and terminal device of flexible screen
US10937393B2 (en) * 2015-04-15 2021-03-02 Samsung Electronics Co., Ltd. Electronic device including flexible display and content display method thereof
KR102560664B1 (en) * 2015-09-30 2023-07-27 엘지전자 주식회사 A mobile terminal and method for controlling the same
WO2017094926A1 (en) * 2015-12-01 2017-06-08 엘지전자 주식회사 Terminal device and control method
CN108766235B (en) * 2018-03-31 2021-04-23 上海创功通讯技术有限公司 Scroll type flexible screen, display control method and storage medium
CN108735100A (en) * 2018-05-21 2018-11-02 上海创功通讯技术有限公司 A kind of flexible display apparatus and its control method, control device
CN109683789B (en) * 2018-12-29 2021-01-08 维沃移动通信有限公司 Content display method and terminal
CN109639866B (en) * 2019-01-28 2021-02-12 维沃移动通信有限公司 Display method and terminal
CN110213489B (en) * 2019-06-20 2021-06-15 维沃移动通信有限公司 Control method, control device and terminal equipment

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103426384A (en) * 2012-05-22 2013-12-04 三星显示有限公司 Display device, calibration method of display device, and display method of display device
CN103426366A (en) * 2012-05-22 2013-12-04 三星显示有限公司 Display device
US9703323B2 (en) * 2012-11-01 2017-07-11 Samsung Electronics Co., Ltd. Providing adaptive user interface using flexible display
KR20140144029A (en) * 2013-06-10 2014-12-18 엘지전자 주식회사 Multimedia device comprising flexible display and method for controlling the same
CN104461444A (en) * 2014-12-30 2015-03-25 上海华勤通讯技术有限公司 Split-screen display method for flexible screen and terminal device
EP3136223B1 (en) * 2015-08-26 2019-07-24 LG Electronics Inc. Flexible display device and operating method thereof
CN106157816A (en) * 2016-07-08 2016-11-23 广东欧珀移动通信有限公司 A kind of flexible display apparatus
CN107665657A (en) * 2016-07-29 2018-02-06 乐金显示有限公司 Can wound flexible display device
CN107845330A (en) * 2016-09-19 2018-03-27 上海和辉光电有限公司 Flexible display and its display methods
CN106448465A (en) * 2016-10-11 2017-02-22 上海天马微电子有限公司 Flexible display device
CN107820629A (en) * 2016-11-09 2018-03-20 深圳市柔宇科技有限公司 Flexible display and expansion detection method
CN108037893A (en) * 2017-12-29 2018-05-15 努比亚技术有限公司 A kind of display control method of flexible screen, device and computer-readable recording medium
KR101945985B1 (en) * 2018-06-28 2019-02-08 엘지디스플레이 주식회사 Display device
CN109388193A (en) * 2018-10-18 2019-02-26 维沃移动通信有限公司 A kind of acquisition methods and electronic equipment of flexible display screen spread length
CN209118666U (en) * 2019-01-03 2019-07-16 京东方科技集团股份有限公司 A kind of display device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Flexible Electronics: The Next Ubiquitous Platform;Arokia Nathan,etc;《Proceedings of the IEEE》;20120510;第1486-1517页 *
柔性OLED制备及性能;段炼等;《中国科技论文在线》;20100430;第5卷(第4期);第282、287-290页 *

Also Published As

Publication number Publication date
CN110930878A (en) 2020-03-27

Similar Documents

Publication Publication Date Title
CN108459797B (en) Control method of folding screen and mobile terminal
CN108347759B (en) Anti-interference method of flexible screen and mobile terminal
CN110166610B (en) Mobile terminal and switching method of sound outlet
CN110557575B (en) Method for eliminating glare and electronic equipment
CN111314610B (en) Control method and electronic equipment
CN107977652B (en) Method for extracting screen display content and mobile terminal
CN107728923B (en) Operation processing method and mobile terminal
CN107749046B (en) Image processing method and mobile terminal
CN110750189B (en) Icon display method and device
CN109739394B (en) SAR value processing method and mobile terminal
CN109639887B (en) Control method and terminal equipment
CN109088973B (en) Antenna control method and device and mobile terminal
CN108984145B (en) Brightness adjusting method and electronic equipment
EP4096207A1 (en) Mobile terminal, method for detecting image capturing mode, and storage medium
CN109445653B (en) Icon processing method and mobile terminal
CN110868546B (en) Shooting method and electronic equipment
KR20220157485A (en) Detection result output method, electronic device and medium
CN110908750B (en) Screen capturing method and electronic equipment
CN110007821B (en) Operation method and terminal equipment
CN109348212B (en) Image noise determination method and terminal equipment
CN111475247B (en) Display method and electronic equipment
CN109327605B (en) Display control method and device and mobile terminal
CN110764650A (en) Key trigger detection method and electronic equipment
CN111370026A (en) Equipment state detection method and electronic equipment
CN111352566A (en) Parameter adjusting method and electronic equipment

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
GR01 Patent grant
GR01 Patent grant