CN109375889B - Display control method and related product - Google Patents

Display control method and related product Download PDF

Info

Publication number
CN109375889B
CN109375889B CN201811052051.3A CN201811052051A CN109375889B CN 109375889 B CN109375889 B CN 109375889B CN 201811052051 A CN201811052051 A CN 201811052051A CN 109375889 B CN109375889 B CN 109375889B
Authority
CN
China
Prior art keywords
display
display screen
parameter
display parameter
main
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
CN201811052051.3A
Other languages
Chinese (zh)
Other versions
CN109375889A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811052051.3A priority Critical patent/CN109375889B/en
Publication of CN109375889A publication Critical patent/CN109375889A/en
Application granted granted Critical
Publication of CN109375889B publication Critical patent/CN109375889B/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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • 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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the application discloses a display control method and a related product, when a main display screen and an auxiliary display screen are both in a bright screen state, an included angle between the main display screen and the auxiliary display screen is detected, if the included angle is in a preset angle range, a first display parameter of the main display screen is obtained, a second display parameter of the auxiliary display screen is obtained, the second display parameter is adjusted according to the first display parameter, a third display parameter is obtained, and the auxiliary display screen is displayed based on the third display parameter.

Description

Display control method and related product
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a display control method and a related product.
Background
With the widespread use of electronic devices (such as mobile phones, tablet computers, and the like), the electronic devices have more and more applications and more powerful functions, and the electronic devices have higher and higher requirements for supportable component devices, such as a foldable display screen or a double-sided display screen, which can be used for realizing specific display functions.
Use folding display screen as an example, electronic equipment's folding display screen can fold and expand, the user is when using the electronic equipment who contains folding display screen, folding display screen can transversely fold or vertically fold, the particularity of considering folding display screen structure can make folding display screen's display effect have special influence, for example, folding display screen is when expanding, folding display screen's different display area's of display effect is different with the display effect of traditional display screen, consequently, this application has proposed the scheme that improves folding display screen and carry out the display effect who shows under the expansion state.
Disclosure of Invention
The embodiment of the application provides a display control method and a related product, which can adjust the display parameters of a folding display screen more intelligently when an electronic device displays through the folding display screen, so as to realize a better display effect.
In a first aspect, embodiments of the present application provide an electronic device comprising storage and processing circuitry, and a foldable display screen coupled to the storage and processing circuitry, the foldable display screen comprising a main display screen and a secondary display screen, both for independent display, wherein,
the storage and processing circuit is used for detecting an included angle between the main display screen and the auxiliary display screen when the main display screen and the auxiliary display screen are both in a bright screen state;
the storage and processing circuit is further configured to acquire a first display parameter of the main display screen and a second display parameter of the auxiliary display screen if the included angle is within a preset angle range;
and the auxiliary display screen is also used for adjusting the second display parameters according to the first display parameters to obtain third display parameters, and displaying the auxiliary display screen based on the third display parameters.
In a second aspect, an embodiment of the present application provides a display control method, which is applied to an electronic device including a foldable display screen, where the foldable display screen includes a main display screen and a secondary display screen, and the main display screen and the secondary display screen are both used for independent display, where the method includes:
when the main display screen and the auxiliary display screen are both in a bright screen state, detecting an included angle between the main display screen and the auxiliary display screen;
if the included angle is within a preset angle range, acquiring a first display parameter of the main display screen and acquiring a second display parameter of the auxiliary display screen;
and adjusting the second display parameter according to the first display parameter to obtain a third display parameter, and displaying the auxiliary display screen based on the third display parameter.
In a third aspect, an embodiment of the present application provides a display control apparatus applied to an electronic device including a foldable display screen, where the foldable display screen includes a main display screen and a sub display screen, and the main display screen and the sub display screen are both used for independent display, and the display control apparatus includes:
the detection unit is used for detecting an included angle between the main display screen and the auxiliary display screen when the main display screen and the auxiliary display screen are both in a bright screen state;
the acquisition unit is used for acquiring a first display parameter of the main display screen and a second display parameter of the auxiliary display screen when the included angle is within a preset angle range;
and the adjusting unit is used for adjusting the second display parameter according to the first display parameter to obtain a third display parameter, and displaying the auxiliary display screen based on the third display parameter.
In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method provided in the second aspect.
In a fifth aspect, there is provided a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform the method provided by the second aspect.
It can be seen that, in the embodiment of the application, when the main display screen and the secondary display screen are both in the bright screen state, an included angle between the main display screen and the secondary display screen is detected, if the included angle is within a preset angle range, a first display parameter of the main display screen is acquired, a second display parameter of the secondary display screen is acquired, the second display parameter is adjusted according to the first display parameter, a third display parameter is acquired, and the secondary display screen is displayed based on the third display parameter.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application;
fig. 1B is a schematic flowchart of a display control method according to an embodiment of the present application;
fig. 1C is a schematic illustration showing an angle between a main display and a sub display of an electronic device according to an embodiment of the present disclosure;
FIG. 1D is a schematic illustration of a color chart provided by an embodiment of the present application;
fig. 2 is a schematic flowchart of another display control method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a block diagram of functional units of a display control apparatus provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of another electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, 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 only a part of the embodiments of the present application, and not all of the embodiments. 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 claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic devices may include various handheld devices having wireless communication functions, in-vehicle devices, wireless headsets, computing devices or other processing devices connected to wireless modems, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like, and may be, for example, smart phones, tablets, earphone boxes, and the like. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
The following describes embodiments of the present application in detail.
Referring to fig. 1A, fig. 1A is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure, as shown in fig. 1A, the electronic device 100 includes: the foldable display device comprises a shell 110, a circuit board 120 arranged in the shell 110, a foldable display 130 arranged on the shell 110, and a sensor 140 arranged in the shell 110, wherein the circuit board 120 is provided with a processor 121, the processor 121 is connected with the foldable display 130, wherein the foldable display 130 comprises a main display and a secondary display, the main display and the secondary display can be used for independent display, the main display and the secondary display can be displayed simultaneously or can be displayed solely through the main display or the secondary display, when the main display and the secondary display can be displayed simultaneously, the display content of the main display can be related to the content of the secondary display, for example, the main display and the secondary display two adjacent application interfaces of one application, or the upper-level application interface and the lower-level application interface, the display content of the main display can be independent from the content of the secondary display, for example, the main display screen displays an application interface of a first application, the secondary display screen displays an application interface of a second application, and the first application and the second application are two different applications.
Optionally, the main display screen and the auxiliary display screen may be both LED display screens, OLED display screens, or the main display screen may be an OLED display screen, and the auxiliary display screen may be an LED display screen, which is not limited herein.
The electronic device described above with reference to fig. 1A may be configured to implement the following functions:
the sensor 140 is configured to detect an included angle between the main display screen and the secondary display screen when both the main display screen and the secondary display screen are in a bright screen state;
the processor 121 is configured to obtain a first display parameter of the main display screen and obtain a second display parameter of the secondary display screen when the included angle is within a preset angle range;
the display device is also used for adjusting the second display parameter according to the first display parameter to obtain a third display parameter;
and the auxiliary display screen is used for displaying the auxiliary display screen according to the third display parameter.
In one possible example, the first display parameter includes a first background display parameter, the second display parameter includes a second background display parameter, and in the aspect of adjusting the second display parameter according to the first display parameter to obtain a third display parameter, the processor is specifically configured to:
determining a differential background display parameter between the first background display parameter and a second background display parameter;
and if the difference background display parameter exceeds a preset threshold value, determining the third display parameter according to the first background display parameter.
In one possible example, the electronic device further comprises a first ambient light sensor and a second ambient light sensor, wherein,
the first ambient light sensor is used for acquiring first ambient light brightness corresponding to the main display screen, and the second ambient light sensor is used for acquiring second ambient light brightness corresponding to the auxiliary display screen;
the processor is further configured to determine the third display parameter according to the first display parameter and the second ambient light brightness when an absolute value of a difference between the first ambient light brightness and the second ambient light brightness satisfies a preset range.
In one possible example, the processor is further configured to switch the first display content of the main display screen and the second display content of the secondary display screen when the first ambient light brightness is less than the second ambient light brightness and an absolute value of a difference between the first ambient light brightness and the second ambient light brightness is greater than a preset brightness threshold.
In one possible example, the sensors include a first gravitational acceleration sensor corresponding to the main display and a second gravitational acceleration sensor corresponding to the secondary display, and in the detecting the angle between the main display and the secondary display,
the first gravitational acceleration sensor is used for detecting a first gravitational acceleration value component in the direction vertical to the main display screen;
the second gravity acceleration sensor is used for detecting a second gravity acceleration value component in the direction perpendicular to the auxiliary display screen;
the processor is configured to determine the included angle between the main display screen and the secondary display screen according to the first gravitational acceleration value component and the second gravitational acceleration value component.
Referring to fig. 1B, fig. 1B is a schematic flowchart of a display control method according to an embodiment of the present application, applied to the electronic device shown in fig. 1A, as shown in fig. 1B, the display control method includes:
101. and when the main display screen and the auxiliary display screen are both in a bright screen state, detecting an included angle between the main display screen and the auxiliary display screen.
In the embodiment of the application, when the main display screen and the secondary display screen are both in the bright screen state, a user may simultaneously see the display contents of the main display screen and the secondary display screen, or may only see the display contents of the main display screen or the secondary display screen.
Optionally, in the step 101, detecting an included angle between the main display screen and the sub display screen may specifically include the following steps:
11. detecting a first gravity acceleration value component in the direction vertical to the main display screen through a first gravity acceleration sensor corresponding to the main display screen, and detecting a second gravity acceleration value component in the direction vertical to the auxiliary display screen through a second gravity acceleration sensor corresponding to the auxiliary display screen;
12. and determining an included angle between the main display screen and the auxiliary display screen according to the first gravitational acceleration value component and the second gravitational acceleration value component.
Referring to fig. 1C, fig. 1C is a schematic diagram illustrating an example of an angle between a main display and a sub display of an electronic device according to the present disclosure, as shown in fig. 1C, the main display 1001 and the sub display 1002 of the electronic device are connected via a rotating shaft 1003, the main display 1001 and the sub display 1002 can rotate via the rotating shaft 1003, when the angle between the main display and the sub display is within a specific range, a user can view the display contents of the main display and the sub display simultaneously, wherein a first gravitational acceleration sensor can be respectively disposed inside a housing corresponding to the main display, a second gravitational acceleration sensor can be disposed inside a housing corresponding to the sub display, then a first gravitational acceleration component G1 in a direction perpendicular to the main display is detected by the first gravitational acceleration sensor, a second gravitational acceleration component G2 in a direction perpendicular to the sub display is detected by the second gravitational acceleration sensor, an included angle alpha 1 between G1 and the gravity direction and an included angle alpha 2 between G2 and the gravity direction can be further determined, because G1 is perpendicular to the main display screen and G2 is perpendicular to the auxiliary display screen, an included angle beta 1 between the main display screen and the gravity direction and an included angle beta 2 between the auxiliary display screen and the gravity direction can be further determined, and then the included angle between the main display screen and the auxiliary display screen is (beta 1+ beta 2) obtained according to the equal relation of the stagger angles between the two parallel lines.
102. And if the included angle is within a preset angle range, acquiring a first display parameter of the main display screen, and acquiring a second display parameter of the auxiliary display screen.
The preset angle range may be (45 °, 180 °), or (60 °, 200 °), a critical value of the preset angle range is not limited herein, when the included angle between the main display and the secondary display is within the preset angle range, the user may view the display contents of the main display and the secondary display simultaneously, and the first display parameter may include at least one of: display color, resolution, display brightness, theme of the application, etc., and the second display parameter may include at least one of: display color, resolution, display brightness, theme of the application, and the like.
Optionally, the first display parameter may include a background display parameter of the display interface, for example, a background theme, a background color, and the like, and may also include a display parameter of the main display content, for example, the main display content is a text content, the display parameter of the main display content may include a text color and a text font, and when the main display content is a pattern or a graphic, the display parameter of the main display content may include a border color, a filling color, a shape of the pattern or the graphic, and the like of the pattern or the graphic.
103. And adjusting the second display parameter according to the first display parameter to obtain a third display parameter, and displaying the auxiliary display screen based on the third display parameter.
In the embodiment of the present application, it is considered that a user may separately set a first display parameter of a main display and a second display parameter of a secondary display, and therefore, when the user views the content of the main display at the same time, the user may feel that the user is not harmonious enough when viewing the content of the two displays because the difference between the display effect of the main display and the display effect of the secondary display is large, for example, the user may set the main display to display a first theme and set the secondary display to display a second theme, and if the difference between the display effects of the style, color, pattern, and the like of the first theme and the second theme is large, the user may view the display effects of the main display and the secondary display at the same time, and therefore, the second display parameter may be adjusted according to the first display parameter, for example, the first theme is displayed on the secondary display, so that the display effects of the main display and the secondary display are more harmonious, the viewing experience of the user is improved.
Optionally, the first display parameter includes a first background display parameter, the second display parameter includes a second background display parameter, and in step 103, the adjusting the second display parameter according to the first display parameter to obtain a third display parameter may specifically include the following steps:
31. determining a differential background display parameter between the first background display parameter and a second background display parameter;
32. and if the difference background display parameter exceeds a preset threshold value, determining the third display parameter according to the first background display parameter.
The first background display parameter and the second background display parameter may include at least one of the following: display color, resolution, display brightness, etc. in the embodiments of the present application, a differential background display parameter between the first background display parameter and the second background display parameter may be determined, and in particular, when the first background display parameter is the first resolution and the second background display parameter is the second resolution, a difference in resolution between the first resolution and the second resolution may be determined, and if the difference in resolution exceeds a first predetermined threshold, the resolution of the sub-display can be adjusted according to the first resolution to obtain a third resolution, which can be the first resolution or determined by the first resolution and a predetermined difference, specifically, the predetermined difference can be fixed, if the second resolution is greater than the first resolution, the third resolution is the sum of the first resolution and the fixed difference, and if the second resolution is smaller than the first resolution, the third resolution is the difference between the first resolution and the fixed difference.
Optionally, when the first background display parameter is the first display brightness, and the second background display parameter is the second display brightness, a display brightness difference between the first display brightness and the second display brightness may be determined, and if the display brightness difference exceeds a second preset threshold, the display brightness of the secondary display screen may be adjusted according to the first display brightness to obtain a third display brightness, where the third display brightness may be a display brightness whose difference from the first display brightness is within a preset value range.
Optionally, when the first background display parameter is a first display color, and the second background display parameter is a second display color, a distance between the first display color and the second display color in a preset color table may be determined, please refer to fig. 1D, where fig. 1D is a schematic diagram of a color table provided in an embodiment of the present application, the color table includes a plurality of regions, each region represents a color, each color corresponds to a color number, and a plurality of colors in the color table may be arranged according to a similarity, if a difference between the color number of the first region corresponding to the first display color in the color table and the color number of the second region corresponding to the second display color in the color table exceeds a third preset threshold, the display color of the sub-display screen may be adjusted according to the first display color to obtain a third display color, which may be the first display color, or may be a color of which the difference value of the color numbers of the first areas corresponding to the first display color in the color table is within a preset numerical range.
Optionally, in an embodiment of the present application, the method may further include the following steps:
a1, acquiring first ambient light brightness corresponding to the main display screen, and acquiring second ambient light brightness corresponding to the auxiliary display screen;
a2, if the absolute value of the difference between the first ambient light brightness and the second ambient light brightness meets a preset range, determining the third display parameter according to the first display parameter and the second ambient light brightness.
In the embodiment of the present application, it is considered that when the included angle between the main display screen and the secondary display screen is within the predetermined angle range, the ambient light intensities of the main display screen and the secondary display screen may be different, for example, the main display screen blocks the light of the secondary display screen, or the secondary display screen blocks the light of the main display screen, so that the display effects of the main display screen and the secondary display screen may be affected, therefore, the first ambient light intensity may be detected according to the first ambient light sensor corresponding to the main display screen, the second ambient light intensity may be detected according to the second ambient light sensor corresponding to the secondary display screen, the absolute value of the difference between the first ambient light intensity and the second ambient light intensity satisfies the predetermined range, the viewing effect of the user viewing the main display screen and the secondary display screen may be affected, and therefore, the third display parameter may be determined according to the first display parameter and the second ambient light intensity, therefore, the secondary display screen can achieve more coordination with the display effect of the main display screen under the second ambient light brightness, for example, when the first display parameter is the first display brightness, the second display parameter is the second display brightness, because the difference between the first ambient light brightness and the second ambient light brightness is large, if the display brightness of the secondary display screen is directly adjusted to be the display brightness of the difference value of the first display brightness within the preset numerical range, the display effect of the secondary display screen can be difficult to reach the display effect of the main display screen, therefore, the third ambient light brightness can be determined according to the first display brightness and the second ambient light brightness, and the display effect of the secondary display screen is more coordinated with the display effect of the main display screen.
Optionally, in an embodiment of the present application, the method may further include the following steps:
and if the first environment light brightness is smaller than the second environment light brightness, and the difference value between the first environment light brightness and the second environment light brightness is larger than a preset brightness threshold value, switching the first display content of the main display screen and the second display content of the auxiliary display screen.
In the embodiment of the application, it is considered that when the first ambient light brightness is smaller than the second ambient light brightness, the display effect of the main display may cause that it is difficult for the user to clearly see the display content of the main display, and therefore, the first display content of the main display and the second display content of the sub display may be switched with each other, so that the user can clearly see the first display content on the sub display.
It can be seen that, in the embodiment of the application, when the main display screen and the secondary display screen are both in the bright screen state, an included angle between the main display screen and the secondary display screen is detected, if the included angle is within a preset angle range, a first display parameter of the main display screen is acquired, a second display parameter of the secondary display screen is acquired, the second display parameter is adjusted according to the first display parameter, a third display parameter is acquired, and the secondary display screen is displayed based on the third display parameter.
Referring to fig. 2, fig. 2 is a schematic flowchart of a display control method applied to an electronic device according to an embodiment of the present application, and as shown in fig. 2, the display control method includes:
201. when the main display screen and the auxiliary display screen are both in a bright screen state, a first gravity acceleration value component perpendicular to the main display screen is detected through a first gravity acceleration sensor corresponding to the main display screen, and a second gravity acceleration value component perpendicular to the auxiliary display screen is detected through a second gravity acceleration sensor corresponding to the auxiliary display screen.
202. And determining an included angle between the main display screen and the auxiliary display screen according to the first gravitational acceleration value component and the second gravitational acceleration value component.
203. And if the included angle is within a preset angle range, acquiring a first display parameter of the main display screen, and acquiring a second display parameter of the auxiliary display screen.
204. And adjusting the second display parameter according to the first display parameter to obtain a third display parameter, and displaying the auxiliary display screen based on the third display parameter.
The specific implementation process of the steps 201-204 can refer to the corresponding description in the method shown in fig. 1B, and is not described herein again.
It can be seen that, in the embodiment of the present application, when the main display screen and the sub display screen are both in the bright screen state, a first gravitational acceleration value component in a direction perpendicular to the main display screen is detected by a first gravitational acceleration sensor corresponding to the main display screen, and a second gravitational acceleration value component in a direction perpendicular to the sub display screen is detected by a second gravitational acceleration sensor corresponding to the sub display screen, an included angle between the main display screen and the sub display screen is determined according to the first gravitational acceleration value component and the second gravitational acceleration value component, if the included angle is within a preset angle range, a first display parameter of the main display screen is obtained, and a second display parameter of the sub display screen is obtained, the second display parameter is adjusted according to the first display parameter to obtain a third display parameter, and the sub display screen is displayed based on the third display parameter, so that when the main display screen and the sub display screen are simultaneously displayed, and the display parameters of the secondary display screen are adjusted according to the display parameters of the main display screen, so that the display effect of the secondary display screen is improved, and the visual experience of a user is improved.
Consistent with the embodiments shown in fig. 1B and fig. 2, please refer to fig. 3, fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, and as shown in fig. 3, the electronic device includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the following steps;
when a main display screen and an auxiliary display screen of the electronic equipment are both in a bright screen state, detecting an included angle between the main display screen and the auxiliary display screen;
if the included angle is within a preset angle range, acquiring a first display parameter of the main display screen and acquiring a second display parameter of the auxiliary display screen;
and adjusting the second display parameter according to the first display parameter to obtain a third display parameter, and displaying the auxiliary display screen based on the third display parameter.
In one possible example, the first display parameter includes a first background display parameter, the second display parameter includes a second background display parameter, and in the aspect of adjusting the second display parameter according to the first display parameter to obtain a third display parameter, the instructions in the program are specifically configured to perform the following operations:
determining a differential background display parameter between the first background display parameter and a second background display parameter;
and if the difference background display parameter exceeds a preset threshold value, determining the third display parameter according to the first background display parameter.
In one possible example, the instructions in the program are further to perform the following operations:
acquiring first ambient light brightness corresponding to the main display screen, and acquiring second ambient light brightness corresponding to the auxiliary display screen;
and if the absolute value of the difference value between the first ambient light brightness and the second ambient light brightness meets a preset range, determining the third display parameter according to the first display parameter and the second ambient light brightness.
In one possible example, the instructions in the program are further to perform the following operations:
and if the first environment light brightness is smaller than the second environment light brightness, and the difference value between the first environment light brightness and the second environment light brightness is larger than a preset brightness threshold value, switching the first display content of the main display screen and the second display content of the auxiliary display screen.
In one possible example, in the aspect of detecting the included angle between the main display screen and the secondary display screen, the instructions in the program are specifically configured to:
detecting a first gravity acceleration value component in the direction vertical to the main display screen through a first gravity acceleration sensor corresponding to the main display screen, and detecting a second gravity acceleration value component in the direction vertical to the auxiliary display screen through a second gravity acceleration sensor corresponding to the auxiliary display screen;
and determining an included angle between the main display screen and the auxiliary display screen according to the first gravitational acceleration value component and the second gravitational acceleration value component.
Fig. 4 is a block diagram showing functional units of the display control apparatus according to the embodiment of the present application. The display control apparatus is applied to an electronic device including a folding display screen including a main display screen and a sub display screen, both of which are used for independent display, and includes a detection unit 401, an acquisition unit 402, and an adjustment unit 403, wherein,
the detecting unit 401 is configured to detect an included angle between the main display screen and the secondary display screen when both the main display screen and the secondary display screen are in a bright screen state;
the obtaining unit 402 is configured to obtain a first display parameter of the main display screen and obtain a second display parameter of the secondary display screen when the included angle is within a preset angle range;
the adjusting unit 403 is configured to adjust the second display parameter according to the first display parameter to obtain a third display parameter, and display the secondary display screen based on the third display parameter.
Optionally, the first display parameter includes a first background display parameter, the second display parameter includes a second background display parameter, and in terms of adjusting the second display parameter according to the first display parameter to obtain a third display parameter, the adjusting unit 403 is specifically configured to:
determining a differential background display parameter between the first background display parameter and a second background display parameter;
and if the difference background display parameter exceeds a preset threshold value, determining the third display parameter according to the first background display parameter.
Optionally, the obtaining unit 402 is further configured to:
the electronic equipment further comprises a first ambient light sensor and a second ambient light sensor, wherein first ambient light brightness corresponding to the main display screen is obtained, and second ambient light brightness corresponding to the auxiliary display screen is obtained;
and if the absolute value of the difference value between the first ambient light brightness and the second ambient light brightness meets a preset range, determining the third display parameter according to the first display parameter and the second ambient light brightness.
Optionally, the adjusting unit 403 is further configured to:
and when the first environment light brightness is smaller than the second environment light brightness and the absolute value of the difference value between the first environment light brightness and the second environment light brightness is larger than a preset brightness threshold value, switching the first display content of the main display screen and the second display content of the auxiliary display screen.
Optionally, in terms of detecting an included angle between the main display screen and the secondary display screen, the detecting unit 401 is specifically configured to:
detecting a first gravity acceleration value component in the direction vertical to the main display screen through a first gravity acceleration sensor corresponding to the main display screen, and detecting a second gravity acceleration value component in the direction vertical to the auxiliary display screen through a second gravity acceleration sensor corresponding to the auxiliary display screen;
and determining an included angle between the main display screen and the auxiliary display screen according to the first gravitational acceleration value component and the second gravitational acceleration value component.
It can be seen that, in the embodiment of the application, when the main display screen and the secondary display screen are both in the bright screen state, an included angle between the main display screen and the secondary display screen is detected, if the included angle is within a preset angle range, a first display parameter of the main display screen is acquired, a second display parameter of the secondary display screen is acquired, the second display parameter is adjusted according to the first display parameter, a third display parameter is acquired, and the secondary display screen is displayed based on the third display parameter.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods as described in the above method embodiments.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure, and the electronic device 500 may include a control circuit, which may include a storage and processing circuit 510. The storage and processing circuit 510 may be a memory, such as a hard disk drive memory, a non-volatile memory (e.g., a flash memory or other electronically programmable read-only memory used to form a solid state drive, etc.), a volatile memory (e.g., a static or dynamic random access memory, etc.), etc., and the embodiments of the present application are not limited thereto. Processing circuitry in the storage and processing circuitry 510 may be used to control the operation of the electronic device 500. The processing circuit may be implemented based on one or more microprocessors, microcontrollers, digital master-slave headphone switch controllers, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuitry 510 may be used to run software in the electronic device 500, such as an internet browsing application, a Voice Over Internet Protocol (VOIP) phone call application, an email application, a media playing application, operating system functions, and so forth. Such software may be used to perform control operations such as, for example, camera-based image capture, ambient light measurement based on an ambient light sensor, proximity sensor measurement based on a proximity sensor, information display functionality based on status indicators such as status indicator lights of light emitting diodes, touch event detection based on a touch sensor, functionality associated with displaying information on multiple (e.g., layered) displays, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in the electronic device 500, and the like, without limitation of embodiments of the present application.
The electronic device 500 may also include input-output circuitry 550. The input-output circuit 550 may be used to enable the electronic device 500 to input and output data, i.e., to allow the electronic device 500 to receive data from external devices and also to allow the electronic device 500 to output data from the electronic device 500 to external devices. The input-output circuit 550 may further include a sensor 570. The sensors 570 may include an ambient light sensor, a light and capacitance based proximity sensor, a touch sensor (e.g., a light based touch sensor and/or a capacitive touch sensor, where the touch sensor may be part of a touch display screen or may be used independently as a touch sensor structure), an acceleration sensor, a gravitational acceleration sensor, where the gravitational acceleration sensor may include one or more sensors.
Input-output circuitry 550 may also include one or more displays, such as display 530. Display 530 may include one or a combination of liquid crystal displays, organic light emitting diode displays, electronic ink displays, plasma displays, displays using other display technologies. Display 530 may include an array of touch sensors (i.e., display 530 may be a folding display screen). The touch sensor may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, and the like, and the embodiments of the present application are not limited thereto.
The audio component 540 may be used to provide audio input and output functionality for the electronic device 500. The audio components 540 in the electronic device 500 may include a speaker, a microphone, a buzzer, a tone generator, and other components for generating and detecting sound.
The communication circuit 520 may be used to provide the electronic device 500 with the capability to communicate with external devices. The communication circuit 520 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and/or optical signals. The wireless communication circuitry in communication circuitry 520 may include radio-frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless communication circuitry in communication circuitry 520 may include circuitry to support Near Field Communication (NFC) by transmitting and receiving near field coupled electromagnetic signals. For example, communications circuitry 520 may include a near field communications antenna and a near field communications transceiver. Communications circuitry 520 may also include a cellular telephone transceiver and antenna, wireless local area network transceiver circuitry and antenna, and so forth.
The electronic device 500 may further include a battery, power management circuitry, and other input-output units 560. The input-output unit 560 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, and the like.
A user may enter commands through the input-output circuitry 550 to control the operation of the electronic device 500, and may use the output data of the input-output circuitry 550 to enable receiving status information and other outputs from the electronic device 500.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and the like.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: a flash disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. An electronic device for display control, the electronic device comprising a first ambient light sensor, a second ambient light sensor, a processor, and a foldable display and sensors coupled to the processor, the foldable display comprising a main display and a secondary display, the main display and the secondary display each for independent display, wherein,
the first ambient light sensor is used for acquiring first ambient light brightness corresponding to the main display screen, and the second ambient light sensor is used for acquiring second ambient light brightness corresponding to the auxiliary display screen;
the sensor is used for detecting an included angle between the main display screen and the auxiliary display screen when the main display screen and the auxiliary display screen are both in a bright screen state;
the processor is used for acquiring a first display parameter of the main display screen and acquiring a second display parameter of the auxiliary display screen when the included angle is within a preset angle range;
the display device is also used for adjusting the second display parameter according to the first display parameter to obtain a third display parameter;
the processor is further configured to switch a first display content of the main display screen and a second display content of the secondary display screen with each other when the first ambient light brightness is less than the second ambient light brightness and an absolute value of a difference between the first ambient light brightness and the second ambient light brightness is greater than a preset brightness threshold;
and the auxiliary display screen is used for displaying the auxiliary display screen according to the third display parameter.
2. The electronic device of claim 1, wherein the first display parameter comprises a first background display parameter, wherein the second display parameter comprises a second background display parameter, and wherein, in the adjusting the second display parameter according to the first display parameter to obtain a third display parameter, the processor is specifically configured to:
determining a differential background display parameter between the first background display parameter and a second background display parameter;
and if the difference background display parameter exceeds a preset threshold value, determining the third display parameter according to the first background display parameter.
3. The electronic device of claim 1, wherein the processor is further configured to determine the third display parameter according to the first display parameter and the second ambient light brightness when an absolute value of a difference between the first ambient light brightness and the second ambient light brightness satisfies a preset range.
4. The electronic device according to any of claims 1-3, wherein the sensors comprise a first gravitational acceleration sensor corresponding to the main display and a second gravitational acceleration sensor corresponding to the secondary display, and wherein, in the detecting the angle between the main display and the secondary display,
the first gravitational acceleration sensor is used for detecting a first gravitational acceleration value component in the direction vertical to the main display screen;
the second gravity acceleration sensor is used for detecting a second gravity acceleration value component in the direction perpendicular to the auxiliary display screen;
the processor is configured to determine the included angle between the main display screen and the secondary display screen according to the first gravitational acceleration value component and the second gravitational acceleration value component.
5. A display control method applied to an electronic device including a foldable display screen, the foldable display screen including a main display screen and a sub display screen, the main display screen and the sub display screen being used for independent display, the method comprising:
when the main display screen and the auxiliary display screen are both in a bright screen state, detecting an included angle between the main display screen and the auxiliary display screen;
if the included angle is within a preset angle range, acquiring a first display parameter of the main display screen and acquiring a second display parameter of the auxiliary display screen;
adjusting the second display parameter according to the first display parameter to obtain a third display parameter, and displaying the auxiliary display screen based on the third display parameter;
acquiring first ambient light brightness corresponding to the main display screen, and acquiring second ambient light brightness corresponding to the auxiliary display screen;
and if the first environment light brightness is smaller than the second environment light brightness, and the difference value between the first environment light brightness and the second environment light brightness is larger than a preset brightness threshold value, switching the first display content of the main display screen and the second display content of the auxiliary display screen.
6. The method of claim 5, wherein the first display parameter comprises a first background display parameter, the second display parameter comprises a second background display parameter, and the adjusting the second display parameter according to the first display parameter to obtain a third display parameter comprises:
determining a differential background display parameter between the first background display parameter and a second background display parameter;
and if the difference background display parameter exceeds a preset threshold value, determining the third display parameter according to the first background display parameter.
7. The method of claim 5, further comprising:
and if the absolute value of the difference value between the first ambient light brightness and the second ambient light brightness meets a preset range, determining the third display parameter according to the first display parameter and the second ambient light brightness.
8. The method according to any one of claims 5-7, wherein the detecting the angle between the main display screen and the secondary display screen comprises:
detecting a first gravity acceleration value component in the direction vertical to the main display screen through a first gravity acceleration sensor corresponding to the main display screen, and detecting a second gravity acceleration value component in the direction vertical to the auxiliary display screen through a second gravity acceleration sensor corresponding to the auxiliary display screen;
and determining an included angle between the main display screen and the auxiliary display screen according to the first gravitational acceleration value component and the second gravitational acceleration value component.
9. A display control apparatus applied to an electronic device including a foldable display screen, wherein the foldable display screen includes a main display screen and a sub display screen, the main display screen and the sub display screen are both used for independent display, the electronic device further includes a first ambient light sensor and a second ambient light sensor, and the display control apparatus includes:
the detection unit is used for detecting an included angle between the main display screen and the auxiliary display screen when the main display screen and the auxiliary display screen are both in a bright screen state;
the acquisition unit is used for acquiring a first display parameter of the main display screen and a second display parameter of the auxiliary display screen when the included angle is within a preset angle range; acquiring first ambient light brightness corresponding to the main display screen, and acquiring second ambient light brightness corresponding to the auxiliary display screen;
the adjusting unit is used for adjusting the second display parameter according to the first display parameter to obtain a third display parameter, and displaying the auxiliary display screen based on the third display parameter; and switching the first display content of the main display screen and the second display content of the auxiliary display screen when the first environment light brightness is smaller than the second environment light brightness and the absolute value of the difference between the first environment light brightness and the second environment light brightness is larger than a preset brightness threshold value.
10. A computer-readable storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 5-8.
11. A computer program product, characterized in that the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform the method according to any of claims 5-8.
CN201811052051.3A 2018-09-10 2018-09-10 Display control method and related product Active CN109375889B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811052051.3A CN109375889B (en) 2018-09-10 2018-09-10 Display control method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811052051.3A CN109375889B (en) 2018-09-10 2018-09-10 Display control method and related product

Publications (2)

Publication Number Publication Date
CN109375889A CN109375889A (en) 2019-02-22
CN109375889B true CN109375889B (en) 2022-02-01

Family

ID=65405443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811052051.3A Active CN109375889B (en) 2018-09-10 2018-09-10 Display control method and related product

Country Status (1)

Country Link
CN (1) CN109375889B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966162A (en) * 2019-05-20 2020-11-20 华为技术有限公司 Angle measuring method and electronic equipment
CN110275613A (en) * 2019-05-29 2019-09-24 Oppo广东移动通信有限公司 Screen display processing method, device, electronic equipment and storage medium
CN111402834A (en) * 2020-03-25 2020-07-10 Oppo广东移动通信有限公司 Brightness adjusting method, terminal and storage medium
CN113050909A (en) * 2021-03-31 2021-06-29 联想(北京)有限公司 Display apparatus and display method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9223536B1 (en) * 2013-12-03 2015-12-29 Google Inc. Method, apparatus and system to determine display misalignment
CN106657459A (en) * 2016-11-09 2017-05-10 浙江吉利控股集团有限公司 Display screen, mobile terminal and combined type terminal device
CN107526565A (en) * 2017-08-31 2017-12-29 珠海格力电器股份有限公司 Interface display control method and mobile terminal
CN107547734A (en) * 2017-07-31 2018-01-05 维沃移动通信有限公司 Method, mobile terminal and the storage medium of screen intensity regulation
CN107678661A (en) * 2017-10-19 2018-02-09 广东欧珀移动通信有限公司 The method and apparatus of display data content
CN107846515A (en) * 2017-11-07 2018-03-27 广东欧珀移动通信有限公司 shooting parameter adjustment method, device and terminal
CN108108137A (en) * 2017-12-15 2018-06-01 广东欧珀移动通信有限公司 Display control method and related product
CN108322574A (en) * 2018-03-30 2018-07-24 广东欧珀移动通信有限公司 Display screen, terminal display screen component and mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653024A (en) * 2015-12-22 2016-06-08 深圳市金立通信设备有限公司 Terminal control method and terminal
CN106528020B (en) * 2016-10-26 2019-05-31 腾讯科技(深圳)有限公司 A kind of field-of-view mode switching method and terminal
CN108510962B (en) * 2018-03-29 2020-11-20 联想(北京)有限公司 Display control method and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9223536B1 (en) * 2013-12-03 2015-12-29 Google Inc. Method, apparatus and system to determine display misalignment
CN106657459A (en) * 2016-11-09 2017-05-10 浙江吉利控股集团有限公司 Display screen, mobile terminal and combined type terminal device
CN107547734A (en) * 2017-07-31 2018-01-05 维沃移动通信有限公司 Method, mobile terminal and the storage medium of screen intensity regulation
CN107526565A (en) * 2017-08-31 2017-12-29 珠海格力电器股份有限公司 Interface display control method and mobile terminal
CN107678661A (en) * 2017-10-19 2018-02-09 广东欧珀移动通信有限公司 The method and apparatus of display data content
CN107846515A (en) * 2017-11-07 2018-03-27 广东欧珀移动通信有限公司 shooting parameter adjustment method, device and terminal
CN108108137A (en) * 2017-12-15 2018-06-01 广东欧珀移动通信有限公司 Display control method and related product
CN108322574A (en) * 2018-03-30 2018-07-24 广东欧珀移动通信有限公司 Display screen, terminal display screen component and mobile terminal

Also Published As

Publication number Publication date
CN109375889A (en) 2019-02-22

Similar Documents

Publication Publication Date Title
CN109375889B (en) Display control method and related product
CN108879072B (en) Electronic device
CN109167153B (en) Electronic device, antenna radiator control method, and storage medium
CN109283996B (en) Display control method and related product
CN109274833B (en) Electromagnetic interference adjusting method and related product
EP2851779A1 (en) Method, device, storage medium and terminal for displaying a virtual keyboard
CN108777741B (en) Antenna switching control method and related product
MX2014008742A (en) Notification message display method and apparatus, and electronic device.
CN107819935B (en) Control method of mobile terminal and mobile terminal
CN109348055B (en) Display control method, display control device, electronic apparatus, and readable storage medium
EP3883157B1 (en) Electromagnetic interference control method and related product
CN110475020B (en) Equipment control method and related product
CN109348528A (en) Display control method and Related product
CN108833779B (en) Shooting control method and related product
CN109144455B (en) Display control method and related product
CN110908728B (en) Authority configuration method and related product
KR102636438B1 (en) Interface display method and terminal
CN113360005B (en) Color cast adjusting method and related product
CN108769401B (en) Signal detection method and related product
US20210099566A1 (en) Dialing method and mobile terminal
KR20220117342A (en) Electronics and Control Methods
WO2020047758A1 (en) Message prompting method and related product
CN109346828A (en) Antenna module and electronic equipment
CN109885201B (en) Touch area detection method for touch screen, electronic device and computer readable storage medium
CN108834206B (en) Control method of electronic device and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant