CN111104086B - Display method and electronic equipment - Google Patents

Display method and electronic equipment Download PDF

Info

Publication number
CN111104086B
CN111104086B CN201911133634.3A CN201911133634A CN111104086B CN 111104086 B CN111104086 B CN 111104086B CN 201911133634 A CN201911133634 A CN 201911133634A CN 111104086 B CN111104086 B CN 111104086B
Authority
CN
China
Prior art keywords
screen
target content
optical signal
display
distance
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
CN201911133634.3A
Other languages
Chinese (zh)
Other versions
CN111104086A (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 CN201911133634.3A priority Critical patent/CN111104086B/en
Publication of CN111104086A publication Critical patent/CN111104086A/en
Priority to PCT/CN2020/129657 priority patent/WO2021098704A1/en
Application granted granted Critical
Publication of CN111104086B publication Critical patent/CN111104086B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1643Details related to the display arrangement, including those related to the mounting of the display in the housing the display being associated to a digitizer, e.g. laptops that can be used as penpads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1675Miscellaneous details related to the relative movement between the different enclosures or enclosure parts
    • G06F1/1677Miscellaneous details related to the relative movement between the different enclosures or enclosure parts for detecting open or closed state or particular intermediate positions assumed by movable parts of the enclosure, e.g. detection of display lid position with respect to main body in a laptop, detection of opening of the cover of battery compartment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications

Landscapes

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

Abstract

The invention provides a display method and electronic equipment, wherein the electronic equipment comprises: a screen that is scalable in length or width; the method comprises the following steps: displaying a first target content in the screen; and under the condition of acquiring second target content to be displayed, controlling the screen to stretch out, and displaying the first target content and the second target content in the stretched screen. In the embodiment of the invention, the screen of the electronic equipment is extended, and the display size of the screen is increased, so that the first target content and the second target content can be simultaneously displayed in the screen, and the first target content and the second target content cannot be shielded mutually, thereby avoiding influencing the look and feel and operation of a user, and improving the use experience of the user.

Description

Display method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of electronic equipment, in particular to a display method and electronic equipment.
Background
During the process of using the electronic device, a user may receive a short message, a notification, and other reminding information, which is usually displayed in the form of a floating frame or a reminding bar on a screen, and the displayed reminding information may block a part of the content that the user is watching, for example: when a user watches a video by using the electronic equipment, if the reminding information is received, the reminding information can block a part of a video interface, so that the user has poor sight and feel; displaying the reminder information at the same time may also affect the operation of the user on the screen, for example: the user uses the electronic equipment to complete the game, if the reminding information is received, the reminding information can shield a part of game interface, the game operation of the user is influenced, and the experience of the user using the electronic equipment is poor.
Disclosure of Invention
The embodiment of the invention provides a display method and electronic equipment, and solves the problem that the existing electronic equipment can shield an interface in a screen when displaying information, so that the user experience is poor.
According to a first aspect of the embodiments of the present invention, there is provided a display method applied to an electronic device, where the electronic device includes: a screen that is scalable in length or width;
the method comprises the following steps:
displaying a first target content in the screen;
and under the condition of acquiring second target content to be displayed, controlling the screen to stretch out, and displaying the first target content and the second target content in the stretched screen.
According to a second aspect of the embodiments of the present invention, there is provided an electronic apparatus, including:
a screen that is scalable in length or width;
the first display module is used for displaying first target content in the screen;
the control module is used for controlling the screen to stretch out under the condition of acquiring second target content to be displayed;
and the second display module is used for displaying the first target content and the second target content in the stretched screen.
According to a third aspect of embodiments of the present invention, there is provided an electronic apparatus, characterized by including a screen whose length or width is retractable; the electronic device further includes: a processor, a memory and a program stored on the memory and executable on the processor, which program, when executed by the processor, carries out the steps of the display method according to the first aspect.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium, characterized in that the computer-readable storage medium stores thereon a computer program, which when executed by a processor implements the steps of the display method according to the first aspect.
In the embodiment of the invention, the screen of the electronic equipment is extended, and the display size of the screen is increased, so that the first target content and the second target content can be simultaneously displayed in the screen, and the first target content and the second target content cannot be shielded mutually, thereby avoiding influencing the look and feel and operation of a user, and improving the use experience of the user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart of a display method according to an embodiment of the present invention;
FIG. 2 is a second schematic flow chart of a display method according to an embodiment of the present invention;
FIG. 3 is a third schematic flow chart of a display method according to an embodiment of the present invention;
fig. 4a is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 4b is a second schematic structural diagram of an electronic apparatus according to an embodiment of the invention;
FIG. 4c is a fourth schematic flowchart of a display method according to an embodiment of the present invention;
fig. 5a is a schematic view of an application scenario provided in the embodiment of the present invention;
FIG. 5b is a second schematic view of an application scenario provided by the embodiment of the present invention;
fig. 5c is a third schematic view of an application scenario provided by the embodiment of the present invention;
fig. 6 is a third schematic structural diagram of an electronic apparatus according to an embodiment of the invention;
fig. 7 is a fourth schematic structural diagram of an electronic device according to an 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.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the embodiment of the present invention, the electronic device may be a Mobile phone, a tablet Computer, a notebook Computer, an Ultra-Mobile Personal Computer (UMPC), a netbook, a Personal Digital Assistant (PDA), or the like.
Referring to fig. 1, an embodiment of the present invention provides a display method, where an execution subject of the method is an electronic device having a screen whose length or width is extendable or retractable, and the method includes the following specific steps:
step 101: displaying a first target content in a screen;
in the embodiment of the present invention, displaying the first target content in the screen refers to a scene in which the user is using the electronic device, and the first target content may be a video, a picture, a game operation interface, or the like.
Step 102: under the condition that second target content to be displayed is obtained, the screen is controlled to stretch out, and the first target content and the second target content are displayed in the stretched screen;
in the embodiment of the invention, the second target content can be a short message, a notification reminder and the like, and when the second target content to be displayed is received, the screen is controlled to stretch out, so that the display size of the screen is increased.
Specifically, the first target content is displayed in a first display area in the extended screen, and the second target content is displayed in a second display area in the extended screen. The display size of the first display area is the same as that of the first target content, and the second display area is a display area of the stretched screen except the first display area. Therefore, in the stretched screen, the first target content and the second target content are displayed simultaneously in a split screen mode, mutual shielding between the first target content and the second target content is avoided, and the display size of the first display area is the same as that of the first target content, so that the display effect of the first target content can be ensured not to be influenced.
In the embodiment of the invention, the screen of the electronic equipment is extended, and the display size of the screen is increased, so that the first target content and the second target content can be simultaneously displayed in the screen, and the first target content and the second target content cannot be shielded mutually, thereby avoiding influencing the look and feel and operation of a user, and improving the use experience of the user.
Referring to fig. 2, an embodiment of the present invention provides a display method, where an execution subject of the method is an electronic device having a screen whose length or width is extendable or retractable, and the method includes the following specific steps:
step 201: displaying a first target content in a screen;
step 202: receiving prompt information;
in the embodiment of the present invention, the prompt message is used to prompt that the unread second target content exists. In the practical application process, the prompt message can be a smaller icon displayed at the edge or corner of the screen, so that the first target content can be prevented from being excessively shielded, and when a user sees the icon appearing in the screen, the user can know that the unread second target content exists; the prompt message may also be a prompt tone, and when the user hears the prompt tone, the user can know that the unread second target content exists. The embodiment of the invention does not limit the specific form of the prompt message.
Step 203: receiving a touch input acting on a lighted area of a screen;
in the embodiment of the invention, the lighted area of the screen refers to the area in use by the screen, and for the retractable screen, the stretched part is the lighted area, and the non-stretched part is the non-lighted area. If the user wants to view the second target content, touch input is performed in the lighted area of the screen, and the touch input may be double click, single finger long press, three finger sliding, and the like.
Step 204: displaying first target content in a third display area in the stretched screen and displaying second target content in a fourth display area in the stretched screen according to position information of touch input in a lighted area of the screen and the stretching direction of the screen;
in the embodiment of the present invention, the position information of the touch input is used to indicate an action position of the touch input in the lighted area of the screen, and the position information may be coordinates of the action position of the touch input.
The position relation between the third display area and the fourth display area is determined by combining the position information of touch input and the extending direction of the screen, so that a user can determine the display position of the second target content according to the requirement of the user, and the electronic equipment is more flexible to use.
For the case that the extending direction of the screen is the length direction, the position relationship between the third display area and the fourth display area is vertical arrangement, and specifically, the third display area is on top, the fourth display area is on bottom, or the third display area is on bottom and the fourth display area is on top, the action position of the touch input in the lighted area of the screen is determined, for example: determining that the touch input acts on the upper half part of the lighted area of the screen according to the position information, and then determining that the third display area is on the lower part and the fourth display area is on the upper part; and determining that the touch input acts on the lower half part of the lighted area of the screen according to the position information, and then determining that the third display area is above and the fourth display area is below.
For the case that the extending direction of the screen is the width direction, the position relationship between the third display area and the fourth display area is the horizontal arrangement, and specifically, the third display area is on the left, the fourth display area is on the right, or the third display area is on the right, and the fourth display area is on the left, the action position of the touch input in the lighted area of the screen is determined, for example: determining that the touch input acts on the left half part of the lighted area of the screen according to the position information, and then determining that the third display area is on the right and the fourth display area is on the left; and determining that the touch input acts on the right half part of the lighted area of the screen according to the position information, and then determining that the third display area is on the left and the fourth display area is on the right.
In the embodiment of the invention, the position relation between the third display area and the fourth display area is determined by combining the position information of the touch input and the extending direction of the screen, so that a user can flexibly select the first target content and the display position of the first target content, the use flexibility of the electronic equipment is increased, and the use experience is improved.
Referring to fig. 3, an embodiment of the present invention provides a display method, where an execution subject of the method is an electronic device having a screen whose length or width is extendable or retractable, and the method includes the following specific steps:
step 301: displaying a first target content in a screen;
step 302: controlling the screen to extend or retract in a case where an input of switching the first target content to the third target content is received, and displaying the third target content in the extended or retracted screen;
in the embodiment of the present invention, the input of switching the first target content to the third target content means that the user needs to switch the content displayed in the screen, for example: view another picture, play another video, switch another application, etc.
The display size of the third target content is different from the display size of the first target content, and if the third target content is displayed while the screen display size is kept unchanged, the display effect of the third target content is deteriorated, for example: if the display size of the third target content is larger than that of the first target content, only part of the third target content can be displayed in the screen; if the display size of the third target content is smaller than that of the first target content, when the third target content is displayed on the screen, the unfilled area in the screen needs to be filled with black borders, which results in poor appearance.
Therefore, it is necessary to determine a distance that the screen needs to be extended or retracted according to the display size of the first target content and the display size of the third target content, control the screen to be extended or retracted, and then display the third target content in the extended or retracted screen.
Referring to fig. 4a, in order to determine the distance that the screen needs to be extended or retracted according to the display size of the first target content and the display size of the third target content, an embodiment of the present invention provides an electronic device 40, including: a housing 41 and a screen 42;
the housing 41 is provided with an opening 411, a first end of the screen 42 is arranged in the housing 41, and a second end of the screen 42 can extend or retract along the opening 411;
fig. 4a shows a structure of a driving screen 42, wherein the screen 42 is a flexible screen, a rotating shaft 412 and a motor 413 are arranged in the housing 41, and the rotating shaft 412 is in driving connection with the motor 413; a first end of the screen 42 is wound around the rotating shaft 412, and the motor 413 drives the rotating shaft 412 to rotate, so as to drive a second end of the screen 42 to extend or retract along the opening 11.
It should be noted that, the structure using the motor, the rotating shaft and the flexible screen is considered from the perspective of saving the internal space of the electronic device, and for the electronic device with a large volume, the internal space is sufficient, so that the flexible screen is not needed, and the extendable or retractable screen can be directly realized through the lifting screen.
With continued reference to fig. 4a, the electronic device 40 further includes an optical signal emitter 43 and an optical signal receiver 44 disposed in the opening 411, a plurality of light-transmitting areas 421 are disposed on the screen 42 along the extending and retracting direction, and during the extending or retracting process of the screen 42, the optical signal emitted by the optical signal emitter 43 can pass through the light-transmitting areas 421 to be received and counted by the optical signal receiver 44.
In the embodiment of the present invention, the motor 413 is controlled to drive the rotating shaft 412 to rotate, so as to drive the screen 42 to move, and the screen 42 can extend or retract along the opening 411 of the housing 41 according to the different rotating directions of the motor 413 driving the rotating shaft 412. In the following description, for the sake of convenience, the rotation direction of the rotating shaft 412 when the screen 42 is extended is referred to as "forward rotation", and the rotation direction of the rotating shaft 412 when the screen 42 is retracted is referred to as "reverse rotation".
The motor 413 may be a stepping motor, an output shaft of the motor 413 is in driving connection with one end of the rotating shaft 412, and the screen 42 is extended or retracted by controlling the motor to rotate forward or backward.
The plurality of light-transmitting areas 421 are equally spaced in the expansion and contraction direction of the screen 42, and the distance of extension or retraction of the screen 42 is determined according to the distance between the counting result of the optical signal receiver 44 and the adjacent light-transmitting area 421.
The plurality of light-transmitting areas 421 may be distributed on one side of the screen 42, so that the light-transmitting areas 421 may be prevented from affecting the normal display of the screen 42. The light transmission areas 421 are arranged at equal intervals, and when the telescopic distance of the screen 42 is calculated according to the counting result of the optical signal receiver 44, the counting result is multiplied by the spacing distance between the adjacent light transmission areas 421, and the product is the telescopic distance of the screen 42.
The spacing distance between adjacent light transmissive regions 421 determines the minimum adjustable unit of the expansion and contraction distance of screen 42, and in some embodiments, is 0.5 cm. It is understood that, a person skilled in the art can set the spacing distance according to actual product requirements, and the specific length of the spacing distance is not limited by the embodiment of the present invention.
The type of the optical signal can be selected from various options, such as: optical signals, ultraviolet light, laser light, and the like, and the type of the optical signals is not particularly limited in the embodiment of the present invention.
Optionally, the light transmissive region 421 is a through hole or a lens. It should be noted that, when the light-transmitting regions 421 are provided, the size of the light-transmitting regions 421 should be smaller than the spacing distance between adjacent light-transmitting regions 421, so as to avoid a large calculation error when determining the telescopic distance of the screen 42 according to the counting result.
Fig. 4a shows that the shape of the light-transmitting area 421 is circular, and in some embodiments, the light-transmitting area 421 is a circular through hole or lens with a diameter of 0.1 cm. It is understood that, a person skilled in the art can set the shape and size of the light-transmitting area 421 according to actual product requirements, and the shape and size of the light-transmitting area 421 are not specifically limited in the embodiments of the present invention.
The optical signal emitter 43 and the optical signal receiver 44 are respectively disposed on the upper and lower sides of the screen 42, and fig. 4a shows a scene in which the optical signal emitter 43 is disposed toward the front of the screen 42, and the optical signal emitter 43 may also be disposed toward the back of the screen 42.
In the embodiment of the present invention, the optical signal transmitter 43 continuously transmits the optical signal to the screen 42, and as the screen 42 is extended or retracted, when the interval between the light-transmitting areas 421 is located at the irradiation position of the optical signal, the optical signal will be shielded by the screen 42, and no pulse signal will be generated on the optical signal receiver 44; when the light-transmitting area 421 is located at the irradiation position of the optical signal, the optical signal will be received by the optical signal receiver 44 through the light-transmitting area 421 and a pulse signal will be generated, and counting is performed according to the pulse signal, for example: when the screen 42 is extended, every time a pulse signal is generated, the counting result is increased by one; every time the screen 42 is retracted, the count result is decremented by one (since the retraction of the screen 42 is established on the premise that the screen 42 is extended, the count is decremented by one also on the basis of the count result after the previous screen 42 was extended); accordingly, when determining the distance of the screen extension, the calculation is carried out by counting the number of the increase of the counting result and the interval between the adjacent light transmission areas; in determining the distance by which the screen is retracted, the distance is calculated by the number of decreases in the count result and the interval between adjacent light-transmitting areas.
In the embodiment of the invention, the motor drives the rotating shaft to drive the screen to extend out or retract along the opening of the shell of the electronic equipment; at the flexible in-process of screen, count through light signal transmitter, light signal receiver and the light transmission region on the screen, confirm whether the flexible distance of screen reaches the target distance according to the count result, realize electronic equipment intelligent regulation screen size, improve user and use experience.
Further, referring to fig. 4b, the electronic device 40 further includes: a magnetic member 45 and a hall sensor 46; a magnetic member 45 is disposed at a second end of the screen 42; the hall sensor 46 is disposed in the opening 411; in the case where the hall sensor 46 detects the magnetic member 45, the optical signal receiver 44 clears the count result, and the motor 413 stops driving the rotating shaft 412.
In the embodiment of the present invention, the magnetic member 45 is provided on the second end of the screen 42, i.e., the free end of the screen 42 that extends and contracts, and the hall sensor 46 is provided in the opening 411 of the housing 41 accordingly. Thus, when the second end of the screen 42 is retracted into the opening 411 of the housing 41, the hall sensor 46 can detect the magnetic member, thereby allowing the electronic device 40 to determine that the screen 42 has been fully retracted into the housing 41 at this time. When the hall sensor 46 detects the magnetic member 45, the light signal receiver 44 is indicated to count and clear, so that the subsequent screen 42 can be counted again when needing to be extended; meanwhile, the state when the screen 42 is completely retracted into the housing 41 is taken as an initial state by counting and clearing, so that the overall control and adjustment of the electronic device 40 are facilitated, and the occurrence of calculation errors due to excessive counting results after the screen 42 is stretched and contracted for multiple times is avoided.
Alternatively, as shown in fig. 4b, the hall sensor 46 and the optical signal transmitter 43 and the optical signal receiver 44 are respectively located at two sides of the screen 42 at the position where the opening 411 is located, and accordingly, the magnetic member 45 and the light-transmitting area 421 are also located at two sides of the screen 42. In this way, the magnetic member 45 and the hall sensor 46 can be prevented from affecting the normal operation of the optical signal transmitter 43 and the optical signal receiver 44.
Referring to fig. 4c, an embodiment of the present invention provides another display method, where an execution main body of the method is the electronic device shown in fig. 4b, and the method includes the following specific steps:
step 401: displaying a first target content in a screen;
step 402: determining a target distance by which the screen is extended or retracted in a case where an input of switching the first target content to the third target content is received;
in the embodiment of the invention, the electronic equipment firstly determines the target distance of the screen required to be extended or retracted, and the target distance is determined according to the display size of the first target content and the display size of the third target content. Taking the stretching direction of the screen as the length direction, the display size being the aspect ratio as an example, the aspect ratio corresponding to the first target content is 4:3, and the aspect ratio corresponding to the third target content is 16:9, then the electronic device needs to control the screen to stretch. Specifically, the electronic device calculates a length value required by the third target content according to the width value of the screen and the aspect ratio of the third target content; and calculating a difference value according to the length value and the length value of the lighted area of the screen, wherein the difference value is the target distance.
Step 403: controlling a motor to drive a rotating shaft to drive a screen to extend or retract, and then executing step 404 or step 405;
when the motor drives the rotating shaft to drive the screen to extend, executing step 404; when the motor drives the shaft to retract the screen, step 405 is performed. And controlling the light signal emitter to emit light signals to the screen during the process of extending or retracting the screen.
Step 404: each time the optical signal receiver receives the optical signal transmitted from the light-transmitting area, the optical signal receiver is controlled to increase the counting result by one, and then step 406 is executed;
step 405: every time the optical signal receiver receives the optical signal transmitted from the light-transmitting area, the optical signal receiver is controlled to decrement the counting result by one, and then step 407 is executed;
step 406: determining the extending distance of the screen according to the counting result increase number and the spacing distance of the adjacent light transmission areas, and then executing step 408;
step 407: determining the retraction distance of the screen according to the count result reduction number and the spacing distance of the adjacent light transmission regions, and then executing step 409;
step 408: judging whether the screen extending distance reaches the target distance, if so, executing step 413, otherwise, executing step 410;
step 409: judging whether the retraction distance of the screen reaches the target distance, if so, executing a step 413, otherwise, executing a step 411;
in the embodiment of the invention, the electronic equipment firstly judges whether the telescopic distance of the screen reaches the target distance during counting each time. If the motor is not reached, a subsequent judgment process is needed.
Step 410: judging whether the extending distance of the screen reaches the maximum extending distance, if so, executing a step 413, otherwise, returning to the step 404;
in practical applications, when the electronic device determines the target distance of the screen stretching, errors may occur, such as: the maximum extending distance of the screen is 20 cm, and the electronic device determines that the extending target distance is 25 cm due to calculation errors or other reasons, which will cause the electronic device to still instruct the motor to continue to drive the rotating shaft to rotate when the screen extends 20 cm, and further cause the device to operate incorrectly, even cause damage.
In the embodiment of the invention, in the process of extending the screen, the electronic device judges whether the distance extending the screen reaches the maximum extending distance every time the counting result is added, if the distance extending the screen reaches the maximum extending distance, the electronic device needs to instruct the motor to stop running no matter whether the target distance determined in the step 402 is finished, so that the running error of the device caused by the error in determining the target distance is avoided.
Step 411: judging whether the Hall sensor detects the magnetic piece, if so, executing a step 412, otherwise, returning to the step 405;
in practical applications, when the electronic device determines the target distance of the screen retraction, errors may occur, such as: the extended distance of the screen is 15 cm, and the electronic device determines that the retracted target distance is 25 cm due to calculation errors or other reasons, which will cause the electronic device to still instruct the motor to continue to drive the rotating shaft to rotate when the screen retracts by 15 cm, and further cause the device to operate incorrectly or even cause damage.
In the embodiment of the invention, in the process of retracting the screen, each time the counting result is reduced by one, the electronic device judges whether the hall sensor detects the magnetic piece, if the magnetic piece is detected, the screen is completely retracted, and no matter whether the target distance determined in the step 402 is finished, the electronic device needs to instruct the motor to stop running, so that the running error of the device caused by the error determination of the target distance is avoided.
Step 412: controlling an optical signal receiver to zero the counting result;
in the embodiment of the invention, after the screen is determined to be completely retracted, the counting result is cleared, and the state of the screen when the screen is completely retracted into the shell is taken as an initial state through counting clearing, so that the overall control and adjustment of the electronic equipment are facilitated, and the counting error caused by excessive counting results after the screen is stretched for multiple times is avoided.
Step 413: controlling the motor to stop driving the rotating shaft;
in the embodiment of the invention, the motor drives the rotating shaft to drive the screen to extend out or retract along the opening of the shell of the electronic equipment; the light transmission area on the screen is counted through the detection assembly, whether the telescopic distance of the screen reaches the target distance or not is determined according to the counting result, the intelligent screen size adjustment of the electronic equipment is achieved, and the user use experience is improved.
In addition, in the screen stretching process, the maximum stretching distance is used as a stretching stopping condition, the Hall sensor is arranged to detect the magnetic part to be used as a retracting stopping condition, and the electronic equipment is prevented from operating mistakenly due to the fact that the screen stretching target distance is determined mistakenly.
Referring to fig. 5a, in the prior art, when a user uses an electronic device to watch a video or play a game, if the electronic device receives a short message or needs to be reminded of a system message, the electronic device generally displays the message in the form of a floating window or a prompt bar, and at this time, the message display interface partially blocks an interface which the user is operating, so that the user experience is poor.
By adopting the method of the embodiment of the invention, when a message needs to be displayed, as shown in fig. 5a, the electronic device can determine the target distance of the screen stretching according to the content of the message to be displayed, then control the stretching of the screen, and display the reminding message in the newly stretched screen area.
Referring to fig. 5b and 5c, in the prior art, the video scale format from different video sources is not necessarily the same as the current display scale of the display screen of the electronic device. As shown in fig. 5b, the format of the ratio of the video to be displayed is 4:3, and the display ratio of the current display screen is 16:9, that is, the ratio of the video is not matched with the ratio of the display screen of the electronic device, at this time, when the display screen of the electronic device displays the video, black borders are automatically generated on two sides to fill up the area with the unmatched ratio, however, the processing method may cause the user experience to be low.
Referring to fig. 5c, a scene in which the video to be displayed shown in fig. 5b is displayed by using the method of the embodiment of the present invention is shown, and with the method of the embodiment of the present invention, the electronic device can calculate the distance that the screen needs to be extended, so that the video to be displayed fills the whole screen to be displayed, and the viewing experience of the user is improved.
Referring to fig. 6, an electronic device 600 according to an embodiment of the present invention includes: a screen that is scalable in length or width;
a first display module 601, configured to display a first target content in the screen;
the control module 602 is configured to control the screen to extend out when the second target content to be displayed is acquired;
a second display module 603, configured to display the first target content and the second target content in the extended screen.
Optionally, the second display module 603 includes:
a first display unit 6031 configured to display the first target content in a first display area in the screen after being stretched out, and display the second target content in a second display area in the screen after being stretched out;
the display size of the first display area is the same as that of the first target content, and the second display area is a display area of the extended screen except the first display area.
Optionally, the second display module 603 includes:
a first receiving unit 6032 configured to receive prompt information for prompting that unread second target content exists;
a second receiving unit 6033 configured to receive a touch input applied to a lit area of the screen;
a second display unit 6034 configured to display the first target content in a third display area in the screen after the stretching out and display the second target content in a fourth display area in the screen after the stretching out, according to the position information of the touch input in the lighted area of the screen and the stretching out direction of the screen.
Optionally, the control module 602 is further configured to control the screen to extend or retract when an input for switching the first target content to a third target content is received;
the second display module 603 is further configured to display the third target content in the extended or retracted screen;
wherein a display size of the third target content is different from a display size of the first target content.
Optionally, the first end of the screen is arranged in a housing of the electronic device, the housing is provided with an opening, the second end of the screen can extend out or retract along the opening, and the screen is provided with a plurality of light-transmitting areas along the extending direction; the electronic device further includes: the optical signal transmitter and the optical signal receiver are arranged at the opening;
the electronic device 600 further comprises:
a first determining module 604, configured to determine a target extension distance or a target retraction distance of the screen;
the control module 602 includes:
a first control unit 6021 for controlling the optical signal transmitter to transmit an optical signal to the screen in a case of controlling the screen to be extended;
a second control unit 6022 configured to control the optical signal receiver to increment a count result by one each time the optical signal receiver receives the optical signal transmitted from the light-transmitting area, in a case where the screen is controlled to be extended;
a first determination unit 6023 configured to determine a distance by which the screen extends, based on the count result increase number and the spacing distance between adjacent light-transmitting regions;
a third control unit 6024 for stopping driving of the screen in a case where the screen is extended by the target extension distance;
a fourth control unit 6025 for controlling the optical signal transmitter to transmit an optical signal to the screen in a case of controlling the screen to be retracted;
a fifth control unit 6026 for controlling the optical signal receiver to decrement a count result by one each time the optical signal receiver receives the optical signal transmitted from the light-transmitting area in a case of controlling the screen to be retracted;
a second determination unit 6027 for determining the distance of the screen retraction based on the count-down number and the spacing distance between adjacent light-transmitting regions;
a sixth control unit 6028 for stopping driving of the screen in a case where the screen is retracted by the target retraction distance.
Optionally, the electronic device 600 further comprises a magnetic member and a hall sensor;
the magnetic piece is arranged at the second end of the screen;
the Hall sensor is arranged at the opening;
the control module 602 further includes:
a second determination unit 6029 configured to determine whether the hall sensor detects the magnetic member every time the counting result is decreased by one and the screen retraction distance does not reach the target distance; and under the condition that the Hall sensor detects the magnetic piece, controlling the optical signal receiver to clear the counting result and stopping driving the screen.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, and as shown in the figure, the electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device, and that the electronic device 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 electronic device, a wearable device, a pedometer, and the like.
Preferably, a computer program stored on the memory 709 and executable on the processor 710, the computer program when executed by the processor 710 implementing the steps of: displaying a first target content in the screen; and under the condition of acquiring second target content to be displayed, controlling the screen to stretch out, and displaying the first target content and the second target content in the stretched screen.
Therefore, the screen of the electronic equipment is extended, the display size of the screen is increased, the first target content and the second target content can be displayed in the screen at the same time, the first target content and the second target content cannot be shielded mutually, the influence on the look and feel and the operation of a user is avoided, and the use experience of the user is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, uplink data is transmitted to the base station. Generally, the radio frequency unit 701 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 701 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 702, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the electronic apparatus 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 707. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds 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 701 in case of a phone call mode.
The electronic device 700 also includes at least one sensor 705, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the electronic device 700 is moved to the ear. As one of the motion sensors, the 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 the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 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 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts 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, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine a type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 708 is an interface for connecting an external device to the electronic apparatus 700. 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. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 700 or may be used to transmit data between the electronic apparatus 700 and an external device.
The memory 709 may be used to store software programs as well as various data. The memory 709 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 required by at least one function (such as a sound playing function, an image playing function, etc.), 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. Further, the memory 709 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 710 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby monitoring the whole electronic device. Processor 710 may include one or more processing units; preferably, the processor 710 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 710.
The electronic device 700 may also include a power supply 711 (e.g., a battery) for providing power to the various components, and preferably, the power supply 711 may be logically coupled to the processor 710 via a power management system, such that functions of managing charging, discharging, and power consumption may be performed via the power management system.
In addition, the electronic device 700 includes some functional modules that are not shown, and are not described in detail herein.
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 executed by a processor, the computer program implements each process of the above account management method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated 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.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A display method is applied to electronic equipment, and the electronic equipment is characterized by comprising the following steps: a screen that can be expanded or contracted in length or width;
the method comprises the following steps:
displaying a first target content in the screen;
under the condition that second target content to be displayed is obtained, the screen is controlled to stretch out, and the first target content and the second target content are displayed in the stretched screen;
the method comprises the following steps of controlling the screen to stretch out under the condition that second target content to be displayed is obtained, and displaying the first target content and the second target content in the stretched screen, wherein the steps comprise:
receiving prompt information, wherein the prompt information is used for prompting that unread second target content exists;
receiving a touch input acting on an illuminated area of the screen;
according to the position information of the touch input in the lighted area of the screen and the extending direction of the screen, displaying the first target content in a third display area in the extended screen, and displaying the second target content in a fourth display area in the extended screen, wherein the position relation between the third display area and the fourth display area is determined according to the position information and the extending direction of the screen.
2. The method of claim 1, wherein said displaying the first target content and the second target content in the screen after the stretching comprises:
displaying the first target content in a first display area in the extended screen, and displaying the second target content in a second display area in the extended screen;
the display size of the first display area is the same as that of the first target content, and the second display area is a display area of the extended screen except the first display area.
3. The method of claim 1, further comprising:
controlling the screen to extend or retract when an input for switching the first target content to a third target content is received, and displaying the third target content in the extended or retracted screen;
wherein a display size of the third target content is different from a display size of the first target content.
4. The method of claim 3, wherein the electronic device further comprises: the screen comprises an optical signal emitter and an optical signal receiver, wherein a plurality of light-transmitting areas are arranged on the screen along the stretching direction;
prior to the controlling the screen to extend or retract, the method further comprises:
determining a target extension distance or a target retraction distance of the screen;
accordingly, the controlling the screen to be extended includes:
controlling the optical signal emitter to emit an optical signal to the screen;
controlling the optical signal receiver to increase one counting result every time the optical signal receiver receives the optical signal transmitted from the light-transmitting area;
determining the extending distance of the screen according to the counting result increase quantity and the spacing distance between the adjacent light transmission areas;
stopping driving the screen under the condition that the extending distance of the screen is the target extending distance;
accordingly, the controlling the screen to retract includes:
controlling the optical signal emitter to emit an optical signal to the screen;
every time the optical signal receiver receives the optical signal transmitted from the light-transmitting area, controlling the optical signal receiver to subtract one from the counting result;
determining the retraction distance of the screen according to the reduced number of the counting results and the spacing distance between the adjacent light-transmitting areas;
and stopping driving the screen when the retraction distance of the screen is the target retraction distance.
5. The method of claim 4, wherein the electronic device further comprises: a magnetic member and a Hall sensor; the method further comprises the following steps:
every time the counting result is subtracted by one, and when the retraction distance of the screen does not reach the retraction distance of the target, judging whether the Hall sensor detects the magnetic piece;
and under the condition that the Hall sensor detects the magnetic piece, controlling the optical signal receiver to clear the counting result and stopping driving the screen.
6. An electronic device, comprising:
a screen that is scalable in length or width;
the first display module is used for displaying first target content in the screen;
the control module is used for controlling the screen to stretch out under the condition of acquiring second target content to be displayed;
the second display module is used for displaying the first target content and the second target content in the stretched screen;
the second display module includes:
the first receiving unit is used for receiving prompt information, and the prompt information is used for prompting that unread second target content exists;
a second receiving unit for receiving a touch input acting on the lighted area of the screen;
and the second display unit is used for displaying the first target content in a third display area in the stretched screen and displaying the second target content in a fourth display area in the stretched screen according to the position information of the touch input in the lighted area of the screen and the stretching direction of the screen, wherein the position relation between the third display area and the fourth display area is determined according to the position information and the stretching direction of the screen.
7. The electronic device of claim 6, wherein the second display module comprises:
a first display unit configured to display the first target content in a first display area in the screen after the stretching out, and to display the second target content in a second display area in the screen after the stretching out;
the display size of the first display area is the same as that of the first target content, and the second display area is a display area of the extended screen except the first display area.
8. The electronic device of claim 6,
the control module is further used for controlling the screen to extend or retract under the condition that the input of switching the first target content into the third target content is received;
the second display module is further used for displaying the third target content in the screen after the screen is extended or retracted;
wherein a display size of the third target content is different from a display size of the first target content.
9. The electronic device of claim 8,
the first end of the screen is arranged in a shell of the electronic equipment, the shell is provided with an opening, the second end of the screen can extend out or retract along the opening, and the screen is provided with a plurality of light-transmitting areas along the extending direction; the electronic device further includes: the optical signal transmitter and the optical signal receiver are arranged at the opening;
the electronic device further includes:
the first determination module is used for determining a target extending distance or a target retracting distance of the screen;
the control module includes:
a first control unit for controlling the optical signal transmitter to transmit an optical signal to the screen in a case of controlling the screen to be extended;
the second control unit is used for controlling the optical signal receiver to add one to the counting result every time the optical signal receiver receives the optical signal transmitted from the light-transmitting area under the condition of controlling the screen to extend;
the first determining unit is used for determining the extending distance of the screen according to the number of the counting result and the spacing distance between the adjacent light-transmitting areas;
a third control unit, configured to stop driving the screen when the distance by which the screen extends is the target extending distance;
a fourth control unit for controlling the light signal emitter to emit a light signal to the screen in a case of controlling the screen to be retracted;
a fifth control unit, configured to, under a condition that the screen is controlled to be retracted, control the optical signal receiver to decrement a count result by one each time the optical signal receiver receives an optical signal transmitted through the light-transmitting area;
a second determining unit for determining a retracted distance of the screen according to the count-down number and a spacing distance between adjacent light-transmitting regions;
a sixth control unit for stopping driving the screen in a case where the screen is retracted by the target retraction distance.
10. The electronic device of claim 9,
the electronic equipment further comprises a magnetic part and a Hall sensor;
the magnetic piece is arranged at the second end of the screen;
the Hall sensor is arranged at the opening;
the control module further comprises:
the second judging unit is used for judging whether the Hall sensor detects the magnetic piece or not when the counting result is reduced by one and the retraction distance of the screen does not reach the target retraction distance; and under the condition that the Hall sensor detects the magnetic piece, controlling the optical signal receiver to clear the counting result and stopping driving the screen.
11. An electronic device comprising a screen that is scalable in length or width; the electronic device further includes: processor, memory and program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the display method according to any one of claims 1 to 5.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of a display method according to any one of claims 1 to 5.
CN201911133634.3A 2019-11-19 2019-11-19 Display method and electronic equipment Active CN111104086B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911133634.3A CN111104086B (en) 2019-11-19 2019-11-19 Display method and electronic equipment
PCT/CN2020/129657 WO2021098704A1 (en) 2019-11-19 2020-11-18 Display method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911133634.3A CN111104086B (en) 2019-11-19 2019-11-19 Display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111104086A CN111104086A (en) 2020-05-05
CN111104086B true CN111104086B (en) 2022-09-27

Family

ID=70420654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911133634.3A Active CN111104086B (en) 2019-11-19 2019-11-19 Display method and electronic equipment

Country Status (2)

Country Link
CN (1) CN111104086B (en)
WO (1) WO2021098704A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104086B (en) * 2019-11-19 2022-09-27 维沃移动通信有限公司 Display method and electronic equipment
CN113760079A (en) * 2020-06-02 2021-12-07 Oppo广东移动通信有限公司 Screen control method and device, mobile terminal and storage medium
CN113835470A (en) * 2020-06-08 2021-12-24 Oppo广东移动通信有限公司 Display screen control method and device, terminal and storage medium
KR20220048749A (en) 2020-10-13 2022-04-20 삼성전자주식회사 Electronic apparatus and method with a flexible display
CN112394851B (en) * 2020-11-30 2022-04-05 Oppo广东移动通信有限公司 Screen size control method, electronic device, medium, and apparatus
CN114690991A (en) * 2020-12-28 2022-07-01 Oppo广东移动通信有限公司 Content display method and device and electronic equipment
CN114967955A (en) * 2021-02-20 2022-08-30 Oppo广东移动通信有限公司 Device control method, device, storage medium and electronic device
CN112947687A (en) * 2021-03-02 2021-06-11 Oppo广东移动通信有限公司 Device control method, device, storage medium and electronic device
CN114064170A (en) * 2021-10-18 2022-02-18 维沃移动通信有限公司 Floating window display method and device, electronic equipment and readable storage medium
CN114403828A (en) * 2022-01-25 2022-04-29 维沃移动通信有限公司 Blood pressure detection method and device and electronic equipment
CN114816311B (en) * 2022-06-29 2024-04-12 荣耀终端有限公司 Screen movement method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009064209A (en) * 2007-09-06 2009-03-26 Sharp Corp Information display device
EP3108354A2 (en) * 2014-06-12 2016-12-28 Apple Inc. Systems and methods for multitasking on an electronic device with a touch-sensitive display
WO2017094984A1 (en) * 2015-12-02 2017-06-08 Lg Electronics Inc. Mobile device and controlling method thereof
WO2017104860A1 (en) * 2015-12-16 2017-06-22 엘지전자 주식회사 Rollable mobile terminal

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101144423B1 (en) * 2006-11-16 2012-05-10 엘지전자 주식회사 Mobile phone and display method of the same
KR101837714B1 (en) * 2011-08-10 2018-03-13 삼성디스플레이 주식회사 Display device
KR101880913B1 (en) * 2012-07-03 2018-07-23 삼성전자 주식회사 Method and apparatus for controlling flexible display panel
CN103399616A (en) * 2013-07-02 2013-11-20 惠州Tcl移动通信有限公司 Screen capable of changing display area, movable terminal and screen display method of movable terminal
CN104461444A (en) * 2014-12-30 2015-03-25 上海华勤通讯技术有限公司 Split-screen display method for flexible screen and terminal device
KR20160123620A (en) * 2015-04-16 2016-10-26 삼성전자주식회사 Display apparatus and method for displaying
KR20160139320A (en) * 2015-05-27 2016-12-07 엘지전자 주식회사 Deformable display device and operating method thereof
KR102372173B1 (en) * 2015-07-07 2022-03-08 엘지전자 주식회사 Mobile terminal
KR102477849B1 (en) * 2015-09-15 2022-12-15 엘지전자 주식회사 Mobile terminal and control method for the mobile terminal
KR102500060B1 (en) * 2015-11-18 2023-02-16 삼성전자주식회사 Electronic device and Method for controlling the electronic device thereof
KR20170062121A (en) * 2015-11-27 2017-06-07 엘지전자 주식회사 Mobile terminal and method for controlling the same
KR102448804B1 (en) * 2015-12-10 2022-09-29 엘지전자 주식회사 Flexible display device
JP2018073210A (en) * 2016-10-31 2018-05-10 富士通株式会社 Electronic equipment, display device and operation control program
CN108399000B (en) * 2018-03-02 2023-04-28 云谷(固安)科技有限公司 Screen local display system, display method and display screen
CN109725773B (en) * 2018-12-29 2021-09-24 维沃移动通信有限公司 Control method of flexible screen and terminal
CN111104086B (en) * 2019-11-19 2022-09-27 维沃移动通信有限公司 Display method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009064209A (en) * 2007-09-06 2009-03-26 Sharp Corp Information display device
EP3108354A2 (en) * 2014-06-12 2016-12-28 Apple Inc. Systems and methods for multitasking on an electronic device with a touch-sensitive display
WO2017094984A1 (en) * 2015-12-02 2017-06-08 Lg Electronics Inc. Mobile device and controlling method thereof
WO2017104860A1 (en) * 2015-12-16 2017-06-22 엘지전자 주식회사 Rollable mobile terminal

Also Published As

Publication number Publication date
CN111104086A (en) 2020-05-05
WO2021098704A1 (en) 2021-05-27

Similar Documents

Publication Publication Date Title
CN111104086B (en) Display method and electronic equipment
CN109032445B (en) Screen display control method and terminal equipment
CN111142991A (en) Application function page display method and electronic equipment
CN111090408A (en) Display method and electronic equipment
CN110109604B (en) Application interface display method and mobile terminal
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN109257505B (en) Screen control method and mobile terminal
CN110908759A (en) Display method and electronic equipment
KR20220092937A (en) Screen display control method and electronic device
CN109104566B (en) Image display method and terminal equipment
CN107734172B (en) Information display method and mobile terminal
CN107707760B (en) Push notification processing method and mobile terminal
CN111078347A (en) Screen display method and electronic equipment
CN111142723A (en) Icon moving method and electronic equipment
CN109388324B (en) Display control method and terminal
CN111443765A (en) Electronic equipment and screen display method
CN108733285B (en) Prompting method and terminal equipment
CN111142679A (en) Display processing method and electronic equipment
CN111459233A (en) Display method, electronic device, and storage medium
CN111638842B (en) Display control method and device and electronic equipment
CN111475247B (en) Display method and electronic equipment
CN110740214B (en) Prompting method, terminal and computer readable storage medium
CN111061407B (en) Video program operation control method, electronic device, and storage medium
CN111246105B (en) Photographing method, electronic device, and computer-readable storage medium
CN111246101B (en) Photographing 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