WO2018126594A1 - 终端的切换显示方法及终端 - Google Patents

终端的切换显示方法及终端 Download PDF

Info

Publication number
WO2018126594A1
WO2018126594A1 PCT/CN2017/085670 CN2017085670W WO2018126594A1 WO 2018126594 A1 WO2018126594 A1 WO 2018126594A1 CN 2017085670 W CN2017085670 W CN 2017085670W WO 2018126594 A1 WO2018126594 A1 WO 2018126594A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
display screen
content
screen
output object
Prior art date
Application number
PCT/CN2017/085670
Other languages
English (en)
French (fr)
Inventor
王斌
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP17761790.9A priority Critical patent/EP3364289A4/en
Priority to JP2017560936A priority patent/JP6730325B2/ja
Priority to US15/557,816 priority patent/US10649711B2/en
Publication of WO2018126594A1 publication Critical patent/WO2018126594A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1431Digital 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 using a single graphics controller
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/003Details of a display terminal, the details relating to the control arrangement of the display terminal and to the interfaces thereto
    • G09G5/005Adapting incoming signals to the display format of the display terminal
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0407Resolution change, inclusive of the use of different resolutions for different screen areas
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0492Change of orientation of the displayed image, e.g. upside-down, mirrored
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2354/00Aspects of interface with display user
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/04Display device controller operating with a plurality of display units
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/18Use of a frame buffer in a display terminal, inclusive of the display panel
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/395Arrangements specially adapted for transferring the contents of the bit-mapped memory to the screen

Definitions

  • the present disclosure relates to the field of communications technologies, and, for example, to a handover display method and terminal of a terminal.
  • the dual-screen display technology of the terminal usually the contents displayed by the two display screens are different, and the requirements for the display effect are different, and the resolutions of the two display screens are also different.
  • the dual-screen display method does not support simultaneous display of the two display screens. (ie only one of the two displays can be used).
  • the present disclosure provides a method for displaying a switching of a terminal, and a terminal using the switching display method, to solve the problem of display cooperation and display mode of the first display screen and the second display screen of the terminal in respective display modes.
  • the embodiment provides a method for displaying a display of a terminal, which may include: acquiring a display mode of the terminal selected by a user, the terminal includes a first display screen and a second display screen; determining an output according to a display mode selected by the user Displaying manner of the object on the first display screen and the second display screen; and displaying the output object on at least one of the first display screen and the second display screen according to the determined display manner .
  • the terminal may be a mobile terminal.
  • displaying the output object on at least one of the first display screen and the second display screen according to the determined display manner may include: determining, according to a display mode selected by a user, The display mode is a first display mode; according to the first display mode, determining that the output object is the first display content displayed on the first display screen or determining that the output object is displayed on the second display screen a second display content; and displaying the first display content on the first display screen, controlling the second display screen to be in a non-operation state, or displaying the second display content in the first On the second display, the first display screen is controlled to be in a non-operating state.
  • the first display content on a display screen or determining that the output object is the second display content displayed on the second display screen may include: adjusting the output object according to a resolution of a screen of the first display screen Resolving the first display content, or adjusting the resolution of the output object according to the resolution of the screen of the second display screen to obtain a second display content; filling the first display content or the second display content to Displaying a cache framebuffer; and displaying a display driver for refreshing content in the display buffer Framebuffer to the first display screen or the second display screen.
  • displaying the output object on at least one of the first display screen and the second display screen according to the determined display manner may include: determining the display according to a display mode selected by a user. The second display mode is determined. According to the second display mode, determining that the first part of the output object is the third display content displayed on the first display screen and the second part of the output object is displayed in the a fourth display content of the second display screen; and displaying the third display content and the fourth display content on the first display screen and the second display screen, respectively.
  • the fourth display content may include: respectively adjusting resolutions of the first portion and the second portion of the output object according to resolutions of the screens of the first display screen and the second display screen, to obtain a third display content and a third And displaying the third display content and the fourth display content to the display cache Framebuffer; and displaying the display cache of the content in the display buffer Framebuffer to the display screen of the first display screen and the second display screen.
  • displaying the output object on at least one of the first display screen and the second display screen according to the determined display manner may include: determining the display according to a display mode selected by a user.
  • the method is a third display mode; determining, according to the third display mode, that the output object is a fifth display content displayed on the first display screen and determining that the output object is displayed on the second display screen a sixth display content, wherein the fifth display content and the sixth display content are mirror images; and displaying the fifth display content and the sixth display content on the first display screen and the On the second display.
  • the determining, according to the third display mode, that the output object is a fifth display content displayed on the first display screen and determining that the output object is displayed on the second display screen The display content, wherein the fifth display content and the sixth display content are in a mirror relationship, comprising: adjusting a resolution of the output object according to a resolution of a screen of the first display screen to obtain a fifth display content Performing mirror processing on the fifth display content to obtain a sixth display content, the sixth display content being displayed on the second display screen; filling the fifth display content and the sixth display content to the display buffer a framebuffer; and a display driver for refreshing content in the display buffer Framebuffer to the first display screen and the second display screen.
  • the embodiment further provides a terminal, which may include: an obtaining module, a processing module, and a control module.
  • the obtaining module is configured to obtain a display mode of the terminal selected by the user, and the terminal includes a first display screen and a second display screen.
  • the processing module is configured to determine a display manner of the output object on the first display screen and the second display screen according to the display mode selected by the user of the acquisition module.
  • the control module is configured to display the output object on at least one of the first display screen and the second display screen according to a display manner determined by the processing module.
  • control module may include: a first control unit, a second control unit, and a third control unit.
  • the first control unit is configured to determine that the display mode is the first display mode according to a display mode selected by the user.
  • the second control unit is configured to determine, according to the first display mode, that the output object is the first display content displayed on the first display screen or determine that the output object is displayed on the second display screen Second, the content is displayed.
  • the third control unit is configured to display the first display content on the first display screen, control the second display screen to be in a non-working state, or display the second display content on the second display On the screen, the first display screen is controlled to be in a non-working state.
  • the second control unit may include: a first output subunit, a second filler subunit, and a first cache subunit.
  • the first output subunit is configured to adjust a resolution of the output object according to a resolution of a screen of the first display screen to obtain a first display content, or adjust the output according to a resolution of a screen of the second display screen The resolution of the object gets the second display content.
  • the first padding subunit is configured to fill the first display content or the second display content to a display buffer Framebuffer.
  • the first cache subunit is configured to refresh the content in the display cache Framebuffer to the display driver of the first display screen or the second display screen.
  • control module may include: a fourth control unit, a fifth control unit, and a sixth control unit.
  • the fourth control unit is configured to determine that the display mode is the second display mode according to a display mode selected by the user.
  • the fifth control unit is configured to determine, according to the second display mode, that the first portion of the output object is the third display content displayed on the first display screen and the second portion of the output object is displayed in the The fourth display content of the second display screen.
  • the sixth control unit is configured to display the third display content and the fourth display content on the first display screen and the second display screen, respectively.
  • the second control unit may include: a second output subunit, a second filler subunit, and a second cache subunit.
  • the second output subunit is configured to respectively adjust resolutions of the first portion and the second portion of the output object according to screen resolutions of the first display screen and the second display screen to obtain a third display content and a fourth display content.
  • the second padding subunit is configured to fill the third display content and the fourth display content to the display buffer Framebuffer.
  • the second cache subunit is configured to refresh the content in the display buffer Framebuffer to the display driving of the first display screen and the second display screen.
  • control module may include: a seventh control unit, an eighth control unit, and a ninth control unit.
  • the seventh control unit is configured to determine that the display mode is the third display mode according to the display mode selected by the user.
  • the eighth control unit is configured to determine, according to the third display mode, that the output object is a fifth display content displayed on the first display screen and a sixth display content displayed on the second display screen, where The fifth display content and the sixth display content are in a mirror relationship.
  • the ninth control unit is configured to display the fifth display content on the first display screen and display the sixth display content on the second display screen.
  • the second control unit includes: a third output subunit, a transform subunit, a third filler subunit, and a third cache subunit.
  • the third output subunit is configured to adjust the resolution of the output object according to the resolution of the screen of the first display screen to obtain a fifth display content.
  • the transformation subunit is configured to mirror the fifth display content to obtain a sixth display content, the sixth display content being displayed on the second display screen.
  • the third padding subunit is configured to fill the fifth display content and the sixth display content to the display buffer Framebuffer.
  • the third cache subunit is configured to refresh the content in the display cache Framebuffer to the first display Display driving of the display screen and the second display screen.
  • the embodiment further provides a computer readable storage medium storing computer executable instructions for performing any of the above methods.
  • the embodiment also provides an electronic device including one or more processors, a memory, and one or more programs, the one or more programs being stored in the memory when executed by one or more processors When performing any of the above methods.
  • the embodiment further provides a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer,
  • the computer performs any of the methods described above.
  • the switching display method and terminal of the terminal provided by the embodiment, by acquiring the display mode selected by the user, determining the display manner of the output object on the first display screen and the second display screen, and according to the display mode, The output object is displayed on at least one of the first display screen and the second display screen. Therefore, the problem of display matching and display mode of the first display screen and the second display screen of the terminal in multiple display modes can be solved.
  • FIG. 1 is a flowchart of a method for displaying a handover of a mobile terminal according to this embodiment.
  • FIG. 2 is a flowchart of a first display manner of a method for switching display of a mobile terminal according to the embodiment.
  • FIG. 3 is a flowchart of a second display manner of a method for switching display of a mobile terminal according to the embodiment.
  • FIG. 4 is a flowchart of a third display manner of a method for switching display of a mobile terminal according to the embodiment.
  • FIG. 5 is a schematic structural diagram of a mobile terminal having a dual screen switching display mode according to the embodiment.
  • FIG. 6 is a schematic diagram showing a first display manner of a mobile terminal having a dual screen switching display mode according to the embodiment.
  • FIG. 7 is a schematic diagram showing a second display manner of a mobile terminal having a dual screen switching display mode according to the embodiment.
  • FIG. 8 shows a third display of a mobile terminal having a dual screen switching display mode according to the embodiment. Schematic diagram of the way.
  • FIG. 9 is a schematic diagram showing the general hardware structure of an electronic device according to the embodiment.
  • FIG. 1 is a flowchart of a method for displaying a handover of a terminal according to the embodiment.
  • the method may be applied to a terminal adopting an andriod system, where the terminal may be an intelligent terminal, a mobile terminal, or an intelligent mobile terminal.
  • the terminal may be an intelligent terminal, a mobile terminal, or an intelligent mobile terminal.
  • the following embodiments are described by taking a terminal as a mobile terminal as an example. Those skilled in the art should understand that this is not a limitation on the type of the terminal.
  • the method can include the following steps.
  • step 110 a display mode of the mobile terminal selected by the user is acquired.
  • the mobile terminal may include a first display screen and a second display screen, and the above display mode may be understood as a mode of displaying output objects of the first display screen and the second display screen of the mobile terminal.
  • the display mode of the mobile terminal may be various, such as a first display mode, a second display mode, and a third display mode, wherein the first display mode may be a single screen mode, the second display mode may be a large screen mode, and the third The display mode can be mirror mode.
  • the so-called single-screen mode may refer to selecting a first display screen and a second display screen of the mobile terminal to display an output object while the other display screen is in a standby or hibernation display mode.
  • the so-called large screen mode may refer to a display mode in which the first display screen and the second display screen of the mobile terminal display an output object.
  • the mirror mode may refer to that the first display screen and the second display screen of the mobile terminal selectively display an output object, and the other display screen displays a display mode of the output object of the output object image conversion.
  • step 120 the first display screen and the second display screen are determined to display the display manner of the output object according to the display mode selected by the user.
  • the display manner is changed according to different display modes selected by the user, including the first display mode, the second display mode, and the third display mode. That is, different display modes correspond to different display modes.
  • each display mode corresponds to a display mode of the display screen.
  • the mobile terminal may include a processor, and the processor may display the plurality of display modes corresponding to the display screen on the first display screen or the second display screen to be presented to the user.
  • the user selects a display mode according to the needs.
  • the processor determines a display mode corresponding to the selected display mode according to a display mode selected by the user.
  • the user selects the single screen mode, determining that the display manner of the first display screen and the second display is that the first display content of the output object is displayed on the first display screen, controlling the second display screen to be in a non-working state; or outputting The second display content of the object is displayed on the second display screen to control the first display screen to be in a non-working state.
  • determining that the display mode of the first display screen and the second display is a part of the output object is displayed as the third display content on the first display screen, and another part of the output object is displayed as the fourth display content. On the second display.
  • the output object is divided into a first part and a second part.
  • the first part of the output object is determined to be displayed on the first display screen as the third display content, and the second part of the output object is used as the fourth part.
  • the display content is displayed on the second display.
  • the user selects the mirror mode, determining that the display manner of the first display screen and the second display is that the fifth display content of the output object is displayed on the first display screen, and the sixth display content obtained by mirroring the fifth display content image Displayed on the second display.
  • step 130 the output object is displayed on the first display screen and/or the second display screen according to the determined display manners of the first display screen and the second display screen.
  • the above output object may be a video, a picture, a text, or the like.
  • the architecture of the Android mobile terminal cannot support three display modes, and the mobile terminal needs to be re-initialized to execute.
  • the display content of the Android system can be provided by a display buffer (Framebuffer), and usually one display screen corresponds to a display buffer (Framebuffer). If dual-screen display is implemented, two display buffers (Framebuffer) can be used, or two display screens adopt a Framebuffer.
  • the Android framework is responsible for preparing the displayed content, and after synthesis, finally obtains the final display content through the display buffer (Framebuffer).
  • the mobile terminal uses two display buffers (Framebuffer).
  • the display content of the Android system needs to independently layout the two display buffers (Framebuffer) and draw them separately. For general-purpose applications using the Android system, layout should be based on the Dots Per Inch (DPI) display resolution. After the resolution is determined, the system performs the layout of the display interface according to the resolution. The larger the resolution, the larger the display buffer capacity.
  • DPI Dots Per Inch
  • the correspondence between display mode and resolution may include: single screen mode: the system is directly set to the resolution of one display screen, only the content of one display screen is updated, and the other display screen is in a sleep or power off state, thereby saving power consumption.
  • Large screen mode the superposition of the physical resolution of the two displays, the system draws according to the normal drawing process.
  • the mirror mode the system is set to the resolution of one display, and the display content of the other display screen needs to perform coordinate transformation or symmetric transformation on the content displayed on the current display screen.
  • the two display screens are mapped into a display buffer (Framebuffer), and the visible area of the window is adjusted by adjusting the resolution of the display to complete the switching of multiple display modes. Dynamically switch screen resolution to achieve multiple display mode switching.
  • the WM (window manger) command is provided by the window provided by Android, so that the terminal can perform switching of multiple display modes.
  • the WM command can adjust the resolution of the terminal using the Android system, and the WM command can lower the display resolution of the terminal to make the display window of the terminal switch from high resolution to low resolution.
  • the display window of the terminal is in a high resolution state, the displayed image is centered in the terminal display window, and the window area not covered by the image displays black or other background color, when the window is switched from high resolution to low resolution state.
  • the WM command changes the resolution of the terminal window, so that the display mode of the image can be changed, in which, for example, the image is displayed in the upper left corner of the terminal display window.
  • the display mode of the mobile terminal and the display mode of the first display screen and the second display screen of the mobile terminal are determined, the output object of the mobile terminal is displayed in the first On the display screen and/or the second display screen, the switching display process of the mobile terminal is completed.
  • the first display screen and the second display screen are used to display the display manner of the output object by acquiring the display mode selected by the user, and the output object is displayed on the first display screen and/or the second display.
  • the display screen solves the problem of display matching and display mode of the first display screen and the second display screen of the mobile terminal in different display modes.
  • this embodiment provides a flowchart of a first display manner of a handover display method of a mobile terminal. As shown in FIG. 2, the method may include the following steps.
  • step 201 the display manners of the first display screen and the second display screen are determined to be the first display mode according to the display mode selected by the user.
  • the mobile terminal may include a first display screen and a second display screen, and the first display screen and the second display screen are displayed in a first display mode, that is, a single screen display mode.
  • the first display screen and the second display screen respectively display the output content of the mobile terminal, and the other display screen is in a non-working state.
  • step 202 determining, according to the first display mode, the first display content displayed on the first display screen by the output object or determining the second display content displayed on the second display screen by the output object.
  • step 203 displaying the first display content on the first display screen, and controlling the The second display screen is in an inactive state, or the second display content is displayed on the second display screen to control the first display screen to be in a non-operation state.
  • step 202 may include the following steps.
  • step 2021 the resolution of the output object is adjusted according to the resolution of the screen of the first display screen to obtain a first display content, or the output object is adjusted according to the resolution of the screen of the second display screen.
  • the resolution gets the second display content.
  • step 2022 the first display content or the second display content is filled into a display cache Framebuffer.
  • step 2023 the content in the display buffer (Framebuffer) is flushed to the display drive of the first display screen or the second display screen.
  • FIG. 6 a schematic diagram of a first display manner of a mobile terminal having a dual screen switching display mode is provided in this embodiment.
  • a single display screen having a physical resolution of 720 ⁇ 1080 is taken as an example.
  • any one of the first display screen and the second display screen in a working state.
  • the other piece is in a non-working state.
  • the first display screen in an active state and the second display screen is in a non-operational state.
  • the mobile terminal is powered on, and the drive loading and display buffer (Framebuffer) mapping of the first display screen and the second display screen are completed.
  • the size of the display buffer (Framebuffer) is a superposition of the physical resolutions of the first display screen and the second display screen, that is, 1080 ⁇ 720 ⁇ 2.
  • the Java layer service of the mobile terminal Android system is started. After the WM command is started, the display of the mobile terminal adopting the Android system can be controlled by the window manager, and the display mode can be switched according to the user operation and setting.
  • the display buffer corresponds to an area in the memory of the mobile terminal, in which data for image display is stored.
  • the screen resolution of the display screen of the mobile terminal may refer to the number of pixels in the horizontal direction, the unit is px, and 1px represents 1 pixel, which is generally represented by a vertical pixel ⁇ a horizontal pixel.
  • the pixel density of the display can refer to the number of pixels per inch in dpi.
  • the pixel density of the display is related to the screen size and screen resolution. Under a single change condition, for example, if the pixel density of the display is constant, the smaller the size of the display, the higher the resolution of the display. With the same size of the display, the higher the pixel density of the display, the smaller the resolution of the display.
  • the mobile terminal calculates the pixel number dpi per inch according to the screen resolution of different display screens.
  • the Android display system performs layout according to the set resolution. The resolution setting is completed.
  • the display area size of the mobile terminal changes, for example, the video is being played. Frequency, the visible area of the video has changed (reduced or enlarged), the display system will redistribute the range of the display that needs to be output according to the size of the new visible area, then render and complete the processing.
  • the WM command sets the display resolution to 1080 ⁇ 720, the first display screen and the second display screen have only one work, and the other display screen is in low power consumption or power down. Status, the display buffer corresponding to the non-working status display (Framebuffer) is not refreshed.
  • the display modes of the first display screen and the second display screen may be separately controlled by the same processor.
  • another display screen may be in a non-operating state with low power consumption, and the so-called low power consumption may mean that some components in the mobile terminal are not working.
  • the processor in an active state, and the remaining components are in a standby state, and when receiving a work instruction from the processor, switching from the standby state to the normal working state.
  • the other display screen may also be in a non-operating state that is powered down.
  • the so-called power-down may mean that all components in the mobile terminal are in a power-off state.
  • FIG. 3 is a flowchart of a second display manner of a method for switching display of a mobile terminal according to the present embodiment. As shown in FIG. 3, the method includes the following steps.
  • step 301 the display manner of the first display screen and the second display screen is determined to be the second display mode according to the display mode selected by the user.
  • the mobile terminal includes a first display screen and a second display screen, and the first display screen and the second display screen are displayed in a second display mode, that is, a large screen display mode, and the first display of the mobile terminal
  • the screen and the second display screen display a display mode of an output object.
  • step 302 according to the second display mode, determining that the output object is respectively displayed on the third display content of the first display screen and the fourth display content displayed on the second display screen.
  • step 303 the third display content is displayed on the first display screen, and the fourth display content is displayed on the second display screen.
  • the step 302 can be divided into the following steps.
  • step 3021 the resolution of the output object is adjusted according to the resolutions of the first display screen and the second display screen to obtain a third display content and a fourth display content.
  • step 3022 the third display content and the fourth display content are filled into a display buffer (Framebuffer).
  • step 3023 the content in the display buffer (Framebuffer) is flushed to the first display screen. Display driving with the second display screen.
  • FIG. 7 a schematic diagram of a second display manner of a mobile terminal having a dual screen switching display mode is provided in this embodiment.
  • a display screen having a physical resolution of 720 ⁇ 1080 is taken as an example.
  • the first display screen and the second display screen display a display mode of an output object.
  • the mobile terminal is powered on, and the drive loading and display buffer (Framebuffer) mapping of the first display screen and the second display screen are completed.
  • the size of the display buffer (Framebuffer) is a superposition of two physical resolutions, that is, 1080 ⁇ 720 ⁇ 2.
  • the WM command setting display resolution of the mobile terminal is 1080*720*2
  • the system adjusts the display and layout of the first display screen and the second display screen according to the set resolution.
  • the application selects the appropriate interface layout to complete the switching of the large screen mode according to the newly set resolution.
  • FIG. 4 is a flowchart of a third display manner of a method for switching display of a mobile terminal according to the embodiment. As shown in FIG. 4, the method may include the following steps. .
  • step 401 the display manner of the first display screen and the second display screen is determined to be the third display mode according to the display mode selected by the user.
  • the mobile terminal includes a first display screen and a second display screen, and the first display screen and the second display screen are displayed in a third display mode, that is, a mirror display mode, and the first display screen and the second display screen of the mobile terminal
  • the display object is displayed alternately, and the other display screen displays the display mode of the output object of the output object image transformation.
  • step 402 determining, according to the third display mode, that the output object is displayed on the fifth display content of the first display screen and determining that the output object is displayed on the second display content of the second display screen.
  • the fifth display content and the sixth display content are in a mirror relationship.
  • step 403 the fifth display content is displayed on the first display screen, and the sixth display content is displayed on the second display screen.
  • the step 402 can be divided into the following steps.
  • step 4021 the resolution of the output object is adjusted according to the first display screen resolution to obtain a fifth display content.
  • step 4022 the fifth display content is mirrored to obtain a sixth display content, and the sixth display content is displayed on the second display screen.
  • step 4023 the fifth display content and the sixth display content are filled into a display buffer (Framebuffer).
  • step 4024 the content in the display buffer (Framebuffer) is flushed to the display drive of the first display screen and the second display screen.
  • FIG. 8 is a schematic diagram of a third display manner of a mobile terminal having a dual screen switching display mode according to an embodiment of the present disclosure.
  • a display screen with a physical resolution of 720 ⁇ 1080 is taken as an example.
  • the first display screen and the second display screen respectively display an output object, and the other The display screen displays the display mode of the output object of the output object image transformation.
  • the WM command of the mobile terminal sets the display resolution to 1080 ⁇ 720, and the first display screen and the second display screen of the mobile terminal selectively display the output object, and the other display screen displays
  • the output object mirrored the output object fills the display content into a display buffer (Framebuffer), and refreshes the content in the display buffer (Framebuffer) to the display driving of the first display screen and the second display screen.
  • FIG. 5 is a schematic structural diagram of a mobile terminal having a dual-screen switching display mode according to the embodiment.
  • the terminal may include: an obtaining module 501, a processing module 502, and a control module 503.
  • the obtaining module 501 is configured to acquire a display mode of the mobile terminal selected by the user.
  • the processing module 502 is configured to determine, according to the display mode selected by the user in the obtaining module 501, the first display screen 5041 and the second display screen 5042 to display a display manner of the output object.
  • the control module 503 is configured to display the output object on the first display screen 5041 and/or second according to the display manners of the first display screen 5041 and the second display screen 5042 determined in the processing module 502. Display screen 5042.
  • the obtaining module 501 acquires a display mode in which the user selects the mobile terminal, and the obtaining module 501 can be designed as three buttons for operation.
  • the processing module 502 determines, according to the display mode selected by the user in the obtaining module 501, the first display screen 5041 and the second display screen 5042 to display the display manner of the output object.
  • the control module 503 displays the output object on the first display screen 5041 and/or the second according to the display manners of the first display screen 5041 and the second display screen 5042 determined in the processing module 502. Display screen 5042.
  • control module 502 may include: a first control unit, a second control unit, and a Three control units.
  • the first control unit is configured to determine, according to the display mode selected by the user, that the display manners of the first display screen and the second display screen are the first display manner.
  • the second control unit is configured to determine, according to the first display manner, the processing module to display the first display content on the first display screen or to determine that the output object is displayed on the second display screen The second display content.
  • the third control unit is configured to display the first display content on the first display screen, control the second display screen to be in a non-working state, or display the second display content on the second display On the screen, the first display screen is controlled to be in a non-working state.
  • the second control unit may include: a first output subunit, a first filler subunit, and a first cache subunit.
  • the first output subunit is configured to adjust a resolution of the output object according to a resolution of a screen of the first display screen to obtain a first display content, or adjust the output according to a resolution of a screen of the second display screen The resolution of the object gets the second display content.
  • the first padding subunit is configured to fill the first display content or the second display content to a display buffer (Framebuffer).
  • the first cache subunit is configured to refresh the content in the display buffer (Framebuffer) to the display drive of the first display screen or the second display screen.
  • control module may include: a fourth control unit, a fifth control unit, and a sixth control unit.
  • the fourth control unit is configured to determine, according to the display mode selected by the user, that the display manners of the first display screen and the second display screen are the second display manner.
  • the fifth control unit is configured to determine, according to the second display mode, that a portion of the output object is displayed on the third display content of the first display screen and another portion of the output object is displayed on the second display screen The fourth display content.
  • the sixth control unit is configured to display the third display content on the first display screen and display the fourth display content on the second display screen.
  • the second control unit includes: a second output subunit, a second filler subunit, and a second cache subunit.
  • the second output subunit is configured to adjust the resolution of the output object according to the resolutions of the first display screen and the second display screen to obtain a third display content and a fourth display content.
  • a second filling subunit configured to fill the third display content and the fourth display content to display Cache (Framebuffer).
  • the second cache subunit is configured to refresh the content in the display buffer (Framebuffer) to the display driving of the first display screen and the second display screen.
  • control module includes: a seventh control unit, an eighth control unit, and a ninth control unit.
  • the seventh control unit is configured to determine, according to the display mode selected by the user, that the display manners of the first display screen and the second display screen are the third display manner.
  • the eighth control unit is configured to determine, according to the third display mode, that the output object is displayed on the fifth display content of the first display screen and determine that the output object is displayed on the sixth display of the second display screen Content, wherein the fifth display content and the sixth display content are in a mirror relationship.
  • the ninth control unit is configured to display the fifth display content on the first display screen and display the sixth display content on the second display screen.
  • the second control unit includes: a third output subunit, a transform subunit, a third filler subunit, and a third cache subunit.
  • the third output subunit is configured to adjust the resolution of the output object according to the first display screen resolution to obtain a fifth display content.
  • the transformation subunit is configured to mirror the fifth display content to obtain a sixth display content, the sixth display content being displayed on the second display screen.
  • the third padding subunit is configured to fill the fifth display content and the sixth display content to a display buffer (Framebuffer).
  • the third cache subunit is configured to refresh the content in the display buffer (Framebuffer) to the display driving of the first display screen and the second display screen.
  • the embodiment further provides a computer readable storage medium storing computer executable instructions for performing the above method.
  • FIG. 9 is a schematic diagram of a general hardware structure of an electronic device according to the embodiment.
  • the electronic device includes: one or more processors 610 and a memory 620.
  • One processor 610 is taken as an example in FIG.
  • the electronic device may further include: an input device 630 and an output device 640.
  • the processor 610, the memory 620, the input device 630, and the output device 640 in the electronic device may be connected by a bus or other means, and the bus connection is taken as an example in FIG.
  • the input device 630 can receive input numeric or character information
  • the output device 640 can include a display device such as a display screen.
  • the memory 620 is a computer readable storage medium that can be used to store software programs, computer executable programs, and modules.
  • the processor 610 performs various functional applications and data processing by executing software programs, instructions, and modules stored in the memory 620 to implement any of the above embodiments.
  • the memory 620 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the electronic device, and the like.
  • the memory may include volatile memory such as random access memory (RAM), and may also include non-volatile memory such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
  • Memory 620 can be a non-transitory computer storage medium or a transitory computer storage medium.
  • the non-transitory computer storage medium such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • memory 620 can optionally include memory remotely located relative to processor 610, which can be connected to the electronic device over a network. Examples of the above networks may include the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • Input device 630 can be used to receive input digital or character information and to generate key signal inputs related to user settings and function controls of the electronic device.
  • Output device 440 can include a display device such as a display screen.
  • the program when executed, may include a flow of an embodiment of the method described above, wherein the computer readable storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory. (RAM), etc.
  • the computer readable storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory. (RAM), etc.
  • the present disclosure provides a method and a terminal for switching display of a terminal, which can realize display switching of the dual-screen display of the terminal, and solve the problem of display cooperation and display mode of the first display screen and the second display screen of the terminal in multiple display modes.

Landscapes

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

Abstract

一种终端的切换显示方法及终端,所述切换显示方法包括:获取用户选择的所述终端的显示模式,所述终端包括第一显示屏和第二显示屏;根据用户选择的显示模式,确定所述输出对象在第一显示屏和第二显示屏上的显示方式;以及,根据确定的所述显示方式,将所述输出对象显示在所述第一显示屏和第二显示屏中的至少一个上。

Description

终端的切换显示方法及终端 技术领域
本公开涉及通信技术领域,例如涉及一种终端的切换显示方法及终端。
背景技术
随着通信技术不断发展和日益成熟,在日益普及的通信设备中,例如在智能显示终端(例如移动终端、智能电视)中软件功能应用越来越丰富,用户的个性化需求越来越多。
在终端双屏显示技术中,通常两显示屏显示的内容各有侧重,对显示效果的要求不同,两个显示屏的分辨率也不同,但是,双屏显示方法不支持两个显示屏同时显示(即两个显示屏只能使用一个)。
发明内容
本公开提供了一种终端的切换显示方法,及使用该切换显示方法的终端,以解决终端的第一显示屏与第二显示屏在各自显示模式下的显示配合及显示方式问题。
本实施例提供了一种终端的切换显示方法,可以包括:获取用户选择的所述终端的显示模式,所述终端包括第一显示屏和第二显示屏;根据用户选择的显示模式,确定输出对象在所述第一显示屏和第二显示屏上的显示方式;以及根据确定的所述显示方式,将所述输出对象显示在所述第一显示屏和第二显示屏中的至少一个上。
可选地,所述终端可以为移动终端。
可选地,所述根据确定的所述的显示方式,将所述输出对象显示在所述第一显示屏和第二显示屏中的至少一个上,可以包括:根据用户选择的显示模式,确定所述显示方式为第一显示方式;根据所述第一显示方式,确定所述输出对象为显示在所述第一显示屏上的第一显示内容或确定所述输出对象显示在第二显示屏上的第二显示内容;以及将所述第一显示内容显示在所述第一显示屏上,控制所述第二显示屏处于非工作状态,或者将所述第二显示内容显示在所述第二显示屏上,控制所述第一显示屏处于非工作状态。
可选地,所述根据所述第一显示方式,确定所述输出对象为显示在所述第 一显示屏上的第一显示内容或确定所述输出对象为显示在第二显示屏上的第二显示内容,可以包括:根据所述第一显示屏的屏幕的分辨率调整所述输出对象的分辨率得到第一显示内容,或者根据所述第二显示屏的屏幕的分辨率调整所述输出对象的分辨率得到第二显示内容;填充所述第一显示内容或所述第二显示内容到显示缓存Framebuffer;以及将显示缓存Framebuffer中内容刷新到所述第一显示屏或所述第二显示屏的显示驱动。
可选地,根据确定的所述显示方式,将所述输出对象显示在所述第一显示屏和第二显示屏中的至少一个上,可以包括:根据用户选择的显示模式,确定所述显示方式为第二显示方式;根据所述第二显示方式,确定所述输出对象的第一部分为显示在所述第一显示屏的第三显示内容和所述输出对象的第二部分为显示在所述第二显示屏的第四显示内容;以及分别将所述第三显示内容和第四显示内容显示在所述第一显示屏上和所述第二显示屏上。
可选地,所述根据所述第二显示方式,确定所述输出对象的第一部分为显示在所述第一显示屏的第三显示内容和第二部分为显示在所述第二显示屏的第四显示内容,可以包括:根据所述第一显示屏和第二显示屏的屏幕的分辨率,分别调整所述输出对象的第一部分和第二部分的分辨率,得到第三显示内容和第四显示内容;填充所述第三显示内容和所述第四显示内容到显示缓存Framebuffer;以及将显示缓存Framebuffer中内容刷新到所述第一显示屏与所述第二显示屏的显示驱动。
可选地,根据确定的所述显示方式,将所述输出对象显示在所述第一显示屏和第二显示屏中的至少一个上,可以包括:根据用户选择的显示模式,确定所述显示方式为第三显示方式;根据所述第三显示方式,确定所述输出对象为显示在所述第一显示屏的第五显示内容和确定所述输出对象为显示在所述第二显示屏的第六显示内容,其中,所述第五显示内容和所述第六显示内容为镜像关系;以及分别将所述第五显示内容和第六显示内容显示在所述第一显示屏上和所述第二显示屏上。
可选地,所述根据所述第三显示方式,确定所述输出对象为显示在所述第一显示屏的第五显示内容和确定所述输出对象为显示在所述第二显示屏的第六显示内容,其中,所述第五显示内容和所述第六显示内容为镜像关系,包括:根据所述第一显示屏的屏幕的分辨率调整所述输出对象的分辨率得到第五显示内容;对第五显示内容进行镜像处理得到第六显示内容,所述第六显示内容显示在第二显示屏;填充所述第五显示内容和所述第六显示内容到显示缓存 Framebuffer;以及将显示缓存Framebuffer中内容刷新到所述第一显示屏与所述第二显示屏的显示驱动。
本实施例还提供了一种终端,可以包括:获取模块、处理模块和控制模块。
获取模块设置为获取用户选择的所述终端的显示模式,所述终端包括第一显示屏和第二显示屏。
处理模块设置为根据所述获取模块用户选择的显示模式,确定输出对象在所述第一显示屏和第二显示屏上的显示方式。
控制模块设置为根据所述处理模块确定的显示方式,将所述输出对象显示在所述第一显示屏和第二显示屏中的至少一个上。
可选地,所述控制模块可以包括:第一控制单元、第二控制单元和第三控制单元。
第一控制单元设置为根据用户选择的显示模式,确定所述显示方式为第一显示方式。
第二控制单元设置为根据所述第一显示方式,确定所述输出对象为显示在所述第一显示屏上的第一显示内容或确定所述输出对象为显示在第二显示屏上的第二显示内容。
第三控制单元设置为将所述第一显示内容显示在所述第一显示屏上,控制所述第二显示屏处于非工作状态,或者将所述第二显示内容显示在所述第二显示屏上,控制所述第一显示屏处于非工作状态。
可选地,所述第二控制单元可以包括:第一输出子单元、第二填充子单元和第一缓存子单元。
第一输出子单元设置为根据所述第一显示屏的屏幕的分辨率调整所述输出对象的分辨率得到第一显示内容,或者根据所述第二显示屏的屏幕的分辨率调整所述输出对象的分辨率得到第二显示内容。
第一填充子单元设置为填充所述第一显示内容或所述第二显示内容到显示缓存Framebuffer。
第一缓存子单元设置为将显示缓存Framebuffer中内容刷新到所述第一显示屏或所述第二显示屏的显示驱动。
可选地,所述控制模块可以包括:第四控制单元、第五控制单元和第六控制单元。
第四控制单元设置为根据用户选择的显示模式,确定所述显示方式为第二显示方式。
第五控制单元设置为根据所述第二显示方式,确定所述输出对象的第一部分为显示在所述第一显示屏的第三显示内容和所述输出对象的第二部分为显示在所述第二显示屏的第四显示内容。
第六控制单元设置为分别将所述第三显示内容和第四显示内容显示在所述第一显示屏上和所述第二显示屏上。
可选地,所述第二控制单元可以包括:第二输出子单元、第二填充子单元和第二缓存子单元。
第二输出子单元设置为根据所述第一显示屏和第二显示屏的屏幕分辨率,分别调整所述输出对象的第一部分和第二部分的分辨率,得到第三显示内容和第四显示内容。
第二填充子单元设置为填充所述第三显示内容和所述第四显示内容到显示缓存Framebuffer。
第二缓存子单元设置为将显示缓存Framebuffer中内容刷新到所述第一显示屏与所述第二显示屏的显示驱动。
可选地,所述控制模块可以包括:第七控制单元、第八控制单元和第九控制单元。
第七控制单元设置为根据用户选择的显示模式,确定所述显示方式为第三显示方式。
第八控制单元设置为根据所述第三显示方式,确定所述输出对象为显示在所述第一显示屏的第五显示内容和显示在所述第二显示屏的第六显示内容,其中,所述第五显示内容和所述第六显示内容为镜像关系。
第九控制单元设置为将所述第五显示内容显示在所述第一显示屏上,以及将所述第六显示内容显示在所述第二显示屏上。
可选地,所述第二控制单元包括:第三输出子单元、变换子单元、第三填充子单元和第三缓存子单元。
第三输出子单元设置为根据所述第一显示屏的屏幕的分辨率调整所述输出对象的分辨率得到第五显示内容。
变换子单元设置为对第五显示内容进行镜像处理得到第六显示内容,所述第六显示内容显示在第二显示屏。
第三填充子单元设置为填充所述第五显示内容和所述第六显示内容到显示缓存Framebuffer。
第三缓存子单元设置为将显示缓存Framebuffer中的内容刷新到所述第一显 示屏与所述第二显示屏的显示驱动。
本实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任意一种方法。
本实施例还提供一种电子设备,该电子设备包括一个或多个处理器、存储器以及一个或多个程序,所述一个或多个程序存储在存储器中,当被一个或多个处理器执行时,执行上述任意一种方法。
本实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任意一种方法。
本实施例提供的终端的切换显示方法及终端,通过获取用户选择的显示模式,确定输出对象在所述第一显示屏和第二显示屏上的显示方式,并根据该显示方式,将所述输出对象显示在所述第一显示屏和第二显示屏中的至少一个上。从而可以解决终端的第一显示屏与第二显示屏在多种显示模式下的显示配合及显示方式问题。
附图说明
为了更清楚地说明本实施例的技术方案,下面将对本实施例描述中所需要使用的附图作简单地介绍。
图1表示本实施例提供的一种移动终端的切换显示方法的流程图。
图2表示本实施例提供的一种移动终端的切换显示方法的第一显示方式流程图。
图3表示本实施例提供的一种移动终端的切换显示方法的第二显示方式流程图。
图4表示本实施例提供的一种移动终端的切换显示方法的第三显示方式流程图。
图5表示本实施例提供的一种具有双屏切换显示模式的移动终端的结构示意图。
图6表示本实施例提供的一种具有双屏切换显示模式的移动终端的第一显示方式示意图。
图7表示本实施例提供的一种具有双屏切换显示模式的移动终端的第二显示方式示意图。
图8表示本实施例提供的一种具有双屏切换显示模式的移动终端的第三显 示方式示意图。
图9表示本实施例提供的一种电子设备的通用硬件结构示意图。
具体实施方式
下面将结合本实施例中的附图,对本实施例中的技术方案进行清楚、完整地描述。所描述的实施例是本公开的一部分实施例,而不是全部的实施例。在不冲突的情况下,以下实施例以及实施例中的技术方案可以相互结合。
第一实施例
参见图1,图1是本实施例提供的一种终端的切换显示方法的流程图,该方法可应用在采用andriod系统的终端中,该终端可以是智能终端、移动终端或者智能移动终端。以下实施例以终端为移动终端为例进行说明,本领域技术人员应该理解,此并非对终端类型的限定。如图1所示,该方法可以包括以下步骤。
在步骤110中,获取用户选择的所述移动终端的显示模式。
移动终端可以包括第一显示屏和第二显示屏,上述显示模式可以理解为移动终端的第一显示屏与第二显示屏的显示输出对象的模式。移动终端的显示模式可以有多种,例如第一显示模式,第二显示模式和第三显示模式,其中,第一显示模式可以是单屏模式,第二显示模式可以是大屏模式,第三显示模式可以是镜像模式。
所谓单屏模式可以是指择一选择移动终端的第一显示屏与第二显示屏,以显示输出对象,同时另一显示屏处于待机或者休眠的显示模式。所谓大屏模式可以是指移动终端的第一显示屏与第二显示屏组合显示一个输出对象的显示模式。所谓镜像模式可以是指移动终端的第一显示屏与第二显示屏择一显示输出对象,另一显示屏显示所述输出对象镜像变换的输出对象的显示模式。
在步骤120中,根据用户选择的显示模式,确定所述第一显示屏和第二显示屏用于显示输出对象的显示方式。
上述显示方式依据用户选择的显示模式的不同而作相应改变,包括第一显示方式、第二显示方式与第三显示方式。即不同的显示模式对应不同的显示方式。在本实施例中,每一种显示模式对应一种显示屏的显示方式。
可选地,移动终端可以包括处理器,该处理器可以将显示屏对应的多种显示模式显示在第一显示屏或第二显示屏上,以呈现给用户。用户根据需求选择一种显示模式。处理器根据用户选择的显示模式,确定与该选择的显示模式对应的显示方式。
若用户选择单屏模式,则确定第一显示屏和第二显示的显示方式为输出对象的第一显示内容显示在所述第一显示屏上,控制第二显示屏处于非工作状态;或者输出对象的第二显示内容显示在第二显示屏上,控制第一显示屏处于非工作状态。
若用户选择大屏模式,则确定第一显示屏和第二显示的显示方式为输出对象的一部分作为第三显示内容显示在第一显示屏,输出对象的另一部分作为第四显示内容显示在第二显示屏上。
可选地,将输出对象分为第一部分和第二部分,在大屏模式下,确定输出对象的第一部分作为第三显示内容显示在第一显示屏上,输出对象的第二部分作为第四显示内容显示在第二显示屏上。
若用户选择镜像模式,则确定第一显示屏和第二显示的显示方式为输出对象的第五显示内容显示在所述第一显示屏上,所述第五显示内容镜像得到的第六显示内容显示在第二显示屏上。
在步骤130中,根据确定的所述第一显示屏和第二显示屏的显示方式,将所述输出对象显示在所述第一显示屏和/或第二显示屏。
上述输出对象可以是视频、图片、文本等。
Android移动终端的架构无法支持三种显示模式,需要对移动终端重新初始化才能执行。
Android系统的显示内容可以通过显示缓存(Framebuffer)提供,通常一块显示屏对应一个显示缓存(Framebuffer)。如果实现双屏显示,可以采用两个显示缓存(Framebuffer),或者两块显示屏采用一个Framebuffer,Android框架负责准备显示的内容,并经过合成,最终通过显示缓存(Framebuffer)得到最终的显示内容。移动终端使用两个显示缓存(Framebuffer),Android系统的显示内容需要对两个显示缓存(Framebuffer)进行独立布局,单独绘制。对于通用的使用Android系统的应用来说,应根据每英寸的像素(Dots Per Inch,DPI)显示分辨率进行布局。分辨率确定之后,系统根据分辨率进行显示界面的布局,分辨率越大,显示缓存的容量越大。
显示模式与分辨率的对应关系可以包括:单屏模式:系统直接设置成一个显示屏的分辨率,只更新一个显示屏的内容,另一个显示屏处于休眠或者断电状态,节省功耗。大屏模式,两个显示屏的物理分辨率的叠加,系统按照正常的绘制流程绘制。镜像模式,系统设置成一个显示屏的分辨率,另外一个显示屏的显示内容,需要将当前显示屏显示的内容进行坐标变换或者对称变换。
本实施例中,移动终端开机之后,将两个显示屏映射成一个显示缓存(Framebuffer),通过调整显示的分辨率进行窗口可视区域的调整,完成多种显示模式的切换。动态的切换屏幕分辨率,够实现多个显示模式切换。
本实施例通过Android自带的窗口管理WM(window Manger)命令使得终端可以进行多种显示模式的切换。WM命令可对采用Android系统的终端的分辨率进行调整,WM命令可以将终端高显示分辨率调低,使得终端的显示窗口从高分辨率切换到低分辨率状态。在终端的显示窗口处于高分辨率状态时,被显示的图像在终端显示窗口内居中显示,未被图像覆盖的窗口区域显示黑色或其他背景颜色,当窗口从高分辨率切换到低分辨率状态时,WM命令改变了终端窗口的分辨率,从而可以改变图像的显示方式,在该低分辨率状态下,例如,图像在终端显示窗口的左上角显示。屏幕进行旋转之后,存在坐标变换的问题,需要修改坐标变换的对应关系,根据旋转方向进行调整。本实施例中,移动终端的切换显示过程中,在确定了移动终端的显示模式及所述移动终端的第一显示屏和第二显示屏的显示方式后,移动终端的输出对象显示在第一显示屏和/或第二显示屏上,完成了移动终端的切换显示过程。
本实施例通过获取用户选择的显示模式,确定所述第一显示屏和第二显示屏用于显示输出对象的显示方式,将所述输出对象显示在所述第一显示屏和/或第二显示屏,解决了移动终端的第一显示屏与第二显示屏在不同显示模式下的显示配合及显示方式问题。
第二实施例
在上述第一实施例的基础上,参见图2,本实施例提供一种移动终端的切换显示方法的第一显示方式流程图,如图2所示,该方法可以包括以下步骤。
在步骤201中,根据用户选择的显示模式确定所述第一显示屏和第二显示屏的显示方式为第一显示方式。
本实施例中,移动终端可以包括第一显示屏和第二显示屏,所述第一显示屏和第二显示屏的显示方式为第一显示方式,即单屏显示模式。所述第一显示屏与第二显示屏为择一显示移动终端输出内容,另一显示屏为非工作状态。
在步骤202中,根据所述第一显示方式,确定所述输出对象显示在所述第一显示屏上的第一显示内容或确定所述输出对象显示在第二显示屏上的第二显示内容。
在步骤203中,将所述第一显示内容显示在所述第一显示屏上,控制所述 第二显示屏处于非工作状态,或者将所述第二显示内容显示在所述第二显示屏上,控制所述第一显示屏处于非工作状态。
其中,步骤202可以包括如下步骤。
在步骤2021中,根据所述第一显示屏的屏幕的分辨率调整所述输出对象的分辨率得到第一显示内容,或者根据所述第二显示屏的屏幕的分辨率调整所述输出对象的分辨率得到第二显示内容。
在步骤2022中,填充所述第一显示内容或所述第二显示内容到显示缓存Framebuffer。
在步骤2023中,将显示缓存(Framebuffer)中内容刷新到所述第一显示屏或所述第二显示屏的显示驱动。
如图6所示,本实施例提供的一种具有双屏切换显示模式的移动终端的第一显示方式示意图。
图6中,以单个屏幕物理分辨率为720×1080的显示屏为例,本实施例中,移动终端在第一显示方式下,第一显示屏与第二显示屏中的任意一块处于工作状态,另外一块处于非工作状态。例如,在图6中,在该第一显示方式下,第一显示屏处于工作状态,第二显示屏处于非工作状态。
移动终端开机,完成第一显示屏和第二显示屏的驱动加载及显示缓存(Framebuffer)映射。此处,显示缓存(Framebuffer)的大小为第一显示屏和第二显示屏的物理分辨率的叠加,即1080×720×2。移动终端Android系统的Java层服务启动,WM命令启动后,采用Android系统的移动终端的显示可以由窗口管理器控制,可以根据用户操作与设置进行显示模式的切换。
可选地,显示缓存(Framebuffer)对应移动终端内存中的一块区域,在该区域中,存储有用于图像显示的数据。
其中,移动终端显示屏的屏幕分辨率可以是指在横纵向上的像素点数,单位为px,1px表示1个像素点,一般以纵向像素×横向像素表示。显示屏的像素密度可以是指每英寸上的像素点数,单位是dpi。显示屏的像素密度与屏幕尺寸和屏幕分辨率有关,在单一变化条件下,例如,在显示屏的像素密度不变的情况下,显示屏的尺寸越小、则显示屏的分辨率越高。在显示屏的尺寸不变的情况下,显示屏的像素密度越大,则显示屏的分辨率越小。
移动终端根据不同显示屏的屏幕分辨率,计算每英寸上的像素点数dpi,以安卓Android系统为例,Android的显示系统按照设置的分辨率进行布局。分辨率设置完成,对不同应用来说,移动终端的显示区域大小发生变化,比如正在播放视 频,视频的可视区域发生了改变(缩小或者放大),显示系统会根据新的可视区域的大小,重新分布显示需要输出绘制的范围,然后进行渲染,并完成处理。
针对第一显示方式,即单屏模式下,WM命令设置显示分辨率为1080×720,第一显示屏和第二显示屏只有一个工作,另外一个显示屏处于低功耗或者掉电的非工作状态,非工作状态显示屏对应的显示缓存(Framebuffer)不刷新。
可选地,可以通过同一个处理器分别控制第一显示屏和第二显示屏的显示模式。
可选地,另外一个显示屏可以是处于低功耗的非工作状态,所谓低功耗可以是指移动终端中的一些元器件没有工作。例如,低功耗状态下的移动终端只有处理器处于工作状态,其余的元器件均处于待机状态,当接收到处理器的工作指令时,从待机状态切换到正常工作状态。
可选地,另外一个显示屏还可以是处于掉电的非工作状态,所谓掉电可以是指移动终端中的所有元器件均处于断电状态。
第三实施例
在上述第一实施例的基础上,参见图3,图3是本实施提供的一种移动终端的切换显示方法的第二显示方式流程图,如图3所示,该方法包括如下步骤。
在步骤301中,根据用户选择的显示模式确定所述第一显示屏和第二显示屏的显示方式为第二显示方式。
本实施例中,移动终端包括第一显示屏和第二显示屏,所述第一显示屏和第二显示屏的显示方式为第二显示方式,即大屏显示模式,移动终端的第一显示屏与第二显示屏组合显示一个输出对象的显示模式。
在步骤302中,根据所述第二显示方式,确定所述输出对象分别显示在所述第一显示屏的第三显示内容和显示在所述第二显示屏的第四显示内容。
在步骤303中,将所述第三显示内容显示在所述第一显示屏上,以及将所述第四显示内容显示在所述第二显示屏上。
其中,步骤302可分为如下步骤。
在步骤3021中,根据所述第一显示屏和第二显示屏的分辨率调整所述输出对象的分辨率得到第三显示内容和第四显示内容。
在步骤3022中,填充所述第三显示内容和所述第四显示内容到显示缓存(Framebuffer)。
在步骤3023中,将显示缓存(Framebuffer)中内容刷新到所述第一显示屏 与所述第二显示屏的显示驱动。
如图7所示,本实施例提供的一种具有双屏切换显示模式的移动终端的第二显示方式示意图。
图7中,以单个屏幕物理分辨率为720×1080的显示屏为例,本实施例中,移动终端第一显示方式中第一显示屏与第二显示屏组合显示一个输出对象的显示模式。
移动终端开机,完成第一显示屏和第二显示屏的驱动加载及显示缓存(Framebuffer)映射。此处,显示缓存(Framebuffer)的大小,为两块物理分辨率的叠加,即1080×720×2。
针对第二显示方式,即大屏模式下,移动终端的WM命令设置显示分辨率为1080*720*2,系统根据设置的分辨率调整个第一显示屏和第二显示屏的显示和布局,应用根据新设置的分辨率,选择适合的界面布局完成大屏模式的切换。
第四实施例
在上述第一实施例的基础上,参见图4,图4是本实施例提供的一种移动终端的切换显示方法的第三显示方式流程图,如图4所示,该方法可以包括以下步骤。
在步骤401中,根据用户选择的显示模式确定所述第一显示屏和第二显示屏的显示方式为第三显示方式。
移动终端包括第一显示屏和第二显示屏,所述第一显示屏和第二显示屏的显示方式为第三显示方式,即镜像显示模式,移动终端的第一显示屏与第二显示屏择一显示输出对象、而另一显示屏显示所述输出对象镜像变换的输出对象的显示模式。
在步骤402中,根据所述第三显示方式,确定所述输出对象显示在所述第一显示屏的第五显示内容和确定所述输出对象显示在所述第二显示屏的第六显示内容,其中,所述第五显示内容和所述第六显示内容为镜像关系。
在步骤403中,将所述第五显示内容显示在所述第一显示屏上,以及将所述第六显示内容显示在所述第二显示屏上。
其中,步骤402可分为如下步骤。
在步骤4021中,根据所述第一显示屏分辨率调整所述输出对象的分辨率得到第五显示内容。
在步骤4022中,对第五显示内容进行镜像处理得到第六显示内容,所述第六显示内容用于显示在第二显示屏。
在步骤4023中,填充所述第五显示内容和所述第六显示内容到显示缓存(Framebuffer)。
在步骤4024中,将显示缓存(Framebuffer)中内容刷新到所述第一显示屏与所述第二显示屏的显示驱动。
如图8所示,图8为本实施例提供的一种具有双屏切换显示模式的移动终端的第三显示方式示意图。
图8中,以单个屏幕物理分辨率为720×1080的显示屏为例,本实施例中,移动终端第三显示方式中第一显示屏与第二显示屏择一显示输出对象、而另一显示屏显示所述输出对象镜像变换的输出对象的显示模式。
针对第三显示方式,即镜像模式下,移动终端的WM命令设置显示分辨率为1080×720,移动终端第的第一显示屏与第二显示屏择一显示输出对象、而另一显示屏显示所述输出对象镜像变换的输出对象,填充所述显示内容到显示缓存(Framebuffer),将显示缓存(Framebuffer)中内容刷新到所述第一显示屏与所述第二显示屏的显示驱动。
第五实施例
参见图5,图5是本实施例提供的一种具有双屏切换显示模式的移动终端的结构示意图,如图5所示,该终端可以包括:获取模块501、处理模块502和控制模块503。
获取模块501设置为获取用户选择的所述移动终端的显示模式。
处理模块502设置为根据所述获取模块501中用户选择的显示模式,确定所述第一显示屏5041和第二显示屏5042用于显示输出对象的显示方式。
控制模块503设置为根据所述处理模块502中确定的所述第一显示屏5041和第二显示屏5042的显示方式,将所述输出对象显示在所述第一显示屏5041和/或第二显示屏5042。
获取模块501获取用户选择移动终端的显示模式,所述获取模块501可以设计为三个用于操作的按钮。处理模块502根据获取模块501中用户选择的显示模式,确定所述第一显示屏5041和第二显示屏5042用于显示输出对象的显示方式。控制模块503,则根据所述处理模块502中确定的所述第一显示屏5041和第二显示屏5042的显示方式,将所述输出对象显示在所述第一显示屏5041和/或第二显示屏5042。
可选地,所述控制模块502可以包括:第一控制单元、第二控制单元和第 三控制单元。
第一控制单元设置为根据用户选择的显示模式确定所述第一显示屏和第二显示屏的显示方式为第一显示方式。
第二控制单元设置为根据所述第一显示方式,所述处理模块确定所述输出对象显示在所述第一显示屏上的第一显示内容或确定所述输出对象显示在第二显示屏上的第二显示内容。
第三控制单元设置为将所述第一显示内容显示在所述第一显示屏上,控制所述第二显示屏处于非工作状态,或者将所述第二显示内容显示在所述第二显示屏上,控制所述第一显示屏处于非工作状态。
可选地,所述第二控制单元可以包括:第一输出子单元、第一填充子单元和第一缓存子单元。
第一输出子单元设置为根据所述第一显示屏的屏幕的分辨率调整所述输出对象的分辨率得到第一显示内容,或者根据所述第二显示屏的屏幕的分辨率调整所述输出对象的分辨率得到第二显示内容。
第一填充子单元设置为填充所述第一显示内容或所述第二显示内容到显示缓存(Framebuffer)。
第一缓存子单元设置为将显示缓存(Framebuffer)中内容刷新到所述第一显示屏或所述第二显示屏的显示驱动。
可选地,所述控制模块可以包括:第四控制单元、第五控制单元和第六控制单元。
第四控制单元设置为根据用户选择的显示模式确定所述第一显示屏和第二显示屏的显示方式为第二显示方式。
第五控制单元设置为根据所述第二显示方式,确定所述输出对象的一部分显示在所述第一显示屏的第三显示内容和所述输出对象的另一部分显示在所述第二显示屏的第四显示内容。
第六控制单元设置为将所述第三显示内容显示在所述第一显示屏上,以及将所述第四显示内容显示在所述第二显示屏上。
可选地,所述第二控制单元包括:第二输出子单元、第二填充子单元和第二缓存子单元。
第二输出子单元设置为根据所述第一显示屏和第二显示屏的分辨率调整所述输出对象的分辨率得到第三显示内容和第四显示内容。
第二填充子单元设置为填充所述第三显示内容和所述第四显示内容到显示 缓存(Framebuffer)。
第二缓存子单元设置为将显示缓存(Framebuffer)中内容刷新到所述第一显示屏与所述第二显示屏的显示驱动。
可选地,所述控制模块包括:第七控制单元、第八控制单元和第九控制单元。
第七控制单元设置为根据用户选择的显示模式确定所述第一显示屏和第二显示屏的显示方式为第三显示方式。
第八控制单元设置为根据所述第三显示方式,确定所述输出对象显示在所述第一显示屏的第五显示内容和确定所述输出对象显示在所述第二显示屏的第六显示内容,其中,所述第五显示内容和所述第六显示内容为镜像关系。
第九控制单元设置为将所述第五显示内容显示在所述第一显示屏上,以及将所述第六显示内容显示在所述第二显示屏上。
可选地,所述第二控制单元包括:第三输出子单元、变换子单元、第三填充子单元和第三缓存子单元。
第三输出子单元设置为根据所述第一显示屏分辨率调整所述输出对象的分辨率得到第五显示内容。
变换子单元设置为对第五显示内容进行镜像处理得到第六显示内容,所述第六显示内容用于显示在第二显示屏。
第三填充子单元设置为填充所述第五显示内容和所述第六显示内容到显示缓存(Framebuffer)。
第三缓存子单元设置为将显示缓存(Framebuffer)中内容刷新到所述第一显示屏与所述第二显示屏的显示驱动。
第六实施例
本实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述方法。
第七实施例
参见图9,图9是本实施例提供的一种电子设备的通用硬件结构示意图,如图9所示,该电子设备包括:一个或多个处理器610和存储器620。图9中以一个处理器610为例。
所述电子设备还可以包括:输入装置630和输出装置640。
所述电子设备中的处理器610、存储器620、输入装置630和输出装置640可以通过总线或者其他方式连接,图9中以通过总线连接为例。
输入装置630可以接收输入的数字或字符信息,输出装置640可以包括显示屏等显示设备。
存储器620作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块。处理器610通过运行存储在存储器620中的软件程序、指令以及模块,从而执行多种功能应用以及数据处理,以实现上述实施例中的任意一种方法。
存储器620可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器可以包括随机存取存储器(Random Access Memory,RAM)等易失性存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件或者其他非暂态固态存储器件。
存储器620可以是非暂态计算机存储介质或暂态计算机存储介质。该非暂态计算机存储介质,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器620可选包括相对于处理器610远程设置的存储器,这些远程存储器可以通过网络连接至电子设备。上述网络的实例可以包括互联网、企业内部网、局域网、移动通信网及其组合。
输入装置630可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。输出装置440可包括显示屏等显示设备。
最后需要说明的是,本领域普通技术人员可理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来执行相关的硬件来完成的,该程序可存储于一个非暂态计算机可读存储介质中,该程序在执行时,可包括如上述方法的实施例的流程,其中,该计算机可读存储介质可以为磁碟、光盘、只读存储记忆体(ROM)或随机存储记忆体(RAM)等。
工业实用性
本公开提供了一种终端的切换显示方法及终端,能够实现终端双屏显示的显示切换,解决终端的第一显示屏与第二显示屏在多种显示模式下的显示配合及显示方式问题。

Claims (16)

  1. 一种终端的切换显示方法,包括:
    获取用户选择的所述终端的显示模式,所述终端包括第一显示屏和第二显示屏;
    根据用户选择的显示模式,确定输出对象在所述第一显示屏和第二显示屏上的显示方式;以及
    根据确定的所述显示方式,将所述输出对象显示在所述第一显示屏和第二显示屏中的至少一个上。
  2. 根据权利要求1所述的方法,其中,所述终端为移动终端。
  3. 根据权利要求2所述的方法,其中,所述根据确定的所述显示方式,将所述输出对象显示在所述第一显示屏和第二显示屏中的至少一个上,包括:
    根据用户选择的显示模式,确定所述显示方式为第一显示方式;
    根据所述第一显示方式,确定所述输出对象为显示在所述第一显示屏上的第一显示内容或确定所述输出对象显示在第二显示屏上的第二显示内容;以及
    将所述第一显示内容显示在所述第一显示屏上,控制所述第二显示屏处于非工作状态,或者将所述第二显示内容显示在所述第二显示屏上,控制所述第一显示屏处于非工作状态。
  4. 根据权利要求3所述的方法,其中,所述根据所述第一显示方式,确定所述输出对象为显示在所述第一显示屏上的第一显示内容或确定所述输出对象为显示在第二显示屏上的第二显示内容,包括:
    根据所述第一显示屏的屏幕的分辨率调整所述输出对象的分辨率得到第一显示内容,或者根据所述第二显示屏的屏幕的分辨率调整所述输出对象的分辨率得到第二显示内容;
    填充所述第一显示内容或所述第二显示内容到显示缓存Framebuffer;以及
    将显示缓存Framebuffer中的内容刷新到所述第一显示屏或所述第二显示屏的显示驱动。
  5. 根据权利要求2所述的方法,其中,根据确定的所述显示方式,将所述输出对象显示在所述第一显示屏和第二显示屏中的至少一个上,包括:
    根据用户选择的显示模式,确定所述显示方式为第二显示方式;
    根据所述第二显示方式,确定所述输出对象的第一部分为显示在所述第一显示屏的第三显示内容和所述输出对象的第二部分为显示在所述第二显示屏的第四显示内容;以及
    分别将所述第三显示内容和第四显示内容显示在所述第一显示屏上和所述 第二显示屏上。
  6. 根据权利要求5所述的方法,其中,所述根据所述第二显示方式,确定所述输出对象的第一部分为显示在所述第一显示屏的第三显示内容,第二部分为显示在所述第二显示屏的第四显示内容,包括:
    根据所述第一显示屏和第二显示屏的屏幕的分辨率,分别调整所述输出对象第一部分和第二部分的分辨率,得到第三显示内容和第四显示内容;
    填充所述第三显示内容和所述第四显示内容到显示缓存Framebuffer;以及
    将显示缓存Framebuffer中的内容刷新到所述第一显示屏与所述第二显示屏的显示驱动。
  7. 根据权利要求2所述的方法,其中,根据确定的所述显示方式,将所述输出对象显示在所述第一显示屏和第二显示屏中的至少一个上,包括:
    根据用户选择的显示模式,确定所述显示方式为第三显示方式;
    根据所述第三显示方式,确定所述输出对象为显示在所述第一显示屏的第五显示内容和确定所述输出对象为显示在所述第二显示屏的第六显示内容,其中,所述第五显示内容和所述第六显示内容为镜像关系;以及
    分别将所述第五显示内容和第六显示内容显示在所述第一显示屏上和所述第二显示屏上。
  8. 根据权利要求7所述的方法,其中,所述根据所述第三显示方式,确定所述输出对象为显示在所述第一显示屏的第五显示内容和确定所述输出对象为显示在所述第二显示屏的第六显示内容,其中,所述第五显示内容和所述第六显示内容为镜像关系,包括:
    根据所述第一显示屏的屏幕的分辨率调整所述输出对象的分辨率得到第五显示内容;
    对第五显示内容进行镜像处理得到第六显示内容,所述第六显示内容显示在第二显示屏;
    填充所述第五显示内容和所述第六显示内容到显示缓存Framebuffer;以及
    将显示缓存Framebuffer中的内容刷新到所述第一显示屏与所述第二显示屏的显示驱动。
  9. 一种具有双屏切换显示模式的终端,包括:
    获取模块,设置为获取用户选择的所述终端的显示模式,所述终端包括第一显示屏和第二显示屏;
    处理模块,设置为根据所述获取模块用户选择的显示模式,确定输出对象 在所述第一显示屏和第二显示屏上的显示方式;以及
    控制模块,设置为根据所述处理模块确定的显示方式,将所述输出对象显示在所述第一显示屏和第二显示屏中的至少一个上。
  10. 根据权利要求9所述的终端,其中,所述控制模块包括:
    第一控制单元,设置为根据用户选择的显示模式,确定所述显示方式为第一显示方式;
    第二控制单元,设置为根据所述第一显示方式,确定所述输出对象为显示在所述第一显示屏上的第一显示内容或为显示在第二显示屏上的第二显示内容;以及
    第三控制单元,设置为将所述第一显示内容显示在所述第一显示屏上,控制所述第二显示屏处于非工作状态,或者将所述第二显示内容显示在所述第二显示屏上,控制所述第一显示屏处于非工作状态。
  11. 根据权利要求10所述的终端,其中,所述第二控制单元包括:
    第一输出子单元,设置为根据所述第一显示屏的屏幕的分辨率调整所述输出对象的分辨率得到第一显示内容,或者根据所述第二显示屏的屏幕的分辨率调整所述输出对象的分辨率得到第二显示内容;
    第一填充子单元,设置为填充所述第一显示内容或所述第二显示内容到显示缓存Framebuffer;以及
    第一缓存子单元,设置为将显示缓存Framebuffer中内容刷新到所述第一显示屏或所述第二显示屏的显示驱动。
  12. 根据权利要求9所述的终端,其中,所述控制模块包括:
    第四控制单元,设置为根据用户选择的显示模式,确定所述显示方式为第二显示方式;
    第五控制单元,设置为根据所述第二显示方式,确定所述输出对象的第一部分为显示在所述第一显示屏的第三显示内容,第二部分为显示在所述第二显示屏的第四显示内容;以及
    第六控制单元,设置为分别将所述第三显示内容和第四显示内容显示在所述第一显示屏上和所述第二显示屏上。
  13. 根据权利要求12所述的终端,其中,所述第五控制单元包括:
    第二输出子单元,设置为根据所述第一显示屏和第二显示屏的屏幕的分辨率,分别调整所述输出对象第一部分和第二部分的分辨率,得到第三显示内容和第四显示内容;
    第二填充子单元,设置为填充所述第三显示内容和所述第四显示内容到显示缓存Framebuffer;以及
    第二缓存子单元,设置为将显示缓存Framebuffer中内容刷新到所述第一显示屏与所述第二显示屏的显示驱动。
  14. 据权利要求9所述的终端,其中,所述控制模块包括:
    第七控制单元,设置为根据用户选择的显示模式,确定所述显示方式为第三显示方式;
    第八控制单元,设置为根据所述第三显示方式,确定所述输出对象为显示在所述第一显示屏的第五显示内容和为显示在所述第二显示屏的第六显示内容,其中,所述第五显示内容和所述第六显示内容为镜像关系;以及
    第九控制单元,设置为将所述第五显示内容显示在所述第一显示屏上,以及将所述第六显示内容显示在所述第二显示屏上。
  15. 根据权利要求14所述的终端,其中,所述第八控制单元包括:
    第三输出子单元,设置为根据所述第一显示屏的屏幕的分辨率调整所述输出对象的分辨率得到第五显示内容;
    变换子单元,设置为对第五显示内容进行镜像处理得到第六显示内容,所述第六显示内容用于显示在第二显示屏;
    第三填充子单元,设置为填充所述第五显示内容和所述第六显示内容到显示缓存Framebuffer;以及
    第三缓存子单元,设置为将显示缓存Framebuffer中的内容刷新到所述第一显示屏与所述第二显示屏的显示驱动。
  16. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-8任一项的方法。
PCT/CN2017/085670 2017-01-03 2017-05-24 终端的切换显示方法及终端 WO2018126594A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP17761790.9A EP3364289A4 (en) 2017-01-03 2017-05-24 Display switching method for terminal, and terminal
JP2017560936A JP6730325B2 (ja) 2017-01-03 2017-05-24 端末の切り替え表示方法及び端末
US15/557,816 US10649711B2 (en) 2017-01-03 2017-05-24 Method of switching display of a terminal and a terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710001700.6 2017-01-03
CN201710001700.6A CN108132765A (zh) 2017-01-03 2017-01-03 一种移动终端的切换显示方法及移动终端

Publications (1)

Publication Number Publication Date
WO2018126594A1 true WO2018126594A1 (zh) 2018-07-12

Family

ID=60382137

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/085670 WO2018126594A1 (zh) 2017-01-03 2017-05-24 终端的切换显示方法及终端

Country Status (5)

Country Link
US (1) US10649711B2 (zh)
EP (1) EP3364289A4 (zh)
JP (1) JP6730325B2 (zh)
CN (2) CN109785816B (zh)
WO (1) WO2018126594A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109800043B (zh) * 2018-12-28 2023-02-24 维沃移动通信有限公司 一种界面显示方法及终端设备
JP7368175B2 (ja) * 2019-10-17 2023-10-24 ファナック株式会社 射出成形機の表示装置
CN111596876A (zh) * 2020-04-28 2020-08-28 维沃移动通信有限公司 信息显示方法、装置、电子设备及存储介质
WO2022025304A1 (ko) * 2020-07-27 2022-02-03 엘지전자 주식회사 영상표시장치 및 이를 포함하는 시스템
CN113268302B (zh) * 2021-05-27 2023-08-11 杭州灵伴科技有限公司 一种头戴式显示设备的显示模式切换方法、装置
CN113844458A (zh) * 2021-09-17 2021-12-28 中国第一汽车股份有限公司 一种多屏显示方法、装置、车辆和存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515226A (zh) * 2008-02-19 2009-08-26 联想(北京)有限公司 双系统显示方法、具有辅屏的笔记本电脑和辅助显示装置
CN104571337A (zh) * 2015-01-20 2015-04-29 苏州嘉辰悦电子科技有限公司 双屏平板电脑显示和触摸控制方法
CN106027795A (zh) * 2016-06-30 2016-10-12 努比亚技术有限公司 一种双面屏的切换方法及终端

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9092190B2 (en) 2010-10-01 2015-07-28 Z124 Smartpad split screen
US8803816B2 (en) * 2008-09-08 2014-08-12 Qualcomm Incorporated Multi-fold mobile device with configurable interface
KR20110092802A (ko) * 2010-02-10 2011-08-18 삼성전자주식회사 복수개의 표시부를 가지는 단말기의 데이터 운용 방법 및 이를 지원하는 단말기
CN101957717A (zh) * 2010-06-09 2011-01-26 宇龙计算机通信科技(深圳)有限公司 一种显示模式的切换方法、系统及移动终端
US9372618B2 (en) * 2010-10-01 2016-06-21 Z124 Gesture based application management
JP2013050873A (ja) * 2011-08-31 2013-03-14 Toshiba Corp 情報処理装置および表示制御方法並びにプログラム
JP2012212441A (ja) 2012-05-28 2012-11-01 Toshiba Corp 電子機器、表示制御方法及びプログラム
JP2014127184A (ja) * 2012-12-27 2014-07-07 Toshiba Corp 情報処理装置および表示制御方法
CN104679467B (zh) * 2013-11-29 2017-12-29 联想(北京)有限公司 一种显示模式切换方法及电子设备
US9933986B2 (en) * 2013-11-29 2018-04-03 Lenovo (Beijing) Co., Ltd. Method for switching display mode and electronic device thereof
US9928021B2 (en) * 2014-12-30 2018-03-27 Qualcomm Incorporated Dynamic selection of content for display on a secondary display device
KR102480462B1 (ko) * 2016-02-05 2022-12-23 삼성전자주식회사 복수의 디스플레이들을 포함하는 전자 장치 및 그 동작 방법

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515226A (zh) * 2008-02-19 2009-08-26 联想(北京)有限公司 双系统显示方法、具有辅屏的笔记本电脑和辅助显示装置
CN104571337A (zh) * 2015-01-20 2015-04-29 苏州嘉辰悦电子科技有限公司 双屏平板电脑显示和触摸控制方法
CN106027795A (zh) * 2016-06-30 2016-10-12 努比亚技术有限公司 一种双面屏的切换方法及终端

Also Published As

Publication number Publication date
US10649711B2 (en) 2020-05-12
JP2019509525A (ja) 2019-04-04
JP6730325B2 (ja) 2020-07-29
CN108132765A (zh) 2018-06-08
CN109785816A (zh) 2019-05-21
EP3364289A1 (en) 2018-08-22
US20180293042A1 (en) 2018-10-11
CN109785816B (zh) 2021-06-25
EP3364289A4 (en) 2018-08-22

Similar Documents

Publication Publication Date Title
WO2018126594A1 (zh) 终端的切换显示方法及终端
US10031712B2 (en) System and method for display mirroring
KR101713177B1 (ko) 가상 디스플레이들에 대한 시스템 및 방법
US9177534B2 (en) Data transmission for display partial update
WO2021008427A1 (zh) 图像合成方法、装置、电子设备及存储介质
JP4003762B2 (ja) 表示コントローラ、電子機器及び画像データ供給方法
CN115100993A (zh) 显示帧率的调整方法、装置、应用处理器及电子设备
US9542721B2 (en) Display control device and data processing system
CN114511683A (zh) 显示切换控制方法及系统、电子设备和存储介质
CN112114919B (zh) 一种屏幕旋转显示的优化方法及装置
JP6120561B2 (ja) 図形描画装置及び図形描画プログラム
US8098254B2 (en) Power savings in a computing device during video playback
TWI384393B (zh) 顯示動態影像之系統
CN116700850A (zh) 显示方法及电子设备
CN118016005A (zh) 用于预览显示内容的方法及相关产品
CN116088781A (zh) 一种显示控制方法及显示装置
JP2020095187A (ja) 表示ドライバ、ホスト及び表示パネル駆動方法

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 15557816

Country of ref document: US

REEP Request for entry into the european phase

Ref document number: 2017761790

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2017560936

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17761790

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE