WO2022068470A1 - 一种显示控制方法、终端及存储介质 - Google Patents
一种显示控制方法、终端及存储介质 Download PDFInfo
- Publication number
- WO2022068470A1 WO2022068470A1 PCT/CN2021/114419 CN2021114419W WO2022068470A1 WO 2022068470 A1 WO2022068470 A1 WO 2022068470A1 CN 2021114419 W CN2021114419 W CN 2021114419W WO 2022068470 A1 WO2022068470 A1 WO 2022068470A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- screen
- display
- sub
- image
- display screen
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 82
- 230000004044 response Effects 0.000 claims abstract description 6
- 238000005452 bending Methods 0.000 claims description 73
- 230000008569 process Effects 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 abstract description 8
- 230000003068 static effect Effects 0.000 description 58
- 238000011084 recovery Methods 0.000 description 37
- 238000010586 diagram Methods 0.000 description 22
- 230000005540 biological transmission Effects 0.000 description 11
- 210000004899 c-terminal region Anatomy 0.000 description 4
- TVZRAEYQIKYCPH-UHFFFAOYSA-N 3-(trimethylsilyl)propane-1-sulfonic acid Chemical compound C[Si](C)(C)CCCS(O)(=O)=O TVZRAEYQIKYCPH-UHFFFAOYSA-N 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000009977 dual effect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1675—Miscellaneous details related to the relative movement between the different enclosures or enclosure parts
- G06F1/1677—Miscellaneous details related to the relative movement between the different enclosures or enclosure parts for detecting open or closed state or particular intermediate positions assumed by movable parts of the enclosure, e.g. detection of display lid position with respect to main body in a laptop, detection of opening of the cover of battery compartment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1615—Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
- G06F1/1616—Constructional 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1637—Details related to the display arrangement, including those related to the mounting of the display in the housing
- G06F1/1641—Details related to the display arrangement, including those related to the mounting of the display in the housing the display being formed by a plurality of foldable display components
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1637—Details related to the display arrangement, including those related to the mounting of the display in the housing
- G06F1/1647—Details related to the display arrangement, including those related to the mounting of the display in the housing including at least an additional display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1637—Details related to the display arrangement, including those related to the mounting of the display in the housing
- G06F1/1652—Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3228—Monitoring task completion, e.g. by use of idle timers, stop commands or wait commands
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3265—Power saving in display device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/003—Details of a display terminal, the details relating to the control arrangement of the display terminal and to the interfaces thereto
- G09G5/006—Details of the interface to the display terminal
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/14—Display of multiple viewports
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2380/00—Specific applications
- G09G2380/02—Flexible displays
Definitions
- the present application relates to the technical field of display control, and in particular, to a display control method, a terminal and a storage medium.
- the present application provides a display control method, a terminal, and a storage medium, wherein the displayable control method controls the display interface of a terminal with a foldable display screen to display on the first display screen and the second display screen during the dual-screen display stage.
- Time-sharing switching between the first sub-displays so that when the first display interface is switched to the first display, the data of the first image is transmitted to the first display through the first display interface, and when the first display interface is switched
- the data of the second image is transmitted to the first sub-display screen through the first display interface, so that the first sub-display screen displays the first image while the first sub-display screen displays the second image.
- the display interface can be time-multiplexed without changing the processing capability of the terminal chip, so as to ensure the double-sided display screen (the first sub-display screen of the first display screen and the second display screen) The ability to display simultaneously in the dual display stage without sacrificing the resolution of the display.
- the present application provides a display control method, which is applied to a terminal with a foldable display screen.
- the terminal includes a first display screen and a second display screen, and the second display screen is a folding screen.
- the folding screen is in an unfolded state, the first display screen is displayed.
- the light-emitting direction of the screen is opposite to the light-emitting direction of the second display screen, and the second display screen includes a first sub-display screen and a second sub-display screen, and the method includes:
- the dual-screen display stage In response to the dual-screen display instruction, enter the dual-screen display stage.
- control the first display interface to switch between the first display screen and the first sub-display in a time-sharing manner.
- the first display interface When the first display interface is switched to the first display interface
- the data of the first image is transmitted to the first display screen through the first display interface
- the first display interface is switched to the first sub-display
- the data of the second image is transmitted to the first sub-display through the first display interface
- the display screen is configured to display the first image on the first display screen and simultaneously display the second image on the first sub-display screen.
- the dual-screen display stage includes:
- the current bending state of the second display screen is determined, the main screen and the sub screen are determined according to the current bending state of the second display screen, the main screen image is displayed on the main screen, and the sub screen image is displayed on the sub screen.
- determining the current bending state of the second display screen determining the main screen and the secondary screen according to the current bending state of the second display screen, displaying the main screen image on the main screen, and displaying the secondary screen image on the secondary screen including:
- the second display screen is in an inward bending state, set the first display screen as the main screen, set the first sub-display screen and the second sub-display screen as the sub-screens, the first image is the main screen image, and the second image is Secondary screen image;
- the data of the third image is transmitted to the second sub-display through the second display interface, so that the second sub-display displays the sub-screen image, and the third image is the sub-screen image.
- the first sub-display and the second sub-display are based on their respective
- the received secondary screen image is self-refreshed and displayed.
- determining the current bending state of the second display screen determining the main screen and the secondary screen according to the current bending state of the second display screen, displaying the main screen image on the main screen, and displaying the secondary screen image on the secondary screen including:
- the second display screen is in an inward bending state, set the first display screen as the main screen, set the first sub-display screen and the second sub-display screen as the sub-screens, the first image is the main screen image, and the second image is Secondary screen image;
- the data of the third image is transmitted to the second sub-display screen through the second display interface, so that the second sub-display screen can display another part of the sub-screen image, so that the second display screen composed of the first sub-display screen and the second sub-display screen can be displayed.
- the screen displays a complete sub-screen image, wherein the third image is another part of the sub-screen image, and the first sub-display and the second sub-display perform self-refresh display based on the partial sub-screen images respectively received.
- determining the current bending state of the second display screen determining the main screen and the secondary screen according to the current bending state of the second display screen, displaying the main screen image on the main screen, and displaying the secondary screen image on the secondary screen including:
- the second display screen is in a flat state, the second display screen is set as the main screen, the first display screen is set as the secondary screen, the first image is the secondary screen image, and the second image is a part of the main screen image;
- the first display screen performs self-refreshing display based on the received image of the secondary screen.
- the data of a part of the image of the main screen is transmitted to the first sub-display through the first display interface , so that the first display screen displays a part of the main screen image while the first sub-display screen displays the sub-screen image;
- the data of the third image is transmitted to the second sub-display screen through the second display interface, so that the second sub-display screen displays another part of the main screen image, so that the second display screen composed of the first sub-display screen and the second sub-display screen
- the complete home screen image is displayed, with the third image being another part of the home screen image.
- the dual-screen display stage includes:
- Determine the current bending state of the second display screen and the orientation of the terminal determine the main screen and the secondary screen according to the current bending state of the second display screen and the orientation of the terminal, display the main screen image on the main screen, and display the secondary screen image on the secondary screen.
- Images include:
- the second display screen is in a flat state and the second display screen faces the user, set the second display screen as the main screen, set the first display screen as the secondary screen, the first image is the secondary screen image, and the second image is the main screen part of the image;
- the first display screen performs self-refreshing display based on the received image of the secondary screen.
- the data of a part of the image of the main screen is transmitted to the first sub-display through the first display interface , so that the first display screen displays a part of the main screen image while the first sub-display screen displays the sub-screen image;
- the data of the third image is transmitted to the second sub-display screen through the second display interface, so that the second sub-display screen displays another part of the main screen image, so that the second display screen composed of the first sub-display screen and the second sub-display screen
- the complete home screen image is displayed, with the third image being another part of the home screen image.
- Images include:
- the first display screen is set as the main screen, and the second display screen is set as the secondary screen;
- the data of the third image is transmitted to the second sub-display screen through the second display interface, so that the second sub-display screen can display another part of the sub-screen image, so that the second display screen composed of the first sub-display screen and the second sub-display screen can be displayed.
- the screen displays a complete sub-screen image, wherein the third image is another part of the sub-screen image, and the first sub-display and the second sub-display perform self-refresh display based on the partial sub-screen images respectively received.
- Images include:
- the first sub-display screen is set as the main screen, and the first and second sub-display screens are set as the sub-screens;
- the data of the main screen image is transmitted to the first sub-display through the first display interface, so that the first sub-display displays the sub-screen image while the first sub-display displays main screen image;
- the data of the third image is transmitted to the second sub-display through the second display interface, so that the second sub-display displays the sub-screen image, wherein the third image is the sub-screen image, and the first and second sub-displays are based on their respective
- the received secondary screen image is self-refreshed and displayed.
- Images include:
- the second display screen is in an outwardly bent state, and the second sub-display screen faces the user, setting the second sub-display screen as the main screen, and setting the first display screen and the first sub-display screen as the sub-screens;
- the data of the sub-screen image is transmitted to the first sub-display through the first display interface, so that the first sub-display can display the sub-screen image while the first sub-display Display the secondary screen image;
- the data of the third image is transmitted to the second sub-display through the second display interface, so that the second sub-display displays the main-screen image, wherein the third image is the main-screen image, and the first display and the first sub-display are based on the received
- the secondary screen image is self-refreshing display.
- the dual-screen display command is any one or more of the following commands:
- the application also provides a terminal, including:
- a processor and a memory the memory is used to store at least one instruction, and the instruction is loaded and executed by the processor to implement the above display control method.
- the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned display control method is implemented.
- the first display interface of the terminal with the foldable display screen is controlled to switch between the first display screen and the first sub-display screen of the second display screen in a time-sharing manner, so as to realize the
- a display interface is switched to the first display screen
- the data of the first image is transmitted to the first display screen through the first display interface
- the second display interface is transmitted through the first display interface.
- the data of the image is sent to the first sub-display screen, so that the first sub-display screen displays the first image while the first sub-display screen displays the second image.
- the display interface can be time-multiplexed without changing the processing capability of the terminal chip, so as to ensure the double-sided display screen (the first sub-display screen of the first display screen and the second display screen) The ability to display simultaneously in the dual display stage without sacrificing the resolution of the display.
- FIG. 1A is a schematic diagram of a terminal on one side of a first display screen according to an embodiment of the present invention
- FIG. 1B is a schematic diagram of a terminal on one side of a second display screen according to an embodiment of the present invention.
- 1C is a schematic diagram of one side of a second display screen during an inward bending process of a terminal according to an embodiment of the present invention
- 1D is a schematic diagram of one side of a second display screen in a process of outwardly bending a terminal according to an embodiment of the present invention
- FIG. 1E is a schematic diagram of one side of the first display screen after inward bending and folding according to an embodiment of the present invention
- 1F is a schematic diagram of one side of the second sub-display screen after the outward bending and folding according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart of a display control method provided by an embodiment of the present invention.
- 3A is a schematic diagram of dual-screen simultaneous display processing provided by an embodiment of the present invention.
- 3B is a schematic diagram of display interface switching provided by an embodiment of the present invention.
- 4A is a schematic diagram of a dual-screen display process flow in a power-on scenario provided by an embodiment of the present invention
- FIG. 4B is a schematic diagram of display specifications of each stage in a power-on scenario provided by an embodiment of the present invention.
- FIG. 5 is a schematic diagram of a dual-screen display process in a shutdown and charging scenario provided by an embodiment of the present invention
- FIG. 6 is a schematic diagram of a dual-screen display process flow in a system recovery scenario provided by an embodiment of the present invention
- FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
- FIG. 8 is a schematic diagram of a system architecture of a terminal according to an embodiment of the present invention.
- An embodiment of the present invention provides a display control method.
- the display control method is applied to a terminal with a foldable display screen.
- the terminal includes a first display screen S1 and a second display screen S2.
- the terminal In the flat state, the light emitting directions of the first display screen S1 and the second display screen S2 are opposite, wherein the second display screen S2 is a folding screen, and the second display screen S2 is divided into a first sub-display screen S2a and a first sub-display screen S2a according to the folding line L1.
- the second sub-display screen S2b is a display control method.
- the terminal is classified into a type A terminal, a type B terminal and a type C terminal according to the folding performance of the folding screen (the second display screen S2).
- the folding performance of the A-type terminal is that the folding screen (the second display screen S2) can only be folded inward. Bend inward according to the fold line L1 (in the direction of the arrow), when the A-type terminal is inwardly folded and is in a fully folded state as shown in FIG. 1E, the first sub-display S2a and the second sub-display of the second display S2 The display screen S2b is covered on the inside of the terminal, and in the fully folded state, the display screen visible to the user on the outside of the terminal is only the first display screen S1.
- the folding performance of the B-type terminal is that the folding screen (the second display screen S2) can only be folded outwards.
- the folding screen (the second display screen S2) can only be folded outwards.
- FIG. 1D when the second display screen S2 of the terminal is in a flat state (as shown in the dotted line box in FIG. 1D ) Bend outwards according to the folding line L1 (in the direction of the arrow), when the B-type terminal is bent and folded outwards and is in a fully folded state as shown in FIG. 1F, the first display screen S1 is wrapped inside the terminal, and in the fully folded state In the folded state, on the outside of the terminal, the display screens visible to the user are only the first sub-display screen S2a and the second sub-display screen S2b on both sides of the terminal.
- the folding performance of the C-type terminal is that (the second display screen S2) can be folded outwardly or inwardly, that is, it supports bidirectional folding.
- the display control method of this embodiment can be applied to the type C terminal, and can also be applied to the type A terminal and the type B terminal, so , and the display control method provided by the embodiment of the present invention is applied to a C-type terminal as an example for description.
- FIG. 2 shows a schematic flowchart of a display control method provided by an embodiment of the present invention. As shown in FIG. 1 , the display control method includes:
- Step 101 In response to the dual-screen display instruction, enter the dual-screen display stage;
- Step 102 in the dual-screen display stage, control the first display interface to switch between the first display screen and the first sub-display screen of the second display screen in a time-sharing manner;
- Step 103 when the first display interface is switched to the first display screen, transmit the data of the first image to the first display screen through the first display interface;
- Step 104 when the first display interface is switched to the first sub-display, transmit the data of the second image to the first sub-display through the first display interface;
- Step 105 The first sub-display screen displays the second image while the first display screen displays the first image.
- the setting scene can be one of the following scenarios: power on, active power off, low battery power off, power off and charging and system recovery.
- the instruction for entering the corresponding scene may be regarded as a dual-screen display instruction, and the dual-screen display stage is entered in response to the dual-screen display instruction.
- FIG. 3A shows a schematic diagram of dual-screen simultaneous display processing provided by an embodiment of the present invention, wherein the overlay synthesis (OV, overlay) in the chip C1 includes OV0 and OV1, where OV0 and OV1 are responsible for scaling multiple layer data, Cropping and synthesis, and finally synthesized into one frame of data;
- Display Post Processor (DPP, Display Post Processo) DPP0 is used to post-process the synthesized display data for effects, colors, etc.
- Display Stream Compression DSC Display Stream Compression
- the Pipe switch K0 is mainly responsible for the selection of the channel matching between the overlay and the Display Serial Interface (DSI), for example, OV0 is connected to DSI0 or DSI1 through the Pipe switch .
- DSI Display Serial Interface
- FIG. 3B shows a schematic diagram of display interface switching provided by an embodiment of the present invention.
- the terminal includes a first display interface DSI1 and a second display interface DSI2, that is, supports two DSI display paths, an embodiment of the present application
- the display interface can be a display serial interface (Display Serial Interface, DSI), and when the first display screen S1 is displayed alone, the first display screen can be connected through any interface in the first display interface DSI1 and the second display interface DSI2. S1, to transmit display data to the first display screen S1.
- the first display screen S1 is connected through the first display interface DSI1 to transmit display data to the first display screen S1.
- the first sub-display screen S2a and the second sub-display screen S2b of the second display screen S2 are respectively connected through the first display interface DSI1 and the second display interface DSI2, so as to pass the first display interface DSI1 and the second display interface DSI2 respectively transmit corresponding display data to the first sub-display screen S2a and the second sub-display screen S2b.
- the first display interface DSI1 is controlled to switch between the first display screen S1 and the first sub-display screen S2a of the second display screen S2 in a time-sharing manner, specifically, the first display
- the interface DSI1 is time-divisionally connected between the first display screen S1 and the first sub-display screen S2a of the second display screen S2 through a switch (SWITCH) K1.
- SWITCH switch
- the data of the first image is transmitted to the first display screen S1 through the first display interface DSI1, and when the first display interface DSI1 is switched to the first sub-display screen S2a, The data of the second image is transmitted to the first sub-display screen S2a through the first display interface DSI1, so that the first sub-display screen S2a displays the second image while the first display screen S1 displays the first image.
- the dual-screen display stage includes:
- Step S1 generating a main screen image and a secondary screen image
- Step S2A Determine the current bending state of the second display screen, determine the main screen and the secondary screen according to the current bending state of the second display screen, display the main screen image on the main screen, and display the secondary screen image on the secondary screen.
- corresponding at least part of the main screen image and at least part of the sub-screen image may be pre-generated according to the dual-screen display scene type, and at least part of the main screen image data and at least part of the sub-screen image data generated They are respectively stored in the first buffer memory and the second buffer memory, and then a complete main screen image can be generated according to at least part of the main screen image data in the first buffer memory, and a complete main screen image can be generated according to at least part of the secondary screen image data in the second buffer memory. the secondary screen image.
- the display interface (the first display interface DSI1 and/or the second display interface DSI2 ) may also transmit the rendered display image to the main screen and/or the sub-screen.
- the current state of the second display screen wherein the current bending state (folded or flat) of the second display screen S2 of the terminal can be determined according to the terminal internal sensor parameters, and the main screen and the main screen can be determined according to the current bending state of the second display screen S2.
- Secondary screen For example, the included angle of the first sub-display screen S2a relative to the second sub-display screen S2b may be determined according to an internal sensor of the terminal, and the folded state of the second display screen may be further determined according to the included angle.
- the first display interface DSI1 is controlled to control the first display interface DSI1.
- a display interface DSI1 switches between the first display screen S1 and the first sub-display screen S2a of the second display screen S2 in a time-sharing manner.
- the first display interface DSI1 When the first display interface DSI1 switches to the first display screen S1, the first display interface DSI1 The data of the first image is transmitted to the first display screen S1, and when the first display interface DSI1 is switched to the first sub-display screen S2a, the data of the second image is transmitted to the first sub-display screen S2a through the first display interface DSI1, so that the While the first display screen S1 displays the first image, the first sub-display screen S2a displays the second image.
- the dual-screen display stage it can be determined whether to control the second display interface DSI2 to connect to the second sub-display S2b and transmit a third image to it according to the current state and display requirements of the second display S2 of the terminal, so that the second sub-display S2
- the display screen S2b is displayed simultaneously with the first display screen S1 and the first sub-display screen S2a.
- the dual-screen display stage includes:
- Step S1 generating a main screen image and a secondary screen image
- Step S2B Determine the current bending state of the second display screen and the orientation of the terminal, determine the main screen and the secondary screen according to the current bending state of the second display screen and the orientation of the terminal, display the main screen image on the main screen, and display the secondary screen image on the secondary screen .
- corresponding at least part of the main screen image and at least part of the sub-screen image may be pre-generated according to the dual-screen display scene type, and at least part of the main screen image data and at least part of the sub-screen image data generated They are respectively stored in the first buffer memory and the second buffer memory, and then a complete main screen image can be generated according to at least part of the main screen image data in the first buffer memory, and a complete main screen image can be generated according to at least part of the secondary screen image data in the second buffer memory. the secondary screen image.
- the display interface (the first display interface DSI1 and/or the second display interface DSI2 ) may also transmit the rendered display image to the main screen and/or the sub-screen.
- the current state of the second display screen wherein the current bending state (folded or flattened) of the second display screen S2 of the terminal and the orientation of the terminal can be determined according to the terminal internal sensor parameters, and according to the current bending state of the second display screen S2 And the orientation of the terminal determines the main screen and the secondary screen.
- the included angle of the first sub-display screen S2a relative to the second sub-display screen S2b may be determined according to an internal sensor of the terminal, and the folded state of the second display screen may be further determined according to the included angle.
- the user's holding posture of the terminal is further determined according to the internal sensor parameters of the terminal, and then the orientation of the terminal (which display screen is facing the user) is determined according to the holding posture, and the first display screen S1 and the terminal are further determined according to the current state of the terminal and the orientation of the terminal.
- Which one of the second display screens S2 is the main screen and which one is the secondary screen, and in the case of determining the main screen and the secondary screen, the first display interface DSI1 is controlled to control the first display interface DSI1 to display on the first display screen S1 and the second display S2a is switched between the first sub-displays of the screen S2 in a time-sharing manner.
- the data of the first image is transmitted to the first display screen S1 through the first display interface DSI1.
- the data of the second image is transmitted to the first sub-display S2a through the first display interface DSI1, so that the first display S1 displays the first image and the first sub-display
- the display screen S2a displays the second image.
- the dual-screen display stage it can be determined whether to control the second display interface DSI2 to connect to the second sub-display S2b and transmit a third image to it according to the current state and display requirements of the second display S2 of the terminal, so that the second sub-display S2
- the display screen S2b is displayed simultaneously with the first display screen S1 and the first sub-display screen S2a.
- the SOC chip of the terminal in the prior art only supports two DSI display paths, if the prior art is used for dual-screen simultaneous display, the first display screen S1 occupies a DSI display path alone, and the second display screen S2 (folding screen) occupies a single DSI display path.
- Another DSI display channel, in the terminal dual-screen simultaneous display stage (the first display screen S1 and the second display screen S2 are displayed at the same time), the display resolution of the folding screen on a single DSI display channel is limited by the screen charging time and process. The capabilities are limited, and the resolution will not be too large.
- the first display interface of the terminal with the foldable display screen is controlled to switch between the first display screen and the first sub-display of the second display screen in a time-sharing manner. , so that when the first display interface is switched to the first display screen, the data of the first image is transmitted to the first display screen through the first display interface, and when the first display interface is switched to the first sub-display screen, the first image data is transmitted through the first display interface
- the display interface transmits data of the second image to the first sub-display screen, so that the first sub-display screen displays the first image while the first sub-display screen displays the second image.
- the display interface can be time-multiplexed without changing the processing capability of the terminal chip, so as to ensure the double-sided display screen (the first sub-display screen of the first display screen and the second display screen) The ability to display simultaneously in the dual display stage without sacrificing the resolution of the display.
- Embodiment 1 and Embodiment 2 are provided as follows, wherein, in Embodiment 1, the main/secondary screen is only determined by the current state of the second display screen, and then the dual-screen display control operation is performed after the main/secondary screen is determined.
- the primary/secondary screen is determined according to the current state of the second display screen and the orientation of the terminal, and then the dual-screen display control operation is performed after the primary/secondary screen is determined.
- FIG. 4A shows a schematic diagram of a dual-screen display process in a power-on scenario provided by an embodiment of the present invention
- FIG. 4B shows a schematic diagram of display specifications at each stage in a power-on scenario provided by an embodiment of the present invention.
- at least part of the main screen image and at least part of the sub-screen image such as a static logo, may be pre-generated, and the at least part of the main screen image data and at least part of the sub-screen image data are respectively cached in the first screen. buffer memory and the second buffer memory.
- the current bending state of the terminal that is, the folding state (bending state) of the second display screen S2
- the folding state (bending state) of the second display screen S2 is determined according to the internal sensor of the terminal, and the main/secondary screen of the current power-on is determined by the state of the terminal at the moment of power-on.
- the second display screen S2 is in a fully folded state that is bent inward as shown in FIG. 1E (the second display screen S2 is wrapped inside the terminal, and the user can only see the first display screen S1), then the first display screen S1 is set.
- the display screen S1 is the main screen, and the first sub-display screen S2a and the second sub-display screen S2b are set as secondary screens.
- the first display interface DSI1 is time-divisionally connected between the first display screen S1 and the first sub-display screen S2a of the second display screen S2 through the switch (SWITCH) K1.
- the switch (SWITCH) K1 When the first display interface DSI1 is switched to the first display screen S1 , the data of the first image (main screen image) is transmitted to the first display screen S1 through the first display interface DSI1, and when the first display interface DSI1 is switched to the first sub-display screen S2a, the second image is transmitted through the first display interface DSI1 (Sub-screen image) data to the first sub-display screen S2a; transmit the data of the third image (sub-screen image) to the second sub-screen S2b through the second display interface, so that the first screen S1 displays the main screen image at the same time
- the first sub-display screen S2a and the second sub-display screen S2b display sub-screen images.
- the main screen image may be acquired from the first buffer memory
- the main screen image may include a static logo and a plurality of customized logos
- the secondary screen image may be acquired from the second buffer memory, where the secondary screen image is the above-mentioned static logo.
- the display subsystem can first control the display control module and the display screen module of the secondary screen (the first sub-display S2a and the second sub-display S2b) to perform the display before sending the display.
- the second display interface DSI2 transmits the static logo to the second sub-display screen S2b to complete the one-time display transmission, so that the first sub-display screen S2a and the second sub-display screen S2b respectively display the static logo.
- the switch K1 is controlled to switch to the first display screen S1, so that the first display interface DSI1 is connected to the first display screen S1, and the static logo and a plurality of customized logos are transmitted to the first display screen S1.
- the display screen is controlled, and the first display interface DSI1 is controlled to continuously send the display to the first display screen S1, so that the first display screen S1 continuously refreshes the screen according to the transmission data of the first display interface DSI1.
- the booting procedure of the terminal can be divided into four stages.
- the first stage (Fastboot)
- the first display interface DSI1 sends the static logo to the secondary screen, and completes the one-time sending.
- the first display interface DSI1 is disconnected from the first sub-display S2a, while the second display interface DSI2 sends the static logo to the sub-display.
- the display screen S2b transmits display data, and the secondary screen keeps self-refreshing display in the CMD mode, that is, keeps the secondary screen displaying the static logo until the end of the boot procedure.
- the secondary screen only displays a static logo (such as logo A) and starts self-refresh to continuously display the logo A.
- the main screen can display logo A in one area while displaying other content (such as boot animation) in other areas of the screen. ).
- the first display interface DSI1 remains disconnected from the first sub-display S2a, and the second display interface DSI2 keeps stop transmitting display data to the second sub-display S2b, and the sub-display keeps self-refreshing.
- the control switch K1 remains connected to the main screen, the first display interface DSI1 continues to send display to the main screen, and the main screen continuously refreshes the screen according to the transmitted data.
- the secondary screen self-refreshes to display a static logo (such as logo A), and the main screen can display logo A in one area while displaying other content in other areas of the screen (such as continuing to display the boot animation).
- the first display interface DSI1 remains disconnected from the first sub-display S2a, and the second display interface DSI2 keeps stop transmitting display data to the second sub-display S2b, and the sub-display keeps self-refreshing.
- the control switch K1 remains connected to the main screen, the first display interface DSI1 continues to send display to the main screen (other custom logos are transmitted at this time), and the main screen continuously refreshes the screen according to the transmission data.
- the main screen displays logo B, and the secondary screen continues to self-refresh to display logo A.
- the first display interface DSI1 remains disconnected from the first sub-display S2a, and the second display interface DSI2 keeps stop transmitting display data to the second sub-display S2b, and the sub-display is turned off.
- the control switch K1 remains connected to the main screen, the first display interface DSI1 continues to send display to the main screen (transmitting desktop UI data), and the main screen continuously refreshes the screen according to the transmission data.
- the current bending state of the terminal that is, the folding state (bending state) of the second display screen S2 is re-determined, and the main screen and the secondary screen are reset according to the folding state of the second display screen S2.
- the first display interface DSI1 and the second display interface DSI2 transmit the second image and the third image to the first sub-display screen S2a and the second sub-display screen S2b respectively, and the second image and the third image can be They are a part of the sub-screen image and another part of the sub-screen image respectively, so that the second display screen S2 composed of the first sub-display screen S2a and the second sub-display screen S2b displays a complete sub-screen image.
- the second display is in a flat state
- At least part of the main screen image and at least part of the sub-screen image may be pre-generated, and the at least part of the main screen image data and at least part of the main screen image data can be pre-generated.
- Part of the secondary screen image data is buffered in the first buffer memory and the second buffer memory respectively.
- the current bending state of the terminal that is, the folding state (bending state) of the second display screen S2
- the folding state (bending state) of the second display screen S2 is determined according to the internal sensor of the terminal, and the main/secondary screen of the current power-on is determined by the state of the terminal at the moment of power-on.
- the second display screen S2 When it is detected that the second display screen S2 is in a flat state as shown in FIG. 1B , the second display screen S2 is set as the main screen, and the first display screen S1 is set as the secondary screen.
- the first display interface DSI1 is time-divisionally connected between the first display screen S1 and the first sub-display screen S2a of the second display screen S2 through the switch (SWITCH) K1.
- the switch (SWITCH) K1 When the first display interface DSI1 is switched to the first display screen S1 , the data of the first image (the sub-screen image) is transmitted to the first display screen S1 through the first display interface DSI1, and when the first display interface DSI1 is switched to the first sub-display screen S2a, the main screen image is transmitted through the first display interface DSI1 part of the data to the first sub-display screen S2a; transmit the data of the third image (another part of the main screen image) to the second sub-display screen S2b through the second display interface DSI2, so that the first display screen S1 displays the sub-screen image
- the second display screen S2 composed of the first sub-display screen S2a and the second sub-display screen S2b displays a complete
- the main screen image may be acquired from the first buffer memory
- the main screen image may include a static logo and a plurality of customized logos
- the secondary screen image may be acquired from the second buffer memory, where the secondary screen image is the above-mentioned static logo.
- the display subsystem can control the display control module and display module of the secondary screen (first display screen S1) to power on and initialize before sending the display, and control the switch K1 to switch to The first display screen S1, so that the first display interface DSI1 is connected to the first display screen S1, and the static logo is transmitted to the first display screen S1.
- the display subsystem After ensuring that the secondary screen displays the static logo, the display subsystem does not transmit new display images to the secondary screen, and relies on the self-refresh mode of the secondary screen to keep the secondary screen displaying the static logo until the end of the boot procedure.
- the display subsystem controls the switch K1 to switch to the first sub-display S2a, so that the first display interface DSI1 is connected to the first sub-display S2a, and a part of the static logo and many A part of the custom logo is transmitted to the first sub-display S2a, and another part of the static logo and another part of the multiple custom logos are transmitted to the second sub-display S2b through the second display interface DSI2, and the first display is controlled
- the interface DSI1 continuously sends the display to the first sub-display S2a, and controls the second display interface DSI2 to continuously send the display to the second sub-display S2b, so that the second display composed of the first sub-display S2a and
- the booting procedure of the terminal can be divided into four stages.
- the first stage (Fastboot)
- the first display interface DSI1 sends the static logo to the secondary screen, and after the one-time sending and display is completed,
- the first display interface DSI1 is disconnected from the first display screen S1, that is, the static logo is always displayed on the secondary screen until the end of the booting procedure.
- the switch K1 to switch to the main screen the first display interface DSI1 is connected to the first sub-display S2a, and the second display interface DSI2 is connected to the second sub-display S2b, and continues to display to the main screen, and the main screen constantly refreshes the screen according to the transmission data.
- the secondary screen only displays a static logo (such as logo A) and starts self-refresh to continuously display the logo A.
- the main screen can display logo A in one area while displaying other content (such as boot animation) in other areas of the screen. ).
- the first display interface DSI1 keeps disconnecting from the first display screen S1, and the secondary screen keeps self-refreshing.
- the first display interface DSI1 is connected to the first sub-display screen S2a
- the second display interface DSI2 is connected to the second sub-display screen S2b, continuously sending display to the main screen, and the main screen constantly refreshes the screen according to the transmission data.
- the secondary screen self-refreshes to display a static logo (such as logo A), and the main screen can display logo A in one area while displaying other content in other areas of the screen (such as continuing to display the boot animation).
- the first display interface DSI1 is kept disconnected from the first display screen S1, and the secondary screen keeps self-refreshing.
- the first display interface DSI1 is connected to the first sub-display S2a
- the second display interface DSI2 is connected to the second sub-display S2b, and continues to display to the main screen (other custom logos are transmitted at this time), and the main screen continuously refreshes the screen according to the transmission data.
- the main screen displays logo B, and the secondary screen continues to self-refresh to display logo A.
- the first display interface DSI1 is kept disconnected from the first display screen S1, and the secondary screen is turned off.
- the first display interface DSI1 is connected to the first sub-display screen S2a
- the second display interface DSI2 is connected to the second sub-display screen S2b, continuously sending display to the main screen (transmitting desktop UI data), and the main screen continuously refreshes the screen according to the transmission data.
- the current bending state of the terminal that is, the folding state (bending state) of the second display screen S2 is re-determined, and the main screen and the secondary screen are reset according to the folding state of the second display screen S2.
- the first embodiment only takes the booting scene as an example, and the display control method is also applicable to other scenes, which is not limited here.
- FIG. 5 shows a schematic diagram of a dual-screen display process in a shutdown charging scenario provided by an embodiment of the present invention.
- a At least part of the main screen image and at least part of the sub screen image such as a power-on logo
- the at least part of the main screen image data and at least part of the sub screen image data are buffered in the first buffer memory and the second buffer memory, respectively.
- the current bending state of the terminal that is, the folding state (bending state) of the second display screen S2
- the folding state (bending state) of the second display screen S2 is determined according to the internal sensor of the terminal, and the main/secondary screen is set according to the state of the terminal when the power supply is connected.
- the second display screen S2 When it is detected that the second display screen S2 is in a flat state and the second display screen S2 faces the user (as shown in FIG. 1B ), the second display screen S2 is set as the main screen and the first display screen S1 is set as the secondary screen.
- the first display interface DSI1 is time-divisionally connected between the first display screen S1 and the first sub-display screen S2a of the second display screen S2 through the switch (SWITCH) K1.
- SWITCH switch
- the first display interface DSI1 When the first display interface DSI1 is switched to the first display screen S1 , transmit the data of the first image (the sub-screen image at this time) to the first display screen S1 through the first display interface DSI1, and when the first display interface DSI1 switches to the first sub-display screen S2a, the first display interface DSI1
- the data of a part of the main screen image is transmitted to the first sub-display S2a; the data of the third image (this time another part of the main-screen image) is transmitted to the second sub-display S2b through the second display interface, so that the first display S1 While displaying the sub-screen image, the second display screen S2 composed of the first sub-display screen S2a and the second sub-display
- the main screen image can be obtained from the first buffer memory, and the main screen image can include a power-on logo (eg, a green lightning bolt icon), and the secondary screen image can be obtained from the second buffer memory, and the secondary screen image is the above-mentioned power-on logo.
- the display subsystem determines the main/secondary screen, it can control the display control module and the display module of the secondary screen (first display screen S1) to power on and initialize before sending the display, and the display subsystem controls the switch.
- K1 switches to the first display screen S1, so that the first display interface DSI1 is connected to the first display screen S1, and the power-on logo is transmitted to the first display screen S1.
- the display subsystem After the display subsystem ensures that the power-on logo is displayed on the secondary screen, it will no longer transmit new display images to the secondary screen, and rely on the self-refresh mode of the secondary screen to keep the power-on logo on the secondary screen until the shutdown procedure ends.
- the display subsystem controls the switch K1 to switch to the first sub-display screen S2a, so that the first display interface DSI1 is connected to the first sub-display screen S2a, and a part of the power-on logo is connected It is transmitted to the first sub-display S2a, and at the same time, the other part of the power-on logo is transmitted to the second sub-display S2b through the second display interface DSI2, and the display subsystem controls the first display interface DSI1 to continue to the first sub-display S2a.
- the size of the power connection logo displayed on the second display screen S2 is larger than that of the power connection logo displayed on the first display screen S1.
- the second display screen S2 When it is detected that the second display screen S2 is in a flat state, the second display screen S2 is set as the main screen, and the first display screen S1 is set as the secondary screen.
- the first display interface DSI1 is time-divisionally connected between the first display screen S1 and the first sub-display screen S2a of the second display screen S2 through the switch (SWITCH) K1.
- SWITCH switch
- the first display interface DSI1 When the first display interface DSI1 is switched to the first display screen S1 , transmit the data of the first image (the sub-screen image at this time) to the first display screen S1 through the first display interface DSI1, and when the first display interface DSI1 switches to the first sub-display screen S2a, the first display interface DSI1
- the data of a part of the main screen image is transmitted to the first sub-display S2a; the data of the third image (this time another part of the main-screen image) is transmitted to the second sub-display S2b through the second display interface DSI2, so that the first display While S1 displays the secondary screen image, the second display screen S2 composed of the first sub-display screen S2a and the second sub-disp
- the main screen image can be acquired from the first buffer memory, and the main screen image can be a charging animation
- the secondary screen image can be acquired from the second buffer memory, and the secondary screen image can be the above-mentioned charging animation (different sizes).
- the display subsystem can first control the display control module and the display module of the secondary screen (first display screen S1) to power on and initialize, and control the switch K1 to switch to The first display screen S1, so that the first display interface DSI1 is connected to the first display screen S1, and the charging animation is transmitted to the first display screen S1.
- the display subsystem controls the switch K1 to switch to the first sub-display S2a, so that the first display interface DSI1 is connected to the first sub-display S2a, and the charging animation of the main screen image is transferred to the first sub-display S2a.
- One part is transmitted to the first sub-display S2a, while the other part of the charging animation of the main screen image is transmitted to the second sub-display S2b through the second display interface DSI2, and the first display interface DSI1 is controlled to continue to the first sub-display S2a sends the display and controls the second display interface DSI2 to continuously send the display to the second sub-display screen S2b, so that the second display screen S2 composed of the first sub-display screen S2a and the second sub-display screen S2b displays a complete charging animation.
- the size of the dynamic image in the charging animation displayed on the second display screen S2 is larger than that of the dynamic image displayed on the first display screen S1.
- start timing determine whether the screen display times out. If not, continue to display the shutdown animation. If yes, control the screen to turn off the screen.
- the user controls the terminal to turn on, and then performs the dual-screen display operation in the above startup scenario.
- the power-off animation will be displayed on the main screen and the secondary screen at the same time through the above time-sharing switching, and the timing will be started after the power-off animation starts to be displayed, and whether the screen display timed out will be determined. , if not, continue to display the power-off animation, if so, control the screen to turn off the screen.
- the second display screen S2 is in a flat state and the first display screen S1 faces the user
- At least part of the main screen image and at least part of the sub-screen image may be pre-generated, and the at least part of the main screen image may be pre-generated.
- the image data and at least part of the sub-screen image data are buffered in the first buffer memory and the second buffer memory, respectively.
- the current bending state of the terminal that is, the folding state (bending state) of the second display screen S2
- the folding state (bending state) of the second display screen S2 is determined according to the internal sensor of the terminal, and the main/secondary screen is set according to the state of the terminal when the power supply is connected.
- the first display screen S1 is set as the main screen and the second display screen S2 is set as the secondary screen.
- the first display interface DSI1 is connected between the first display screen S1 and the first sub-display screen S2a of the second display screen S2 through the switch (SWITCH) K1 time-divisionally.
- SWITCH switch
- the first display interface DSI1 switches to the first sub-display screen S2a , transmit the data of the second image (a part of the sub-screen image at this time) to the first sub-display S2a through the first display interface DSI1; at the same time, transmit the third image (at this time, a part of the sub-screen image) through the second display interface data of another part) to the second sub-display screen S2b.
- the data of the first image (the main screen image at this time) is transmitted to the first display screen S1 through the first display interface DSI1, so that the first display screen S1 displays the main screen image
- the second display screen S2 composed of the first sub-display screen S2a and the second sub-display screen S2b displays a complete sub-screen image.
- the main screen image can be obtained from the first buffer memory, and the main screen image can include a power-on logo (eg, a green lightning bolt icon), and the secondary screen image can be obtained from the second buffer memory, and the secondary screen image is the above-mentioned power-on logo.
- a power-on logo eg, a green lightning bolt icon
- the switch K1 is switched to the first sub-display S2a, so that the first display interface DSI1 is connected to the first sub-display S2a, and a part of the power-connected logo is transmitted to the first sub-display S2a, and the second display interface DSI2 is connected to the second sub-display S2b, and transmits the other part of the power-connected logo to the second sub-display S2b, so that the second display S2 composed of the first sub-display S2a and the second sub-display S2b can display complete 's call logo.
- the second display screen S2 When it is detected that the second display screen S2 is in a flat state, the second display screen S2 is set as the main screen, and the first display screen S1 is set as the secondary screen.
- the first display interface DSI1 is time-divisionally connected between the first display screen S1 and the first sub-display screen S2a of the second display screen S2 through the switch (SWITCH) K1.
- SWITCH switch
- the first display interface DSI1 When the first display interface DSI1 is switched to the first display screen S1 , transmit the data of the first image (the sub-screen image at this time) to the first display screen S1 through the first display interface DSI1, and when the first display interface DSI1 switches to the first sub-display screen S2a, the first display interface DSI1
- the data of a part of the main screen image is transmitted to the first sub-display S2a; the data of the third image (this time another part of the main-screen image) is transmitted to the second sub-display S2b through the second display interface, so that the first display S1 While displaying the sub-screen image, the second display screen S2 composed of the first sub-display screen S2a and the second sub-display
- the main screen image can be acquired from the first buffer memory, and the main screen image can be a charging animation
- the secondary screen image can be acquired from the second buffer memory, and the secondary screen image can be the above-mentioned charging animation (different sizes).
- the secondary screen After ensuring that the secondary screen displays the charging animation, no new display images will be transmitted to the secondary screen, and relying on the self-refresh mode of the secondary screen, the secondary screen will always display the charging animation until the shutdown procedure ends.
- control the switch K1 After ensuring that the secondary screen starts to display the charging animation, control the switch K1 to switch to the first sub-display S2a, so that the first display interface DSI1 is connected to the first sub-display S2a, and transmits a part of the charging animation of the main screen image to the first sub-display S2a.
- the first sub-display S2a simultaneously transmits another part of the charging animation of the main screen image to the second sub-display S2b through the second display interface DSI2, and controls the first display interface DSI1 to continuously send the display to the first sub-display S2a. .
- the size of the dynamic image in the charging animation displayed on the second display screen S2 is larger than that of the dynamic image displayed on the first display screen S1.
- start timing determine whether the screen display times out. If not, continue to display the shutdown animation. If yes, control the screen to turn off the screen.
- the user controls the terminal to turn on, and then performs the dual-screen display operation in the above startup scenario.
- the power-off animation will be displayed on the main screen and the secondary screen at the same time through the above time-sharing switching, and the timing will be started after the power-off animation starts to be displayed, and whether the screen display timed out will be determined. , if not, continue to display the power-off animation, if so, control the screen to turn off the screen.
- the second display screen S2 is in an outwardly bent state and the first sub-display screen S2a faces the user
- FIG. 6 shows a schematic diagram of a dual-screen display process in a system recovery scenario provided by an embodiment of the present invention. As shown in FIG. 6 , in a terminal system recovery scenario, the following steps are performed:
- Step 301 enter the system recovery program
- Step 302 The terminal is restarted, and the main/secondary screen is determined instantly after the terminal is turned on;
- Step 303 the main/secondary screen simultaneously displays a recovery icon in the terminal restarting stage
- Step 304 enter the system recovery stage, enter the instant determination of the main/secondary screen
- Step 305 System recovery stage: the main screen displays the recovery interface and simultaneously displays the recovery icon on the secondary screen;
- Step 306 System recovery ends.
- At least part of the main screen image and at least part of the secondary screen image may be pre-generated, and the at least part of the main screen image data and at least part of the secondary screen image data are cached in the first buffer memory and the second buffer respectively. in memory.
- the current bending state of the second display screen S2 of the terminal is determined according to the internal sensor of the terminal, and it is detected that the second display screen S2 is in a fully folded state of outward bending (the first display screen S1 is covered inside the terminal, and the user can see the The first sub-display screen S2a and the second sub-display screen S2b on both sides) and it is detected that the first sub-display screen S2a faces the user (not shown), then the first sub-display screen S2a is set as the main screen and the second sub-display screen S2a is set as the main screen.
- the sub-display screen S2b and the first display screen S1 are secondary screens.
- the first display interface DSI1 is time-divisionally connected between the first display screen S1 and the first sub-display screen S2a of the second display screen S2 through the switch (SWITCH) K1.
- SWITCH switch
- the first display interface DSI1 is switched to the first display screen S1 , the data of the first image (in this case, the secondary screen image) is transmitted to the first display screen S1 through the first display interface DSI1, and the data of the third image (in this case, the secondary screen image) is transmitted to the first display screen S1 through the second display interface.
- Two sub-displays S2b Two sub-displays S2b.
- the data of the second image (the main screen image at this time) is transmitted to the first sub-display screen S2a through the first display interface DSI1;
- the second sub-display S2b displays an image of the secondary screen, while the first sub-display S2a displays an image of the main screen.
- the main screen image may be acquired from the first buffer memory, and the main screen image may include a dynamic logo (recovery icon, such as a dynamic "wrench” icon), and the secondary screen image may be acquired from the second buffer memory, and the secondary screen image is A static logo (eg a static "wrench” icon).
- a dynamic logo such as a dynamic "wrench” icon
- the secondary screen image may be acquired from the second buffer memory, and the secondary screen image is A static logo (eg a static "wrench” icon).
- you can control the display control module and display module of the secondary screen the first display screen S1 and the second sub-display screen S2b to power on and initialize, and control the switching before sending the display.
- the switch K1 is switched to the first display screen S1, so that the first display interface DSI1 is connected to the first display screen S1, and the static logo is transmitted to the first display screen S1, and the static logo is transmitted to the first display screen S1 through the second display interface DSI2 at the same time.
- the second sub-display screen S2b so that the first display screen S1 and the second sub-display screen S2b respectively display the static logo.
- the switch K1 is controlled to switch to the first sub-display S2a, so that the first display interface DSI1 is connected to the first sub-display S2a, and the dynamic logo is transmitted to the first sub-display S2a, and control the first display interface DSI1 to continuously send display to the first sub-display screen S2a, so that the first sub-display screen S2a continuously refreshes the screen according to the transmission data of the first display interface DSI1 during the system recovery terminal restart stage.
- the main/secondary screen is reset according to the current state of the second display screen S2 and the orientation of the terminal.
- the switch K1 Control the switch K1 to switch to the first display screen S1, so that the first display interface DSI1 is connected to the first display screen S1, and the static logo is transmitted to the first display screen S1, and the one-time display is completed.
- the interface DSI2 transmits the static logo to the second sub-display S2b to complete the one-time display.
- the secondary screen enters the self-refresh mode according to the received data, and the static logo (static "wrench”) is always displayed through self-refresh before the end of the system recovery procedure.
- the switch K1 is controlled to switch to the first sub-display screen S2a, and the first display interface DSI1 starts to send the display to the first sub-display screen S2a normally. That is, the system recovery interface drawn in real time is transmitted, and the first sub-display S2a displays the system recovery interface according to the received display data.
- the second display screen S2 is in an outwardly bent state and the second sub-display screen S2b faces the user.
- Step 301 enter the system recovery program
- Step 302 The terminal is restarted, and the main/secondary screen is determined instantly after the terminal is turned on;
- Step 303 the main/secondary screen simultaneously displays a recovery icon in the terminal restarting stage
- Step 304 enter the system recovery stage, enter the instant determination of the main/secondary screen
- Step 305 System recovery stage: the main screen displays the recovery interface and simultaneously displays the recovery icon on the secondary screen;
- Step 306 System recovery ends.
- At least part of the main screen image and at least part of the secondary screen image may be pre-generated, and the at least part of the main screen image data and at least part of the secondary screen image data are cached in the first buffer memory and the second buffer respectively. in memory.
- the current bending state of the second display screen S2 of the terminal is determined according to the internal sensor of the terminal, and it is detected that the second display screen S2 is in a fully folded state of outward bending (the first display screen S1 is covered inside the terminal, and the user can see the The first sub-display screen S2a and the second sub-display screen S2b on both sides) and the second sub-display screen S2b is detected facing the user (as shown in FIG. 1F ), then the second sub-display screen S2b is set as the main screen, and the The first sub-display screen S2a and the first display screen S1 are secondary screens.
- the main screen image may be acquired from the first buffer memory, and the main screen image may include a dynamic logo (recovery icon, such as a dynamic "wrench” icon), and the secondary screen image may be acquired from the second buffer memory, and the secondary screen image is A static logo (eg a static "wrench” icon).
- a dynamic logo such as a dynamic "wrench” icon
- the secondary screen image may be acquired from the second buffer memory, and the secondary screen image is A static logo (eg a static "wrench” icon).
- you can control the display control module and display module of the secondary screen the first display screen S1 and the second sub-display screen S2b to power on and initialize, and control the switching before sending the display.
- the switch K1 is switched to the first display screen S1, so that the first display interface DSI1 is connected to the first display screen S1, and the static logo is transmitted to the first display screen S1, and the switch K1 is controlled to switch to the first sub-display screen S2a,
- the first display interface DSI1 is connected to the first sub-display S2a, and the static logo is transmitted to the first sub-display S2a, so that the first display S1 and the first sub-display S2a respectively display the static logo.
- the second display interface DSI2 can be controlled to transmit the dynamic logo to the second sub-display S2b, and the second display interface DSI2 can be controlled to continue to the second sub-display S2b display, so that the second sub-display screen S2b continuously refreshes the screen according to the transmission data of the second display interface DSI2 during the system recovery terminal restart stage. In this way, the main screen and the secondary screen are simultaneously displayed during the terminal restarting process of the system recovery.
- control the switch K1 After completing the reboot and entering the system recovery procedure, control the switch K1 to switch to the first display screen S1, so that the first display interface DSI1 is connected to the first display screen S1, and the static logo is transmitted to the first display screen S1, and the completion of one time Send and display, and then control the switch to switch to the first sub-display S2a, so that the first display interface DSI1 is connected to the first sub-display S2a, and the static logo is transmitted to the first sub-display S2a to complete the one-time sending.
- the secondary screen enters the self-refresh mode according to the received data, and the static logo (static "wrench”) is always displayed through self-refresh before the end of the system recovery procedure.
- the second display interface DSI2 can be controlled to normally send the display to the second sub-display S2b, that is, the system recovery interface drawn in real time is transmitted, and the second sub-display S2b according to The received display data displays the system recovery interface.
- the secondary screen in the dual-screen display stage, does not only display the static logo, but can control the switch K1 on the first display screen S1 and the first sub-display according to the display requirements.
- the screens S2a are frequently switched, and the first display interface DSI1 frequently transmits display images to the first display screen S1 and the first sub-display screen S2a respectively.
- the first display screen S1 and the first sub-display screen S2a occupy the first display interface DSI1 on average, so that the frame rates of the first display screen S1 and the first sub-display screen S2a are the same.
- the second display interface DSI2 While transmitting the display image to the first sub-display screen S2a, the second display interface DSI2 simultaneously transmits the display image to the second sub-display screen S2b, and then the first display screen S1, the first sub-display screen S2a and the second sub-display screen S2b.
- the frame rate of the composed second display screen S2 is the same.
- the main screen and the sub-screen can display corresponding images at the same time (eg, display non-static images at the same time) in the above-mentioned manner.
- the occupation time of the first display interface S1 and the first sub-display S2a on the first display interface DSI1 is not limited to the above average occupation, and can be adjusted according to actual needs.
- FIG. 7 shows a schematic structural diagram of a terminal provided by an embodiment of the present invention.
- the terminal includes a processor 10A and a memory 20A.
- the memory 20A is used to store at least one instruction, and the instruction is loaded by the processor 10A and stored in the memory 20A.
- the display control method provided by the embodiment of the present invention is implemented.
- the terminal has a schematic diagram of a terminal system framework as shown in FIG. 8 .
- the system framework includes an application layer, a framework layer (FWK, Framework), a hardware abstraction layer (HAL, hardware abstraction layer), an application processor (AP, Application Processor) side and a hardware part.
- the application layer includes: other self-developed applications, third-party applications, and system sleep wake-up.
- the FWK layer includes SC API interface and display control module, wherein the FWK layer also provides services such as activity management service (AMS, Activity Manager Service), window management service (WMS, Window Manager Service), power management, and large screen projection.
- This HAL provides sensor services and a function to combine and display image data (HWC, Hwcomposer).
- the AP side is used to manage the display screen state according to the sensor parameters (such as setting the main screen/sub-screen), wherein the display subsystem (DSS, Display Sub-System) can also control the switch (SWITCH) K1 on the first display screen S1 Time-sharing switching connection with the first sub-display screen S2a, so that the first display interface DSI1 is time-divisionally connected with the first display screen S1 and the first sub-display screen S2a, and simultaneously controls the second display interface DSI2 to the second sub-display interface DSI2
- the screen S2b transmits the display image to transmit the main screen image fb1 and the sub-screen image fb2 to the corresponding main screen and sub-screen respectively, thereby realizing simultaneous display of the main screen and the sub-screen in the dual-screen display stage.
- the hardware part includes corresponding sensors, a DSS display chip, a first organic light-emitting display screen (AMOLED1) and a second organic light-emitting display screen (AMOLED2), wherein the DSS display chip may include a processor 10B and a memory 20B, wherein the memory
- the 20B can store at least one instruction, and the instruction is loaded and executed by the processor 10B to implement the display control method provided by the embodiment of the present invention.
- the terminals involved in the embodiments of the present invention may include, but are not limited to, a personal computer (Personal Computer, PC), a personal digital assistant (Personal Digital Assistant, PDA), a wireless handheld device, a tablet computer (Tablet Computer), Mobile phones, MP3 players, MP4 players, etc.
- the display screen involved in the embodiment of the present invention is an LCD display screen or an OLED display screen.
- An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the display control method shown in FIG. 2 is implemented.
- the application may be an application program (nativeApp) installed on the terminal, or may also be a web page program (webApp) of a browser on the terminal, which is not limited in this embodiment of the present invention.
- nativeApp application program
- webApp web page program
- the disclosed system, apparatus and method may be implemented in other manners.
- the apparatus embodiments described above are only illustrative.
- the division of the units is only a logical function division. In actual implementation, there may be other division methods.
- multiple units or components may be combined. Either it can be integrated into another system, or some features can be omitted, or not implemented.
- the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
- the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
- the above-mentioned integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium.
- the above-mentioned software functional unit is stored in a storage medium, and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (Processor) to execute the methods described in the various embodiments of the present invention. some steps.
- the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Mathematical Physics (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
- Digital Computer Display Output (AREA)
Abstract
本申请实施例提供显示控制方法、终端及存储介质,该方法包括:响应于双屏显示指令,进入双屏显示阶段,在双屏显示阶段,控制第一显示接口在第一显示屏和第一子显示屏之间分时切换,当第一显示接口切换至第一显示屏时,通过第一显示接口传输第一图像的数据至第一显示屏,当第一显示接口切换至第一子显示屏时,通过第一显示接口传输第二图像的数据至第一子显示屏,使第一显示屏显示第一图像的同时第一子显示屏显示第二图像。通过上述方案可以在不改变终端芯片的处理能力的情况下,对显示接口进行分时复用,从而保证双面显示屏能够在双屏显示阶段同时显示,且无需牺牲显示屏的分辨率。
Description
本申请涉及显示控制技术领域,尤其涉及一种显示控制方法、终端及存储介质。
随着显示技术的发展,折叠双屏手机已慢慢步入人们的生活,折叠双屏手机进一步提升了用户使用体验。在现有技术中,使双面屏同时显示已有实现方案,但是基于现有手机芯片的能力,控制双面屏同时显示,对显示屏的分辨率有较大的限制,因此,现有技术中,在现有手机芯片处理能力的限制下,需要以牺牲显示屏分辨率为代价来实现双面屏同时显示。
申请内容
本申请提供一种显示控制方法、终端及存储介质,其中该可以显示控制方法通过在双屏显示阶段,控制具有可折叠显示屏的终端的第一显示接口在第一显示屏和第二显示屏的第一子显示屏之间分时切换,以实现当第一显示接口切换至第一显示屏时,通过第一显示接口传输第一图像的数据至第一显示屏,当第一显示接口切换至第一子显示屏时,通过第一显示接口传输第二图像的数据至第一子显示屏,使第一显示屏显示第一图像的同时第一子显示屏显示第二图像。因此,通过上述方案可以在不改变终端芯片的处理能力的情况下,对显示接口进行分时复用,从而保证双面显示屏(第一显示屏和第二显示屏的第一子显示屏)能够在双屏显示阶段同时显示,且无需牺牲显示屏的分辨率。
本申请提供一种显示控制方法,应用于具有可折叠显示屏的终端,终端包括第一显示屏和第二显示屏,第二显示屏为折叠屏,当折叠屏处于展开状态时,第一显示屏的出光方向和第二显示屏的出光方向相反,第二显示屏包括第一子显示屏和第二子显示屏,方法包括:
响应于双屏显示指令,进入双屏显示阶段,在双屏显示阶段,控制第一显示接口在第一显示屏和第一子显示屏之间分时切换,当第一显示接口切换至第一显示屏时,通过第一显示接口传输第一图像的数据至第一显示屏,当第一显示接口切换至第一子显示屏时,通过第一显示接口传输第二图像的数据至第一子显示屏,使第一显示屏显示第一图像的同时第一子显示屏显示第二图像。
进一步地,双屏显示阶段包括:
生成主屏图像和副屏图像;
确定当前第二显示屏的弯折状态,根据当前第二显示屏的弯折状态确定主屏和副屏,在主屏显示主屏图像,在副屏显示副屏图像。
进一步地,确定当前第二显示屏的弯折状态,根据当前第二显示屏的弯折状态确定主屏和副屏,在主屏显示主屏图像,在副屏显示副屏图像包括:
若第二显示屏处于向内弯折状态,则设定第一显示屏为主屏、设定第一子显示屏和第二子显示屏为副屏,第一图像为主屏图像,第二图像为副屏图像;
控制第一显示接口在第一显示屏和第一子显示屏之间分时切换,当第一显示接口切换至第一显示屏时,通过第一显示接口传输主屏图像的数据至第一显示屏,当第一显示接口切换至第一子显示屏时,通过第一显示接口传输副屏图像的数据至第一子显示屏,使第一显示屏显示主屏图像的同时第一子显示屏显示副屏图像;
通过第二显示接口传输第三图像的数据至第二子显示屏,使第二子显示屏显示副屏图像,第三图像为副屏图像,第一子显示屏和第二子显示屏基于各自接收到的副屏图像进行自刷新显示。
进一步地,确定当前第二显示屏的弯折状态,根据当前第二显示屏的弯折状态确定主屏和副屏,在主屏显示主屏图像,在副屏显示副屏图像包括:
若第二显示屏处于向内弯折状态,则设定第一显示屏为主屏、设定第一子显示屏和第二子显示屏为副屏,第一图像为主屏图像,第二图像为副屏图像;
控制第一显示接口在第一显示屏和第一子显示屏之间分时切换,当第一显示接口切换至第一显示屏时,通过第一显示接口传输主屏图像的数据至第一显示屏,当第一显示接口切换至第一子显示屏时,通过第一显示接口传输副屏图像的一部分的数据至第一子显示屏,使第一显示屏显示主屏图像的同时第一子显示屏显示副屏图像的一部分;
通过第二显示接口传输第三图像的数据至第二子显示屏,使第二子显示屏显示副屏图像的另一部分,以使第一子显示屏和第二子显示屏组成的第二显示屏显示完整的副屏图像,其中第三图像为副屏图像的另一部分,第一子显示屏和第二子显示屏基于各自接收到的部分副屏图像进行自刷新显示。
进一步地,确定当前第二显示屏的弯折状态,根据当前第二显示屏的弯折状态确定主屏和副屏,在主屏显示主屏图像,在副屏显示副屏图像包括:
若第二显示屏处于平展状态,则设定第二显示屏为主屏、设定第一显示屏为副屏,第一图像为副屏图像,第二图像为主屏图像的一部分;
控制第一显示接口在第一显示屏和第一子显示屏之间分时切换,当第一显示接口切换至第一显示屏时,通过第一显示接口传输副屏图像的数据至第一显示屏,第一显示屏基于接收到的副屏图像进行自刷新显示,当第一显示接口切换至第一子显示屏时,通过第一显示接口传输主屏图像的一部分的数据至第一子显示屏,使第一显示屏显示主屏图像的一部分的同时第一子显示屏显示副屏图像;
通过第二显示接口传输第三图像的数据至第二子显示屏,使第二子显示屏显示主屏图像的另一部分,以使第一子显示屏和第二子显示屏组成的第二显示屏显示完整的主屏图像,其中第三图像为主屏图像的另一部分。
进一步地,双屏显示阶段包括:
生成主屏图像和副屏图像;
确定当前第二显示屏的弯折状态以及终端的朝向,根据当前第二显示屏的弯折状态以及终端的朝向确定主屏和副屏,在主屏显示主屏图像,在副屏显示副屏图像。
进一步地,确定当前第二显示屏的弯折状态以及终端的朝向,根据当前第二显示屏的弯折状态以及终端的朝向确定主屏和副屏,在主屏显示主屏图像,在副屏显示副屏图像包括:
若第二显示屏处于平展状态,且第二显示屏朝向用户,则设定第二显示屏为主屏、设定第一显示屏为副屏,第一图像为副屏图像,第二图像为主屏图像的一部分;
控制第一显示接口在第一显示屏和第一子显示屏之间分时切换,当第一显示接口切换至第一显示屏时,通过第一显示接口传输副屏图像的数据至第一显示屏,第一显示屏基于接收到的副屏图像进行自刷新显示,当第一显示接口切换至第一子显示屏时,通过第一显示接口传输主屏图像的一部分的数据至第一子显示屏,使第一显示屏显示主屏图像的一部分的同时第一子显示屏显示副屏图像;
通过第二显示接口传输第三图像的数据至第二子显示屏,使第二子显示屏显示主屏图像的另一部分,以使第一子显示屏和第二子显示屏组成的第二显示屏显示完整的主屏图像,其中第三图像为主屏图像的另一部分。
进一步地,确定当前第二显示屏的弯折状态以及终端的朝向,根据当前第二显示屏的弯折状态以及终端的朝向确定主屏和副屏,在主屏显示主屏图像,在副屏显示副屏图像包括:
若第二显示屏处于平展状态,且第一显示屏朝向用户,则设定第一显示屏为主屏、设定第二显示屏为副屏;
控制第一显示接口在第一显示屏和第一子显示屏之间分时切换,当第一显示接口切换至第一显示屏时,通过第一显示接口传输主屏图像的数据至第一显示屏,当第一显示接口切换至第一子显示屏时,通过第一显示接口传输副屏图像的一部分的数据至第一子显示屏,使第一显示屏显示主屏图像的同时第一子显示屏显示副屏图像的一部分;
通过第二显示接口传输第三图像的数据至第二子显示屏,使第二子显示屏显示副屏图像的另一部分,以使第一子显示屏和第二子显示屏组成的第二显示屏显示完整的副屏图像,其中第三图像为副屏图像的另一部分,第一子显示屏和第二子显示屏基于各自接收到的部分副屏图像进行自刷新显示。
进一步地,确定当前第二显示屏的弯折状态以及终端的朝向,根据当前第二显示屏的弯折状态以及终端的朝向确定主屏和副屏,在主屏显示主屏图像,在副屏显示副屏图像包括:
若第二显示屏处于向外弯折状态,且第一子显示屏朝向用户,则设定第一子显示屏为主屏、设定第一显示屏和第二子显示屏为副屏;
控制第一显示接口在第一显示屏和第一子显示屏之间分时切换,当第一显示接口切换至第一显示屏时,通过第一显示接口传输副屏图像的数据至第一显示屏,当第一显示接口切换至第一子显示屏时,通过第一显示接口传输主屏图像的数据至第一子显示屏,使第一显示屏显示副屏图像的同时第一子显示屏显示主屏图像;
通过第二显示接口传输第三图像的数据至第二子显示屏,使第二子显示屏显示副屏图像,其中第三图像为副屏图像,第一显示屏和第二子显示屏基于各自接收到的副屏图像进行自刷新显示。
进一步地,确定当前第二显示屏的弯折状态以及终端的朝向,根据当前第二显示屏的弯折状态以及终端的朝向确定主屏和副屏,在主屏显示主屏图像,在副屏显示副屏图像包括:
若第二显示屏处于向外弯折状态,且第二子显示屏朝向用户,则设定第二子显示屏为主屏、设定第一显示屏和第一子显示屏为副屏;
控制第一显示接口在第一显示屏和第一子显示屏之间分时切换,当第一显示接口切换至第一显示屏时,通过第一显示接口传输副屏图像的数据至第一显示屏,当第一显示接口切换至第一子显示屏时,通过第一显示接口传输副屏图像的数据至第一子显示屏,使第一显示屏显示副屏图像的同时第一子显示屏显示副屏图像;
通过第二显示接口传输第三图像的数据至第二子显示屏,使第二子显示屏显示主屏图像,其中第三图像为主屏图像,第一显示屏和第一子显示屏基于各自接收到的副屏图像进行自刷新显示。
双屏显示指令为以下任意一项或多项指令:
开机指令、主动关机指令、低电量关机指令、关机充电指令和***恢复指令。
本申请还提供一种终端,包括:
处理器和存储器,存储器用于存储至少一条指令,指令由处理器加载并执行时以实现上述显示控制方法。
本申请还提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述显示控制方法。
通过上述技术方案,在双屏显示阶段,控制具有可折叠显示屏的终端的第一显示接口在第一显示屏和第二显示屏的第一子显示屏之间分时切换,以实现当第一显示接口切换至第一显示屏时,通过第一显示接口传输第一图像的数据至第一显示屏,当第一显示接口切换至第一子显示屏时,通过第一显示接口传输第二图像的数据至第一子显示屏,使第一显示屏显示第一图像的同时第一子显示屏显示第二图像。因此,通过上述方案可以在不改变终端芯片的处理能力的情况下,对显示接口进行分时复用,从而保证双面显示屏(第一显示屏和第二显示屏的第一子显示屏)能够在双屏显示阶段同时显示,且无需牺牲显示屏的分辨率。
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1A为本发明实施例提供的终端在第一显示屏一侧的示意图;
图1B为本发明实施例提供的终端在第二显示屏一侧的示意图;
图1C为本发明实施例提供的终端向内弯折过程中第二显示屏一侧的示意图;
图1D为本发明实施例提供的终端向外弯折过程中第二显示屏一侧的示意图;
图1E为本发明实施例提供的完成内弯折叠后第一显示屏一侧的示意图;
图1F为本发明实施例提供的完成外弯折叠后第二子显示屏一侧的示意图;
图2为本发明实施例提供的显示控制方法的流程示意图;
图3A位本发明实施例提供的双屏同显处理示意图;
图3B为本发明实施例提供的显示接口切换示意图;
图4A为本发明实施例提供的开机场景下双屏显示流程示意图;
图4B为本发明实施例提供的开机场景下各阶段显示规格示意图;
图5为本发明实施例提供的关机充电场景下双屏显示流程示意图;
图6为本发明实施例提供的***恢复场景下双屏显示流程示意图;
图7为本发明实施例提供的一种终端结构示意图;
图8为本发明实施例提供的一种终端的***架构示意图。
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提供一种显示控制方法,该显示控制方法应用于具有可折叠显示屏的终端,结合图1A和图1B所示,该终端包括第一显示屏S1和第二显示屏S2,终端平展状态下该第一显示屏S1和第二显示屏S2的出光方向相反,其中该第二显示屏S2为折叠屏,按照折叠线L1该第二显示屏S2分为第一子显示屏S2a和第二子显示屏S2b。
关于终端的折叠性能
该终端根据折叠屏(第二显示屏S2)的折叠性能分为A类终端、B类终端以及C类终端。
A类终端
该A类终端的折叠性能为折叠屏(第二显示屏S2)仅可以内弯折叠,具体地,如图1C所示,当终端的第二显示屏S2由平展状态(如图1C虚线框)按折叠线L1(按箭头方向)向内弯折,当A类终端内弯折叠后处于如图1E所示的完全折叠状态下,第二显示屏S2的第一子显示屏S2a和第二子显示屏S2b被包覆在终端内侧,完全折叠状态下,在终端外侧,用户可见的显示屏,仅为第一显示屏S1。
B类终端
该B类终端的折叠性能为折叠屏(第二显示屏S2)仅可外弯折叠,具体地,如图1D所示,当终端的第二显示屏S2由平展状态(如图1D虚线框)按折叠线L1(按箭头方向)向外弯折,当B类终端外弯折叠后处于如图1F所示的完全折叠状态下,第一显示屏S1被包覆在终端内侧,且在该完全折叠状态下,在终端外侧,用户可见的显示屏,仅为在终端两侧的第一子显示屏S2a和第二子显示屏S2b。
C类终端
该C类终端的折叠性能为(第二显示屏S2)既能外弯折叠也能内弯折叠,即,支持双向折叠。
由于该C类终端同时包含A类终端和B类终端的折叠屏的折叠性能,因此本实施例的显示控制方法可以应用于C类终端,同时也可以应用A类终端和B类终端上,故,以下将本发明实施例提供的显示控制方法应用于C类终端为例进行说明。
图2示出了本发明实施例提供的显示控制方法流程示意图,如图1所示,该显示控制方法包括:
步骤101:响应于双屏显示指令,进入双屏显示阶段;
步骤102:在双屏显示阶段,控制第一显示接口在第一显示屏和第二显示屏的第一子显示屏之间分时切换;
步骤103:当第一显示接口切换至第一显示屏时,通过第一显示接口传输第一图像的数据至第一显示屏;
步骤104:当第一显示接口切换至第一子显示屏时,通过第一显示接口传输第二图像的数据至第一子显示屏;
步骤105:第一显示屏显示第一图像的同时第一子显示屏显示第二图像。
关于步骤101
在终端进入设定场景时,需要在该设定场景下控制第一显示屏和第二显示屏同时显示,该设定场景可以为以下场景之一:开机、主动关机、低电量关机、关机充电以及***恢复。在确定终端进入该设定场景的情况下,可以将进入相应场景的指令作为双屏显示指令,响应于该双屏显示指令,进入双屏显示阶段。
图3A示出了本发明实施例提供的双屏同显处理示意图,其中,芯片C1中的叠加合成(OV,overlay)包括OV0和OV1,其中OV0和OV1负责对多个图层数据进行缩放、裁剪及合成,最终合成为一帧数据;显示后处理器(DPP,Display Post Processo)DPP0用于对合成后的显示数据做效果、色彩等的后处理;显示流压缩DSC(Display Stream Compression),主要用于对显示数据流进行压缩梳理;管道开关(Pipe switch)K0主要负责overlay和显示串行接口(Display Serial Interface,DSI)之间的通道搭配选择,如,OV0通过Pipe switch连接DSI0或者DSI1。
图3B示出了本发明实施例提供的显示接口切换示意图,如图3B所示,该终端包括第一显示接口DSI1和第二显示接口DSI2,即,支持两路DSI显示通路,本申请实施例中的显示接口可以为显示串行接口(Display Serial Interface,DSI),在第一显示屏S1单独显示时,可以通过第一显示接口DSI1和第二显示接口DSI2中任一接口连接第一显示屏S1,以向第一显示屏S1传输显示数据。例如,如图3B所示的方式,通过第一显示接口DSI1连接第一显示屏S1,以向第一显示屏S1传输显示数据。在第二显示屏S2单独显示时,通过第一显示接口DSI1和第二显示接口DSI2分别连接第二显示屏S2的第一子显示屏S2a和第二子显示屏S2b,以通过第一显示接口DSI1和第二显示接口DSI2分别向第一子显示屏S2a和第二子显示屏S2b传输相应显示数据。
关于步骤102-105
响应于双屏显示指令,在双屏显示阶段,控制第一显示接口DSI1在第一显示屏S1和第二显示屏S2的第一子显示屏之间S2a分时切换,具体地,第一显示接口DSI1通过切换开关(SWITCH)K1分时连接第一显示屏S1和第二显示屏S2的第一子显示屏之间S2a。当第一显示接口DSI1切换至第一显示屏S1时,通过第一显示接口DSI1传输第一图像的 数据至第一显示屏S1,当第一显示接口DSI1切换至第一子显示屏S2a时,通过第一显示接口DSI1传输第二图像的数据至第一子显示屏S2a,使第一显示屏S1显示第一图像的同时第一子显示屏S2a显示第二图像。
在实施例中,该双屏显示阶段包括:
步骤S1:生成主屏图像和副屏图像;
步骤S2A:确定当前第二显示屏的弯折状态,根据当前第二显示屏的弯折状态确定主屏和副屏,在主屏显示主屏图像,在副屏显示副屏图像。
关于步骤S1
在进行双屏显示前,可以根据双屏显示场景类型预先生成相应的至少部分主屏图像和至少部分副屏图像,例如静态logo,并将所生成的至少部分主屏图像数据和至少部分副屏图像数据分别存储在第一缓冲存储器和第二缓冲存储器中,后续可以根据第一缓冲存储器中的至少部分主屏图像数据生成完整的主屏图像,可以根据第二缓冲存储器中的至少部分副屏图像数据生成完整的副屏图像。基于显示需求,显示接口(第一显示接口DSI1和/或第二显示接口DSI2)还可以传输实施绘制的显示图像至主屏和/或副屏。
关于步骤S2A
确定当前第二显示屏的状态,其中可以根据终端内部传感器参数确定终端的第二显示屏S2的当前弯折状态(折叠或平展),并根据第二显示屏S2的当前弯折状态确定主屏和副屏。例如,可以根据终端内部传感器确定第一子显示屏S2a相对于第二子显示屏S2b的夹角,进一步根据该夹角确定第二显示屏的折叠状态。进一步根据终端的当前状态确定第一显示屏S1和第二显示屏S2哪一者为主屏哪一者为副屏,并在确定主屏和副屏的情况下,控制第一显示接口DSI1在控制第一显示接口DSI1在第一显示屏S1和第二显示屏S2的第一子显示屏之间S2a分时切换,当第一显示接口DSI1切换至第一显示屏S1时,通过第一显示接口DSI1传输第一图像的数据至第一显示屏S1,当第一显示接口DSI1切换至第一子显示屏S2a时,通过第一显示接口DSI1传输第二图像的数据至第一子显示屏S2a,使第一显示屏S1显示第一图像的同时第一子显示屏S2a显示第二图像。
在双屏显示阶段,可以根据终端的第二显示屏S2当前的状态和显示需求,确定是否控制第二显示接口DSI2连接第二子显示屏S2b并向其传输第三图像,以使第二子显示屏S2b与第一显示屏S1和第一子显示屏S2a同时显示。
在另一实施例中该双屏显示阶段包括:
步骤S1:生成主屏图像和副屏图像;
步骤S2B:确定当前第二显示屏的弯折状态以及终端的朝向,根据当前第二显示屏的弯折状态以及终端的朝向确定主屏和副屏,主屏显示主屏图像,在副屏显示副屏图像。
关于步骤S1
在进行双屏显示前,可以根据双屏显示场景类型预先生成相应的至少部分主屏图像和至少部分副屏图像,例如静态logo,并将所生成的至少部分主屏图像数据和至少部分副屏图像数据分别存储在第一缓冲存储器和第二缓冲存储器中,后续可以根据第一缓冲存储器中的至少部分主屏图像数据生成完整的主屏图像,可以根据第二缓冲存储器中的至少部分副屏图像数据生成完整的副屏图像。基于显示需求,显示接口(第一显示接口DSI1和/或第二显示接口DSI2)还可以传输实施绘制的显示图像至主屏和/或副屏。
关于步骤S2B
确定当前第二显示屏的状态,其中可以根据终端内部传感器参数确定终端第二显示屏S2的当前弯折状态(折叠或平展)以及终端的朝向,并根据第二显示屏S2的当前弯折状态以及终端的朝向确定主屏和副屏。例如,可以根据终端内部传感器确定第一子显示屏S2a相对于第二子显示屏S2b的夹角,进一步根据该夹角确定第二显示屏的折叠状态。进一步根据终端内部传感器参数确定用户对终端的握姿,进而根据该握姿确定终端的朝向(哪一显示屏朝向用户),进一步地根据终端的当前状态以及终端的朝向确定第一显示屏S1和第二显示屏S2哪一者为主屏哪一者为副屏,并在确定主屏副屏的情况下,控制第一显示接口DSI1在控制第一显示接口DSI1在第一显示屏S1和第二显示屏S2的第一子显示屏之间S2a分时切换,当第一显示接口DSI1切换至第一显示屏S1时,通过第一显示接口DSI1传输第一图像的数据至第一显示屏S1,当第一显示接口DSI1切换至第一子显示屏S2a时,通过第一显示接口DSI1传输第二图像的数据至第一子显示屏S2a,使第一显示屏S1显示第一图像的同时第一子显示屏S2a显示第二图像。
在双屏显示阶段,可以根据终端的第二显示屏S2当前的状态和显示需求,确定是否控制第二显示接口DSI2连接第二子显示屏S2b并向其传输第三图像,以使第二子显示屏S2b与第一显示屏S1和第一子显示屏S2a同时显示。
由于现有技术中终端的SOC芯片只支持两路DSI显示通路,若采用现有技术进行双屏同显,第一显示屏S1单独占用一条DSI显示通路,第二显示屏S2(折叠屏)占用另一条DSI显示通路,在终端双屏同显阶段(第一显示屏S1和第二显示屏S2同时显示),单个DSI显示通路上折叠屏的显示分辨率受到屏幕充电时间及工艺的限制,驱动能力有限,分辨率不会太大。为避免上述问题,通过上述技术方案,在双屏显示阶段,控制具有可折叠显示屏的终端的第一显示接口在第一显示屏和第二显示屏的第一子显示屏之间分时切换,以实现当第一显示接口切换至第一显示屏时,通过第一显示接口传输第一图像的数据至第一显示屏,当第一显示接口切换至第一子显示屏时,通过第一显示接口传输第二图像的数据至第一子显示屏,使第一显示屏显示第一图像的同时第一子显示屏显示第二图像。因此,通过上述方案可以在不改变终端芯片的处理能力的情况下,对显示接口进行分时复用,从而保证双面显示屏(第一显示屏和第二显示屏的第一子显示屏)能够在双屏显示阶段同时显示,且无需牺牲显示屏的分辨率。
通过以下几个实施例对上述各个情况进行详细说明。
进一步地,本发明根据主/副屏的不同确定方式区分实施例,基于上述对双屏显示阶段的解释说明可知,本发明实施例提供了2种主/副屏的确定方式,即,仅通过第二显示屏的当前弯折状态确定主/副屏,或者,根据第二显示屏的当前弯折状态以及终端的朝向确定主/副屏。故,如下提供实施例一与实施例二,其中,实施例一中仅通过第二显示屏的当前状态确定主/副屏,进而在确定主/副屏后进行双屏显示控制操作。实施例二中根据第二显示屏的当前状态以及终端的朝向确定主/副屏,进而在确定主/副屏后进行双屏显示控制操作。
实施例一
图4A示出了本发明实施例提供的开机场景下双屏显示流程示意图,图4B示出了本发明实施例提供的开机场景下各阶段显示规格示意图,结合图4A和图4B所示,在终端的 开机场景中,在进行双屏显示前,可以预先生成至少部分主屏图像和至少部分副屏图像,例如静态logo,且该至少部分主屏图像数据和至少部分副屏图像数据分别缓存在第一缓冲存储器和第二缓冲存储器中。
根据终端内部传感器确定终端当前的弯折状态,即第二显示屏S2的折叠状态(弯折状态),以开机一瞬间的终端的状态决定本次开机的主/副屏。
检测到第二显示屏S2处于如图1E所示的向内弯折的完全折叠状态(第二显示屏S2被包覆在终端内侧,用户仅可见第一显示屏S1),则设定第一显示屏S1为主屏、设定第一子显示屏S2a和第二子显示屏S2b为副屏。
第一显示接口DSI1通过切换开关(SWITCH)K1分时连接第一显示屏S1和第二显示屏S2的第一子显示屏之间S2a,当第一显示接口DSI1切换至第一显示屏S1时,通过第一显示接口DSI1传输第一图像(主屏图像)的数据至第一显示屏S1,当第一显示接口DSI1切换至第一子显示屏S2a时,通过第一显示接口DSI1传输第二图像(副屏图像)的数据至第一子显示屏S2a;通过第二显示接口传输第三图像(副屏图像)的数据至第二子显示屏S2b,使第一显示屏S1显示主屏图像的同时第一子显示屏S2a和第二子显示屏S2b显示副屏图像。
具体地,可以从第一缓冲存储器中获取主屏图像,该主屏图像可以包括静态logo和多个定制logo,从第二缓冲存储器中获取副屏图像,该副屏图像为上述静态logo。显示子***在确定主/副屏的情况下,可以在送显之前,显示子***先控制副屏(第一子显示屏S2a和第二子显示屏S2b)的显示控制模块和显示屏模块进行上电和初始化,控制切换开关K1切换至第一子显示屏S2a,以使第一显示接口DSI1连接第一子显示屏S2a,并将该静态logo传输给第一子显示屏S2a,同时通过第二显示接口DSI2将该静态logo传输给第二子显示屏S2b,完成一次性送显,以使第一子显示屏S2a和第二子显示屏S2b分别显示该静态logo。
在确保副屏显示该静态logo后,不再向副屏传输新的显示图像,依靠副屏的自刷新模式,保持副屏在开机程序结束前始终显示该静态logo。在确保副屏开始显示该静态logo后,控制切换开关K1切换至第一显示屏S1,以使第一显示接口DSI1连接第一显示屏S1,并将静态logo和多个定制logo传输给第一显示屏,并控制第一显示接口DSI1持续向第一显示屏S1送显,以使第一显示屏S1根据第一显示接口DSI1的传输数据不断刷新画面。
具体地,结合图4A和图4B所示,该终端的开机程序可以分为四个阶段,其中,在第一阶段(Fastboot)第一显示接口DSI1将静态logo发送至副屏,完成一次性送显后,第一显示接口DSI1与第一子显示屏S2a断开连接,同时第二显示接口DSI2将静态logo发送至副屏,完成一次性送显后,第二显示接口DSI2停止向第二子显示屏S2b传输显示数据,副屏在CMD模式下保持自刷新显示,即,保持副屏在开机程序结束前始终显示该静态logo。控制切换开关K1切换至主屏,并持续向主屏进行送显,主屏根据传输数据不断刷新画面。在第一阶段中,副屏仅显示静态logo(如logo A)并开始自刷新以持续显示该logo A,主屏可以在一区域内显示logo A的同时在屏幕其他区域显示其他内容(如开机动画)。
在第二阶段(Kernel),第一显示接口DSI1与第一子显示屏S2a保持断开连接,且第二显示接口DSI2保持停止向第二子显示屏S2b传输显示数据,副屏保持自刷新。控制 切换开关K1保持连接至主屏,第一显示接口DSI1持续向主屏送显,主屏根据传输数据不断刷新画面。在第二阶段中,副屏自刷新显示静态logo(如logo A),主屏可以在一区域内显示logo A的同时在屏幕其他区域显示其他内容(如继续显示开机动画)。
在第三阶段(BootAnimation),第一显示接口DSI1与第一子显示屏S2a保持断开连接,且第二显示接口DSI2保持停止向第二子显示屏S2b传输显示数据,副屏保持自刷新。控制切换开关K1保持连接至主屏,第一显示接口DSI1持续向主屏送显(此时传输其他定制logo),主屏根据传输数据不断刷新画面。在第三阶段中,主屏显示logo B,副屏继续自刷新显示logo A。
在第四阶段(Android),第一显示接口DSI1与第一子显示屏S2a保持断开连接,且第二显示接口DSI2保持停止向第二子显示屏S2b传输显示数据,且副屏灭屏。控制切换开关K1保持连接至主屏,第一显示接口DSI1持续向主屏送显(传输桌面UI数据),主屏根据传输数据不断刷新画面。
在完成开机程序后,重新确定终端当前的弯折状态,即,第二显示屏S2的折叠状态(弯折状态),并根据第二显示屏S2的折叠状态重新设定主屏和副屏。
在实施例中,第一显示接口DSI1和第二显示接口DSI2分别向第一子显示屏S2a和第二子显示屏S2b传输的第二图像和第三图像,该第二图像和第三图像可以分别为副屏图像的一部分和该副屏图像的另一部分,以使第一子显示屏S2a和第二子显示屏S2b组成的第二显示屏S2显示完整的副屏图像。
第二显示屏处于平展状态下
结合图4A和图4B所示,在终端的开机场景中,在进行双屏显示前,可以预先生成至少部分主屏图像和至少部分副屏图像,例如静态logo,且该至少部分主屏图像数据和至少部分副屏图像数据分别缓存在第一缓冲存储器和第二缓冲存储器中。
根据终端内部传感器确定终端当前的弯折状态,即第二显示屏S2的折叠状态(弯折状态),以开机一瞬间的终端的状态决定本次开机的主/副屏。
检测到第二显示屏S2处于如图1B所示的平展状态,则设定第二显示屏S2为主屏、设定第一显示屏S1为副屏。
第一显示接口DSI1通过切换开关(SWITCH)K1分时连接第一显示屏S1和第二显示屏S2的第一子显示屏之间S2a,当第一显示接口DSI1切换至第一显示屏S1时,通过第一显示接口DSI1传输第一图像(副屏图像)的数据至第一显示屏S1,当第一显示接口DSI1切换至第一子显示屏S2a时,通过第一显示接口DSI1传输主屏图像的一部分的数据至第一子显示屏S2a;通过第二显示接口DSI2传输第三图像(主屏图像的另一部分)的数据至第二子显示屏S2b,使第一显示屏S1显示副屏图像的同时第一子显示屏S2a和第二子显示屏S2b组成的第二显示屏S2显示完整的主屏图像。
具体地,可以从第一缓冲存储器中获取主屏图像,该主屏图像可以包括静态logo和多个定制logo,从第二缓冲存储器中获取副屏图像,该副屏图像为上述静态logo。显示子***在确定主/副屏的情况下,可以在送显之前,先控制副屏(第一显示屏S1)的显示控制模块和显示屏模块进行上电和初始化,控制切换开关K1切换至第一显示屏S1,以使第一显示接口DSI1连接第一显示屏S1,并将该静态logo传输给第一显示屏S1。
显示子***在确保副屏显示该静态logo后,不再向副屏传输新的显示图像,依靠副屏的自刷新模式,保持副屏在开机程序结束前始终显示该静态logo。显示子***在确保副屏开始显示该静态logo后,控制切换开关K1切换至第一子显示屏S2a,以使第一显示接口DSI1连接第一子显示屏S2a,并将静态logo的一部分和多个定制logo的一部分传输给第一子显示屏S2a,同时通过第二显示接口DSI2将该静态logo的另一部分和多个定制logo的另一部分传输给第二子显示屏S2b,并控制第一显示接口DSI1持续向第一子显示屏S2a送显、控制第二显示接口DSI2持续向第二子显示屏S2b送显,以使第一子显示屏S2a和第二子显示屏S2b组成的第二显示屏S2显示完整的静态logo和完整的该多个定制logo。
具体地,如图4B所示,该终端的开机程序可以分为四个阶段,其中,在第一阶段(Fastboot)第一显示接口DSI1将静态logo发送至副屏,完成一次性送显后,第一显示接口DSI1与第一显示屏S1断开连接,即,保持副屏在开机程序结束前始终显示该静态logo。控制切换开关K1切换至主屏,第一显示接口DSI1连接第一子显示屏S2a,第二显示接口DSI2连接第二子显示屏S2b,持续向主屏进行送显,主屏根据传输数据不断刷新画面。在第一阶段中,副屏仅显示静态logo(如logo A)并开始自刷新以持续显示该logo A,主屏可以在一区域内显示logo A的同时在屏幕其他区域显示其他内容(如开机动画)。
在第二阶段(Kernel),第一显示接口DSI1与第一显示屏S1保持断开连接,副屏保持自刷新。第一显示接口DSI1连接第一子显示屏S2a,第二显示接口DSI2连接第二子显示屏S2b,持续向主屏进行送显,主屏根据传输数据不断刷新画面。在第二阶段中,副屏自刷新显示静态logo(如logo A),主屏可以在一区域内显示logo A的同时在屏幕其他区域显示其他内容(如继续显示开机动画)。
在第三阶段(BootAnimation),第一显示接口DSI1与第一显示屏S1保持断开连接,副屏保持自刷新。第一显示接口DSI1连接第一子显示屏S2a,第二显示接口DSI2连接第二子显示屏S2b,持续向主屏进行送显(此时传输其他定制logo),主屏根据传输数据不断刷新画面。在第三阶段中,主屏显示logo B,副屏继续自刷新显示logo A。
在第四阶段(Android),第一显示接口DSI1与第一显示屏S1保持断开连接,且副屏灭屏。第一显示接口DSI1连接第一子显示屏S2a,第二显示接口DSI2连接第二子显示屏S2b,持续向主屏进行送显(传输桌面UI数据),主屏根据传输数据不断刷新画面。
在完成开机程序后,重新确定终端当前的弯折状态,即,第二显示屏S2的折叠状态(弯折状态),并根据第二显示屏S2的折叠状态重新设定主屏和副屏。
该实施例一仅以开机场景为例,该显示控制方法在其他场景中同样适用,此处不做限定。
实施例二
图5示出了本发明实施例提供的关机充电场景下双屏显示流程示意图,如图5所示,在终端连接电源的用户主动关机的充电场景中,在进行双屏显示前,可以预先生成至少部分主屏图像和至少部分副屏图像,例如接电logo,且该至少部分主屏图像数据和至少部分副屏图像数据分别缓存在第一缓冲存储器和第二缓冲存储器中。
根据终端内部传感器确定终端当前的弯折状态,即第二显示屏S2的折叠状态(弯折状态),以连接电源时刻的终端的状态设定主/副屏。
检测到第二显示屏S2处于平展状态且第二显示屏S2朝向用户(如图1B所示),则设定第二显示屏S2为主屏、设定第一显示屏S1为副屏。
第一显示接口DSI1通过切换开关(SWITCH)K1分时连接第一显示屏S1和第二显示屏S2的第一子显示屏之间S2a,当第一显示接口DSI1切换至第一显示屏S1时,通过第一显示接口DSI1传输第一图像(此时为副屏图像)的数据至第一显示屏S1,当第一显示接口DSI1切换至第一子显示屏S2a时,通过第一显示接口DSI1传输主屏图像的一部分的数据至第一子显示屏S2a;通过第二显示接口传输第三图像(此时为主屏图像的另一部分)的数据至第二子显示屏S2b,使第一显示屏S1显示副屏图像的同时第一子显示屏S2a和第二子显示屏S2b组成的第二显示屏S2显示完整的主屏图像。
在充电状态下关机过程中
具体地,可以从第一缓冲存储器中获取主屏图像,该主屏图像可以包括接电logo(如绿色闪电图标),从第二缓冲存储器中获取副屏图像,该副屏图像为上述接电logo。显示子***在确定主/副屏的情况下,可以在送显之前,先控制副屏(第一显示屏S1)的显示控制模块和显示屏模块进行上电和初始化,显示子***控制切换开关K1切换至第一显示屏S1,以使第一显示接口DSI1连接第一显示屏S1,并将该接电logo传输给第一显示屏S1。
显示子***在确保副屏显示该接电logo后,不再向副屏传输新的显示图像,依靠副屏的自刷新模式,保持副屏在关机程序结束前始终显示该接电logo。在确保副屏开始显示该接电logo后,显示子***控制切换开关K1切换至第一子显示屏S2a,以使第一显示接口DSI1连接第一子显示屏S2a,并将接电logo的一部分传输给第一子显示屏S2a,同时通过第二显示接口DSI2将该接电logo的另一部分传输给第二子显示屏S2b,显示子***控制第一显示接口DSI1持续向第一子显示屏S2a送显、控制第二显示接口DSI2持续向第二子显示屏S2b送显,以使第一子显示屏S2a和第二子显示屏S2b组成的第二显示屏S2显示完整的接电logo。其中在第二显示屏S2上显示的接电logo的尺寸大于第一显示屏S1显示的接电logo。
在完成关机后继续充电过程中
检测到第二显示屏S2处于平展状态,则设定第二显示屏S2为主屏、设定第一显示屏S1为副屏。
第一显示接口DSI1通过切换开关(SWITCH)K1分时连接第一显示屏S1和第二显示屏S2的第一子显示屏之间S2a,当第一显示接口DSI1切换至第一显示屏S1时,通过第一显示接口DSI1传输第一图像(此时为副屏图像)的数据至第一显示屏S1,当第一显示接口DSI1切换至第一子显示屏S2a时,通过第一显示接口DSI1传输主屏图像的一部分的数据至第一子显示屏S2a;通过第二显示接口DSI2传输第三图像(此时为主屏图像的另一部分)的数据至第二子显示屏S2b,使第一显示屏S1显示副屏图像的同时第一子显示屏S2a和第二子显示屏S2b组成的第二显示屏S2显示完整的主屏图像。
具体地,可以从第一缓冲存储器中获取主屏图像,该主屏图像可以为充电动画,从第二缓冲存储器中获取副屏图像,该副屏图像为上述充电动画(尺寸不同)。在确定主/副屏的情况下,可以在送显之前,显示子***先控制副屏(第一显示屏S1)的显示控制 模块和显示屏模块进行上电和初始化,控制切换开关K1切换至第一显示屏S1,以使第一显示接口DSI1连接第一显示屏S1,并将该充电动画传输给第一显示屏S1。
在确保副屏显示该充电动画后,不再向副屏传输新的显示图像,依靠副屏的自刷新模式,保持副屏在关机程序结束前始终显示该充电动画。在确保副屏开始显示该充电动画后,显示子***控制切换开关K1切换至第一子显示屏S2a,以使第一显示接口DSI1连接第一子显示屏S2a,并将主屏图像的充电动画的一部分传输给第一子显示屏S2a,同时通过第二显示接口DSI2将该主屏图像的充电动画的另一部分传输给第二子显示屏S2b,并控制第一显示接口DSI1持续向第一子显示屏S2a送显、控制第二显示接口DSI2持续向第二子显示屏S2b送显,以使第一子显示屏S2a和第二子显示屏S2b组成的第二显示屏S2显示完整的充电动画。其中在第二显示屏S2上显示的充电动画中动态图像的尺寸大于第一显示屏S1显示的动态图像。
在开始显示该关机动画时,开始计时,并确定屏幕显示是否超时,若否,则继续显示该关机动画,若是,则控制屏幕灭屏。
在终端关机后,用户控制终端开机,则进行上述开机场景下的双屏显示操作。
在终端关机充电过程中,若检测到终端断开电源,则通过上述分时切换在主屏和副屏同时显示断电动画,并在开始显示该断电动画后开始计时,并确定屏幕显示是否超时,若否,则继续显示该断电动画,若是,则控制屏幕灭屏。
第二显示屏S2处于平展状态且第一显示屏S1朝向用户
如图5所示,在终端连接电源的用户主动关机的充电场景中,在进行双屏显示前,可以预先生成至少部分主屏图像和至少部分副屏图像,例如接电logo,且该至少部分主屏图像数据和至少部分副屏图像数据分别缓存在第一缓冲存储器和第二缓冲存储器中。
根据终端内部传感器确定终端当前的弯折状态,即第二显示屏S2的折叠状态(弯折状态),以连接电源时刻的终端的状态设定主/副屏。
检测到第二显示屏S2处于平展状态且第一显示屏S1朝向用户(如图1A所示),则设定第一显示屏S1为主屏、设定第二显示屏S2为副屏。
第一显示接口DSI1通过切换开关(SWITCH)K1分时连接第一显示屏S1和第二显示屏S2的第一子显示屏之间S2a,当第一显示接口DSI1切换至第一子显示屏S2a时,通过第一显示接口DSI1传输第二图像(此时为副屏图像的一部分)的数据至第一子显示屏S2a;同时通过第二显示接口传输第三图像(此时为副屏图像的另一部分)的数据至第二子显示屏S2b。当第一显示接口DSI1切换至第一显示屏S1时,通过第一显示接口DSI1传输第一图像(此时为主屏图像)的数据至第一显示屏S1,使第一显示屏S1显示主屏图像的同时第一子显示屏S2a和第二子显示屏S2b组成的第二显示屏S2显示完整的副屏图像。
在充电状态下关机过程中
具体地,可以从第一缓冲存储器中获取主屏图像,该主屏图像可以包括接电logo(如绿色闪电图标),从第二缓冲存储器中获取副屏图像,该副屏图像为上述接电logo。在确定主/副屏的情况下,可以在送显之前,先控制副屏(第一子显示屏S2a和第二子显示屏S2b)的显示控制模块和显示屏模块进行上电和初始化,控制切换开关K1切换至第一子显示屏S2a,以使第一显示接口DSI1连接第一子显示屏S2a,并将该接电logo的一部 分传输给第一子显示屏S2a,并通过第二显示接口DSI2连接第二子显示屏S2b,并将该接电logo的另一部分传输给第二子显示屏S2b,使第一子显示屏S2a和第二子显示屏S2b组成的第二显示屏S2显示完整的接电logo。
在确保副屏显示该接电logo后,不再向副屏传输新的显示图像,依靠副屏的自刷新模式,保持副屏在关机程序结束前始终显示该接电logo。在确保副屏开始显示该接电logo后,控制切换开关K1切换至第一显示屏S1,以使第一显示接口DSI1连接第一显示屏S1,并将主屏图像的接电logo传输给第一显示屏S1,并控制第一显示接口DSI1持续向第一显示屏S1送显,以使第一子显示屏S2a和第二子显示屏S2b组成的第二显示屏S2显示完整的接电logo的同时第一显示屏显示主屏图像的接电logo。其中在第二显示屏S2上显示的接电logo的尺寸大于第一显示屏S1显示的接电logo。
在完成关机后继续充电过程中
检测到第二显示屏S2处于平展状态,则设定第二显示屏S2为主屏、设定第一显示屏S1为副屏。
第一显示接口DSI1通过切换开关(SWITCH)K1分时连接第一显示屏S1和第二显示屏S2的第一子显示屏之间S2a,当第一显示接口DSI1切换至第一显示屏S1时,通过第一显示接口DSI1传输第一图像(此时为副屏图像)的数据至第一显示屏S1,当第一显示接口DSI1切换至第一子显示屏S2a时,通过第一显示接口DSI1传输主屏图像的一部分的数据至第一子显示屏S2a;通过第二显示接口传输第三图像(此时为主屏图像的另一部分)的数据至第二子显示屏S2b,使第一显示屏S1显示副屏图像的同时第一子显示屏S2a和第二子显示屏S2b组成的第二显示屏S2显示完整的主屏图像。
具体地,可以从第一缓冲存储器中获取主屏图像,该主屏图像可以为充电动画,从第二缓冲存储器中获取副屏图像,该副屏图像为上述充电动画(尺寸不同)。在确定主/副屏的情况下,可以在送显之前,先控制副屏(第一显示屏S1)的显示控制模块和显示屏模块进行上电和初始化,控制切换开关K1切换至第一显示屏S1,以使第一显示接口DSI1连接第一显示屏S1,并将该充电动画传输给第一显示屏S1。
在确保副屏显示该充电动画后,不再向副屏传输新的显示图像,依靠副屏的自刷新模式,保持副屏在关机程序结束前始终显示该充电动画。在确保副屏开始显示该充电动画后,控制切换开关K1切换至第一子显示屏S2a,以使第一显示接口DSI1连接第一子显示屏S2a,并将主屏图像的充电动画的一部分传输给第一子显示屏S2a,同时通过第二显示接口DSI2将该主屏图像的充电动画的另一部分传输给第二子显示屏S2b,并控制第一显示接口DSI1持续向第一子显示屏S2a送显、控制第二显示接口DSI2持续向第二子显示屏S2b送显,以使第一子显示屏S2a和第二子显示屏S2b组成的第二显示屏S2显示完整的充电动画。其中在第二显示屏S2上显示的充电动画中动态图像的尺寸大于第一显示屏S1显示的动态图像。
在开始显示该关机动画时,开始计时,并确定屏幕显示是否超时,若否,则继续显示该关机动画,若是,则控制屏幕灭屏。
在终端关机后,用户控制终端开机,则进行上述开机场景下的双屏显示操作。
在终端关机充电过程中,若检测到终端断开电源,则通过上述分时切换在主屏和副屏同时显示断电动画,并在开始显示该断电动画后开始计时,并确定屏幕显示是否超时,若否,则继续显示该断电动画,若是,则控制屏幕灭屏。
第二显示屏S2处于外弯折状态且第一子显示屏S2a朝向用户
图6示出了本发明实施例提供的***恢复场景下双屏显示流程示意图,如图6所示,在终端的***恢复场景中,执行以下步骤:
步骤301:进入***恢复程序;
步骤302:终端重启,开机瞬间确定主/副屏;
步骤303:终端重启阶段主/副屏同时显示恢复图标;
步骤304:进入***恢复阶段,进入瞬间确定主/副屏;
步骤305:***恢复阶段:主屏显示恢复界面同时在副屏显示恢复图标;
步骤306:***恢复结束。
关于步骤301-306,具体如下:
在进行双屏显示前,可以预先生成至少部分主屏图像和至少部分副屏图像,例如静态logo,且该至少部分主屏图像数据和至少部分副屏图像数据分别缓存在第一缓冲存储器和第二缓冲存储器中。
根据终端内部传感器确定终端第二显示屏S2当前的弯折状态,检测到第二显示屏S2处于外弯折的完全折叠状态(第一显示屏S1被包覆在终端内侧,用户可见分别在终端两侧的第一子显示屏S2a和第二子显示屏S2b)且检测到第一子显示屏S2a朝向用户(未示出),则设定第一子显示屏S2a为主屏、设定第二子显示屏S2b和第一显示屏S1为副屏。
第一显示接口DSI1通过切换开关(SWITCH)K1分时连接第一显示屏S1和第二显示屏S2的第一子显示屏之间S2a,当第一显示接口DSI1切换至第一显示屏S1时,通过第一显示接口DSI1传输第一图像(此时为副屏图像)的数据至第一显示屏S1,同时通过第二显示接口传输第三图像(此时为副屏图像)的数据至第二子显示屏S2b。当第一显示接口DSI1切换至第一子显示屏S2a时,通过第一显示接口DSI1传输第二图像(此时为主屏图像)的数据至第一子显示屏S2a;使第一显示屏S1和第二子显示屏S2b显示副屏图像的同时第一子显示屏S2a显示主屏图像。
在***恢复的终端重启过程中
具体地,可以从第一缓冲存储器中获取主屏图像,该主屏图像可以包括动态logo(恢复图标,例如一个动态“扳手”图标),从第二缓冲存储器中获取副屏图像,该副屏图像为静态logo(例如一个静态“扳手”图标)。在确定主/副屏的情况下,可以在送显之前,先控制副屏(第一显示屏S1和第二子显示屏S2b)的显示控制模块和显示屏模块进行上电和初始化,控制切换开关K1切换至第一显示屏S1,以使第一显示接口DSI1连接第一显示屏S1,并将该静态logo传输给第一显示屏S1,同时通过第二显示接口DSI2将该静态logo传输给第二子显示屏S2b,以使第一显示屏S1和第二子显示屏S2b分别显示该静态logo。
在确保副屏显示该静态logo后,不再向副屏传输新的显示图像,依靠副屏的自刷新模式,保持副屏在***恢复终端重启完成前始终显示该静态logo。在确保副屏开始显示 该静态logo后,控制切换开关K1切换至第一子显示屏S2a,以使第一显示接口DSI1连接第一子显示屏S2a,并将动态logo传输给第一子显示屏S2a,并控制第一显示接口DSI1持续向第一子显示屏S2a送显,以使第一子显示屏S2a在***恢复终端重启阶段根据第一显示接口DSI1的传输数据不断刷新画面。以实现在***恢复的终端重启过程中主屏和副屏同时显示。
完成重启进入***恢复程序后
在完成重启进入***恢复程序后,根据第二显示屏S2的当前状态以及终端的朝向重新设定主/副屏。
控制切换开关K1切换至第一显示屏S1,以使第一显示接口DSI1连接第一显示屏S1,并将该静态logo传输给第一显示屏S1,完成一次性送显,同时通过第二显示接口DSI2将该静态logo传输给第二子显示屏S2b,完成一次性送显。副屏根据接收到的数据进入自刷新模式,在***恢复程序结束前通过自刷新始终显示该静态logo(静态“扳手”)。
在第一显示接口DSI1完成向第一显示屏S1的一次性送显后,控制切换开关K1切换至第一子显示屏S2a,第一显示接口DSI1开始向第一子显示屏S2a正常送显,即,传输实时绘制的***恢复界面,第一子显示屏S2a根据接收到的显示数据显示***恢复界面。
第二显示屏S2处于外弯折状态且第二子显示屏S2b朝向用户。
如图6所示,在终端的***恢复场景中,执行以下步骤:
步骤301:进入***恢复程序;
步骤302:终端重启,开机瞬间确定主/副屏;
步骤303:终端重启阶段主/副屏同时显示恢复图标;
步骤304:进入***恢复阶段,进入瞬间确定主/副屏;
步骤305:***恢复阶段:主屏显示恢复界面同时在副屏显示恢复图标;
步骤306:***恢复结束。
关于步骤301-306,具体如下:
在进行双屏显示前,可以预先生成至少部分主屏图像和至少部分副屏图像,例如静态logo,且该至少部分主屏图像数据和至少部分副屏图像数据分别缓存在第一缓冲存储器和第二缓冲存储器中。
根据终端内部传感器确定终端第二显示屏S2当前的弯折状态,检测到第二显示屏S2处于外弯折的完全折叠状态(第一显示屏S1被包覆在终端内侧,用户可见分别在终端两侧的第一子显示屏S2a和第二子显示屏S2b)且检测到第二子显示屏S2b朝向用户(如图1F所示),则设定第二子显示屏S2b为主屏、设定第一子显示屏S2a和第一显示屏S1为副屏。
在***恢复的终端重启过程中
具体地,可以从第一缓冲存储器中获取主屏图像,该主屏图像可以包括动态logo(恢复图标,例如一个动态“扳手”图标),从第二缓冲存储器中获取副屏图像,该副屏图像为静态logo(例如一个静态“扳手”图标)。在确定主/副屏的情况下,可以在送显之前,先控制副屏(第一显示屏S1和第二子显示屏S2b)的显示控制模块和显示屏模块进行上电和初始化,控制切换开关K1切换至第一显示屏S1,以使第一显示接口DSI1连接第一显示屏S1,并将该静态logo传输给第一显示屏S1,控制切换开关K1切换至第一子显示 屏S2a,以使第一显示接口DSI1连接第一子显示屏S2a,并将静态logo传输给第一子显示屏S2a,以使第一显示屏S1和第一子显示屏S2a分别显示该静态logo。
在确保副屏显示该静态logo后,不再向副屏传输新的显示图像,依靠副屏的自刷新模式,保持副屏在***恢复终端重启完成前始终显示该静态logo。在第一显示接口DSI1向副屏传输显示图像的同时,可以控制第二显示接口DSI2将该动态logo传输给第二子显示屏S2b,并控制第二显示接口DSI2持续向第二子显示屏S2b送显,以使第二子显示屏S2b在***恢复终端重启阶段根据第二显示接口DSI2的传输数据不断刷新画面。进而实现在***恢复的终端重启过程中主屏和副屏同时显示。
完成重启进入***恢复程序后
在完成重启进入***恢复程序后,控制切换开关K1切换至第一显示屏S1,以使第一显示接口DSI1连接第一显示屏S1,并将该静态logo传输给第一显示屏S1,完成一次性送显,进而控制切换开关切换至第一子显示屏S2a,以使第一显示接口DSI1连接第一子显示屏S2a,并将静态logo传输给第一子显示屏S2a,完成一次性送。副屏根据接收到的数据进入自刷新模式,在***恢复程序结束前通过自刷新始终显示该静态logo(静态“扳手”)。
在第一显示接口DSI1向副屏传输显示图像的同时,可以控制第二显示接口DSI2向第二子显示屏S2b正常送显,即,传输实时绘制的***恢复界面,第二子显示屏S2b根据接收到的显示数据显示***恢复界面。
以上为实施例二的相关内容,在实施例二中分别以关机充电以及***恢复为例,该显示控制方法在其他场景中同样适用,此处不做限定。
需要说明的是,本发明实施例提供的显示控制方法中,在双屏显示阶段,副屏并非只显示静态logo,可以根据显示需求,控制切换开关K1在第一显示屏S1与第一子显示屏S2a之间频繁切换,第一显示接口DSI1频繁分别向第一显示屏S1与第一子显示屏S2a传输显示图像。例如,第一显示屏S1与第一子显示屏S2a平均占用该第一显示接口DSI1,以使第一显示屏S1与第一子显示屏S2a的帧率相同,其中,在第一显示接口DSI1向第一子显示屏S2a传输显示图像的同时,第二显示接口DSI2同步向第二子显示屏S2b传输显示图像,进而第一显示屏S1与第一子显示屏S2a和第二子显示屏S2b组成的第二显示屏S2的帧率相同。可以通过上述方式使主屏和副屏同时显示相应图像(如同时显示非静态图像)。第一显示屏S1与第一子显示屏S2a对第一显示接口DSI1的占用时间并不限定与上述平均占用,可以根据现实需求进行相应调整。
图7示出了本发明实施例提供的一种终端的结构示意图,如图7所示,该终端包括处理器10A和存储器20A,存储器20A用于存储至少一条指令,指令由处理器10A加载并执行时以实现本发明实施例提供的显示控制方法。
本发明实施例还提供一种终端,并且该终端具有如图8所示的终端***框架示意图。如图8所示,该***框架包括应用层、框架层(FWK,Framework)、硬件抽象层(HAL,hardware abstraction layer)、应用处理器(AP,Application Processor)侧以及硬件部分。具体地,该应用层包括:其他自研应用、三方应用、以及***休眠唤醒。该FWK层包括SC API接口和显示控制模块,其中该FWK层还提供活动管理服务(AMS,Activity Manager Service)、窗口管理服务(WMS,Window Manager Service)、电源管理、大屏 投射等服务。该HAL中提供传感器服务以及图像数据组合并显示的功能(HWC,Hwcomposer)。该AP侧用于根据传感器参数进行显示屏状态管理(如设定主屏/副屏),其中显示子***(DSS,Display Sub-System)还可以控制切换开关(SWITCH)K1在第一显示屏S1和第一子显示屏S2a之间分时切换连接,以使第一显示接口DSI1与第一显示屏S1和第一子显示屏S2a分时连接,同时控制第二显示接口DSI2向第二子显示屏S2b传输显示图像,以将主屏图像fb1和副屏图像fb2分别传输给相应主屏和副屏,进而实现在双屏显示阶段中主屏与副屏同时显示。该硬件部分则包括相应传感器、DSS显示芯片、第一有机发光显示屏(AMOLED1)以及第二有机发光显示屏(AMOLED2),其中该DSS显示芯片中可以包括处理器10B和存储器20B,其中该存储器20B可存储至少一条指令,指令由该处理器10B加载并执行时以实现本发明实施例提供的显示控制方法。
需要说明的是,本发明实施例中所涉及的终端可以包括但不限于个人计算机(Personal Computer,PC)、个人数字助理(Personal Digital Assistant,PDA)、无线手持设备、平板电脑(Tablet Computer)、手机、MP3播放器、MP4播放器等。本发明实施例中所涉及的显示屏为LCD显示屏或OLED显示屏。
本发明实施例还提供一种一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现图2所示的显示控制方法。
可以理解的是,所述应用可以是安装在终端上的应用程序(nativeApp),或者还可以是终端上的浏览器的一个网页程序(webApp),本发明实施例对此不进行限定。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本发明所提供的几个实施例中,应该理解到,所揭露的***,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如,多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机装置(可以是个人计算机,服务器,或者网络装置等)或处理器(Processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。
Claims (12)
- 一种显示控制方法,应用于具有可折叠显示屏的终端,所述终端包括第一显示屏和第二显示屏,所述第二显示屏为折叠屏,当所述折叠屏处于展开状态时,所述第一显示屏的出光方向和所述第二显示屏的出光方向相反,所述第二显示屏包括第一子显示屏和第二子显示屏,其特征在于,所述方法包括:响应于双屏显示指令,进入双屏显示阶段,在所述双屏显示阶段,控制第一显示接口在所述第一显示屏和所述第一子显示屏之间分时切换,当所述第一显示接口切换至所述第一显示屏时,通过所述第一显示接口传输第一图像的数据至所述第一显示屏,当所述第一显示接口切换至所述第一子显示屏时,通过所述第一显示接口传输第二图像的数据至所述第一子显示屏,使所述第一显示屏显示所述第一图像的同时所述第一子显示屏显示所述第二图像。
- 根据权利要求1所述的方法,其特征在于,所述双屏显示阶段包括:生成主屏图像和副屏图像;确定当前所述第二显示屏的弯折状态,根据当前所述第二显示屏的弯折状态确定主屏和副屏,在所述主屏显示所述主屏图像,在所述副屏显示所述副屏图像。
- 根据权利要求2所述的方法,其特征在于,所述确定当前所述第二显示屏的弯折状态,根据当前所述第二显示屏的弯折状态确定主屏和副屏,在所述主屏显示所述主屏图像,在所述副屏显示所述副屏图像的过程包括:若所述第二显示屏处于向内弯折状态,则设定所述第一显示屏为主屏、设定所述第一子显示屏和所述第二子显示屏为副屏,所述第一图像为所述主屏图像,所述第二图像为所述副屏图像;控制所述第一显示接口在所述第一显示屏和所述第一子显示屏之间分时切换,当所述第一显示接口切换至所述第一显示屏时,通过所述第一显示接口传输所述主屏图像的数据至所述第一显示屏,当所述第一显示接口切换至所述第一子显示屏时,通过所述第一显示接口传输所述副屏图像的数据至所述第一子显示屏,使所述第一显示屏显示所述主屏图像的同时所述第一子显示屏显示所述副屏图像;通过第二显示接口传输第三图像的数据至所述第二子显示屏,使所述第二子显示屏显示所述副屏图像,所述第三图像为所述副屏图像,所述第一子显示屏和所述第二子显示屏基于各自接收到的所述副屏图像进行自刷新显示。
- 根据权利要求2所述的方法,其特征在于,所述确定当前所述第二显示屏的弯折状态,根据当前所述第二显示屏的弯折状态确定主屏和副屏,在所述主屏显示所述主屏图像,在所述副屏显示所述副屏图像的过程包括:若所述第二显示屏处于向内弯折状态,则设定所述第一显示屏为主屏、设定所述第一子显示屏和所述第二子显示屏为副屏,所述第一图像为所述主屏图像,所述第二图像为所述副屏图像;控制所述第一显示接口在所述第一显示屏和所述第一子显示屏之间分时切换,当所述第一显示接口切换至所述第一显示屏时,通过所述第一显示接口传输所述主屏图像的数据至所述第一显示屏,当所述第一显示接口切换至所述第一子显示屏时,通过所述第一显示接口传输所述副屏图像的一部分的数据至所述第一子显示屏,使所述第一显示屏显示所述主屏图像的同时所述第一子显示屏显示所述副屏图像的一部分;通过第二显示接口传输第三图像的数据至所述第二子显示屏,使所述第二子显示屏显示所述副屏图像的另一部分,以使所述第一子显示屏和所述第二子显示屏组成的所述第二显示屏显示完整的所述副屏图像,其中所述第三图像为所述副屏图像的另一部分,所述第一子显示屏和所述第二子显示屏基于各自接收到的部分所述副屏图像进行自刷新显示。
- 根据权利要求2所述的方法,其特征在于,所述确定当前所述第二显示屏的弯折状态,根据当前所述第二显示屏的弯折状态确定主屏和副屏,在所述主屏显示所述主屏图像,在所述副屏显示所述副屏图像的过程包括:若所述第二显示屏处于平展状态,则设定所述第二显示屏为主屏、设定所述第一显示屏为副屏,所述第一图像为所述副屏图像,所述第二图像为所述主屏图像的一部分;控制所述第一显示接口在所述第一显示屏和所述第一子显示屏之间分时切换,当所述第一显示接口切换至所述第一显示屏时,通过所述第一显示接口传输所述副屏图像的数据至所述第一显示屏,所述第一显示屏基于接收到的所述副屏图像进行自刷新显示,当所述第一显示接口切换至所述第一子显示屏时,通过所述第一显示接口传输所述主屏图像的一部分的数据至所述第一子显示屏,使所述第一显示屏显示所述主屏图像的一部分的同时所述第一子显示屏显示所述副屏图像;通过第二显示接口传输第三图像的数据至所述第二子显示屏,使所述第二子显示屏显示所述主屏图像的另一部分,以使所述第一子显示屏和所述第二子显示屏组成的所述第二显示屏显示完整的所述主屏图像,其中所述第三图像为所述主屏图像的另一部分。
- 根据权利要求1所述的方法,其特征在于,所述双屏显示阶段包括:生成主屏图像和副屏图像;确定当前所述第二显示屏的弯折状态以及所述终端的朝向,根据当前所述第二显示屏的弯折状态以及所述终端的朝向确定主屏和副屏,在所述主屏显示所述主屏图像,在所述副屏显示所述副屏图像。
- 根据权利要求6所述的方法,其特征在于,所述确定当前所述第二显示屏的弯折状态以及所述终端的朝向,根据当前所述第二显示屏的弯折状态以及所述终端的朝向确定主屏和副屏,在所述主屏显示所述主屏图像,在所述副屏显示所述副屏图像包括:若所述第二显示屏处于平展状态,且所述第二显示屏朝向用户,则设定所述第二显示屏为主屏、设定所述第一显示屏为副屏,所述第一图像为所述副屏图像,所述第二图像为所述主屏图像的一部分;控制所述第一显示接口在所述第一显示屏和所述第一子显示屏之间分时切换,当所述第一显示接口切换至所述第一显示屏时,通过所述第一显示接口传输所述副屏图像的数据至所述第一显示屏,所述第一显示屏基于接收到的所述副屏图像进行自刷新显示,当所述第一显示接口切换至所述第一子显示屏时,通过所述第一显示接口传输所述主屏图像的一部分的数据至所述第一子显示屏,使所述第一显示屏显示所述主屏图像的一部分的同时所述第一子显示屏显示所述副屏图像;通过第二显示接口传输第三图像的数据至所述第二子显示屏,使所述第二子显示屏显示所述主屏图像的另一部分,以使所述第一子显示屏和所述第二子显示屏组成的所述第二显示屏显示完整的所述主屏图像,其中所述第三图像为所述主屏图像的另一部分。
- 根据权利要求6所述的方法,其特征在于,所述确定当前所述第二显示屏的弯折状态以及所述终端的朝向,根据当前所述第二显示屏的弯折状态以及所述终端的朝向确定主屏和副屏,在所述主屏显示所述主屏图像,在所述副屏显示所述副屏图像包括:若所述第二显示屏处于平展状态,且所述第一显示屏朝向用户,则设定所述第一显示屏为主屏、设定所述第二显示屏为副屏;控制所述第一显示接口在所述第一显示屏和所述第一子显示屏之间分时切换,当所述第一显示接口切换至所述第一显示屏时,通过所述第一显示接口传输所述主屏图像的数据至所述第一显示屏,当所述第一显示接口切换至所述第一子显示屏时,通过所述第一显示接口传输所述副屏图像的一部分的数据至所述第一子显示屏,使所述第一显示屏显示所述主屏图像的同时所述第一子显示屏显示所述副屏图像的一部分;通过第二显示接口传输第三图像的数据至所述第二子显示屏,使所述第二子显示屏显示所述副屏图像的另一部分,以使所述第一子显示屏和所述第二子显示屏组成的所述第二显示屏显示完整的所述副屏图像,其中所述第三图像为所述副屏图像的另一部分,所述第一子显示屏和所述第二子显示屏基于各自接收到的部分所述副屏图像进行自刷新显示。
- 根据权利要求6所述的方法,其特征在于,所述确定当前所述第二显示屏的弯折状态以及所述终端的朝向,根据当前所述第二显示屏的弯折状态以及所述终端的朝向确定主屏和副屏,在所述主屏显示所述主屏图像,在所述副屏显示所述副屏图像包括:若所述第二显示屏处于向外弯折状态,且所述第一子显示屏朝向用户,则设定所述第一子显示屏为主屏、设定所述第一显示屏和所述第二子显示屏为副屏;控制所述第一显示接口在所述第一显示屏和所述第一子显示屏之间分时切换,当所述第一显示接口切换至所述第一显示屏时,通过所述第一显示接口传输所述副屏图像的数据至所述第一显示屏,当所述第一显示接口切换至所述第一子显示屏时,通过所述第一显示接口传输所述主屏图像的数据至所述第一子显示屏,使所述第一显示屏显示所述副屏图像的同时所述第一子显示屏显示所述主屏图像;通过第二显示接口传输第三图像的数据至所述第二子显示屏,使所述第二子显示屏显示所述副屏图像,其中所述第三图像为所述副屏图像,所述第一显示屏和所述第二子显示屏基于各自接收到的所述副屏图像进行自刷新显示。
- 根据权利要求6所述的方法,其特征在于,所述确定当前所述第二显示屏的弯折状态以及所述终端的朝向,根据当前所述第二显示屏的弯折状态以及所述终端的朝向确定主屏和副屏,在所述主屏显示所述主屏图像,在所述副屏显示所述副屏图像包括:若所述第二显示屏处于向外弯折状态,且所述第二子显示屏朝向用户,则设定所述第二子显示屏为主屏、设定所述第一显示屏和所述第一子显示屏为副屏;控制所述第一显示接口在所述第一显示屏和所述第一子显示屏之间分时切换,当所述第一显示接口切换至所述第一显示屏时,通过所述第一显示接口传输所述副屏图像的数据至所述第一显示屏,当所述第一显示接口切换至所述第一子显示屏时,通过所述第一显示接口传输所述副屏图像的数据至所述第一子显示屏,使所述第一显示屏显示所述副屏图像的同时所述第一子显示屏显示所述副屏图像;通过第二显示接口传输第三图像的数据至所述第二子显示屏,使所述第二子显示屏显示所述主屏图像,其中所述第三图像为所述主屏图像,所述第一显示屏和所述第一子显示屏基于各自接收到的所述副屏图像进行自刷新显示。
- 一种终端,其特征在于,所述终端包括:处理器和存储器,所述存储器用于存储至少一条指令,所述指令由所述处理器加载并执行时以实现如权利要求1-10中任意一项所述的显示控制方法。
- 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-10中任意一项所述的显示控制方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US18/247,006 US20230367533A1 (en) | 2020-09-29 | 2021-08-25 | Display Control Method, Terminal, and Storage Medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011052817.5 | 2020-09-29 | ||
CN202011052817.5A CN114327314B (zh) | 2020-09-29 | 2020-09-29 | 显示控制方法、终端及存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022068470A1 true WO2022068470A1 (zh) | 2022-04-07 |
Family
ID=80949597
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/114419 WO2022068470A1 (zh) | 2020-09-29 | 2021-08-25 | 一种显示控制方法、终端及存储介质 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20230367533A1 (zh) |
CN (1) | CN114327314B (zh) |
WO (1) | WO2022068470A1 (zh) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117111864A (zh) * | 2022-05-17 | 2023-11-24 | 荣耀终端有限公司 | 多屏的数据处理方法、电子设备及可读存储介质 |
CN115941837A (zh) * | 2022-10-24 | 2023-04-07 | 读书郎教育科技有限公司 | 一种多屏终端及资源管理方法 |
CN117687586A (zh) * | 2023-07-17 | 2024-03-12 | 荣耀终端有限公司 | 一种电子设备、显示方法、芯片***及可读存储介质 |
CN117174014B (zh) * | 2023-10-31 | 2024-04-12 | 荣耀终端有限公司 | 显示控制电路、显示控制方法和电子设备 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2735233A1 (en) * | 2008-09-08 | 2010-03-11 | Qualcomm Incorporated | Multi-panel device with configurable interface |
WO2017135749A1 (ko) * | 2016-02-05 | 2017-08-10 | 삼성전자 주식회사 | 복수의 디스플레이들을 포함하는 전자 장치 및 그 동작 방법 |
CN209328493U (zh) * | 2019-01-03 | 2019-08-30 | 歌尔科技有限公司 | 一种基于柔性屏的双屏显示驱动电路及电子产品 |
WO2020142471A1 (en) * | 2018-12-30 | 2020-07-09 | Sang Chul Kwon | Foldable mobile phone |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104238977B (zh) * | 2013-06-13 | 2017-04-26 | 炬芯(珠海)科技有限公司 | 多屏显示装置及其方法 |
KR102342555B1 (ko) * | 2014-11-10 | 2021-12-23 | 엘지전자 주식회사 | 이동 단말기 및 그것의 제어방법 |
CN106155605B (zh) * | 2015-03-27 | 2020-03-24 | 联想(北京)有限公司 | 显示处理方法和电子设备 |
CN107608452B (zh) * | 2017-08-30 | 2020-10-02 | 珠海格力电器股份有限公司 | 一种移动终端 |
CN108174027B (zh) * | 2017-12-26 | 2021-05-21 | 努比亚技术有限公司 | 双屏控制装置、双屏移动终端及双屏显示方法 |
CN113504866A (zh) * | 2019-02-22 | 2021-10-15 | 华为技术有限公司 | 屏幕控制方法、电子设备及存储介质 |
CN110620833B (zh) * | 2019-08-16 | 2021-05-11 | 华为技术有限公司 | 一种可折叠的电子设备的显示方法及电子设备 |
CN114237530A (zh) * | 2020-01-21 | 2022-03-25 | 华为技术有限公司 | 一种折叠屏的显示方法及相关装置 |
-
2020
- 2020-09-29 CN CN202011052817.5A patent/CN114327314B/zh active Active
-
2021
- 2021-08-25 US US18/247,006 patent/US20230367533A1/en active Pending
- 2021-08-25 WO PCT/CN2021/114419 patent/WO2022068470A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2735233A1 (en) * | 2008-09-08 | 2010-03-11 | Qualcomm Incorporated | Multi-panel device with configurable interface |
WO2017135749A1 (ko) * | 2016-02-05 | 2017-08-10 | 삼성전자 주식회사 | 복수의 디스플레이들을 포함하는 전자 장치 및 그 동작 방법 |
WO2020142471A1 (en) * | 2018-12-30 | 2020-07-09 | Sang Chul Kwon | Foldable mobile phone |
CN209328493U (zh) * | 2019-01-03 | 2019-08-30 | 歌尔科技有限公司 | 一种基于柔性屏的双屏显示驱动电路及电子产品 |
Also Published As
Publication number | Publication date |
---|---|
CN114327314B (zh) | 2024-04-12 |
CN114327314A (zh) | 2022-04-12 |
US20230367533A1 (en) | 2023-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022068470A1 (zh) | 一种显示控制方法、终端及存储介质 | |
US20210124548A1 (en) | Electronic device and method for displaying and transmitting images thereof | |
US10921967B2 (en) | Electronic device and method for configuring display thereof | |
US10902772B2 (en) | Display driving method, display driver integrated circuit, and electronic device comprising the same | |
CN108702480B (zh) | 电子设备和用于驱动其显示器的方法 | |
JP7389264B2 (ja) | 無線通信方法及び無線通信機能を有する装置 | |
US20040222983A1 (en) | Information processing apparatus and program | |
WO2016173158A1 (zh) | 屏幕折叠设备、控制方法及控制装置 | |
CN112367543B (zh) | 显示设备、移动终端、投屏方法及投屏*** | |
US20190130795A1 (en) | Display control apparatus and method and display apparatus | |
CN111683279B (zh) | 显示设备及图像恢复方法 | |
CN112153447B (zh) | 一种显示设备及音画同步控制方法 | |
CN112579030B (zh) | 投屏输出控制方法、装置及电子设备 | |
US20230350631A1 (en) | Projection display method and electronic device | |
CN114706549A (zh) | 显示方法、智能终端及存储介质 | |
US9392063B2 (en) | Information processing apparatus that controls transfer of image, control method therefor, and storage medium | |
US20220294844A1 (en) | Information Transmission Method And Electronic Device | |
WO2023125273A1 (zh) | 电子设备的图像显示方法、图像处理电路和电子设备 | |
CN111885665A (zh) | 一种无线网络连接控制方法及显示设备 | |
CN111901649B (zh) | 视频播放方法和显示设备 | |
CN210515267U (zh) | 一种手机扩展装置 | |
WO2023202468A1 (zh) | 显示方法、智能终端及存储介质 | |
TWI825893B (zh) | 影像處理方法及顯示裝置 | |
CN116709475B (zh) | 一种关机控制方法 | |
CN116744106B (zh) | 相机应用的控制方法和终端设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21874131 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21874131 Country of ref document: EP Kind code of ref document: A1 |