CN111562874B - Display control method and device and electronic equipment - Google Patents

Display control method and device and electronic equipment Download PDF

Info

Publication number
CN111562874B
CN111562874B CN202010363676.2A CN202010363676A CN111562874B CN 111562874 B CN111562874 B CN 111562874B CN 202010363676 A CN202010363676 A CN 202010363676A CN 111562874 B CN111562874 B CN 111562874B
Authority
CN
China
Prior art keywords
display
display area
scaling
angle
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010363676.2A
Other languages
Chinese (zh)
Other versions
CN111562874A (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 CN202010363676.2A priority Critical patent/CN111562874B/en
Publication of CN111562874A publication Critical patent/CN111562874A/en
Application granted granted Critical
Publication of CN111562874B publication Critical patent/CN111562874B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/1615Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
    • G06F1/1616Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with folding flat displays, e.g. laptop computers or notebooks having a clamshell configuration, with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a display control method and device and electronic equipment, and belongs to the technical field of display control. The display control method is applied to an electronic device with a foldable screen, wherein the screen of the electronic device comprises a first display area and a second display area in a folded state, and the method comprises the following steps: acquiring a folding angle of the screen in a folding state and a display scaling corresponding to the folding angle; and adjusting the display scale of the display content in the first display area and the second display area according to the display scaling. By the scheme, the display content of the electronic equipment cannot be distorted due to folding operation of the user, and the use experience of the user is improved.

Description

Display control method and device and electronic equipment
Technical Field
The present application relates to display control technologies, and in particular, to a display control method and apparatus, and an electronic device.
Background
With the advent of the folding screen era, the technology related to the folding screen is continuously perfected, and the folding screen product gradually appears in the mainstream market. The current folding screen product can fold the mobile phone at a certain angle under any scenes such as browsing application, pictures, videos and the like.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art:
the existing folding screen display method has the disadvantages that for the folding operation of a user, when an unfolded screen plays a video or browses pictures, if the user performs the folding operation to enable a mobile phone to be in a half-folding state, for the user, the content displayed on the current screen is distorted, and the viewing experience becomes particularly poor.
Disclosure of Invention
The embodiment of the application provides a display control method and device and electronic equipment, and can solve the problem that when a user folds a mobile phone in a semi-folding state by aiming at the existing folding screen display mode, the content displayed on the current screen is distorted, and the watching of the user on the screen content is influenced.
In order to solve the technical problem, the following implementation modes are adopted in the application:
in a first aspect, an embodiment of the present application provides a display control method, which is applied to an electronic device whose screen is foldable, where the screen of the electronic device includes a first display area and a second display area in a folded state, and the method includes:
acquiring a folding angle of the screen in a folding state and a display scaling corresponding to the folding angle;
and adjusting the display scale of the display content in the first display area and the second display area according to the display scaling.
In a second aspect, an embodiment of the present application further provides a display control apparatus applied to an electronic device with a foldable screen, where the screen of the electronic device includes a first display area and a second display area in a folded state, the apparatus includes:
the acquisition module is used for acquiring the folding angle of the screen in a folding state and the display scaling corresponding to the folding angle;
and the adjusting module is used for adjusting the display proportion of the display content in the first display area and the second display area according to the display scaling.
In a third aspect, an embodiment of the present application further provides an electronic device, where the electronic device has a foldable screen, and the screen of the electronic device includes a first display area and a second display area in a folded state; the method comprises the following steps: a memory, a processor, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the display control method described above.
In a fourth aspect, the present application further provides a readable storage medium, on which a program or instructions are stored, and when the program or instructions are executed by a processor, the program or instructions implement the steps of the display control method described above.
In a fifth aspect, an embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the folding angle of the screen of the electronic equipment in the folding state and the display scaling corresponding to the folding angle are obtained, and the display scaling of the display content in the first display area and the second display area is adjusted according to the display scaling, so that the display content of the electronic equipment cannot be distorted due to folding operation of a user, and the use experience of the user is improved.
Drawings
Fig. 1 is a schematic flowchart of a display control method according to an embodiment of the present application;
fig. 2 is a schematic view of a display state when two screens are fully unfolded;
FIG. 3 is a schematic diagram showing a display state in which distortion occurs after the screen is folded;
FIG. 4 is a second schematic view showing a display state in which distortion occurs after the screen is folded;
FIG. 5 is one of the principle schematic diagrams of determining scaling of an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating a display state after scaling according to an embodiment of the present application;
FIG. 7 is a schematic view showing a display state at the time of full expansion after scaling adjustment;
FIG. 8 is a second schematic diagram of the scaling determination of the embodiment of the present application;
FIG. 9 is a second schematic diagram illustrating a display state after scaling adjustment according to an embodiment of the present application;
FIG. 10 is a detailed flowchart of a display control method according to an embodiment of the present application;
FIG. 11 is one of block diagrams of an electronic device of an embodiment of the present application;
fig. 12 is a second schematic block diagram of an electronic device according to an embodiment of the present application;
fig. 13 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail a display control method, a display control apparatus, and an electronic device according to embodiments of the present application with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present application provides a display control method applied to an electronic device with a foldable screen, where the screen of the electronic device includes a first display area and a second display area in a folded state, and the display control method includes:
step 101, acquiring a folding angle of the screen in a folding state and a display scaling corresponding to the folding angle;
and step 102, adjusting the display scale of the display content in the first display area and the second display area according to the display scaling.
In the present application, the display scale of the display content in the display area is adjusted according to the folding angle of the screen, so that the display content can be prevented from being distorted by the folding operation of the user.
In this application, the electronic device has a foldable screen, and includes two states:
state one, the electronic device is an electronic device with a foldable screen, and at this time, two display areas (that is, the two display areas are two independent display screens) need to be connected through a rotating shaft, specifically, the rotating shaft is a hinge connecting the two display areas;
and in the second state, the electronic equipment is the electronic equipment with the flexible screen, at the moment, the screen of the electronic equipment is designed in an integrated mode, and a rotating shaft between the two display areas is a common edge of the two display areas.
It should be noted that the folding angle of the screen (i.e. the included angle between the two display areas) in the embodiment of the present application is usually greater than or equal to 0 degree and less than or equal to 180 degrees, and when the user completely unfolds the two display areas (i.e. the screen is not folded), the included angle between the two display areas is 180 degrees; when the screen is folded and the screen is completely folded, the included angle between the two display areas is considered to be 0 degree.
It should be noted that, generally, when a user uses an electronic device, if a folding angle of a screen changes and a viewing angle of the user does not change, display contents on display regions viewed by the user may be distorted, which affects viewing of the user, for example, as shown in fig. 2, when the user uses the screen to view a video, when the screen is not folded, that is, an included angle between two display regions is 180 degrees, video pictures on the two display regions are not distorted, when the screen is in a folded state, that is, the user folds a first display region 21 and a second display region 22, so that an angle between the two display regions is less than 180 degrees (that is, θ is less than 180 degrees), the video pictures are displayed in an original manner because the display regions are still displayed, and no matter which angle the user views the video, the video pictures viewed by the user may be distorted, as shown in fig. 3 and 4, the embodiments of the present application are proposed to solve such problems.
Specific implementations of the embodiments of the present application are described below.
Specifically, the implementation manner of step 101 is:
acquiring a first angle of an included angle formed by the first display area and the second display area when the screen is in a folded state;
determining a first display scale of the first display area and a second display scale of the second display area at the first angle.
It should be noted that the electronic device can calculate the first display scaling and the second display scaling by using the first angle.
It should be further noted that, in the embodiment of the present application, an optional implementation manner of determining the first display scaling of the first display area and the second display scaling of the second display area at the first angle is as follows: and searching a corresponding relation between a pre-established folding angle and the display scaling of each display area, and determining a first display scaling of the first display area and a second display scaling of the second display area at the first angle.
It should be noted that, in the embodiment of the present application, through an angle matching manner, the display scaling ratios of the two display areas at a specific angle are directly matched in the correspondence between the pre-established folding angle and the display scaling ratio of each display area, so that the obtaining speed of the display scaling ratios can be increased, and the adjustment time of the display scaling ratios is shortened.
It should be noted that the correspondence between the folding angle and the display scaling of each display area may be preset by the electronic device manufacturer according to the size of the display area of the electronic device and stored in the electronic device.
It should be further noted that, because the viewing angles of the users are different, the adjustment of the scaling of the display area is also affected under different viewing angles, and therefore, the specific implementation manner of determining the first display scaling of the first display area and the second display scaling of the second display area at the first angle is as follows:
acquiring the incidence relation between the viewing angle of a user and a display area;
and determining a first display scaling of the first display area and a second display scaling of the second display area under a first angle matched with the incidence relation according to the incidence relation.
Further, when the first display scaling and the second display scaling are obtained according to the search correspondence, the specific implementation manner of determining, according to the association, the first display scaling of the first display area and the second display scaling of the second display area at the first angle matched with the association is as follows:
and searching a corresponding relation between a pre-established folding angle matched with the incidence relation and the display scaling of each display area according to the incidence relation, and determining a first display scaling of the first display area and a second display scaling of the second display area under a first angle.
Specifically, in this embodiment of the present application, the association relationship between the viewing angle of the user and the display area mainly includes: the viewing angles of the users are uniformly distributed between the first display area and the second display area, and the viewing angles of the users are always perpendicular to the plane where the first display area is located (namely, the users always look at a certain display area).
Specifically, since the relationship between the viewing angle of the user and the display area affects the scaling of the display area, the following describes a specific manner of determining the scaling of the display in the embodiment of the present application from the perspective of the relationship between the viewing angle of the user and the display area.
Regardless of how the display area is folded by the user, the viewing angle of the user is uniformly distributed between the first display area and the second display area
It should be noted that, in this case, the manner of determining the display scaling is specifically implemented as:
determining a first included angle and a second included angle between the first display area and the first plane and between the second display area and the first plane respectively;
determining the display scaling of the first display area according to the first included angle, and determining the display scaling of the second display area according to the second included angle;
wherein the first plane is perpendicular to a plane on which the screen is positioned when the screen is unfolded.
It should be noted that, when the electronic device acquires the display scaling in real time, the electronic device performs real-time calculation according to the acquired parameters, and finally acquires the display scaling of each display area; and when the electronic equipment searches the corresponding relation between the pre-established folding angle and the display scaling of each display area to obtain the display scaling of each display area, the display scaling of each display area under each included angle can be determined through the method.
It should be noted that, as shown in fig. 5, in this case, it is possible to measure in advance that, at a specific angle between two areas, a first angle between the first display area and the first plane is θ 1, a second angle between the second display area and the first plane is θ 2, and the sum of θ 1 and θ 2 is equal to the angle between the first display area and the second display area, since the specific scaling of the first display area is obtained by d3/d1, and sin θ 1 is d3/d1, that is, as long as θ 1 is obtained, by obtaining the value of sin θ 1, the scaling of the display content in the first display area in the direction of the rotation axis can be obtained, and similarly, since the specific scaling of the second display area is obtained by d4/d2, and sin θ 2 is d4/d2, that is to say, as long as θ 2 is obtained, by obtaining the value of sin θ 2, the scaling of the display content in the second display area in the direction of the rotation axis can be obtained, and in this way, the respective scaling of the two display areas can be obtained. It should be noted that θ 1 and θ 2 in the embodiment of the present application may be obtained by measuring internal components of the electronic device, or may be obtained by measuring partial parameters and deriving according to a trigonometric function.
Further, the specific implementation manner of zooming the display content according to the display zoom ratio is as follows: the display scale of the display content in the first display area is adjusted in a linear variation from 1 to the first display scale, and the display scale of the display content in the second display area is adjusted in a linear variation from 1 to the second display scale.
It should be further noted that, when performing the adjustment, the adjustment is performed along an edge line from a first side of the first display area (the first side refers to a side of the first display area close to the second display area) to the first display area and along an edge line from a second side of the second display area (the second side refers to a side of the second display area close to the first display area) to the second display area, that is, the display scale of the display content in the first display area is adjusted in a linear change manner from 1 to the first display scale from the first side of the first display area to the edge line of the first display area; and adjusting the display scale of the display content in the second display area from the second side of the second display area to the edge line of the second display area according to a linear change mode from 1 to the second display scaling.
By this adjustment, the user can see a display area having a small area relative to the fully developed area from the front view, but can obtain a visual effect similar to a planar look and feel.
For example, through the above zoom adjustment, when the angle of the included angle formed by the two regions is θ, the display condition of the two display regions is specifically as shown in fig. 6, and as can be seen from fig. 6, when the angle of the included angle formed by the two display regions is changed, the dashed line is a normal screen region, and the display content portions in the two display regions are as shown in the solid-line rectangular frame 61 in the figure, the distortion as shown in fig. 3 does not occur, so that the viewing experience of the user is improved.
It should be further noted that when the angle of the included angle formed by the two regions changes from θ to the original state of the included angle, the display frame viewed by the user is distorted if the display ratio of the display region is not adjusted, as shown in fig. 7, so that the display ratio needs to be adjusted each time the angle of the included angle formed by the two regions is adjusted, so as to make the current display content adapt to the state of the included angle formed by the two regions.
Regardless of how the user folds the display screen, the viewing angle of the user is perpendicular to the plane of the first display area
It should be noted that, in this case, the manner of determining the display scaling is specifically implemented as:
determining a third included angle between the second display area and a second plane;
determining that the display scaling of the first display area is 1;
determining the display scaling of the second display area according to the third included angle;
wherein the second plane is perpendicular to the first display area.
It should be noted that, when the electronic device acquires the display scaling in real time, the electronic device performs real-time calculation according to the acquired parameters, and finally acquires the display scaling of each display area; and when the electronic equipment searches the corresponding relation between the pre-established folding angle and the display scaling of each display area to obtain the display scaling of each display area, the display scaling of each display area under each included angle can be determined through the method.
It should be noted that, as shown in fig. 8, in this case, it can be detected in advance that, at a specific angle between the two regions, the first angle between the first display region and the second plane is θ, and θ 1 is equal to 90 degrees, the second angle between the second display region and the second plane is θ 2, and the sum of θ 1 and θ 2 is equal to the angle θ between the first display region and the second display region, since the viewing angle of the user is always perpendicular to the first display region, that is, the specific scaling of the second display region is obtained by d1/d1, that is, the specific scaling of the first display region is not required to be adjusted, the specific scaling of the second display region is obtained by d3/d2, and θ 2 is d3/d2, that is, as long as θ 2 is obtained, by obtaining the value of θ 2, the scaling of the display content in the second display area in the direction of the rotation axis can be obtained, and in this way, the respective scaling of the two display areas can be obtained; it should be noted that θ 2 in the embodiment of the present application can be obtained by subtracting 90 degrees from the measured angle θ formed by the two regions.
Further, the specific implementation manner of zooming the display content according to the display zoom scale obtained by table lookup is as follows: and maintaining the scaling of the first display area unchanged, and adjusting the display scale of the display content in the second display area according to a linear change mode from 1 to the second display scaling.
It should be noted that, when the display scale of the display content in the second display region is adjusted, the display scale of the display content in the second display region is adjusted along the edge line from the second side of the second display region (the second side refers to the side of the second display region close to the first display region) to the second display region, that is, when the display scale is specifically adjusted, the display scale of the display content in the second display region is adjusted in a linear manner from 1 to the second display scale from the second side of the second display region to the edge line of the second display region while the zoom scale of the first display region is maintained unchanged.
For example, through the above scaling adjustment, when the angle of the included angle formed by the two regions is θ, the display condition of the two regions is specifically as shown in fig. 9, and it can be seen from fig. 9 that when the angle of the included angle formed by the two regions is changed, the dashed line is a normal display region, and the display content part in the two regions is as shown in the solid-line rectangular frame 91 in the figure, the distortion as shown in fig. 4 does not occur, thereby improving the viewing experience of the user.
It should be further noted that, when the angle of the included angle formed by the two regions changes from θ to the original state, the display screen viewed by the user is distorted if the display ratio of the display region is not adjusted, so that the display ratio needs to be adjusted each time the angle of the included angle formed by the display region is adjusted, so as to adapt the current display content to the state of the included angle formed by the two regions.
The following takes folding of two display screens as an example, and details of a specific application of the embodiment of the present application are described as follows, and a specific flow is shown in fig. 10:
1001, a user completely expands two display screens to watch videos;
step 1002, judging whether the current screen is folded, if so, executing step 1003, otherwise, continuing to execute step 1001;
step 1003, obtaining an included angle between folded screens;
the angle between the screens here corresponds to the above-mentioned folding angle.
Step 1004, judging whether the included angle between the screens is greater than or equal to a preset value, if so, executing step 1006, otherwise, executing step 1005;
step 1005, prompting a user that normal display cannot be performed currently, and switching to a full-folding display mode;
it should be noted that, when the included angle between the screens is too small, in the manner of the embodiment of the present application, a user is prompted that the screen cannot be normally displayed in the folding scene, and then the screen is automatically switched to the full-folding display mode.
Step 1006, obtaining the incidence relation between the viewing angle of the user and the display screen after the state of the included angle between the screens is changed;
step 1007, obtaining the scaling of the two display screens according to the association relation and the included angle between the screens;
and step 1008, zooming the display content according to the zooming ratio to simulate the planar impression.
In summary, according to the embodiment of the application, the display proportion of the display content is adjusted in the real-time display area during folding operation, so that the effect of simulating plane impression can be realized under the semi-folding condition of the folding electronic equipment, a user can obtain normal screen impression under any condition, and the use experience of the user on the folding screen electronic equipment is greatly improved.
As shown in fig. 11 and 12, an embodiment of the present application further provides a display control apparatus applied to an electronic device whose screen can be folded, where the screen of the electronic device includes a first display region and a second display region in a folded state, where the display control apparatus includes:
an obtaining module 1101, configured to obtain a folding angle of the screen in a folded state and a display scaling corresponding to the folding angle;
an adjusting module 1102, configured to adjust a display scale of display content in the first display area and the second display area according to the display scaling.
Further, the obtaining module 1101 includes:
an obtaining unit 11011, configured to obtain a first angle of an included angle formed by the first display area and the second display area when the screen is in a folded state;
a determining unit 11012, configured to determine a first display scaling of the first display area and a second display scaling of the second display area at the first angle.
Optionally, the determining unit 11012 is configured to:
determining a first included angle and a second included angle between the first display area and the first plane and between the second display area and the first plane respectively;
determining the display scaling of the first display area according to the first included angle, and determining the display scaling of the second display area according to the second included angle;
wherein the first plane is perpendicular to a plane on which the screen is positioned when the screen is unfolded.
Optionally, in a case that the viewing angle of the user is perpendicular to the plane of the first display region, the determining unit 11012 is configured to:
determining a third included angle between the second display area and a second plane;
determining that the display scaling of the first display area is 1;
determining the display scaling of the second display area according to the third included angle;
wherein the second plane is perpendicular to the first display area.
Further, the adjusting module 1102 is configured to:
the display scale of the display content in the first display area is adjusted in a linear variation from 1 to the first display scale, and the display scale of the display content in the second display area is adjusted in a linear variation from 1 to the second display scale.
The display control device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The display control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The display control device provided in the embodiment of the present application can implement each process implemented by the display control device in the method embodiment of fig. 1, and is not described herein again to avoid repetition.
The display control device of the embodiment of the application adjusts the display proportion of the display content in the first display area and the second display area according to the display scaling by acquiring the folding angle of the screen of the electronic equipment under the folding state and the display scaling corresponding to the folding angle, so that the display content of the electronic equipment cannot be distorted due to folding operation of a user, and the use experience of the user is improved.
Optionally, an electronic device is further provided in an embodiment of the present application, where the electronic device has a foldable screen, and the screen of the electronic device includes a first display area and a second display area in a folded state; the display control method comprises a processor, a memory and a program or an instruction which is stored on the memory and can be run on the processor, wherein when the program or the instruction is executed by the processor, each process of the display control method embodiment is realized, the same technical effect can be achieved, and the description is omitted for avoiding repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 13 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 1300 has a foldable screen, the screen of the electronic device 1300 includes a first display region and a second display region in a folded state; the electronic device 1300 includes, but is not limited to: a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, a processor 1310, and the like.
Those skilled in the art will appreciate that the electronic device 1300 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1310 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 13 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein the processor 1310 is configured to obtain a folding angle of the screen in a folded state and a display scaling corresponding to the folding angle;
and adjusting the display scale of the display content in the first display area and the second display area according to the display scaling.
The folding angle of the screen of the electronic equipment under the folding state and the display scaling corresponding to the folding angle are acquired, and the display scaling of the display content in the first display area and the second display area is adjusted according to the display scaling, so that the display content of the electronic equipment cannot be distorted due to folding operation of a user, and the use experience of the user is improved.
It should be understood that, in the embodiment of the present application, the radio frequency unit 1301 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 1310; in addition, the uplink data is transmitted to the base station. In general, radio unit 1301 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 1301 can 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 1302, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 1303 can convert audio data received by the radio frequency unit 1301 or the network module 1302 or stored in the memory 1309 into an audio signal and output as sound. Also, the audio output unit 1303 may also provide audio output related to a specific function performed by the electronic apparatus 1300 (e.g., a call signal reception sound, a message reception sound, and the like). The audio output unit 1303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1304 is used to receive audio or video signals. The input Unit 1304 may include a Graphics Processing Unit (GPU) 13041 and a microphone 13042, and the Graphics processor 13041 processes image data of still pictures or video obtained by an image capturing apparatus (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 1306. The image frames processed by the graphic processor 13041 may be stored in the memory 1309 (or other storage medium) or transmitted via the radio frequency unit 1301 or the network module 1302. The microphone 13042 can receive sounds and can process 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 1301 in case of a phone call mode.
The electronic device 1300 also includes at least one sensor 1305, 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 13061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 13061 and/or the backlight when the electronic device 1300 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 1305 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 1306 is used to display information input by a user or information provided to the user. The Display unit 1306 may include a Display panel 13061, and the Display panel 13061 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 1307 may be used to receive input numerical or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 1307 includes a touch panel 13071 and other input devices 13072. Touch panel 13071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on touch panel 13071 or near touch panel 13071 using a finger, stylus, or any other suitable object or attachment). The touch panel 13071 may include two parts, 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 1310, and receives and executes commands sent from the processor 1310. In addition, the touch panel 13071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 1307 may include other input devices 13072 in addition to the touch panel 13071. In particular, the other input devices 13072 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 13071 can be overlaid on the display panel 13061, and when the touch panel 13071 detects a touch operation on or near the touch panel, the touch operation can be transmitted to the processor 1310 to determine the type of the touch event, and then the processor 1310 can provide a corresponding visual output on the display panel 13061 according to the type of the touch event. Although the touch panel 13071 and the display panel 13061 are shown in fig. 13 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 13071 and the display panel 13061 may be integrated to implement the input and output functions of the electronic device, and are not limited herein.
The interface unit 1308 is an interface for connecting an external device to the electronic apparatus 1300. 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 1308 may be used to receive input from an external device (e.g., data information, power, etc.) and transmit the received input to one or more elements within the electronic device 1300 or may be used to transmit data between the electronic device 1300 and an external device.
The memory 1309 may be used to store software programs as well as various data. The memory 1309 may mainly include a program storage area and a data storage area, wherein the program storage 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 1309 can include high-speed random access memory, and can 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 1310 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 1309 and calling data stored in the memory 1309, thereby performing overall monitoring of the electronic device. Processor 1310 may include one or more processing units; preferably, the processor 1310 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 1310.
In addition, the electronic device 1300 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, the processor 1310 is configured to, when acquiring the folding angle of the screen in the folded state and the display scaling corresponding to the folding angle, implement:
acquiring a first angle of an included angle formed by the first display area and the second display area when the screen is in a folded state;
determining a first display scale of the first display area and a second display scale of the second display area at the first angle.
Optionally, the processor 1310 is configured to determine, at the first angle, a first display scale of the first display area and a second display scale of the second display area, to implement:
determining a first included angle and a second included angle between the first display area and the first plane and between the second display area and the first plane respectively;
determining the display scaling of the first display area according to the first included angle, and determining the display scaling of the second display area according to the second included angle;
wherein the first plane is perpendicular to a plane on which the screen is positioned when the screen is unfolded.
Optionally, in a case that the viewing angle of the user is perpendicular to the plane of the first display region, the processor 1311 performs the determining, at the first angle, at a first display scaling of the first display region and at a second display scaling of the second display region, to implement:
determining a third included angle between the second display area and a second plane;
determining that the display scaling of the first display area is 1;
determining the display scaling of the second display area according to the third included angle;
wherein the second plane is perpendicular to the first display area.
Optionally, the processor 1310 is configured to, when performing the adjusting of the display scale of the display content in the first display area and the second display area according to the display scaling, implement:
the display scale of the display content in the first display area is adjusted in a linear variation from 1 to the first display scale, and the display scale of the display content in the second display area is adjusted in a linear variation from 1 to the second display scale.
The electronic equipment can realize the effect of simulating the planar impression of the foldable electronic equipment under the semi-folding condition, so that a user can acquire the normal screen impression under any condition, and the use experience of the user on the foldable screen electronic equipment is greatly improved.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above display control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above display control method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 application 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 application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (6)

1. A display control method applied to an electronic device with a foldable screen, wherein the screen of the electronic device comprises a first display area and a second display area in a folded state, the method comprising:
acquiring a folding angle of the screen in a folding state and a display scaling corresponding to the folding angle;
according to the display scaling, adjusting the display scale of the display content in the first display area and the second display area;
the acquiring the folding angle of the screen in the folding state and the display scaling corresponding to the folding angle comprises the following steps:
acquiring a first angle of an included angle formed by the first display area and the second display area when the screen is in a folded state;
determining a first display scale of the first display area and a second display scale of the second display area at the first angle;
in the event that the viewing angle of the user is evenly distributed between the first display area and the second display area, the determining a first display scale of the first display area and a second display scale of the second display area at the first angle comprises:
determining a first included angle and a second included angle between the first display area and the first plane and between the second display area and the first plane respectively;
determining the display scaling of the first display area according to the first included angle, and determining the display scaling of the second display area according to the second included angle;
wherein the first plane is perpendicular to a plane on which the screen is located when the screen is unfolded;
in a case where a viewing angle of a user is perpendicular to a plane in which a first display region is located, the determining a first display scaling of the first display region and a second display scaling of the second display region at the first angle includes:
determining a third included angle between the second display area and a second plane;
determining that the display scaling of the first display area is 1;
determining the display scaling of the second display area according to the third included angle;
wherein the second plane is perpendicular to the first display area.
2. The method according to claim 1, wherein the adjusting the display scale of the display content in the first display region and the second display region according to the display scaling includes:
the display scale of the display content in the first display area is adjusted in a linear variation from 1 to the first display scale, and the display scale of the display content in the second display area is adjusted in a linear variation from 1 to the second display scale.
3. A display control apparatus applied to an electronic device whose screen is foldable, wherein the screen of the electronic device includes a first display region and a second display region in a folded state, the apparatus comprising:
the acquisition module is used for acquiring the folding angle of the screen in a folding state and the display scaling corresponding to the folding angle;
the adjusting module is used for adjusting the display proportion of the display content in the first display area and the second display area according to the display scaling;
the acquisition module includes:
the acquisition unit is used for acquiring a first angle of an included angle formed by the first display area and the second display area when the screen is in a folded state;
a determination unit, configured to determine a first display scaling of the first display area and a second display scaling of the second display area at the first angle;
in a case where the viewing angles of the user are uniformly distributed between the first display area and the second display area, the determination unit is configured to:
determining a first included angle and a second included angle between the first display area and the first plane and between the second display area and the first plane respectively;
determining the display scaling of the first display area according to the first included angle, and determining the display scaling of the second display area according to the second included angle;
wherein the first plane is perpendicular to a plane on which the screen is located when the screen is unfolded;
in a case where the viewing angle of the user is perpendicular to the plane of the first display region, the determining unit is configured to:
determining a third included angle between the second display area and a second plane;
determining that the display scaling of the first display area is 1;
determining the display scaling of the second display area according to the third included angle;
wherein the second plane is perpendicular to the first display area.
4. The display control apparatus of claim 3, wherein the adjustment module is configured to:
the display scale of the display content in the first display area is adjusted in a linear variation from 1 to the first display scale, and the display scale of the display content in the second display area is adjusted in a linear variation from 1 to the second display scale.
5. An electronic device having a foldable screen, the screen of the electronic device including a first display region and a second display region in a folded state; it is characterized by comprising: memory, processor and a program or instructions stored on the memory and executable on the processor, which when executed by the processor, implement the steps of the display control method according to any one of claims 1 to 2.
6. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the display control method according to any one of claims 1 to 2.
CN202010363676.2A 2020-04-30 2020-04-30 Display control method and device and electronic equipment Active CN111562874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010363676.2A CN111562874B (en) 2020-04-30 2020-04-30 Display control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010363676.2A CN111562874B (en) 2020-04-30 2020-04-30 Display control method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111562874A CN111562874A (en) 2020-08-21
CN111562874B true CN111562874B (en) 2021-07-20

Family

ID=72068040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010363676.2A Active CN111562874B (en) 2020-04-30 2020-04-30 Display control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111562874B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328008B (en) * 2020-11-12 2023-08-11 维沃移动通信有限公司 Display screen control method and device and electronic equipment
CN112804382B (en) * 2021-01-22 2023-04-18 维沃移动通信有限公司 Electronic device, control method thereof and control device
CN113687691A (en) * 2021-08-30 2021-11-23 维沃移动通信有限公司 Display method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775083A (en) * 2016-12-14 2017-05-31 深圳欧菲光科技股份有限公司 Display device and its display methods
KR20170060519A (en) * 2015-11-24 2017-06-01 엘지전자 주식회사 Flexible display device and operating method thereof
CN108037883A (en) * 2017-11-30 2018-05-15 努比亚技术有限公司 Control method, mobile terminal and the computer-readable recording medium of mobile terminal
CN109348019A (en) * 2018-11-30 2019-02-15 维沃移动通信有限公司 A kind of display methods and device
CN110275599A (en) * 2019-06-20 2019-09-24 维沃移动通信有限公司 A kind of information display method and terminal device
CN110347322A (en) * 2019-06-12 2019-10-18 努比亚技术有限公司 A kind of display control method, terminal and computer readable storage medium
WO2020080639A1 (en) * 2018-10-17 2020-04-23 Samsung Electronics Co., Ltd. Electronic device for controlling application according to folding angle and method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106200803B (en) * 2012-03-05 2019-07-26 联想(北京)有限公司 A kind of display methods and electronic equipment
KR102004409B1 (en) * 2012-08-23 2019-07-29 삼성전자주식회사 Flexible display apparatus and contorlling method thereof
CN108037886A (en) * 2017-11-29 2018-05-15 努比亚技术有限公司 Display methods, mobile terminal and the readable storage medium storing program for executing of flexible screen
CN110826414A (en) * 2019-10-10 2020-02-21 珠海格力电器股份有限公司 Display control method and device of mobile terminal, terminal and medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170060519A (en) * 2015-11-24 2017-06-01 엘지전자 주식회사 Flexible display device and operating method thereof
CN106775083A (en) * 2016-12-14 2017-05-31 深圳欧菲光科技股份有限公司 Display device and its display methods
CN108037883A (en) * 2017-11-30 2018-05-15 努比亚技术有限公司 Control method, mobile terminal and the computer-readable recording medium of mobile terminal
WO2020080639A1 (en) * 2018-10-17 2020-04-23 Samsung Electronics Co., Ltd. Electronic device for controlling application according to folding angle and method thereof
CN109348019A (en) * 2018-11-30 2019-02-15 维沃移动通信有限公司 A kind of display methods and device
CN110347322A (en) * 2019-06-12 2019-10-18 努比亚技术有限公司 A kind of display control method, terminal and computer readable storage medium
CN110275599A (en) * 2019-06-20 2019-09-24 维沃移动通信有限公司 A kind of information display method and terminal device

Also Published As

Publication number Publication date
CN111562874A (en) 2020-08-21

Similar Documents

Publication Publication Date Title
CN107957839B (en) Display control method and mobile terminal
CN108182043B (en) Information display method and mobile terminal
CN107786817B (en) A kind of photographic method and mobile terminal
CN109005286B (en) Display control method and folding screen terminal
CN109542306B (en) Screen capturing method and terminal equipment
CN108881733B (en) Panoramic shooting method and mobile terminal
CN111562874B (en) Display control method and device and electronic equipment
CN110365907B (en) Photographing method and device and electronic equipment
WO2019196863A1 (en) Content display method and apparatus
CN109981898B (en) Screen recording method and device and terminal
CN111031398A (en) Video control method and electronic equipment
CN111026316A (en) Image display method and electronic equipment
CN110970003A (en) Screen brightness adjusting method and device, electronic equipment and storage medium
CN109710349B (en) Screen capturing method and mobile terminal
CN111290810B (en) Image display method and electronic equipment
CN109348019B (en) Display method and device
CN111510623B (en) Shooting method and electronic equipment
CN107741814B (en) Display control method and mobile terminal
CN110933494A (en) Picture sharing method and electronic equipment
CN109144393B (en) Image display method and mobile terminal
CN108174110B (en) Photographing method and flexible screen terminal
CN110290263B (en) Image display method and mobile terminal
CN110308769B (en) Information display method and terminal
CN109443261B (en) Method for acquiring folding angle of folding screen mobile terminal and mobile terminal
CN110865752A (en) Photo viewing 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