[go: up one dir, main page]

WO2023020048A1 - Outer screen display method and electronic device - Google Patents

Outer screen display method and electronic device Download PDF

Info

Publication number
WO2023020048A1
WO2023020048A1 PCT/CN2022/093155 CN2022093155W WO2023020048A1 WO 2023020048 A1 WO2023020048 A1 WO 2023020048A1 CN 2022093155 W CN2022093155 W CN 2022093155W WO 2023020048 A1 WO2023020048 A1 WO 2023020048A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
display
screen
external screen
style
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2022/093155
Other languages
French (fr)
Chinese (zh)
Inventor
吴霞
孙祺
刘伟杰
倪静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Publication of WO2023020048A1 publication Critical patent/WO2023020048A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present application example relates to the field of terminal equipment, and in particular to an external screen display method and electronic equipment.
  • the present application provides an external screen display method and electronic equipment.
  • the electronic device displays the interface of the application program running in the foreground on the internal screen, it displays a matching display style on the external screen according to the status and type of the application program running in the foreground, which can not only reasonably utilize the resources of the external screen, but also It can meet the needs of users for personalized display on the external screen.
  • the present application provides an external screen display method, wherein the external screen display method includes: the electronic device determines the first time period according to the do-not-disturb time period set by the user, and determines the second time period according to the schedule event created by the user ,
  • the electronic device also respectively determines the do-not-disturb time period, that is, the first target display style corresponding to the first time period and the second target display style corresponding to the schedule event.
  • the electronic device detects that the system time of the electronic device reaches the first time period, it will The screen displays the first target display style, which can prevent outsiders from disturbing the user.
  • the second target display style is displayed on the external screen, which can not only remind the user that the scheduled event is up, but also prevent external personnel from disturbing the user.
  • the first target display style is displayed on the outer screen, the display content in the inner screen is not controlled by the first time period and the second time period, and the inner screen can be displayed on the closed screen, and the currently opened application program can also be displayed on the inner screen interface.
  • the electronic device receives the user's setting operation of the do not disturb time period, and determining the first time period includes: the electronic device receives the user's first time in the setting interface displayed on the external screen.
  • the first selection operation of the mode option is for example: when clicking or long-pressing operations, etc., the first prompt message is displayed to prompt the user to set the do not disturb time period, and the user opens the do not disturb setting interface according to the first prompt information, and in the do not disturb setting interface Enter the do-not-disturb time period in the do-not-disturb setting interface, and the electronic device receives the do-not-disturb time period input by the user in the do-not-disturb setting interface, and determines the do-not-disturb time period as the first time period.
  • This method of setting the do not disturb time period is convenient for the user to flexibly set the do not disturb time period.
  • the electronic device determines the first target display style corresponding to the do-not-disturb time period, including: the electronic device responds to the user's setting of the first mode option in the external screen display setting interface
  • the first selection operation is to display a first external screen style setting interface, wherein the first external screen style setting interface includes: at least one system preset display style.
  • the electronic device responds to the third selection operation of the target display style by the user, such as: clicking the thumbnail of the display style to determine the first target display style corresponding to the do not disturb time period, wherein at least one system preset display style includes the first target Display styles.
  • multiple display styles are preset, which is convenient for users to select and set.
  • the electronic device determines the first target display style corresponding to the do-not-disturb time period, including: the electronic device responds to receiving the user's setting of the first external screen style setting interface Display the third selection operation of the style addition entry, and display the target style addition path, wherein, the addition path includes: addition in the photo album, camera shooting addition; the electronic device responds to the fourth selection operation of the target addition path by the user, from the target addition path Obtain the first target display style corresponding to the do-not-disturb time period under the path.
  • the electronic device receives the user's schedule event creation operation, and determines the second time period corresponding to the schedule event, including: the electronic device receives the user's input in the new schedule interface
  • the schedule event information wherein the schedule event information includes: a start time and an end time
  • the electronic device generates a schedule event according to the schedule event information and displays the schedule event in a calendar.
  • the electronic device determines the time period indicated by the start time and end time of the schedule event as the second time period, and by comparing the system time with the second time period, the timing for displaying the target display style on the external screen can be determined.
  • the electronic device determining the second target display style corresponding to the schedule event includes: the electronic device determines the second target corresponding to the schedule event according to the type of the schedule event A display style, wherein, the type of the schedule event includes: meeting, trip, and study. For example: if the schedule event is a meeting, then it can be determined that the second target display style is "meeting", and another example: if the schedule event is learning, then the second target display style can be determined as "learning”. Determine the way to display the style, without manual setting by the user, and the operation is convenient.
  • the present application also provides an external screen display method, the method includes: the electronic device determines the application program to be monitored in response to the user's selection operation on at least one application program icon, wherein each application program icon corresponds to a application program, the electronic device responds to the user’s first operation of associating the display style with each application program icon, and determines the display style corresponding to each application program to be monitored, and the electronic device detects that the running time of the target application program in the application program to be monitored exceeds the preset Set the duration, find the target display style corresponding to the target application program, and display the target display style on the external screen.
  • the method of displaying the target display style on the external screen when it is detected that the running time of the application program exceeds the preset time can prevent external personnel from disturbing the user of the electronic device.
  • the electronic device receives the user's selected operation on at least one application program icon, including: the electronic device responds to the user's selection of the second mode option in the external screen display setting interface
  • the first selected operation such as clicking, long pressing, etc., displays the second external screen style setting interface
  • the second external screen style setting interface includes an application list
  • the application list includes multiple application program icons, application icon add option and application icon deletion option
  • the electronic device responds to the user's adjustment operation on the application icon contained in the application list through at least one of the application icon addition option and application icon deletion option, and the adjusted application list
  • the application program corresponding to the application program icon is determined as the application program to be monitored. In this method of setting the application program to be monitored, the user can flexibly add or delete the application program by adding or deleting the application program icon, and the operation is convenient.
  • the second external screen style setting interface further includes at least one system preset display style;
  • the first operation includes: the electronic device responds to the user's second selection operation on the first application program icon in the application program list, such as clicking, adding or deleting, etc., and then responds to the user's third selection operation on the second display style.
  • the selection operation is, for example, a check operation, wherein the system preset display style includes the first display style, and the second display style is determined as the display style corresponding to the application to be monitored corresponding to the first application icon.
  • the user can set different display styles for different application programs to be monitored, so that the external screen display is more diversified.
  • the second external screen style setting interface further includes first prompt information; wherein, the first prompt information is used to prompt the user that the target application program set is in the foreground After running for the first preset time period, the set target display style is displayed on the external screen.
  • the first prompt information can prompt the user when the external screen is displayed, thereby improving the user experience.
  • the external screen display method further includes: the electronic device displays the external screen display style setting in response to the user's fourth selection operation on the add option in the application program interface The interface, wherein the external screen display style setting interface includes: a plurality of display styles, and the electronic device determines each target display style available for matching in response to the user's fifth selection operation on at least one target display style.
  • the electronic device selects a display style from various target display styles selected by the user according to the content of the application interface displayed on the internal screen, and displays it on the external screen.
  • the content of the application program interface displayed on the internal screen of the electronic device is consistent with at least one If the second display style in the target display style matches, the second display style is displayed on the external screen.
  • an entry for setting the display style of the external screen may be provided in the application program, which is convenient for the user to operate.
  • displaying on the external screen a target display style that matches the interface content of the internal screen makes the display on the external screen more personalized.
  • the electronic device responds to the fifth selected operation, when the interface content displayed on the internal screen matches the second display style in at least one target display style , displaying the second display style on the outer screen, including: the electronic device responds to the user's fifth selected operation, such as: ticking the thumbnail of the display style, adding a display style, etc., in the application program interface displayed on the inner screen
  • the second display style in the at least one target display style is included, the second display style is displayed on the external screen.
  • the inner screen and the outer screen broadcast synchronously, so that outsiders can know the current game status of the user.
  • the electronic device responds to the fifth selected operation, when the interface content displayed on the internal screen matches the second display style in at least one target display style , displaying the second display style on the outer screen includes: the electronic device responds to the fifth selected operation, and the contact information in the application program interface displayed on the inner screen has an association relationship with the second display style in at least one target display style
  • the second display style is displayed on the external screen.
  • the user is talking with a family member through the phone application, and the family photo is associated with the family photo in the target display style selected by the user, and the family photo can be displayed on the external screen.
  • the inner screen and the outer screen broadcast synchronously, so that outsiders can know the importance of the user's current call.
  • the present application also provides an electronic device.
  • the electronic device includes: a business scene recognition module, an off-screen display application program, and an external screen display driver; the business scene recognition module determines the schedule event created by the user and the display style corresponding to the schedule event, wherein the schedule event includes: start time and End time; after the monitoring reaches the start time, send the first interface information corresponding to the display style to the off-screen display application program; after receiving the first interface information, the off-screen display application program instructs the external screen display driver to activate the external screen, The first interface information is displayed on the external screen.
  • the business scene identification module in the electronic device is also used to determine the do-not-disturb time period set by the user and the first display style corresponding to the do-not-disturb time period; monitoring When the do-not-disturb period is reached, send the third interface information corresponding to the first display style to the off-screen display application program; after receiving the third interface message, the off-screen display application program instructs the external screen display driver to activate the external screen, The third interface information corresponding to the first display style is displayed on the screen.
  • the electronic device further includes: a window manager and a view system; the window manager receives the first interface information sent by the off-screen display application program, and based on the first interface information A first notification is generated and sent to the view system, wherein the first notification includes: the first interface information and external screen identification information.
  • the view system parses the received first notification, calls the external screen display driver according to the parsed external screen identification information, and the external screen display driver responds to the call command of the view system, drives the external screen of the electronic device, and displays the first interface on the external screen The second display style corresponding to the information.
  • the electronic device further includes: a first application program for executing the scheduled event and an internal screen display driver, where the first application program for executing the scheduled event is different from the scheduled event, For example: when the schedule event is a conference schedule event, the first application program is a conference application program, and the window manager is configured to receive the second interface information sent by the first application program, generate a second notification based on the second interface information, and send the second interface information to the Two notifications are sent to the view system, wherein the second notification includes: second interface information and internal screen identification information, and the second interface information is the interface information of the first application program.
  • the view system parses the received second notification, calls the internal screen display driver according to the internal screen identification information; the internal screen display driver drives the internal screen of the electronic device, and displays the second interface information on the internal screen.
  • the present application also provides an electronic device.
  • the electronic device includes: a business scene recognition module, an off-screen display application program, and an external screen display driver.
  • the business scene recognition module determines the application program to be monitored and the display style corresponding to the application program to be monitored, and the monitoring reaches the When the running time of the target application program exceeds the first preset time length, search for the target display style corresponding to the target application program, and send the second interface information to the off-screen display application program, wherein the second interface information is the display style corresponding to the target application program interface information; the off-screen display application program instructs the external screen display driver to activate the external screen and display the first interface information on the external screen.
  • the electronic device further includes: a window manager and a view system; the window manager receives the second interface information sent by the off-screen display application program, and based on the first interface information Generate the second notification, and send the second notification to the view system, wherein the second notification includes: the second interface information and the external screen identification information; the view system parses the received second notification, according to the parsed external screen identification The information calls the external screen display driver, and the external screen display driver drives the external screen of the electronic device to display the second interface information on the external screen.
  • the electronic device further includes: a first application program and an internal screen display driver; the window manager receives the first interface information sent by the first application program, and based on the first The interface information generates a first notification, and sends the first notification to the view system, wherein the first notification includes: the first interface information and internal screen identification information, and the first interface information is the interface information of the first application program.
  • the view system parses the received first notification, calls the internal screen display driver according to the parsed internal screen identification information, and the internal screen display driver drives the internal screen of the electronic device to display the first interface information on the internal screen.
  • the electronic device includes: a second application program, wherein the second application program is any one of the target application programs to be monitored set by the user, and the second application program
  • the application detects that the running time exceeds the preset duration, it searches for a matching second display style from at least one target display style pre-selected by the user according to the interface content, and sends the second interface information of the second display style to
  • the off-screen display application program receives the second interface information sent by the second application program, instructs the external screen display driver to activate the external screen, and displays the second interface information on the external screen, that is, displays the second interface information on the external screen The corresponding second display style.
  • the window manager in the electronic device receives the second interface information sent by the off-screen display application, generates the second notification based on the first interface information, and sends the second interface information
  • Two notifications are sent to the view system, wherein the second notification includes: the second interface information and external screen identification information; the view system parses the received second notification, calls the external screen display driver according to the external screen identification information, The external screen displays the external screen that drives the electronic device, and the second interface information is displayed on the external screen.
  • the window manager in the electronic device receives the first interface information sent by the second application program, generates the first notification based on the first interface information, and sends the first
  • the notification is sent to the view system, wherein the first notification includes the first interface information and the internal screen identification information, the first interface information is the interface information of the first application program, the view system parses the received first notification, and according to the parsed
  • the internal screen identification information invokes the internal screen display driver, and the internal screen display driver drives the internal screen of the electronic device, that is, the first display screen, and displays the first interface information on the internal screen.
  • the third aspect and any implementation manner of the third aspect correspond to the first aspect and any implementation manner of the first aspect respectively.
  • the fourth aspect and any implementation manner of the fourth aspect correspond to the second aspect and any implementation manner of the second aspect respectively.
  • the third aspect, the fourth aspect, any implementation of the third aspect and any implementation of the fourth aspect can refer to the above-mentioned first aspect, the second aspect, any implementation of the first aspect and the second The technical effect corresponding to any implementation manner of the aspect will not be repeated here.
  • the present application provides a computer-readable medium for storing a computer program, where the computer program includes instructions for executing the method in any possible implementation manner of the first aspect or the second aspect.
  • the present application provides a computer program, where the computer program includes instructions for executing the method in the first aspect or any possible implementation manner of the second aspect.
  • FIG. 1 is a schematic diagram of a hardware structure of an exemplary electronic device
  • FIG. 2 is a schematic diagram of a software structure of an exemplary electronic device
  • Fig. 3 is a schematic diagram of an internal screen in an unfolded state of an electronic device screen
  • FIG. 4 is a schematic diagram of an external screen of an electronic device in a state where the screen of the electronic device is unfolded;
  • Fig. 5 is a schematic diagram of an external screen display setting interface
  • FIG. 6 is a schematic diagram of an interface for setting a display style in a do-not-disturb mode
  • Figures 7a-7b are schematic interface diagrams of the process of activating Do Not Disturb exemplarily shown;
  • Fig. 8 is a schematic diagram of an external screen interface in a do-not-disturb mode
  • Figures 9a to 9b are schematic interface diagrams of the establishment process of conference schedule events
  • Figures 10a to 10b are schematic diagrams of the interfaces of the inner screen and the outer screen during the conference process
  • Fig. 11 is a schematic diagram of an exemplary external screen display software architecture
  • Fig. 12 is a schematic diagram of an external screen display setting interface
  • Fig. 13 is a schematic diagram of a display style setting interface in the immersive mode
  • Fig. 14 is a schematic diagram of an external screen interface in an immersive mode
  • Fig. 15 is a schematic diagram of a display style setting interface in the immersive mode
  • Fig. 16 is a schematic diagram of the interfaces of the inner screen and the outer screen in the immersive mode
  • Fig. 17 is a schematic diagram of an exemplary external screen display software architecture
  • Fig. 18 is a schematic diagram of an interface for setting a custom external screen display style by way of example
  • FIG. 19 is a schematic diagram of an application style preview interface schematically shown
  • Fig. 20 is a schematic diagram of an external screen display interface
  • Fig. 21 is a schematic diagram of the software architecture of the external screen display exemplarily shown.
  • first and second in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order of objects.
  • first target object, the second target object, etc. are used to distinguish different target objects, rather than describing a specific order of the target objects.
  • words such as “exemplary” or “for example” are used as examples, illustrations or illustrations. Any embodiment or design scheme described as “exemplary” or “for example” in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Rather, the use of words such as “exemplary” or “such as” is intended to present related concepts in a concrete manner.
  • multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.
  • FIG. 1 shows a schematic structural diagram of an electronic device 100 .
  • the electronic device 100 shown in FIG. 1 is only an example of an electronic device, and the electronic device 100 may have more or fewer components than those shown in the figure, and two or more components may be combined , or can have different component configurations.
  • the various components shown in FIG. 1 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2.
  • Mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, camera 193, first display 194, second display 192 And a subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an ambient light sensor 180L, a distance sensor 180F and the like.
  • the sensor module 180 can detect parameter information, and the processor 110 determines the surrounding environment of the electronic device 100, the distance between the electronic device and the user's preset location, the posture of the electronic device, and the user's keystrokes on the electronic device according to the parameter information detected by the sensor module 180. touch etc.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit, NPU
  • the controller may be the nerve center and command center of the electronic device 100 .
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory.
  • the memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
  • processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input and output
  • subscriber identity module subscriber identity module
  • SIM subscriber identity module
  • USB universal serial bus
  • the interface connection relationship between the modules shown in the embodiment of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is configured to receive a charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 can receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 is charging the battery 142 , it can also provide power for electronic devices through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be disposed in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be set in the same device.
  • the wireless communication function of the electronic device 100 can be realized by the antenna 1 , the antenna 2 , the mobile communication module 150 , the wireless communication module 160 , a modem processor, a baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite, etc. applied on the electronic device 100.
  • System global navigation satellite system, GNSS
  • frequency modulation frequency modulation, FM
  • near field communication technology near field communication, NFC
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • code division multiple access code division multiple access
  • CDMA broadband Code division multiple access
  • WCDMA wideband code division multiple access
  • time division code division multiple access time-division code division multiple access
  • TD-SCDMA time-division code division multiple access
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou navigation satellite system beidou navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the electronic device 100 realizes the display function through the GPU, the first display screen 194 , the second display screen 192 and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the first display screen 194, the second display screen 192 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the first display screen 194 is used as an internal screen of the electronic device for displaying interfaces, images, videos and the like.
  • the first display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Mini-LED, Micr-OLED, Micro-OLED, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the second display screen 192 is used as an external screen of the electronic device, and is used for displaying user-preset display styles such as images, videos, or texts.
  • the electronic device 100 can realize the shooting function through the ISP, the camera 193 , the video codec, the GPU, the display screen 194 and the application processor.
  • Camera 193 is used to capture still images or video.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.
  • the internal memory 121 may be used to store computer-executable program codes including instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 .
  • the processor 110 receives the user's setting of the external screen display mode and the user's setting of the target display style displayed on the external screen. Determine the target display style displayed on the external screen and the timing of the target display style, and display the target display style on the external screen when the display timing is reached.
  • the internal memory 121 may include an area for storing programs and an area for storing data.
  • the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like.
  • the storage data area can store data created during the use of the electronic device 100 (such as audio data, phonebook, etc.) and the like.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
  • the electronic device 100 can implement audio functions through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
  • the pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal.
  • pressure sensor 180A may be disposed on display screen 194 .
  • pressure sensors 180A such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors.
  • a capacitive pressure sensor may be comprised of at least two parallel plates with conductive material.
  • the electronic device 100 determines the intensity of pressure according to the change in capacitance.
  • the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view short messages is executed. When a touch operation whose intensity is greater than or equal to the first pressure threshold acts on the icon of the short message application, the instruction of creating a new short message is executed.
  • the keys 190 include a power key, a volume key and the like.
  • the key 190 may be a mechanical key. It can also be a touch button.
  • the electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100 . Exemplarily, in this embodiment of the application, if the electronic device 100 is in the lock screen mode or the desktop mode, and the electronic device 100 receives the user's operation of clicking the power button, that is, the power button, the electronic device 100 may enter the screen-off mode.
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture.
  • the embodiment of the present application takes the Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 .
  • FIG. 2 is a block diagram of the software structure of the electronic device 100 according to the embodiment of the present application.
  • the layered architecture of the electronic device 100 divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces.
  • the Android system is divided into three layers, which are application program layer, application program framework layer, and kernel layer from top to bottom.
  • the application layer can consist of a series of application packages.
  • the application package may include applications such as camera, gallery, calendar, call, sensor (also called desktop and wallpaper), games, and off-screen display applications.
  • applications such as camera, gallery, calendar, call, sensor (also called desktop and wallpaper), games, and off-screen display applications.
  • the camera can realize the shooting of images or videos when display styles are added in the embodiment of this application.
  • the off-screen display application program also known as the off-screen display application program, is a system preset application program, which is responsible for sending AOD (Always On Display, permanent display) interface display instructions to the window manager.
  • AOD Always On Display, permanent display
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may include a window manager, a view system, a business scene recognition module, and the like.
  • a window manager is used to manage window programs.
  • the window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, send interface information display instructions to the view system, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on.
  • the view system can be used to build applications.
  • a display interface can consist of one or more views.
  • a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
  • the view system can also be used to call the display driver of the corresponding physical display screen according to the interface information display command sent by the window manager, and drive the physical display screen to display interface information through the display driver.
  • the physical display screen includes: the external screen of the electronic device is the second display The screen 192 and the inner screen, namely the first display screen 194.
  • the view system 1905 can also be called Display Manager, which is used to provide screen management services and manage the first display screen 194 and the second display screen 192 .
  • the phone manager is used to provide communication functions of the electronic device 100 .
  • the window manager can also be called Window Manager, which is used to provide window management services, respond to the request of the application to add window display, and add it to the corresponding display screen.
  • the business scene identification module can also be called Scene Awareness, which is the scene awareness module, which is used to identify the current business scene such as office, conference or game, etc.
  • the business scene identification module is also equipped with a polling mechanism, and the user polls to obtain application interface information, application information, etc. Run time, obtain the meeting schedule events created in the calendar or the do-not-disturb time period set by the user in the system, etc.
  • the business scene recognition module can determine whether the application enters the immersive mode based on the running time of the application.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application program layer and the application program framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer includes at least an external display driver, an internal display driver, a camera driver, and a sensor driver.
  • the external display driver is used to drive the first display 194
  • the internal display driver is used to drive the second display 192
  • the sensor driver is used to drive the sensor module 180
  • the camera driver is used to drive the camera 193 .
  • the Android system can also set a system library between the kernel layer and the application framework layer.
  • a system library can include multiple function modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
  • the components contained in the system framework layer and the runtime layer shown in FIG. 2 do not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components.
  • the electronic device can receive the user's setting operation of the external screen display mode, and the user's setting operation of the target display style displayed on the external screen.
  • the status and type of the application program running in the foreground determine the display timing of the external screen.
  • the target display style set by the user is displayed on the external screen, which can not only make reasonable use of external screen resources, but also satisfy the user's external Screen personalized display needs.
  • the electronic device can also flexibly switch the display style displayed on the external screen according to the process data of the application program running in the foreground, making the content displayed on the external screen more diverse.
  • the external screen display method involved in the embodiment of the present application can be triggered in an application program, or can be triggered in the external screen display interface of the system.
  • the external screen display method involved in the following embodiments of the present application can be triggered to execute in the application program that comes with the system, or can be triggered to execute in a third-party application program installed in the electronic device.
  • the Do Not Disturb mode is a special mode of the electronic device.
  • the electronic device can be set to reject calls or turn off incoming call ringtones, message ringtones, notification ringtones, etc., so as to avoid the electronic device from causing harm to the user. disturb.
  • the do-not-disturb mode when the electronic device is in the do-not-disturb mode, the do-not-disturb pattern is displayed on the external screen.
  • the do-not-disturb pattern By displaying the do-not-disturb pattern on the external screen, other people around can know that the user of the electronic device does not want others to disturb, thereby Effectively avoid the disturbance of people around you.
  • the do-not-disturb mode can be turned on when there is a do-not-disturb demand, or a do-not-disturb time period can be preset by the user, and the electronic device enters the do-not-disturb mode when the do-not-disturb time period is reached.
  • the immersive mode is to determine that the application is continuously used by the user when the application is running in the foreground for the first preset period of time.
  • the target display style is displayed on the external screen, which can prevent people around from disturbing the user of the electronic device.
  • the electronic device can provide an interface for the user to set the target application program to be monitored. During use, the electronic device monitors the foreground running time of the target application program to be monitored, and the running time of a certain target application program in the foreground lasts for the first time. When the duration is preset, the target display style is displayed on the external screen to remind people around not to disturb the user of the electronic device.
  • the external screen display method in the embodiment of the present application is applied to a double-sided screen electronic device.
  • An exemplary structural diagram of a double-sided screen electronic device is shown in Figures 3 to 4, and Figure 3 shows the screen of the electronic device in the unfolded state.
  • a schematic diagram of the inner screen, and FIG. 4 is a schematic diagram of the outer screen of the electronic device when the screen is unfolded.
  • the right half of the outer screen of this exemplary double-sided screen electronic device is 401 which can be used as the display area of the outer screen, and the left half 402 is used as the rear shell of the device, and the rear shell is used for setting a camera and the like.
  • a part of the right half part 401 of the outer screen may also be used as the display area of the outer screen.
  • the left and right parts of the outer screen of the double-sided screen electronic device can also be unequal, for example: the area occupied by the right half 401 is set to be larger than the area occupied by the left half 402, or the right half The area occupied by 401 is smaller than the area occupied by the left half 402 and so on. It is also possible to set both the left half and the right half of the external screen of the electronic device as a display screen.
  • the camera on the external screen of the electronic device can be set as an off-screen structure, and the display area of the external screen can be flexibly set on the external screen.
  • the display area of the external screen can be flexibly set on the external screen. For example: set the right half as the external screen display area, set the left half as the external screen display area, set the right half partial area as the external screen display area, set the left half partial area as the external screen display area, set the external screen display
  • the area is a strip running through the entire outer screen and so on.
  • the right half 401 of the outer screen of the electronic device is taken as an example of the outer screen display area, and the related operations of setting the outer screen display on the outer screen are taken as an example for illustration. It should be noted that the operations related to the external screen display are not limited to setting when the screen of the electronic device is in a folded state, but can also be set on the internal screen after the screen of the electronic device is unfolded, which is not specifically limited in this embodiment of the application .
  • the external screen display setting interface 501 as shown in FIG. , an immersive mode control 6013 and a smart power saving switch 5014 .
  • the external screen display switch 5011 is used to control whether to enable the external screen display function.
  • the external screen display switch 5011 is turned on, the external screen display function is turned on.
  • the external screen display switch 5011 is turned off, the external screen display function is turned off.
  • 5011 open is a prerequisite for external screen display.
  • the do not disturb mode control 5012 is the entrance of the external screen display in the do not disturb mode, through which the relevant setting interface of the external screen display in the do not disturb mode can be entered.
  • the immersive mode control 5103 is the entrance of the external screen display in the immersive mode, through which the relevant setting interface of the external screen display in the immersive mode can be entered.
  • the smart power-saving switch 5014 is used to control whether to enable the smart power-saving function. After the smart power-saving function is turned on, the display brightness of the external screen will automatically change with the light environment. It is in the power-saving mode or the remaining power of the electronic device is less than a preset percentage such as 10%. , the external screen does not display. After the intelligent power-saving function is turned off, the display brightness of the external screen will not automatically change with the light environment, and the display on the external screen will not stop displaying because the remaining power of the electronic device is less than the preset percentage or the electronic device is in power-saving mode.
  • turning on the intelligent power saving function can save the power consumption of the external screen display and prolong the battery life of the electronic device; on the other hand, since the brightness of the external screen display automatically changes with the light environment, for example, when the external light is bright, the display brightness will be adjusted. Dark, can improve the display effect of the external screen. Another example: when the external light is dark, the display brightness can be dimmed to save the power consumption of the external display.
  • the display style setting interface 601 in the do not disturb mode as shown in FIG. 6 is displayed , the display style setting interface 601 in the Do Not Disturb mode includes the first prompt information 6011 such as "When the mobile phone is in the Do Not Disturb state, an external screen display appears, you can set it in Settings>Sound and Vibration> Do Not Disturb, and enable Do Not Disturb Set the time period", the first prompt message 6011 is used to prompt the user to set the do not disturb time period according to the specified path.
  • the display style setting interface 601 in the do not disturb mode also includes a plurality of system preset display styles 6012 and a display style adding entry 6013 .
  • the user can choose one of the display styles preset by the system as the target display style output on the external screen in the do-not-disturb mode.
  • the user can also select the display style to add entry 6013, select pictures or videos from the photo album as the target display style for external screen output, or call the camera to take pictures or videos as the target display style for external screen output.
  • the user selects the system-preset "do not disturb" display style as the target display style as an example for subsequent description.
  • FIGS. 7a-7b are schematic interface diagrams of an exemplarily showing the process of enabling Do Not Disturb.
  • the user can open the sound and vibration setting interface 701 shown in FIG. It may include but not limited to operations such as single click, double click, or long press.
  • the trigger system enters the Do Not Disturb setting interface 702 shown in FIG.
  • the switch 7021 is used to control whether to turn on Do Not Disturb immediately, and if it is turned on, the electronic device immediately enters the Do Not Disturb state; for example, if the user clicks to turn on the switch 7021, the electronic device enters the Do Not Disturb state in response to the received user operation.
  • Timing on switch 7022 is used to control whether to turn on the timing do not disturb. After the timing on switch is turned on, the user can set the do not disturb time period in the do not disturb opening period setting item 7023. When the immediately on switch 7021 is turned off, the time period set by the user can be reached. After the do not disturb time period, the electronic device enters the do not disturb state.
  • a do-not-disturb time period can be displayed by default in the system, and the user can manually modify the do-not-disturb time period, for example, modify it to 15:00-17:00 as shown in Figure 7b.
  • the immediate start switch 7021 is not turned on, and the do-not-disturb time period is set to 15:00-17:00 as an example for illustration.
  • Fig. 8 is a schematic diagram of the external screen interface in the do not disturb mode.
  • the target display style displayed on the external screen is "Do Not Disturb".
  • the target display style "Do Not Disturb" will be directly displayed on the external screen.
  • the timing of the external screen display and the displayed target display style are not affected by the application program running on the foreground of the electronic device or the specific content displayed on the internal screen of the electronic device. It should be noted that, when the target display style is displayed on the external screen during the do-not-disturb time period, it can be displayed statically or dynamically.
  • the dynamic display style can be set by those skilled in the art according to actual needs, which is not specifically limited in this embodiment of the present application. For example: in the display area of the external screen, it can be scrolled horizontally, slid along the diagonal of the display area of the external screen, etc.
  • the target display style can be displayed on the external screen, which can display the current state and avoid disturbing others.
  • the system can also automatically identify the time period corresponding to the conference schedule event based on the conference schedule event created by the user, and set it in the conference schedule event Under the corresponding time period, the display style matching the meeting schedule event is displayed on the external screen.
  • the related process of external screen display in this specific scenario will be described below with reference to FIG. 9 to FIG. 10 .
  • FIGS. 9a to 9b are schematic diagrams of the interface for creating a meeting schedule event
  • FIG. 9a is a schematic diagram of the new schedule interface
  • the new schedule interface 901 includes: title 9011, location 9012, start time 9013 and End time 9014 four setting items
  • the user can enter the corresponding content under each setting item, for example: input the conference title such as "xx meeting" under the title setting item, enter the meeting location such as "company” under the location setting item, and enter Enter the meeting start time under the start time setting item, such as "July 28th at 10:00 am", and enter the meeting end time under the end time setting item, such as "July 28th at 11:00 am”.
  • the user can click on the generating option 9015 (for example, " ⁇ " in the figure) to trigger the system to generate conference schedule events according to the user's settings.
  • the generated conference schedule event 9021 and the start time and end time of the conference schedule event are displayed on the calendar interface 902 shown in FIG. 9b.
  • the system monitors the generated meeting schedule events, and starts to display the display style corresponding to the meeting schedule events in the display area of the external screen after detecting that the meeting schedule event start time point has been reached.
  • Figs. 10a-10b are schematic diagrams of the interfaces of the inner screen and the outer screen during the meeting process
  • Fig. 10a exemplarily shows that the meeting interface 1001 is displayed on the inner screen of the electronic device after the meeting schedule event starts. Simultaneously, the display style "in the meeting" matching the meeting schedule event is displayed on the external screen 1002 of the electronic device.
  • FIG. 10a only takes a video conference as an example for illustration, and in actual implementation, the conference schedule event is not limited to a video conference but may also be a voice conference.
  • the external screen displays the display style that matches the conference schedule event, it is not limited to displaying the conference interface on the internal screen. After reaching the start time of the conference schedule event, regardless of whether the conference interface is displayed on the internal screen, it will be displayed on the external screen. Displays the display style for meeting schedule event matches.
  • This method of displaying the matching display style of the meeting schedule event on the external screen can remind the user that the created meeting schedule time event has expired, so as to prevent the user from missing the meeting; on the other hand, the user displays "meeting In” to remind others that the user is currently in a meeting to avoid interruptions from others.
  • the system monitors the meeting schedule events created by the user in the calendar application program, and when the opening time of the meeting schedule event is reached, the display style "meeting" matching the meeting schedule event is displayed on the external screen "in” as an example.
  • the display style "meeting" matching the meeting schedule event is displayed on the external screen "in” as an example.
  • it is not limited to monitoring the conference schedule events created by users, but also other types of schedule events created by users, such as: business trip events, video learning schedule events, offline conference schedule events, etc.
  • the Each type of event corresponds to a corresponding start time.
  • the system detects that the scheduled event created by the user reaches the start time, it will display a display style that matches the scheduled event on the external screen.
  • the schedule event monitoring can also be combined with the do-not-disturb mode.
  • the user can first preset the do-not-disturb time period. In the case of a time period, when the schedule event starts, the electronic device will turn on the rejection of calls or turn off the do-not-disturb restrictions such as incoming call ringtones, message ringtones, and notification ringtones, so as to avoid other electronic devices from interfering with the user's schedule events.
  • the external screen displays The display style that matches the schedule event, through the style displayed on the external screen, other people around can know that the user of the electronic device does not want others to disturb, so as to effectively avoid the disturbance of people around.
  • the electronic device can also notify the user that the user is invited And the accepted meeting schedule events are monitored, and the style "in meeting” is displayed on the external screen after the monitoring reaches the opening time of the meeting log event.
  • an electronic device displays the target display style "in a meeting" on the external screen according to the conference schedule event created by the user as an example.
  • the software architecture includes an application program layer, an application program architecture layer and a kernel layer, wherein the application program layer includes a calendar 1100, a meeting 1101, an off-screen display application program 1102, and the application program architecture layer includes a window management device 1103, view system 1104 and business scene recognition module 1105, the kernel layer includes an external screen display driver 1106 and an internal screen display driver 1107.
  • a polling mechanism may be set in the business scenario identification module 1105 for polling whether a schedule event is created in the calendar 1100, and the schedule event includes: a meeting schedule event.
  • the external screen display method in this scenario includes the following steps:
  • the business scenario identification module 1105 detects the conference schedule event created in the calendar 1100, and acquires relevant information of the created conference schedule event.
  • the business scenario identification module 1105 may poll the calendar 1100 through an internally configured polling mechanism to detect whether a meeting schedule event is created in the calendar 1100 .
  • the creation can be completed in the calendar application.
  • the interactive interface for the user to create a meeting schedule event in the calendar is shown in FIGS. 9a-9b.
  • the meeting schedule event includes a start time and an end time.
  • the display style of "in a meeting" can be displayed on the external screen.
  • the "in-meeting" display style can be the display style associated with the meeting schedule event by the user in advance, or it can be automatically matched by the system from the display style preset by the system according to the type of the monitored schedule event. For example, if the monitored schedule event is a meeting schedule event, then the display style "in meeting" will be automatically matched from the display styles preset by the system.
  • the business scene recognition module 1105 can carry the AOD interface information in the instruction, notification or request and send it to the off-screen display application 1102, so that the off-screen display application 1102
  • S3 Screen-off display
  • the application program 1102 sends the first interface information to the window manager 1103 .
  • the first interface information may be carried in an instruction, notification or request and sent to the window manager 1103 .
  • the window manager 1103 sends a first notification to the view system 1104 .
  • the first notification is used to notify the view system 1104 to display the second interface information on the second display screen 192 .
  • the second notification may carry the second interface information and the identification information of the second display screen 192 .
  • S5 The view system 1104 sends a calling command to the external screen display driver 1106 .
  • the view system 1104 After analyzing the first notification sent by the window manager 1103, the view system 1104 determines to call the external screen display driver 1106 according to the identification information of the second display screen 192, and therefore sends a call-up instruction to the external screen display driver 1106, wherein calling The start command may carry the first interface information.
  • the external screen display driver 1106 After the external screen display driver 1106 receives the call-up command, it analyzes and obtains the first interface information, drives the second display screen 192, and sends the first interface information to the second display screen 192 for display.
  • the display style of "in meeting" corresponding to the information on the first interface will be displayed.
  • the "in meeting" on the second display screen 192 may continue to be displayed until the "in meeting” is replaced after receiving an instruction to cancel the display or receiving other interface information sent by the external screen display driver 1106 .
  • "In meeting" on the second display screen 192 may also be displayed once at preset time intervals. After the business scene identification module 1105 recognizes that the meeting schedule event is over, it can send an instruction to cancel displaying the first interface information to the off-screen display application program 1102, and the off-screen display application program 1102 sends the external screen to stop displaying the first interface to the window manager 1103.
  • the window manager 1103 sends a notification to the view system 1104 that the external screen stops displaying the first interface information, and the view system 1104 sends a notification to the external screen display driver 1106 that the external screen stops displaying the second interface information, and finally the second display screen In 192, the display style of "in-meeting" is cancelled.
  • the meeting 1101 is a meeting application program.
  • the user can manually open the meeting 1101 for the meeting, or the system can automatically open the meeting 1101 for the meeting.
  • the second interface information is the interface information of the application program displayed on the inner screen.
  • the conference 1101 may send the interface information of the conference application displayed on the internal screen to the window manager 1103 in an instruction or notification message.
  • the window manager 1103 sends a second notification to the view system 1104 .
  • the second notification is used to notify the view system 1104 to display the second interface information on the first display screen 194 .
  • the second notification may carry the second interface information and the identification information of the first display screen 194 .
  • the window manager 1103 may also generate an The instruction or request of the identification information performs data interaction with the view system 1104 in the form of instruction or request.
  • the view system 1104 After analyzing the second notification sent by the window manager 1103, the view system 1104 determines to invoke the internal screen display driver 1107 according to the identification information of the first display screen 194, and therefore sends an invoking command to the internal screen display driver 1107, wherein the invoking The start command may carry the second interface information.
  • the inner screen display driver 1107 drives the first display screen 194 of the electronic device, and displays the second interface information on the first display screen 194.
  • the display style of "in-conference” can be displayed on the external screen, that is, the second display screen, and it can also be displayed during the conference.
  • “Meeting” can be displayed on the external screen. On the one hand, it can remind the user of the electronic device that the meeting schedule event created by the electronic device has reached the start time, so as to prevent the user from missing the meeting. On the other hand, during the electronic device user's meeting, the surrounding people can avoid disturbing the electronic device user.
  • the above software architecture can not only monitor the meeting schedule events set by the user, but also monitor other schedule events set by the user, such as study schedule events, business trip schedule events, etc. During the time period, the corresponding display style will be displayed on the external screen.
  • the above software architecture can also monitor the DND time period set by the user, that is, the first time period, and when the monitoring reaches the DND time period, the corresponding DND display style will be displayed on the external screen.
  • the above-mentioned architecture can also monitor the meeting schedule events set by the user and the do-not-disturb time period at the same time.
  • the first target display style when it is detected that the system time of the electronic device reaches the second time period, that is, the time period corresponding to the scheduled event, the second target display style, that is, the display style corresponding to the monitored schedule event, is displayed on the external screen.
  • the right half 401 of the outer screen of the electronic device is still taken as an example of the outer screen display area, and related operations of setting the outer screen display on the outer screen are taken as an example for illustration.
  • the external screen display setting interface 601 as shown in FIG. Do not disturb mode control 6012 , immersive mode control 6013 and smart power saving switch 6014 .
  • Immersive mode control 6103 is the entrance of the external screen display in the immersive mode, through which the relevant setting interface of the external screen display in the immersive mode can be entered.
  • the relevant setting interface of the external screen display in the immersive mode can be entered.
  • FIG. 12 after receiving the user's touch operation on the immersive mode control 12011, such as clicking, pressing, etc., jump to the display style setting interface 1301 in the immersive mode as shown in FIG.
  • the display style setting interface 1301 in the immersive mode includes an application list, and the application list includes at least one application icon, an application icon addition control 13011 and an application icon deletion control 13012, wherein the application icon addition control 13011 is for the user to add Application icon, for example: after the user clicks the application icon adding control 13011, he can select at least one application icon to add to the application list shown in FIG. 13 .
  • the application icon deletion control 13012 is for the user to delete the application icon, for example: the user selects the application A icon and then clicks the application icon addition control 13012, and the application A icon can be deleted from the application list. It should be noted that, when adding application program icons to the application list for a single time, one or more application program icons may be added.
  • One or more application icons can also be removed when removing application icons from the application list at a time.
  • the applications in the application list can be the application icons automatically filtered by the system based on the user's historical usage habits, or the application icons manually added during the user's historical usage.
  • the application icons in the application list can include but are not limited to: games application icons, video application icons, social application icons or reading application icons, etc.
  • the display style setting interface 1301 in the immersive mode also includes a second prompt message 13013 such as "when the device is used continuously for more than 5 minutes, an external display will appear", the second prompt message 13013 is used to prompt the user to change the immersive mode.
  • the 5 minutes shown in the second prompt message 13013 in FIG. 13 is only an exemplary value, and this value can also be called the first preset duration, which can be flexibly set by those skilled in the art or users. There is no specific restriction on this, for example: set to 0 minutes, 8 minutes or 10 minutes, etc.
  • the first preset duration is set to 0, after the application program corresponding to the application program icon in the application list is started, the target display style set by the user is immediately displayed on the external screen.
  • the display style setting interface 1301 in the immersive mode also includes a plurality of system preset display styles 13014 and a display style adding entry 13015 . Users can choose one of the display styles preset by the system as the target display style output on the external screen in immersive mode. The user can also select the display style to add entry 13015, select pictures or videos from the photo album as the target display style for external screen output, or call the camera to take pictures or videos as the target display style for external screen output. In this embodiment, follow-up descriptions will be made by taking the user's selection of the system-preset "do not disturb" display style as the target display style as an example.
  • the system determines that the application running in the foreground is in the In the immersive mode, the external screen displays "Focus on Office Do Not Disturb".
  • the schematic diagram of the external screen interface in the immersive mode is shown in Figure 14.
  • This external screen display method can display a do-not-disturb prompt on the external screen when the user is immersed in applications such as watching movies, reading, video conferencing, or games, so as to avoid others from disturbing the user.
  • the user can rotate the electronic device by 90 degrees when using the inner screen to watch movies or play games.
  • the direction displayed on the external screen changes with the orientation of the electronic device.
  • the rotation direction and angle of the electronic device can be determined by a gyroscope built in the electronic device.
  • the electronic device can flexibly control whether the external screen displays the target display style in the immersive mode according to the distance between the electronic device and the user's preset location. For example: during the user’s call through the electronic device, it is detected that the distance between the electronic device and the user’s ear is less than the preset distance, so even if the electronic device is determined to be in the immersive mode, the target display style in the immersive mode will not be displayed on the external screen, The external screen will turn off the screen, which can save the power consumption of the external screen display.
  • the light signal cannot be detected by the external screen of the electronic device, it means that the electronic device may be placed on a table or a stand, and the external screen is invisible to others. At this time, the external screen will be off. Stopping the display can save the power consumption of the external screen display.
  • the target display style when displayed on the external screen in immersive mode, it can be displayed statically or dynamically. When displayed statically, it can be continuously displayed or intermittently displayed at preset intervals.
  • the dynamic display style can be set by those skilled in the art according to actual needs, which is not specifically limited in this embodiment of the application. For example: in the display area of the external screen, it can be scrolled horizontally, slid along the diagonal of the display area of the external screen, etc.
  • the user when setting the display style in the immersive mode for the application icon in the application list separately, as shown in Figure 13, the user can choose one of the display styles preset by the system In addition to the target display style output on the external screen in immersive mode, the user can also select the display style addition entry 13015, which triggers the system to display the display style addition path setting interface 1502 shown in Figure 15a.
  • the display style addition path setting interface includes display Style adding path menu 15021, display style adding path menu 15021 includes: the first adding path option such as adding option 150121 from the photo album, the second adding path option such as enabling camera shooting adding option 150122 and the third option such as purchased in the application Style added option 150123.
  • the user can select a picture or video from the photo album as the target display style of the external screen output.
  • the user can call the camera to take pictures or videos as the target display style of the external screen output.
  • the third adding path option 150123 the user can select a display style from the purchased styles in application C as the target display style for external screen output. Users can choose any adding option from the display style adding path menu according to actual needs. In this embodiment of the application, the user manually selects the purchased style addition option 150123 as an example for illustration.
  • Fig. 15a exemplarily shows that the application list contains multiple application program icons, and the user indirectly selects an application program by selecting an application program icon. In the actual implementation process, it is not limited to this, and the application program name may also be displayed in the application list, and the user selects the application program by selecting the application program name.
  • the switch 15031 for external screen display immediately after a specific item the user can manually select at least one of multiple purchased display styles as the target display style for external screen display when application C is in immersive mode. in.
  • the switch 15031 is turned on and the application program is running, after the user purchases a specific item, the purchased specific item is immediately displayed on the external screen of the electronic device as the target display style.
  • the user selects the first display style 15032 such as the smiley face style and the second display style 15033 such as the crown style as an example for illustration.
  • the switch 15031 may not be set in the purchased style selection interface 1503.
  • the application program C may decide whether to display the corresponding display style on the external screen immediately after the user purchases a specific item.
  • Figure 16(a) is a schematic diagram of the internal screen interface in the immersive mode
  • Figure 16b is a schematic diagram of the external screen interface in the immersive mode
  • the interface of application C Display on the inner screen when the purchased target display style is displayed in application C and selected by the user, the same display style will be displayed synchronously on the outer screen.
  • Application C is a game application.
  • the crown style 15033 shown in Figure 16(a) is displayed. Since the crown style 15033 is preset by the user in the immersive mode of Application C This is the target display style displayed on the external screen, so the crown style 15033 is displayed synchronously on the external screen interface shown in Figure 16(b). Similarly, when the smiley face pattern 15032 appears in the display interface of the internal screen, the external screen displays the smiley face pattern 15032 synchronously.
  • FIG. 16 only exemplarily enumerates a manner of synchronously displaying the same display style on the external screen when the target display style preset by the user is displayed on the internal screen interface.
  • the running time of the application program C running in the foreground can reach a first preset duration, such as 5 minutes, and the target display style preset by the user for the application program C is displayed on the external screen.
  • the preset target display styles of the user are two or more display styles, such as the smiley face style 15032 and the crown style 15033 shown in FIG.
  • the target display style may also display preset target display styles at the same time, and the specific display mode is not limited in this embodiment of the present application.
  • the method of setting a personalized display style for the application in the immersive mode provided in this optional embodiment, on the one hand, can meet the user's personalized display requirements, and on the other hand, can improve the fun of the external screen display.
  • the external screen display method will be described by taking the scene where the video application is in the immersive mode when watching a movie through the video application as an example in combination with the external screen display software architecture shown in FIG. 17 .
  • the software architecture includes an application layer, an application architecture layer, and a kernel layer, wherein the application layer includes a video application 1701, an off-screen display application 1702, and the application architecture layer includes a window manager. 1704 , the view system 1705 and the business scene recognition module 1706 , the kernel layer includes an external screen display driver 1707 and an internal screen display driver 1708 .
  • the business scene identification module 1706 is provided with a polling mechanism, which can identify the application program running in the foreground, and the continuous running time of the application program running in the foreground can be identified through multiple polling.
  • the external screen display method based on the software architecture shown in Figure 17 comprises the following steps:
  • the first interface information is the interface information of the video application program, including but not limited to: video frame, viewing duration, and the like.
  • the first interface information may be carried in the instruction, notification or request information and sent to the window manager 1704 .
  • the user enables the immersive mode in the external screen display setting interface, and can set the target applications to be monitored in the application list.
  • Each application corresponds to an application icon, and the application corresponding to the application icon contained in the application list can be used as the application to be monitored. target application.
  • the video application 1701 is included in the target application set by the user, and the user pre-selects the display style of "watching a movie" for the video application 1701 as an example for illustration.
  • the window manager 1704 will send a first notification to the view system 1705 .
  • the first notification is used to notify the view system 1705 to display the first interface information on the first display screen 194 .
  • the first notification may carry the first interface information and the identification information of the first display screen 194 .
  • the window manager 1704 may also generate an Instructions or requests for identification information perform data interaction with the view system 1705 in the form of instructions or requests.
  • the view system 1705 After analyzing the first notification sent by the window manager 1704, the view system 1705 determines to call the internal screen display driver 1707 according to the identification information of the first display screen 194, and therefore sends a call-up instruction to the internal screen display driver 1707, wherein calling The start command may carry the first interface information.
  • the internal screen display driver 1707 drives the first display screen 194 in response to the calling instruction, and displays the first interface information, that is, the interface information of the video application program, on the first display screen 194 .
  • the business scene identification module 1706 invokes the polling mechanism to monitor the status of the video application.
  • the business scene recognition module 1706 detects that the video application 1701 is running through a polling mechanism, and monitors the running time of the video application 1701. When it detects that the running time of the video application 1701 exceeds the first preset time, for example, 5 minutes, Determine the mechanism that triggers the external screen display.
  • the business scene identification module 1906 sends the second interface information to the off-screen display application program 1702 .
  • the second interface information may be sent to the off-screen display application program 1702 carried in an instruction, a notification, or a request.
  • the business scene recognition module 1906 recognizes that the running time of the video application 1701 exceeds the first preset duration, it determines that the display style corresponding to the video application 1701 preset by the user is "watching a movie", and sets "watching a movie” to The information of this display style is sent to the off-screen display application program 1702 as the second interface information.
  • the off-screen display application program 1702 sends the second interface information to the window manager 1704 .
  • the window manager 1704 sends a second notification to the view system 1705 .
  • the second notification is used to notify the view system 1705 to display the second interface information on the second display screen 192 .
  • the second notification may carry the second interface information and the identification information of the second display screen 192 .
  • the view system 1705 sends a calling command to the external screen display driver 1708 .
  • the view system 1705 parses the second notification sent by the window manager 1704, it determines to call the external display driver 1708 according to the identification information of the second display screen 192, so it sends a call command to the external display driver 1708, wherein the calling The start command may carry the second interface information.
  • the external screen display driver 1708 drives the second display screen 192, that is, the external screen, in response to the call-up instruction, and displays the second interface information on the second display screen 192, that is, the display style of "viewing a movie".
  • S1-S3 and S4-S8 are executed in parallel, and there is no sequence between them.
  • the phone application main interface 1803 includes an add option 18031.
  • the user pre-applies a custom external screen display style to the phone, the user performs a touch operation on the add option 18031, such as clicking or long According to the operation etc., the trigger system displays the custom style setting interface as shown in Fig. 18(b).
  • the add option 18031 is an entry for setting the external screen display, through which the user can trigger the system to display the custom style setting interface 18031 .
  • the custom style setting interface 1801 includes system preset styles such as “busy game” 18011, "focus on office and do not disturb” 18012, added styles in the application such as family portrait pictures 18013 and preset graphics 18014, custom added style options 18015 and Smart power saving switch 18016.
  • the style added in the application can be the display style added when the user used the phone application in history, for example: before talking with friend a in the history of use, add a group photo with friend a as a custom style, and open the phone application next time
  • the added style of the application in the custom setting interface 1801 will include the group photo, and the phone application will automatically establish an association between the group photo and a friend.
  • the group photo can be displayed on the external screen when the user is talking with friend a.
  • the custom style option 18013 is for the user to add a custom style, for example: the user can also select the custom style option 18013, and select a picture or video from the album as a custom display style; the user can also call the camera to take pictures or videos as Custom display style, wherein, the custom display style added by the user through the custom add style option will be used as the target display style of the external screen output.
  • An optional way to customize the display style by customizing the adding style option can be: the user clicks on the custom adding style option 18013, triggering the system to display the custom display style adding path, including but not limited to: adding options from the photo album and Turn on the camera capture add option.
  • the user can select a picture or video from the album as a custom display style by selecting the option to add from the album.
  • the user can also further call the camera to take pictures or videos as a personalized display style by selecting the option to enable the addition of camera shooting.
  • the smart power saving switch 18016 is used to control whether to enable the smart power saving function. After the smart power saving function is turned on, the display brightness of the external screen will automatically change with the light environment. It is in the power saving mode or the remaining power of the electronic device is less than a preset percentage such as 10%. , the external screen does not display. After the intelligent power-saving function is turned off, the display brightness of the external screen will not automatically change with the light environment, and the display on the external screen will not stop displaying because the remaining power of the electronic device is less than the preset percentage or the electronic device is in power-saving mode.
  • turning on the intelligent power saving function can save the power consumption of the external screen display and prolong the battery life of the electronic device; on the other hand, since the brightness of the external screen display automatically changes with the light environment, for example, when the external light is bright, the display brightness will be adjusted. Dark, can improve the display effect of the external screen.
  • the user can manually click any selected target display style such as 18013.
  • the system receives the user's click operation on the target display style 18013, it will display as shown in Figure 19
  • the application style preview interface 1802, the application style preview interface 1802 includes the preview thumbnails of the target display styles selected by the user, such as the family portrait style 18013, the preview thumbnails of the display styles not selected by the user, such as 18014, and the application button 18017 , and the preview image of the family portrait style 18013, the user can manually switch the display style selected by the user or the display style not selected by the user to preview. After the user determines to apply a certain display style such as the family portrait style 18013, he can click the apply button 18017.
  • the family portrait picture 18013 that has been added in the application selected by the user is taken as an example for illustration.
  • the user-defined display style family portrait is displayed on the external screen of the electronic device Image 18013.
  • the size of the family portrait picture 18013 displayed on the external screen can be adapted to the size of the external screen, or can be the original size.
  • the above is only an example of a user-defined display style.
  • the user can select two or more display styles in the custom setting interface 1801 as the target of the external screen display.
  • the system can determine the matching display style according to the current interface content of the phone application and output it on the external screen.
  • the user selects the family portrait
  • the family portrait picture 18013 can be displayed on the external screen of the electronic device; when the user talks with the leader, the external screen of the electronic device can display "Do Not Disturb" 18012 is displayed.
  • This method of setting an interface in the application program interface for the user to customize the display style of the external screen on the one hand, can enrich the content of the external screen style; on the other hand, can meet the personalized display requirements of the user.
  • the above is only an example of customizing the display style of the external screen in the phone application. screen display style.
  • users can also customize the external screen display style in third-party applications such as video applications, social applications, or game applications.
  • the display style added in the application can be the display style corresponding to the feature items purchased by the user in the game application, or it can be the user's custom-added style options when using the game application in the past The added display style.
  • the display style of the purchased specific item will be displayed on the external screen immediately when the specific item is purchased, so that when the user purchases the specific item during the game, although the user does not
  • the display style corresponding to the specific item is pre-selected as the target display style displayed on the external screen, and the purchased display style of the specific item will still be displayed immediately on the external screen.
  • the software architecture includes an application layer, an application architecture layer, a kernel layer, and hardware, wherein the application layer includes a phone application 2101, an off-screen display application 2102, and an application architecture layer
  • the application layer includes a phone application 2101, an off-screen display application 2102, and an application architecture layer
  • the window manager 2104 and the view system 2105 are included in the kernel layer, and the inner screen display driver 2106 and the outer screen display driver 2107 are included in the kernel layer.
  • the external screen display method performed includes the following steps:
  • the following describes the target display style displayed on the external screen when the user selects the family portrait picture 18013 as the phone application through the user interface settings shown in FIGS. 18 to 19 as an example.
  • phone 2101 refers to a phone application program
  • the first interface information is interface information of the phone application program.
  • the interface information may include, but is not limited to: contact information for establishing a call connection, call duration, and the like.
  • the window manager 2104 sends a first notification to the view system 2105 .
  • the first notification is used to notify the view system 2105 to display the first interface information on the first display screen 194 .
  • the first notification may carry the first interface information and the identification information of the first display screen 194 .
  • the window manager 2104 may also generate The instruction or request of the identification information performs data interaction with the view system 2105 in the form of instruction or request.
  • S3 The view system 2105 sends a calling command to the internal screen display driver 2106 .
  • the view system 2105 After analyzing the first notification sent by the window manager 2104, the view system 2105 determines to call the internal screen display driver 2106 according to the identification information of the first display screen 194, and therefore sends a call-up instruction to the internal screen display driver 2106, wherein the calling The start command may carry the first interface information.
  • the internal screen display driver 2106 drives the first display screen 194 in response to the calling instruction, and displays the first interface information, that is, the interface information of the phone application program, on the first display screen 194 .
  • the second interface information is the image information of the family portrait picture 21013 display style.
  • the second interface information may be carried in the notification, request or instruction and sent to the off-screen display application 2102.
  • the phone 2101 determines that the user's pre-selected target display style needs to be displayed on the external screen, and the user's pre-selected target display style can be found by filtering the status of each display style.
  • the status of the display style may include: selected and unselected.
  • the user selects only one display style of the family portrait picture 21013 as an example for illustration.
  • the target display style it is necessary to further match the display style sent to the off-screen display application 2102 in combination with the content included in the first interface information.
  • the phone 2101 can automatically create the correspondence between the display style and the contact person based on the user's historical display style usage record on the phone 2101. Therefore, when the display style is further matched with the content contained in the first interface information, the first interface information can be used to further match the display style.
  • the content contained in the interface information determines the contact person of the current call, and then finds the first display style corresponding to the current contact from the corresponding relationship between the managed display style and the contact person.
  • the first display style is determined as the display style sent to the off-screen display application program 2102 . If the first display style is not in the target display styles pre-selected by the user, one of the target display styles pre-selected by the user may be randomly selected and sent to the off-screen display application program 2102 .
  • S5 Screen-off display
  • the application program 2102 sends the second interface information to the window manager 2104.
  • the window manager 2104 sends a second notification to the view system 2105 .
  • the second notification is used to notify the view system 2105 to display the second interface information on the second display screen 192 .
  • the second notification may carry the second interface information and the identification information of the second display screen 192 .
  • the view system 2105 After analyzing the second notification sent by the window manager 2104, the view system 2105 determines to invoke the external display driver 2107 according to the identification information of the second display screen 192, and therefore sends an invoking instruction to the external display driver 2107, wherein the invoking The start command may carry the second interface information.
  • the external screen display driver 2107 drives the second display screen 192, that is, the external screen, in response to the call-up instruction, and displays the second interface information, that is, the family portrait picture 21013 in the display style of the second display screen 192 .
  • preset priority rules can also be used, for example: Custom >> Immersive Mode >> Do Not Disturb Mode, the system According to the mode of the electronic device, the state of the application program displayed on the inner screen of the electronic device, etc., the display mode of the external screen is automatically determined, so that the target display style in the corresponding mode is displayed on the external screen.
  • the three modes of Do Not Disturb, Immersion and Custom can be set as mutually exclusive, and the user can choose which mode is currently applied, such as displaying the setting interface on the external screen, and the list of modes being applied There is an auxiliary description of "applied” in the second line of the .
  • the system will not automatically switch between multiple modes. For example: currently in the do-not-disturb time period, but the user selects "immersive mode", the external screen will not have the display style of do not disturb mode.
  • the electronic device includes hardware and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions in combination with the embodiments for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
  • This embodiment also provides a computer storage medium, the computer storage medium stores computer instructions, and when the computer instructions are run on the electronic device, the electronic device executes the steps of the above-mentioned related methods to realize the external screen display method in the above-mentioned embodiment .
  • This embodiment also provides a computer program product.
  • the computer program product When the computer program product is run on a computer, it causes the computer to execute the above-mentioned related steps, so as to realize the external screen display method in the above-mentioned embodiment.
  • the electronic device, computer storage medium, computer program product or chip provided in this embodiment is all used to execute the corresponding method provided above, therefore, the beneficial effects it can achieve can refer to the corresponding method provided above The beneficial effects in the method will not be repeated here.
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or It may be integrated into another device, or some features may be omitted, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • a unit described as a separate component may or may not be physically separated, and a component shown as a unit may be one physical unit or multiple physical units, which may be located in one place or distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • the functions described in the embodiments of the present application may be implemented by hardware, software, firmware or any combination thereof.
  • the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
  • Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
  • a storage media may be any available media that can be accessed by a general purpose or special purpose computer.

Landscapes

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

Abstract

The present application provides an outer screen display method and an electronic device. The method comprises: an electronic device determines a first time period according to a do-not-disturb time period set by a user, and determines a second time period according to a scheduled event created by the user; the electronic device further determines a first target display style corresponding to the do-not-disturb time period, i.e., the first time period, and a second target display style corresponding to the scheduled event, separately; when it is monitored that the system time of the electronic device reaches the first time period, the electronic device displays the first target display style on an outer screen, so that the user is prevented from being disturbed by outsiders; and when it is monitored that the system time of the electronic device reaches the second time period, the electronic device displays the second target display style on the outer screen, so that the user is prompted that the time for the scheduled event has come, and the user can also be prevented from being disturbed by outsiders.

Description

外屏显示方法及电子设备External screen display method and electronic device

本申请要求于2021年08月20日提交中国专利局、申请号为202110962690.9、申请名称为“外屏显示方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110962690.9 and the application name "external screen display method and electronic equipment" submitted to the China Patent Office on August 20, 2021, the entire contents of which are incorporated in this application by reference .

技术领域technical field

本申请例涉及终端设备领域,尤其涉及一种外屏显示方法及电子设备。The present application example relates to the field of terminal equipment, and in particular to an external screen display method and electronic equipment.

背景技术Background technique

随着电子设备的不断更新换代,单屏、双屏甚至双面屏电子设备已量产。双面屏电子设备由于屏幕显示内容较单屏电子设备而言更加全面,屏幕切换更加灵活,因此备受用户青睐。双面屏电子设备的屏幕处于闭合状态时,外屏可显示时间或天气等信息,外屏显示内容单一。With the continuous upgrading of electronic devices, single-screen, dual-screen and even double-sided electronic devices have been mass-produced. Electronic devices with double-sided screens are favored by users because the screen display content is more comprehensive than that of single-screen electronic devices, and screen switching is more flexible. When the screen of the double-sided screen electronic device is in a closed state, the outer screen can display information such as time or weather, and the outer screen displays a single content.

发明内容Contents of the invention

为了解决上述技术问题,本申请提供一种外屏显示方法及电子设备。在该方法中,电子设备在内屏显示前台运行的应用程序界面的同时,根据前台运行的应用程序状态、类型等,在外屏显示匹配的显示样式,不仅可合理地对外屏资源进行利用,还能够满足用户对外屏个性化显示的需求。In order to solve the above technical problems, the present application provides an external screen display method and electronic equipment. In this method, while the electronic device displays the interface of the application program running in the foreground on the internal screen, it displays a matching display style on the external screen according to the status and type of the application program running in the foreground, which can not only reasonably utilize the resources of the external screen, but also It can meet the needs of users for personalized display on the external screen.

第一方面,本申请提供一种外屏显示方法,其中,该外屏显示方法包括:电子设备依据用户设置的免打扰时间段确定第一时间段,依据用户创建的日程事件确定第二时间段,In a first aspect, the present application provides an external screen display method, wherein the external screen display method includes: the electronic device determines the first time period according to the do-not-disturb time period set by the user, and determines the second time period according to the schedule event created by the user ,

电子设备还分别确定免打扰时间段即第一时间段对应的第一目标显示样式和日程事件对应的第二目标显示样式,电子设备在监测到电子设备的系统时间达到第一时间段时,在外屏显示第一目标显示样式,可避免外界人员打扰用户。在监测到电子设备的系统时间达到第二时间段时,在外屏显示第二目标显示样式,不仅可提示用户日程事件已到时间,还可以避免外界人员打扰用户。在外屏显示第一目标显示样式时,内屏中的显示内容不受第一时间段、第二时间段的控制,内屏中可息屏显示,内屏中还可以显示当前所开启的应用程序的界面。The electronic device also respectively determines the do-not-disturb time period, that is, the first target display style corresponding to the first time period and the second target display style corresponding to the schedule event. When the electronic device detects that the system time of the electronic device reaches the first time period, it will The screen displays the first target display style, which can prevent outsiders from disturbing the user. When it is detected that the system time of the electronic device reaches the second time period, the second target display style is displayed on the external screen, which can not only remind the user that the scheduled event is up, but also prevent external personnel from disturbing the user. When the first target display style is displayed on the outer screen, the display content in the inner screen is not controlled by the first time period and the second time period, and the inner screen can be displayed on the closed screen, and the currently opened application program can also be displayed on the inner screen interface.

根据第一方面,或者以上第一方面的任意一种实现方式,电子设备接收用户的免打扰时间段设置操作,确定第一时间段包括:电子设备在接收到用户对外屏显示设置界面中第一模式选项的第一选定操作例如:点击或者长按操作等时,显示第一提示信息以提示用户设置免打扰时间段,用户依据第一提示信息开启免打扰设置界,并在免打扰设置界面中输入免打扰时间段,电子设备接收用户在免打扰设置界面中输入的免打扰时间段,将免打扰时间段确定为第一时间段。该种免打扰时间段设置方式,便于用户灵活设置免打扰时间段。According to the first aspect, or any implementation of the above first aspect, the electronic device receives the user's setting operation of the do not disturb time period, and determining the first time period includes: the electronic device receives the user's first time in the setting interface displayed on the external screen. The first selection operation of the mode option is for example: when clicking or long-pressing operations, etc., the first prompt message is displayed to prompt the user to set the do not disturb time period, and the user opens the do not disturb setting interface according to the first prompt information, and in the do not disturb setting interface Enter the do-not-disturb time period in the do-not-disturb setting interface, and the electronic device receives the do-not-disturb time period input by the user in the do-not-disturb setting interface, and determines the do-not-disturb time period as the first time period. This method of setting the do not disturb time period is convenient for the user to flexibly set the do not disturb time period.

根据第一方面,或者以上第一方面的任意一种实现方式,电子设备确定免打扰时间段对应的第一目标显示样式,包括:电子设备响应于用户对外屏显示设置界面中第一模式选项的第一选定操作,显示第一外屏样式设置界面,其中,第一外屏样式设置界面中包括:至少一个系统预设显示样式。电子设备响应于用户对目标显示样式的第三选定操作例如: 点击显示样式缩略图,确定免打扰时间段对应的第一目标显示样式,其中,至少一个系统预设显示样式中包括第一目标显示样式。该种系统中预设多种显示样式的方式,便于用户选择、设置。According to the first aspect, or any implementation manner of the above first aspect, the electronic device determines the first target display style corresponding to the do-not-disturb time period, including: the electronic device responds to the user's setting of the first mode option in the external screen display setting interface The first selection operation is to display a first external screen style setting interface, wherein the first external screen style setting interface includes: at least one system preset display style. The electronic device responds to the third selection operation of the target display style by the user, such as: clicking the thumbnail of the display style to determine the first target display style corresponding to the do not disturb time period, wherein at least one system preset display style includes the first target Display styles. In this system, multiple display styles are preset, which is convenient for users to select and set.

根据第一方面,或者以上第一方面的任意一种实现方式,电子设备确定免打扰时间段对应的第一目标显示样式,包括:电子设备响应于接收用户对第一外屏样式设置界面中的显示样式添加入口的第三选定操作,显示目标样式添加路径,其中,添加路径包括:相册中添加、摄像头拍摄添加;电子设备响应于用户对目标添加路径的第四选定操作,从目标添加路径下获取免打扰时间段对应的第一目标显示样式。该种设置多个添加路径供用户添加显示样式的方式,便于用户添加个性化显示样式,能够满足用户对显示样式的个性化需求。According to the first aspect, or any implementation of the above first aspect, the electronic device determines the first target display style corresponding to the do-not-disturb time period, including: the electronic device responds to receiving the user's setting of the first external screen style setting interface Display the third selection operation of the style addition entry, and display the target style addition path, wherein, the addition path includes: addition in the photo album, camera shooting addition; the electronic device responds to the fourth selection operation of the target addition path by the user, from the target addition path Obtain the first target display style corresponding to the do-not-disturb time period under the path. This way of setting multiple adding paths for users to add display styles is convenient for users to add personalized display styles, and can meet users' personalized requirements for display styles.

根据第一方面,或者以上第一方面的任意一种实现方式,电子设备接收用户的日程事件创建操作,确定日程事件对应的第二时间段,包括:电子设备接收用户在新建日程界面中输入的日程事件信息,其中,日程事件信息包括:开始时间和结束时间,电子设备依据日程事件信息生成日程事件并在日历中显示日程事件。电子设备将日程事件的开始时间和结束时间指示的时间段确定为第二时间段,通过将系统时间与第二时间段进行比对,可确定在外屏显示目标显示样式的时机。该种在日历中创建日程事件的方式,操作便捷。According to the first aspect, or any implementation manner of the above first aspect, the electronic device receives the user's schedule event creation operation, and determines the second time period corresponding to the schedule event, including: the electronic device receives the user's input in the new schedule interface The schedule event information, wherein the schedule event information includes: a start time and an end time, and the electronic device generates a schedule event according to the schedule event information and displays the schedule event in a calendar. The electronic device determines the time period indicated by the start time and end time of the schedule event as the second time period, and by comparing the system time with the second time period, the timing for displaying the target display style on the external screen can be determined. This method of creating schedule events in the calendar is easy to operate.

根据第一方面,或者以上第一方面的任意一种实现方式,电子设备确定所述日程事件对应的第二目标显示样式,包括:电子设备依据日程事件的类型,确定日程事件对应的第二目标显示样式,其中,日程事件类型包括:会议、行程以及学习。例如:日程事件为会议,则可确定第二目标显示样式为“会议中”,再例如:日程事件为学习,则可确定第二目标显示样式为“学习中”,该种基于日程事件类型自动确定显示样式的方式,无需用户手动设置,操作便捷。According to the first aspect, or any implementation manner of the above first aspect, the electronic device determining the second target display style corresponding to the schedule event includes: the electronic device determines the second target corresponding to the schedule event according to the type of the schedule event A display style, wherein, the type of the schedule event includes: meeting, trip, and study. For example: if the schedule event is a meeting, then it can be determined that the second target display style is "meeting", and another example: if the schedule event is learning, then the second target display style can be determined as "learning". Determine the way to display the style, without manual setting by the user, and the operation is convenient.

第二方面,本申请还提供了一种外屏显示方法,该方法包括:电子设备响应于用户对至少一个应用程序图标的选定操作,确定待监测应用程序,其中每个应用程序图标对应一个应用程序,电子设备响应于用户为各应用程序图标关联显示样式的第一操作,确定各待监测应用程序对应的显示样式,电子设备检测到待监测应用程序中的目标应用程序的运行时长超出预设时长,查找与目标应用程序对应的目标显示样式,在外屏显示该目标显示样式。该种在监测到应用程序的运行时长超出预设时长时,便在外屏显示目标显示样式的方法,可避免外界人员打扰电子设备用户。In the second aspect, the present application also provides an external screen display method, the method includes: the electronic device determines the application program to be monitored in response to the user's selection operation on at least one application program icon, wherein each application program icon corresponds to a application program, the electronic device responds to the user’s first operation of associating the display style with each application program icon, and determines the display style corresponding to each application program to be monitored, and the electronic device detects that the running time of the target application program in the application program to be monitored exceeds the preset Set the duration, find the target display style corresponding to the target application program, and display the target display style on the external screen. The method of displaying the target display style on the external screen when it is detected that the running time of the application program exceeds the preset time can prevent external personnel from disturbing the user of the electronic device.

根据第二方面,或者以上第二方面的任意一种实现方式,电子设备接收用户对至少一个应用程序图标的选定操作,包括:电子设备响应于用户对外屏显示设置界面中第二模式选项的第一选定操作例如点击、长按等操作,显示第二外屏样式设置界面,其中,第二外屏样式设置界面中包括应用列表,应用列表中包含多个应用程序图标、应用程序图标添加选项和应用程序图标删除选项,电子设备响应于用户通过应用程序图标添加选项、应用程序图标删除选项中的至少之一对应用列表中包含的应用程序图标的调整操作,将调整后的应用列表中的应用程序图标对应的应用程序确定为待监测应用程序。该种设置待监测应用程序的方式,用户可通过添加或删除应用程序图标的方式灵活添加或删除应用程序,操作便捷。According to the second aspect, or any implementation manner of the above second aspect, the electronic device receives the user's selected operation on at least one application program icon, including: the electronic device responds to the user's selection of the second mode option in the external screen display setting interface The first selected operation, such as clicking, long pressing, etc., displays the second external screen style setting interface, wherein, the second external screen style setting interface includes an application list, and the application list includes multiple application program icons, application icon add option and application icon deletion option, the electronic device responds to the user's adjustment operation on the application icon contained in the application list through at least one of the application icon addition option and application icon deletion option, and the adjusted application list The application program corresponding to the application program icon is determined as the application program to be monitored. In this method of setting the application program to be monitored, the user can flexibly add or delete the application program by adding or deleting the application program icon, and the operation is convenient.

根据第二方面,或者以上第二方面的任意一种实现方式,所述第二外屏样式设置界面 中还包括至少一个系统预设显示样式;电子设备接收用户为各应用程序图标关联显示样式的第一操作,包括:电子设备响应于用户对应用程序列表中的第一应用程序图标的第二选定操作,例如点击、添加或删除等操作后,响应于用户对第二显示样式的第三选定操作例如:勾选操作,其中,系统预设显示样式包括第一显示样式,将第二显示样式确定为第一应用程序图标对应的待监测应用程序对应的显示样式。该种可选地实施例中,用户可分别为不同的待监测应用程序设置不同的显示样式,使得外屏显示更加多样化。According to the second aspect, or any implementation of the above second aspect, the second external screen style setting interface further includes at least one system preset display style; The first operation includes: the electronic device responds to the user's second selection operation on the first application program icon in the application program list, such as clicking, adding or deleting, etc., and then responds to the user's third selection operation on the second display style. The selection operation is, for example, a check operation, wherein the system preset display style includes the first display style, and the second display style is determined as the display style corresponding to the application to be monitored corresponding to the first application icon. In this optional embodiment, the user can set different display styles for different application programs to be monitored, so that the external screen display is more diversified.

根据第二方面,或者以上第二方面的任意一种实现方式,第二外屏样式设置界面中还包括第一提示信息;其中,第一提示信息用于提示用户所设置的目标应用程序在前台运行第一预设时长后,在外屏显示设置的目标显示样式。第一提示信息可提示用户外屏显示的时机,提升用户的使用体验。According to the second aspect, or any implementation of the above second aspect, the second external screen style setting interface further includes first prompt information; wherein, the first prompt information is used to prompt the user that the target application program set is in the foreground After running for the first preset time period, the set target display style is displayed on the external screen. The first prompt information can prompt the user when the external screen is displayed, thereby improving the user experience.

根据第二方面,或者以上第二方面的任意一种实现方式,该外屏显示方法还包括:电子设备响应于用户对应用程序界面中添加选项的第四选定操作,显示外屏显示样式设置界面,其中,外屏显示样式设置界面中包括:多个显示样式,电子设备响应于用户对至少一个目标显示样式的第五选定操作,确定可供匹配的各目标显示样式。在外屏显示时,电子设备依据内屏显示的应用界面的内容,从用户选定的各目标显示样式中选择显示样式在外屏显示,因此,电子设备在内屏显示的应用程序界面内容与至少一个目标显示样式中的第二显示样式匹配的情况下,在外屏显示第二显示样式。本可实施方式中在应用程序中可提供外屏显示样式设置入口,便于用户操作。再一方面,在外屏显示与内屏界面内容匹配的目标显示样式,使得外屏显示更加个性化。According to the second aspect, or any implementation of the second aspect above, the external screen display method further includes: the electronic device displays the external screen display style setting in response to the user's fourth selection operation on the add option in the application program interface The interface, wherein the external screen display style setting interface includes: a plurality of display styles, and the electronic device determines each target display style available for matching in response to the user's fifth selection operation on at least one target display style. When displaying on the external screen, the electronic device selects a display style from various target display styles selected by the user according to the content of the application interface displayed on the internal screen, and displays it on the external screen. Therefore, the content of the application program interface displayed on the internal screen of the electronic device is consistent with at least one If the second display style in the target display style matches, the second display style is displayed on the external screen. In this embodiment, an entry for setting the display style of the external screen may be provided in the application program, which is convenient for the user to operate. On the other hand, displaying on the external screen a target display style that matches the interface content of the internal screen makes the display on the external screen more personalized.

根据第二方面,或者以上第二方面的任意一种实现方式,电子设备响应于第五选定操作,在内屏显示的界面内容与至少一个目标显示样式中的第二显示样式匹配的情况下,在外屏显示第二显示样式,包括:电子设备响应于用户的第五选定操作例如:对显示样式缩略图的勾选操作、添加显示样式的操作等,在内屏显示的应用程序界面中包含所述至少一个目标显示样式中的第二显示样式的情况下,在外屏显示所述第二显示样式。本可选地实施例中,内屏与外屏同步播报,便于外界人员获知用户当前游戏状态。According to the second aspect, or any implementation manner of the above second aspect, the electronic device responds to the fifth selected operation, when the interface content displayed on the internal screen matches the second display style in at least one target display style , displaying the second display style on the outer screen, including: the electronic device responds to the user's fifth selected operation, such as: ticking the thumbnail of the display style, adding a display style, etc., in the application program interface displayed on the inner screen When the second display style in the at least one target display style is included, the second display style is displayed on the external screen. In this optional embodiment, the inner screen and the outer screen broadcast synchronously, so that outsiders can know the current game status of the user.

根据第二方面,或者以上第二方面的任意一种实现方式,电子设备响应于第五选定操作,在内屏显示的界面内容与至少一个目标显示样式中的第二显示样式匹配的情况下,在外屏显示第二显示样式包括:电子设备响应于第五选定操作,在内屏中显示的应用程序界面中的联系人信息,与至少一个目标显示样式中的第二显示样式具有关联关系的情况下,在外屏显示第二显示样式。例如:用户在通过电话应用与家人通话,该家人的电话号码关联了用户选中的目标显示样式中的全家福照片,则可在外屏显示该全家福照片。本可选地实施例中,内屏与外屏同步播报,便于外界人员获知用户当前所通话的重要性。According to the second aspect, or any implementation manner of the above second aspect, the electronic device responds to the fifth selected operation, when the interface content displayed on the internal screen matches the second display style in at least one target display style , displaying the second display style on the outer screen includes: the electronic device responds to the fifth selected operation, and the contact information in the application program interface displayed on the inner screen has an association relationship with the second display style in at least one target display style In the case of , the second display style is displayed on the external screen. For example: the user is talking with a family member through the phone application, and the family photo is associated with the family photo in the target display style selected by the user, and the family photo can be displayed on the external screen. In this optional embodiment, the inner screen and the outer screen broadcast synchronously, so that outsiders can know the importance of the user's current call.

第三方面,本申请还提供了一种电子设备。该电子设备包括:业务场景识别模块、灭屏显示应用程序和外屏显示驱动;业务场景识别模块确定用户创建的日程事件以及所述日程事件对应的显示样式,其中,日程事件包括:开始时间和结束时间;监测到达到开始时间后,向灭屏显示应用程序发送显示样式对应的第一界面信息;灭屏显示应用程序,接收到第一界面信息后,指示外屏显示驱动调起外屏,在外屏中显示第一界面信息。In a third aspect, the present application also provides an electronic device. The electronic device includes: a business scene recognition module, an off-screen display application program, and an external screen display driver; the business scene recognition module determines the schedule event created by the user and the display style corresponding to the schedule event, wherein the schedule event includes: start time and End time; after the monitoring reaches the start time, send the first interface information corresponding to the display style to the off-screen display application program; after receiving the first interface information, the off-screen display application program instructs the external screen display driver to activate the external screen, The first interface information is displayed on the external screen.

根据第三方面,或者以上第三方面的任意一种实现方式,电子设备中的业务场景识别模块,还用于确定用户设置的免打扰时间段以及免打扰时间段对应的第一显示样式;监测 到达到免打扰时间段时,向灭屏显示应用程序发送第一显示样式对应的第三界面信息;灭屏显示应用程序接收到第三界面信后,指示外屏显示驱动调起外屏,在外屏中显示第一显示样式对应的第三界面信息。According to the third aspect, or any implementation of the above third aspect, the business scene identification module in the electronic device is also used to determine the do-not-disturb time period set by the user and the first display style corresponding to the do-not-disturb time period; monitoring When the do-not-disturb period is reached, send the third interface information corresponding to the first display style to the off-screen display application program; after receiving the third interface message, the off-screen display application program instructs the external screen display driver to activate the external screen, The third interface information corresponding to the first display style is displayed on the screen.

根据第三方面,或者以上第三方面的任意一种实现方式,电子设备还包括:窗口管理器和视图系统;窗口管理器接收灭屏显示应用程序发送的第一界面信息,基于第一界面信息生成第一通知,并将第一通知发送至视图系统,其中,第一通知中包括:所述第一界面信息和外屏标识信息。视图系统解析接收到的第一通知,依据解析到的外屏标识信息调用外屏显示驱动,外屏显示驱动响应于视图系统的调用指令,驱动电子设备的外屏,在外屏中显示第一界面信息对应的第二显示样式。According to the third aspect, or any implementation of the above third aspect, the electronic device further includes: a window manager and a view system; the window manager receives the first interface information sent by the off-screen display application program, and based on the first interface information A first notification is generated and sent to the view system, wherein the first notification includes: the first interface information and external screen identification information. The view system parses the received first notification, calls the external screen display driver according to the parsed external screen identification information, and the external screen display driver responds to the call command of the view system, drives the external screen of the electronic device, and displays the first interface on the external screen The second display style corresponding to the information.

根据第三方面,或者以上第三方面的任意一种实现方式,电子设备还包括:执行日程事件的第一应用程序和内屏显示驱动,其中日程事件不同执行日程事件的第一应用程序不同,例如:日程事件为会议日程事件时,第一应用程序为会议应用程序,窗口管理器,用于接收第一应用程序发送的第二界面信息,基于第二界面信息生成第二通知,并将第二通知发送至视图系统,其中,第二通知中包括:第二界面信息和内屏标识信息,第二界面信息为第一应用程序的界面信息。视图系统,解析接收到的第二通知,依据内屏标识信息调用内屏显示驱动;内屏显示驱动驱动电子设备的内屏,在内屏中显示第二界面信息。According to the third aspect, or any implementation manner of the above third aspect, the electronic device further includes: a first application program for executing the scheduled event and an internal screen display driver, where the first application program for executing the scheduled event is different from the scheduled event, For example: when the schedule event is a conference schedule event, the first application program is a conference application program, and the window manager is configured to receive the second interface information sent by the first application program, generate a second notification based on the second interface information, and send the second interface information to the Two notifications are sent to the view system, wherein the second notification includes: second interface information and internal screen identification information, and the second interface information is the interface information of the first application program. The view system parses the received second notification, calls the internal screen display driver according to the internal screen identification information; the internal screen display driver drives the internal screen of the electronic device, and displays the second interface information on the internal screen.

第四方面,本申请还提供了一种电子设备。该电子设备包括:业务场景识别模块、灭屏显示应用程序和外屏显示驱动,业务场景识别模块确定待监测应用程序以及和待监测应用程序对应的显示样式,监测到达到待监测应用程序中的目标应用程序运行时长超过第一预设时长时,查找与目标应用程序对应的目标显示样式,向灭屏显示应用程序发送第二界面信息,其中,第二界面信息为目标应用程序对应的显示样式的界面信息;灭屏显示应用程序指示外屏显示驱动调起外屏,在外屏中显示第一界面信息。In a fourth aspect, the present application also provides an electronic device. The electronic device includes: a business scene recognition module, an off-screen display application program, and an external screen display driver. The business scene recognition module determines the application program to be monitored and the display style corresponding to the application program to be monitored, and the monitoring reaches the When the running time of the target application program exceeds the first preset time length, search for the target display style corresponding to the target application program, and send the second interface information to the off-screen display application program, wherein the second interface information is the display style corresponding to the target application program interface information; the off-screen display application program instructs the external screen display driver to activate the external screen and display the first interface information on the external screen.

根据第四方面,或者以上第四方面的任意一种实现方式,电子设备还包括:窗口管理器和视图系统;窗口管理器接收灭屏显示应用程序发送的第二界面信息,基于第一界面信息生成第二通知,并将第二通知发送至视图系统,其中,第二通知中包括:第二界面信息和外屏标识信息;视图系统解析接收到的第二通知,依据解析到的外屏标识信息调用外屏显示驱动,外屏显示驱动驱动电子设备的外屏,在外屏中显示第二界面信息。According to the fourth aspect, or any implementation of the above fourth aspect, the electronic device further includes: a window manager and a view system; the window manager receives the second interface information sent by the off-screen display application program, and based on the first interface information Generate the second notification, and send the second notification to the view system, wherein the second notification includes: the second interface information and the external screen identification information; the view system parses the received second notification, according to the parsed external screen identification The information calls the external screen display driver, and the external screen display driver drives the external screen of the electronic device to display the second interface information on the external screen.

根据第四方面,或者以上第四方面的任意一种实现方式,电子设备还包括:第一应用程序和内屏显示驱动;窗口管理器接收第一应用程序发送的第一界面信息,基于第一界面信息生成第一通知,并将第一通知发送至视图系统,其中,第一通知中包括:第一界面信息和内屏标识信息,第一界面信息为第一应用程序的界面信息。According to the fourth aspect, or any implementation manner of the above fourth aspect, the electronic device further includes: a first application program and an internal screen display driver; the window manager receives the first interface information sent by the first application program, and based on the first The interface information generates a first notification, and sends the first notification to the view system, wherein the first notification includes: the first interface information and internal screen identification information, and the first interface information is the interface information of the first application program.

视图系统解析接收到的第一通知,依据解析到的内屏标识信息调用内屏显示驱动,内屏显示驱动驱动电子设备的内屏,在内屏中显示第一界面信息。The view system parses the received first notification, calls the internal screen display driver according to the parsed internal screen identification information, and the internal screen display driver drives the internal screen of the electronic device to display the first interface information on the internal screen.

根据第四方面,或者以上第四方面的任意一种实现方式,该电子设备包括:第二应用程序,其中,第二应用程序为用户设置的待监测目标应用程序中的任意之一,第二应用程序监测到运行时长超出预设时长的情况下,依据界面内容从用户预先选定的至少一个目标显示样式中查找匹配的第二显示样式,并将第二显示样式的第二界面信息发送至灭屏显示应用程序,灭屏显示应用程序接收第二应用程序发送的第二界面信息,指示外屏显示驱动调起外屏,在外屏中显示第二界面信息,即在外屏显示第二界面信息对应的第二显示样式。According to the fourth aspect, or any implementation manner of the above fourth aspect, the electronic device includes: a second application program, wherein the second application program is any one of the target application programs to be monitored set by the user, and the second application program When the application detects that the running time exceeds the preset duration, it searches for a matching second display style from at least one target display style pre-selected by the user according to the interface content, and sends the second interface information of the second display style to The off-screen display application program, the off-screen display application program receives the second interface information sent by the second application program, instructs the external screen display driver to activate the external screen, and displays the second interface information on the external screen, that is, displays the second interface information on the external screen The corresponding second display style.

根据第四方面,或者以上第四方面的任意一种实现方式,电子设备中的窗口管理器接收灭屏显示应用程序发送的第二界面信息,基于第一界面信息生成第二通知,并将第二通知发送至所述视图系统,其中,第二通知中包括:所述第二界面信息和外屏标识信息;视图系统解析接收到的第二通知,依据外屏标识信息调用外屏显示驱动,外屏显示驱动驱动电子设备的外屏,在外屏中显示第二界面信息。According to the fourth aspect, or any implementation of the above fourth aspect, the window manager in the electronic device receives the second interface information sent by the off-screen display application, generates the second notification based on the first interface information, and sends the second interface information Two notifications are sent to the view system, wherein the second notification includes: the second interface information and external screen identification information; the view system parses the received second notification, calls the external screen display driver according to the external screen identification information, The external screen displays the external screen that drives the electronic device, and the second interface information is displayed on the external screen.

根据第四方面,或者以上第四方面的任意一种实现方式,电子设备中的窗口管理器接收第二应用程序发送的第一界面信息,基于第一界面信息生成第一通知,并将第一通知发送至视图系统,其中,第一通知中包括第一界面信息和内屏标识信息,第一界面信息为第一应用程序的界面信息,视图系统解析接收到的第一通知,依据解析到的内屏标识信息调用内屏显示驱动,内屏显示驱动驱动电子设备的内屏即第一显示屏,在内屏中显示第一界面信息。According to the fourth aspect, or any implementation manner of the above fourth aspect, the window manager in the electronic device receives the first interface information sent by the second application program, generates the first notification based on the first interface information, and sends the first The notification is sent to the view system, wherein the first notification includes the first interface information and the internal screen identification information, the first interface information is the interface information of the first application program, the view system parses the received first notification, and according to the parsed The internal screen identification information invokes the internal screen display driver, and the internal screen display driver drives the internal screen of the electronic device, that is, the first display screen, and displays the first interface information on the internal screen.

第三方面以及第三方面的任意一种实现方式分别与第一方面以及第一方面的任意一种实现方式相对应。第四方面以及第四方面的任意一种实现方式分别与第二方面以及第二方面的任意一种实现方式相对应。第三方面、第四方面、第三方面的任意一种实现方式以及第四方面的任意一种实现方式可参见上述第一方面、第二方面、第一方面的任意一种实现方式以及第二方面的任意一种实现方式所对应的技术效果,此处不再赘述。The third aspect and any implementation manner of the third aspect correspond to the first aspect and any implementation manner of the first aspect respectively. The fourth aspect and any implementation manner of the fourth aspect correspond to the second aspect and any implementation manner of the second aspect respectively. The third aspect, the fourth aspect, any implementation of the third aspect and any implementation of the fourth aspect can refer to the above-mentioned first aspect, the second aspect, any implementation of the first aspect and the second The technical effect corresponding to any implementation manner of the aspect will not be repeated here.

第五方面,本申请提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第一方面或第二方面的任意可能的实现方式中的方法的指令。In a fifth aspect, the present application provides a computer-readable medium for storing a computer program, where the computer program includes instructions for executing the method in any possible implementation manner of the first aspect or the second aspect.

第六方面,本申请提供了一种计算机程序,该计算机程序包括用于执行第一方面、或第二方面任意可能的实现方式中的方法的指令。In a sixth aspect, the present application provides a computer program, where the computer program includes instructions for executing the method in the first aspect or any possible implementation manner of the second aspect.

附图说明Description of drawings

图1为示例性示出的电子设备的硬件结构示意图;FIG. 1 is a schematic diagram of a hardware structure of an exemplary electronic device;

图2为示例性示出的电子设备的软件结构示意图;FIG. 2 is a schematic diagram of a software structure of an exemplary electronic device;

图3为示例性示出的电子设备屏幕展开状态下的内屏示意图;Fig. 3 is a schematic diagram of an internal screen in an unfolded state of an electronic device screen;

图4为示例性示出的电子设备屏幕展开状态下的外屏示意图;FIG. 4 is a schematic diagram of an external screen of an electronic device in a state where the screen of the electronic device is unfolded;

图5为示例性示出的外屏显示设置界面示意图;Fig. 5 is a schematic diagram of an external screen display setting interface;

图6为示例性示出的免打扰模式下的显示样式设置界面示意图;FIG. 6 is a schematic diagram of an interface for setting a display style in a do-not-disturb mode;

图7a~7b为示例性示出的免打扰开启流程的界面示意图;Figures 7a-7b are schematic interface diagrams of the process of activating Do Not Disturb exemplarily shown;

图8为示例性示出的免打扰模式下的外屏界面示意图;Fig. 8 is a schematic diagram of an external screen interface in a do-not-disturb mode;

图9a~9b为示例性示出的会议日程事件建立流程的界面示意图;Figures 9a to 9b are schematic interface diagrams of the establishment process of conference schedule events;

图10a~10b为示例性示出的会议过程中内屏和外屏的界面示意图;Figures 10a to 10b are schematic diagrams of the interfaces of the inner screen and the outer screen during the conference process;

图11为示例性示出的外屏显示软件架构示意图;Fig. 11 is a schematic diagram of an exemplary external screen display software architecture;

图12为示例性示出的外屏显示设置界面示意图;Fig. 12 is a schematic diagram of an external screen display setting interface;

图13为示例性示出的沉浸模式下的显示样式设置界面示意图;Fig. 13 is a schematic diagram of a display style setting interface in the immersive mode;

图14为示例性示出的沉浸模式下的外屏界面示意图;Fig. 14 is a schematic diagram of an external screen interface in an immersive mode;

图15为示例性示出的沉浸模式下的显示样式设置界面示意图;Fig. 15 is a schematic diagram of a display style setting interface in the immersive mode;

图16为示例性示出的沉浸模式下的内屏和外屏的界面示意图;Fig. 16 is a schematic diagram of the interfaces of the inner screen and the outer screen in the immersive mode;

图17为示例性示出的外屏显示软件架构示意图;Fig. 17 is a schematic diagram of an exemplary external screen display software architecture;

图18为示例性示出的自定义外屏显示样式设置界面示意图;Fig. 18 is a schematic diagram of an interface for setting a custom external screen display style by way of example;

图19为示例性示出的应用样式预览界面架构示意图;FIG. 19 is a schematic diagram of an application style preview interface schematically shown;

图20为示例性示出的外屏显示界面示意图;Fig. 20 is a schematic diagram of an external screen display interface;

图21为示例性示出的外屏显示软件架构示意图。Fig. 21 is a schematic diagram of the software architecture of the external screen display exemplarily shown.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。The term "and/or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations.

本申请实施例的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一目标对象和第二目标对象等是用于区别不同的目标对象,而不是用于描述目标对象的特定顺序。The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first target object, the second target object, etc. are used to distinguish different target objects, rather than describing a specific order of the target objects.

在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.

在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或两个以上。例如,多个处理单元是指两个或两个以上的处理单元;多个系统是指两个或两个以上的系统。In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.

图1示出了电子设备100的结构示意图。应该理解的是,图1所示电子设备100仅是电子设备的一个范例,并且电子设备100可以具有比图中所示的更多的或者更少的部件,可以组合两个或多个的部件,或者可以具有不同的部件配置。图1中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。FIG. 1 shows a schematic structural diagram of an electronic device 100 . It should be understood that the electronic device 100 shown in FIG. 1 is only an example of an electronic device, and the electronic device 100 may have more or fewer components than those shown in the figure, and two or more components may be combined , or can have different component configurations. The various components shown in FIG. 1 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.

电子设备100可以包括:处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,摄像头193,第一显示屏194,第二显示屏192以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中,传感器模块180可以包括压力传感器180A,陀螺仪传感器180B环境光传感器180L,距离传感器180F等。The electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2. Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, camera 193, first display 194, second display 192 And a subscriber identification module (subscriber identification module, SIM) card interface 195, etc. Wherein, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an ambient light sensor 180L, a distance sensor 180F and the like.

其中,传感器模块180可以检测参数信息,处理器110依据传感器模块180检测到的参数信息判定电子设备100周边的环境、电子设备与用户预设部位的距离、电子设备的姿态以及用户对电子设备按键的触控等。Among them, the sensor module 180 can detect parameter information, and the processor 110 determines the surrounding environment of the electronic device 100, the distance between the electronic device and the user's preset location, the posture of the electronic device, and the user's keystrokes on the electronic device according to the parameter information detected by the sensor module 180. touch etc.

处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU), 图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.

其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。Wherein, the controller may be the nerve center and command center of the electronic device 100 . The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.

处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.

在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.

可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules shown in the embodiment of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 . In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.

充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is configured to receive a charging input from a charger. Wherein, the charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 is charging the battery 142 , it can also provide power for electronic devices through the power management module 141 .

电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 . The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be disposed in the processor 110 . In some other embodiments, the power management module 141 and the charging management module 140 may also be set in the same device.

电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be realized by the antenna 1 , the antenna 2 , the mobile communication module 150 , the wireless communication module 160 , a modem processor, a baseband processor, and the like.

天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.

移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。The mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.

无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite, etc. applied on the electronic device 100. System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.

在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc. The GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).

电子设备100通过GPU,第一显示屏194,第二显示屏192以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接第一显示屏194、第二显示屏192和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 realizes the display function through the GPU, the first display screen 194 , the second display screen 192 and the application processor. The GPU is a microprocessor for image processing, and is connected to the first display screen 194, the second display screen 192 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

第一显示屏194作为电子设备的内屏用于显示界面,图像,视频等。第一显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Mini-LED,Micr-OLED,Micro-OLED,量子点发光二极管(quantum dot light emitting diodes,QLED)等。第二显示屏192作为电子设备的外屏,用于显示图像、视频或者文字等用户预设的显示样式。The first display screen 194 is used as an internal screen of the electronic device for displaying interfaces, images, videos and the like. The first display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Mini-LED, Micr-OLED, Micro-OLED, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc. The second display screen 192 is used as an external screen of the electronic device, and is used for displaying user-preset display styles such as images, videos, or texts.

电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can realize the shooting function through the ISP, the camera 193 , the video codec, the GPU, the display screen 194 and the application processor.

摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects it to the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other image signals. In some embodiments, the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.

外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设 备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.

内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。例如,在本申请实施例中,处理器110接收用户对外屏显示模式的设置、用户对外屏所显示的目标显示样式的设置,依据电子设备所处模式、前台运行的应用程序的类型、应用程序的状态确定外屏中所显示的目标显示样式以及目标显示样式的时机,在达到显示时机时在外屏显示目标显示样式。The internal memory 121 may be used to store computer-executable program codes including instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 . For example, in this embodiment of the application, the processor 110 receives the user's setting of the external screen display mode and the user's setting of the target display style displayed on the external screen. Determine the target display style displayed on the external screen and the timing of the target display style, and display the target display style on the external screen when the display timing is reached.

内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。The internal memory 121 may include an area for storing programs and an area for storing data. Wherein, the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like. The storage data area can store data created during the use of the electronic device 100 (such as audio data, phonebook, etc.) and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.

电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.

压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal. In some embodiments, pressure sensor 180A may be disposed on display screen 194 . There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may be comprised of at least two parallel plates with conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view short messages is executed. When a touch operation whose intensity is greater than or equal to the first pressure threshold acts on the icon of the short message application, the instruction of creating a new short message is executed.

按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。示例性的,在本申请实施例中,若电子设备100处于锁屏模式或桌面模式时,电子设备100接收到用户点击电源键即开机键的操作,电子设备100可进入熄屏模式。The keys 190 include a power key, a volume key and the like. The key 190 may be a mechanical key. It can also be a touch button. The electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100 . Exemplarily, in this embodiment of the application, if the electronic device 100 is in the lock screen mode or the desktop mode, and the electronic device 100 receives the user's operation of clicking the power button, that is, the power button, the electronic device 100 may enter the screen-off mode.

电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 .

图2是本申请实施例的电子设备100的软件结构框图。FIG. 2 is a block diagram of the software structure of the electronic device 100 according to the embodiment of the present application.

电子设备100的分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为三层,从上至下分别为应用程序层,应用程序框架层,以及内核层。The layered architecture of the electronic device 100 divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces. In some embodiments, the Android system is divided into three layers, which are application program layer, application program framework layer, and kernel layer from top to bottom.

应用程序层可以包括一系列应用程序包。The application layer can consist of a series of application packages.

如图2所示,应用程序包可以包括相机,图库,日历,通话,传感器(也可以称为桌面和壁纸)等应用程序、游戏、灭屏显示应用程序等应用程序。示例性的,相机可实现本 申请实施例中添加显示样式时图像或者视频的拍摄。灭屏显示应用程序又可称为熄屏显示应用程序为系统预置应用程序,负责向窗口管理器发送AOD(Always On Display,永久显示)界面显示指令。As shown in FIG. 2, the application package may include applications such as camera, gallery, calendar, call, sensor (also called desktop and wallpaper), games, and off-screen display applications. Exemplarily, the camera can realize the shooting of images or videos when display styles are added in the embodiment of this application. The off-screen display application program, also known as the off-screen display application program, is a system preset application program, which is responsible for sending AOD (Always On Display, permanent display) interface display instructions to the window manager.

应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

如图2所示,应用程序框架层可以包括窗口管理器,视图系统,业务场景识别模块等。As shown in Figure 2, the application framework layer may include a window manager, a view system, a business scene recognition module, and the like.

窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕,向视图系统发送界面信息显示指令等。A window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, send interface information display instructions to the view system, etc.

视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。视图系统还可用于依据窗口管理器发送的界面信息显示指令调用对应的物理显示屏的显示驱动,通过显示驱动来驱动物理显示屏显示界面信息,物理显示屏包括:电子设备外屏即第二显示屏192和内屏即第一显示屏194。视图系统1905又可称为Display Manager,用于提供屏幕管理服务,管理第一显示屏194和第二显示屏192。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. The view system can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures. The view system can also be used to call the display driver of the corresponding physical display screen according to the interface information display command sent by the window manager, and drive the physical display screen to display interface information through the display driver. The physical display screen includes: the external screen of the electronic device is the second display The screen 192 and the inner screen, namely the first display screen 194. The view system 1905 can also be called Display Manager, which is used to provide screen management services and manage the first display screen 194 and the second display screen 192 .

电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。窗口管理器又可称为Window Manager,用于提供窗口管理服务,响应应用添加窗口显示的请求,添加到对应的显示屏上。业务场景识别模块又可称为Scene Awareness即场景感知模块,用于识别当前业务场景如办公、会议或者游戏等,业务场景识别模块中还设置有轮询机制,用户轮询获取应用界面信息、应用运行时长、获取日历中所创建的会议日程事件或者用户在系统中设置的免打扰时间段等。业务场景识别模块基于应用运行时长,可确定应用是否进入沉浸模式。The phone manager is used to provide communication functions of the electronic device 100 . For example, the management of call status (including connected, hung up, etc.). The window manager can also be called Window Manager, which is used to provide window management services, respond to the request of the application to add window display, and add it to the corresponding display screen. The business scene identification module can also be called Scene Awareness, which is the scene awareness module, which is used to identify the current business scene such as office, conference or game, etc. The business scene identification module is also equipped with a polling mechanism, and the user polls to obtain application interface information, application information, etc. Run time, obtain the meeting schedule events created in the calendar or the do-not-disturb time period set by the user in the system, etc. The business scene recognition module can determine whether the application enters the immersive mode based on the running time of the application.

应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application program layer and the application program framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

内核层是硬件和软件之间的层。内核层至少包含外屏显示驱动,内屏显示驱动、摄像头驱动,传感器驱动。外屏显示驱动用于驱动第一显示屏194,内屏显示驱动用于驱动第二显示屏192,传感器驱动用于驱动传感器模块180,摄像头驱动用于驱动摄像头193。The kernel layer is the layer between hardware and software. The kernel layer includes at least an external display driver, an internal display driver, a camera driver, and a sensor driver. The external display driver is used to drive the first display 194 , the internal display driver is used to drive the second display 192 , the sensor driver is used to drive the sensor module 180 , and the camera driver is used to drive the camera 193 .

不仅如此,Android系统还可以在内核层与应用程序框架层之间设置系统库。系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。Not only that, the Android system can also set a system library between the kernel layer and the application framework layer. A system library can include multiple function modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.

可以理解的是,图2示出的系统框架层与运行时层包含的部件,并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。It can be understood that the components contained in the system framework layer and the runtime layer shown in FIG. 2 do not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components.

在本申请实施例中,电子设备可接收用户对外屏显示模式的设置操作,以及用户对外屏所显示的目标显示样式的设置操作,电子设备在内屏显示前台运行的应用程序界面的同时,根据前台运行的应用程序状态、类型等确定外屏显示时机,在达到外屏显示时机的情况下,在外屏显示用户设置的目标显示样式,不仅可合理地对外屏资源进行利用,还能够 满足用户对外屏个性化显示的需求。电子设备除在外屏显示固定的目标样式外,还可以根据前台运行的应用程序的进程数据,灵活切换外屏显示的显示样式,使得外屏显示的内容更加多样化。In this embodiment of the application, the electronic device can receive the user's setting operation of the external screen display mode, and the user's setting operation of the target display style displayed on the external screen. The status and type of the application program running in the foreground determine the display timing of the external screen. When the display timing of the external screen is reached, the target display style set by the user is displayed on the external screen, which can not only make reasonable use of external screen resources, but also satisfy the user's external Screen personalized display needs. In addition to displaying a fixed target style on the external screen, the electronic device can also flexibly switch the display style displayed on the external screen according to the process data of the application program running in the foreground, making the content displayed on the external screen more diverse.

需要说明的是,本申请实施例中所涉及的外屏显示方式可以在某个应用程序中触发,也可以在系统外屏显示界面中触发。例如,本申请下面的实施例中所涉及的外屏显示方式可在系统自带的应用程序中触发执行,也可以在电子设备中所安装的第三方应用程序中触发执行等。It should be noted that the external screen display method involved in the embodiment of the present application can be triggered in an application program, or can be triggered in the external screen display interface of the system. For example, the external screen display method involved in the following embodiments of the present application can be triggered to execute in the application program that comes with the system, or can be triggered to execute in a third-party application program installed in the electronic device.

本申请实施例中分别从在系统外屏显示界面中触发外屏显示方式,在系统自带的应用程序中触发外屏显示方式两个角度进行说明。其中,在系统外屏显示界面中触发外屏显示方式时,可以进一步区分为在免打扰模式下、沉浸模式下进行外屏显示。其中,免打扰模式为电子设备所处的一种特殊模式,在免打扰模式下,电子设备可被设置为拒接电话或者关闭来电铃声、信息铃声、通知铃声等,以避免电子设备对用户造成打扰。这样,当用户在通过电子设备运行某应用程序时,若不希望外界打扰,可将电子设备设置为免打扰模式,这样其他电子设备发送的消息或者来电等,将不会对电子设备用户造成打扰。与此同时,本申请实施例中,设置在电子设备处于免打扰模式下时,在外屏显示免打扰样式,通过在外屏显示免打扰样式,周边其他人可获知电子设备用户不希望他人打扰,从而有效避免周围人员的打扰。需要说明的是,免打扰模式可以在存在免打扰需求时现开启,也可以由用户预先设置免打扰时间段,在达到免打扰时间段时电子设备进入免打扰模式。In the embodiment of the present application, descriptions are made from two perspectives: triggering the external screen display mode in the system external screen display interface and triggering the external screen display mode in the application program that comes with the system. Among them, when the external screen display mode is triggered in the external screen display interface of the system, it can be further divided into displaying the external screen in the do-not-disturb mode and the immersive mode. Among them, the Do Not Disturb mode is a special mode of the electronic device. In the Do Not Disturb mode, the electronic device can be set to reject calls or turn off incoming call ringtones, message ringtones, notification ringtones, etc., so as to avoid the electronic device from causing harm to the user. disturb. In this way, when the user is running an application program through the electronic device, if he does not want to be disturbed by the outside world, he can set the electronic device to the do not disturb mode, so that messages or incoming calls sent by other electronic devices will not disturb the user of the electronic device . At the same time, in the embodiment of the present application, when the electronic device is in the do-not-disturb mode, the do-not-disturb pattern is displayed on the external screen. By displaying the do-not-disturb pattern on the external screen, other people around can know that the user of the electronic device does not want others to disturb, thereby Effectively avoid the disturbance of people around you. It should be noted that the do-not-disturb mode can be turned on when there is a do-not-disturb demand, or a do-not-disturb time period can be preset by the user, and the electronic device enters the do-not-disturb mode when the do-not-disturb time period is reached.

沉浸模式为在应用程序前台运行时长持续第一预设时长时,确定该应用程序持续被用户使用,此时在外屏显示目标显示样式,可避免周围人员打扰电子设备用户。电子设备中可提供接口供用户设置待监测的目标应用程序,在使用过程中,电子设备对待监测的目标应用程序的前台运行时长进行监测,到监测到某目标应用程序在前台运行时长持续第一预设时长时,在外屏显示目标显示样式,以提示周围人员不要打扰电子设备用户。The immersive mode is to determine that the application is continuously used by the user when the application is running in the foreground for the first preset period of time. At this time, the target display style is displayed on the external screen, which can prevent people around from disturbing the user of the electronic device. The electronic device can provide an interface for the user to set the target application program to be monitored. During use, the electronic device monitors the foreground running time of the target application program to be monitored, and the running time of a certain target application program in the foreground lasts for the first time. When the duration is preset, the target display style is displayed on the external screen to remind people around not to disturb the user of the electronic device.

本申请实施例中的外屏显示方法应用于双面屏电子设备,示例性的一种双面屏电子设备的结构示意图如图3至图4所示,图3为电子设备屏幕展开状态下的内屏示意图,图4为电子设备屏幕展开状态下的外屏示意图。请参照图4,该种示例性的双面屏电子设备其外屏的右半部分为401可作为外屏显示区域,左半部分402作为设备后壳,后壳上用于设置摄像头等。在实际实现过程中,也可以将外屏的右半部分401的局部作为外屏显示区域。当然并不限于此,双面屏电子设备其外屏的左、右两部分也可以不等大,例如:设置为右半部分401所占区域大于左半部分402所占区域,或者右半部分401所占区域小于左半部分402所占区域等。还可以将电子设备外屏左半部分和右半部分均设置为显示屏,该种情况下可将电子设备外屏上的摄像头设置为屏下结构,外屏显示区域可以在外屏上灵活设置,例如:设置右半部分作为外屏显示区域、设置左半部分作为外屏显示区域、设置右半部分局部区域作为外屏显示区域、设置左半部分局部区域作为外屏显示区域、设置外屏显示区域为条状贯穿整个外屏等。The external screen display method in the embodiment of the present application is applied to a double-sided screen electronic device. An exemplary structural diagram of a double-sided screen electronic device is shown in Figures 3 to 4, and Figure 3 shows the screen of the electronic device in the unfolded state. A schematic diagram of the inner screen, and FIG. 4 is a schematic diagram of the outer screen of the electronic device when the screen is unfolded. Please refer to FIG. 4 , the right half of the outer screen of this exemplary double-sided screen electronic device is 401 which can be used as the display area of the outer screen, and the left half 402 is used as the rear shell of the device, and the rear shell is used for setting a camera and the like. In an actual implementation process, a part of the right half part 401 of the outer screen may also be used as the display area of the outer screen. Of course, it is not limited to this, the left and right parts of the outer screen of the double-sided screen electronic device can also be unequal, for example: the area occupied by the right half 401 is set to be larger than the area occupied by the left half 402, or the right half The area occupied by 401 is smaller than the area occupied by the left half 402 and so on. It is also possible to set both the left half and the right half of the external screen of the electronic device as a display screen. In this case, the camera on the external screen of the electronic device can be set as an off-screen structure, and the display area of the external screen can be flexibly set on the external screen. For example: set the right half as the external screen display area, set the left half as the external screen display area, set the right half partial area as the external screen display area, set the left half partial area as the external screen display area, set the external screen display The area is a strip running through the entire outer screen and so on.

下面结合具体实施例,分别对免打扰模式下的外屏显示方法、沉浸模式下的外屏显示方法以及在应用程序中自定义外屏显示样式时的外屏显示方法的具体流程进行说明。In the following, the specific processes of the external screen display method in the do not disturb mode, the external screen display method in the immersive mode, and the external screen display method when the external screen display style is customized in the application program are described below in conjunction with specific embodiments.

下面结合图5至图10对免打扰模式下的外屏显示方法的进行说明。本申请实施例中以电子设备外屏右半部分401为外屏显示区域为例,且在外屏中设置外屏显示相关操作为 例进行说明。需要说明的是,外屏显示相关操作并不局限于在电子设备屏幕处于折叠状态下设置,还可以在电子设备屏幕展开后在内屏中进行设置,本申请实施例中对此不做具体限制。The method for displaying the external screen in the do-not-disturb mode will be described below with reference to FIGS. 5 to 10 . In the embodiment of this application, the right half 401 of the outer screen of the electronic device is taken as an example of the outer screen display area, and the related operations of setting the outer screen display on the outer screen are taken as an example for illustration. It should be noted that the operations related to the external screen display are not limited to setting when the screen of the electronic device is in a folded state, but can also be set on the internal screen after the screen of the electronic device is unfolded, which is not specifically limited in this embodiment of the application .

示例性的,用户进行外屏显示设置时,可在外屏中开启如图5中所示的外屏显示设置界面501,外屏显示设置界面501中包括外屏显示开关5011、免打扰模式控件5012、沉浸模式控件6013以及智能省电开关5014。其中,外屏显示开关5011用于控制是否开启外屏显示功能,外屏显示开关5011开启则外屏显示功能开启,相应的,外屏显示开关5011关闭则外屏显示功能关闭,外屏显示开关5011开启是外屏显示的先决条件。免打扰模式控件5012为免打扰模式下外屏显示的入口,通过该入口可进入免打扰模式下外屏显示的相关设置界面。沉浸模式控件5103为沉浸模式下外屏显示的入口,通过该入口可进入沉浸模式下外屏显示的相关设置界面。智能省电开关5014用于控制是否开启智能省电功能,智能省电功能开启后,外屏的显示亮度随光线环境自动变化,处于省电模式或者电子设备的剩余电量小于预设百分比例如10%时,外屏不显示。智能省电功能关闭后,外屏的显示亮度不随光线环境自动变化,并且外屏显示不会因电子设备的剩余电量小于预设百分比或者电子设备处于省电模式下而停止显示。开启智能省电功能一方面,能够节省外屏显示所耗电量,延长电子设备的续航时长;第二方面,由于外屏显示亮度随光线环境自动变化,例如:外界光线亮则将显示亮度调暗,能够提升外屏显示效果。再例如:外界光线暗时可将显示亮度调暗,以节省外屏显示所耗电量。Exemplarily, when the user sets the external screen display, the external screen display setting interface 501 as shown in FIG. , an immersive mode control 6013 and a smart power saving switch 5014 . Wherein, the external screen display switch 5011 is used to control whether to enable the external screen display function. When the external screen display switch 5011 is turned on, the external screen display function is turned on. Correspondingly, when the external screen display switch 5011 is turned off, the external screen display function is turned off. 5011 open is a prerequisite for external screen display. The do not disturb mode control 5012 is the entrance of the external screen display in the do not disturb mode, through which the relevant setting interface of the external screen display in the do not disturb mode can be entered. The immersive mode control 5103 is the entrance of the external screen display in the immersive mode, through which the relevant setting interface of the external screen display in the immersive mode can be entered. The smart power-saving switch 5014 is used to control whether to enable the smart power-saving function. After the smart power-saving function is turned on, the display brightness of the external screen will automatically change with the light environment. It is in the power-saving mode or the remaining power of the electronic device is less than a preset percentage such as 10%. , the external screen does not display. After the intelligent power-saving function is turned off, the display brightness of the external screen will not automatically change with the light environment, and the display on the external screen will not stop displaying because the remaining power of the electronic device is less than the preset percentage or the electronic device is in power-saving mode. On the one hand, turning on the intelligent power saving function can save the power consumption of the external screen display and prolong the battery life of the electronic device; on the other hand, since the brightness of the external screen display automatically changes with the light environment, for example, when the external light is bright, the display brightness will be adjusted. Dark, can improve the display effect of the external screen. Another example: when the external light is dark, the display brightness can be dimmed to save the power consumption of the external display.

示例性的,如图5所示,在接收到用户对免打扰模式控件5012的触控操作,如点击、按压等操作后,显示如图6所示的免打扰模式下的显示样式设置界面601,免打扰模式下的显示样式设置界面601中包括第一提示信息6011例如“手机处于免打扰状态时,出现外屏显示,您可以在设置>声音和振动>免打扰中,对免打扰开启的时段进行设置”,第一提示信息6011用于提示用户按照指定路径设置免打扰时间段。免打扰模式下的显示样式设置界面601中还包括多个系统预设的显示样式6012以及显示样式添加入口6013。用户可从系统预设的显示样式中任选一个作为免打扰模式下在外屏输出的目标显示样式。用户也可以选定显示样式添加入口6013,从相册中选择图片或视频作为外屏输出的目标显示样式,或者调用相机拍摄图片或者视频作为外屏输出的目标显示样式。本实施例中以用户选定系统预设的“请勿打扰”显示样式作为目标显示样式为例进行后续说明。Exemplarily, as shown in FIG. 5, after receiving the user's touch operation on the do not disturb mode control 5012, such as clicking, pressing and other operations, the display style setting interface 601 in the do not disturb mode as shown in FIG. 6 is displayed , the display style setting interface 601 in the Do Not Disturb mode includes the first prompt information 6011 such as "When the mobile phone is in the Do Not Disturb state, an external screen display appears, you can set it in Settings>Sound and Vibration> Do Not Disturb, and enable Do Not Disturb Set the time period", the first prompt message 6011 is used to prompt the user to set the do not disturb time period according to the specified path. The display style setting interface 601 in the do not disturb mode also includes a plurality of system preset display styles 6012 and a display style adding entry 6013 . The user can choose one of the display styles preset by the system as the target display style output on the external screen in the do-not-disturb mode. The user can also select the display style to add entry 6013, select pictures or videos from the photo album as the target display style for external screen output, or call the camera to take pictures or videos as the target display style for external screen output. In this embodiment, the user selects the system-preset "do not disturb" display style as the target display style as an example for subsequent description.

用户选定免打扰模式下在外屏显示的目标显示样式后,执行免打扰开启流程。图7a~7b为示例性示出的免打扰开启流程的界面示意图。用户可按照免打扰模式设置界面中的提示信息打开图7a所示的声音和振动设置界面701,触控界面中的“免打扰”控件7011,其中,对“免打扰”控件7011的触控操作可以包括但不限于:单击、双击或者长按等操作。用户触控界面中的“免打扰”控件7011后,触发系统进入图7b中所示的免打扰设置界面702,免打扰设置界面中包括立即开启开关7021,免打扰开启时段设置项7022,立即开启开关7021用于控制是否立即开启免打扰,若开启则电子设备立刻进入免打扰状态;例如,若用户点击开启开关7021,电子设备响应于接收到的用户操作,进入免打扰状态。定时开启开关7022,用于控制是否开启定时免打扰,定时开启开关开启后,用户可在免打扰开启时段设置项7023中设置免打扰时间段,在立即开启开关7021关闭的状态下达到用户设置的免打扰时间段后电子设备进入免打扰状态。定时开启开关7022开启后,系统中可 默认显示一免打扰时间段,用户可手动修改免打扰时间段,例如将其修改为图7b中所示的15:00~17:00。本示例中以立即开启开关7021未开启,免打扰时间段设置为15:00~17:00为例进行说明。After the user selects the target display style displayed on the external screen in the do-not-disturb mode, execute the do-not-disturb enabling process. FIGS. 7a-7b are schematic interface diagrams of an exemplarily showing the process of enabling Do Not Disturb. The user can open the sound and vibration setting interface 701 shown in FIG. It may include but not limited to operations such as single click, double click, or long press. After the user touches the "Do Not Disturb" control 7011 in the interface, the trigger system enters the Do Not Disturb setting interface 702 shown in FIG. The switch 7021 is used to control whether to turn on Do Not Disturb immediately, and if it is turned on, the electronic device immediately enters the Do Not Disturb state; for example, if the user clicks to turn on the switch 7021, the electronic device enters the Do Not Disturb state in response to the received user operation. Timing on switch 7022 is used to control whether to turn on the timing do not disturb. After the timing on switch is turned on, the user can set the do not disturb time period in the do not disturb opening period setting item 7023. When the immediately on switch 7021 is turned off, the time period set by the user can be reached. After the do not disturb time period, the electronic device enters the do not disturb state. After the timing switch 7022 is turned on, a do-not-disturb time period can be displayed by default in the system, and the user can manually modify the do-not-disturb time period, for example, modify it to 15:00-17:00 as shown in Figure 7b. In this example, the immediate start switch 7021 is not turned on, and the do-not-disturb time period is set to 15:00-17:00 as an example for illustration.

继续接上述示例,图8为示例性示出的免打扰模式下的外屏界面示意图,上述内容中已将电子设备的免打扰时间段设置为15:00~17:00,且选定免打扰模式下外屏显示的目标显示样式为“请勿打扰”,在系统时间达到15:00后,直接在外屏显示目标显示样式“请勿打扰”。该种具体免打扰模式下外屏显示目标显示样式的场景,外屏显示的时机、显示的目标显示样式,不受电子设备前台运行的应用程序、电子设备内屏显示的具体内容影响。需要说明的是,在免打扰时间段下在外屏显示目标显示样式时,可以静态显示也可以动态显示。静态显示时,可以持续显示也可以每隔预设间隔间断显示。动态显示样式可以由本领域技术人员根据实际需求进行设置,本申请实施例中对此不做具体限制。例如:可以在外屏显示区域中沿横向滚动显示、沿外屏显示区域对角线滑动显示等。Continuing with the above example, Fig. 8 is a schematic diagram of the external screen interface in the do not disturb mode. In this mode, the target display style displayed on the external screen is "Do Not Disturb". After the system time reaches 15:00, the target display style "Do Not Disturb" will be directly displayed on the external screen. In this specific scenario where the target display style is displayed on the external screen in the do-not-disturb mode, the timing of the external screen display and the displayed target display style are not affected by the application program running on the foreground of the electronic device or the specific content displayed on the internal screen of the electronic device. It should be noted that, when the target display style is displayed on the external screen during the do-not-disturb time period, it can be displayed statically or dynamically. When displayed statically, it can be continuously displayed or intermittently displayed at preset intervals. The dynamic display style can be set by those skilled in the art according to actual needs, which is not specifically limited in this embodiment of the present application. For example: in the display area of the external screen, it can be scrolled horizontally, slid along the diagonal of the display area of the external screen, etc.

该种在免打扰时间段下,通过外屏显示目标显示样式的方式,可以对当前状态进行展示,避免他人打扰。In the do-not-disturb time period, the target display style can be displayed on the external screen, which can display the current state and avoid disturbing others.

除上述在设置的免打扰时间段下时,在外屏显示目标显示样式的免打扰模式场景外,系统还可以根据用户创建的会议日程事件,自动识别会议日程事件对应的时间段,在会议日程事件对应的时间段下,在外屏显示与会议日程事件匹配的显示样式。下面参照图9至图10对该种具体场景下的外屏显示相关流程进行说明。In addition to the above-mentioned DND mode scene where the target display style is displayed on the external screen when the DND time period is set, the system can also automatically identify the time period corresponding to the conference schedule event based on the conference schedule event created by the user, and set it in the conference schedule event Under the corresponding time period, the display style matching the meeting schedule event is displayed on the external screen. The related process of external screen display in this specific scenario will be described below with reference to FIG. 9 to FIG. 10 .

示例性的,图9a~9b为示例性示出的会议日程事件建立流程的界面示意图,其中,图9a为新建日程界面示意图,新建日程界面901中包括:标题9011、地点9012、开始时间9013以及结束时间9014四个设置项,用户可在各设置项下输入对应的内容,例如:在标题设置项下输入会议标题如“xx会议”,在地点设置项下输入会议地点如“公司”,在开始时间设置项下输入会议开始时间如“7月28日早上10:00”,在结束时间设置项下输入会议结束时间如“7月28日早上11:00”。完成上述各设置项的设置后,用户可点击生成选项9015(例如图中的“√”),以触发系统依据用户设置生成会议日程事件。会议日程事件生成后,在图9b所示的日历界面902中显示已生成的会议日程事件9021,以及会议日程事件的起始时间和结束时间。系统对已生成的会议日程事件进行监控,在检测到达到会议日程事件开始时间点后,开始在外屏显示区域中显示会议日程事件对应的显示样式。Exemplarily, FIGS. 9a to 9b are schematic diagrams of the interface for creating a meeting schedule event, wherein FIG. 9a is a schematic diagram of the new schedule interface, and the new schedule interface 901 includes: title 9011, location 9012, start time 9013 and End time 9014 four setting items, the user can enter the corresponding content under each setting item, for example: input the conference title such as "xx meeting" under the title setting item, enter the meeting location such as "company" under the location setting item, and enter Enter the meeting start time under the start time setting item, such as "July 28th at 10:00 am", and enter the meeting end time under the end time setting item, such as "July 28th at 11:00 am". After completing the settings of the above-mentioned setting items, the user can click on the generating option 9015 (for example, "√" in the figure) to trigger the system to generate conference schedule events according to the user's settings. After the conference schedule event is generated, the generated conference schedule event 9021 and the start time and end time of the conference schedule event are displayed on the calendar interface 902 shown in FIG. 9b. The system monitors the generated meeting schedule events, and starts to display the display style corresponding to the meeting schedule events in the display area of the external screen after detecting that the meeting schedule event start time point has been reached.

示例性的,图10a~10b为示例性示出的会议过程中内屏和外屏的界面示意图,10a中示例性示出了在会议日程事件开始后,电子设备内屏中显示会议界面1001的同时在电子设备外屏1002上显示与会议日程事件匹配的显示样式“会议中”。Exemplarily, Figs. 10a-10b are schematic diagrams of the interfaces of the inner screen and the outer screen during the meeting process, and Fig. 10a exemplarily shows that the meeting interface 1001 is displayed on the inner screen of the electronic device after the meeting schedule event starts. Simultaneously, the display style "in the meeting" matching the meeting schedule event is displayed on the external screen 1002 of the electronic device.

需要说明的是,图10a中仅是以视频会议为例进行说明,在实际实现过程中,会议日程事件并不局限于为视频会议还可以为语音会议。并且外屏显示与会议日程事件匹配的显示样式时,也不局限于在内屏中显示会议界面后再显示,可以在达到会议日程事件开始时间后无论内屏中是否显示会议界面,均在外屏显示会议日程事件匹配的显示样式。该种在外屏显示会议日程事件匹配的显示样式的方式,一方面,可以提醒用户所创建的会议日程时间事件已到时间,避免用户错过会议;第二方面,用户会议过程中在外屏显示“会议中”,可提示他人用户当前在开会,避免他人打扰。It should be noted that, FIG. 10a only takes a video conference as an example for illustration, and in actual implementation, the conference schedule event is not limited to a video conference but may also be a voice conference. And when the external screen displays the display style that matches the conference schedule event, it is not limited to displaying the conference interface on the internal screen. After reaching the start time of the conference schedule event, regardless of whether the conference interface is displayed on the internal screen, it will be displayed on the external screen. Displays the display style for meeting schedule event matches. This method of displaying the matching display style of the meeting schedule event on the external screen, on the one hand, can remind the user that the created meeting schedule time event has expired, so as to prevent the user from missing the meeting; on the other hand, the user displays "meeting In" to remind others that the user is currently in a meeting to avoid interruptions from others.

需要说明的是,图9至图10中以系统对用户在日历应用程序中创建的会议日程事件进行监控,在达到会议日程事件开启时间时,在外屏显示与会议日程事件匹配的显示样式“会议中”为例进行说明。在实际实现过程中,并不局限于对用户创建的会议日程事件进行监控,还可以对用户创建的其他类型的日程事件例如:出差行程事件、视频学习日程事件、线下会议日程事件等,该类事件均对应有相应地的开始时间,系统在监测到用户创建的日程事件达到开始时间时,在外屏显示与日程事件匹配的显示样式。在一种可选地实施例中,还可以将日程事件监测与免打扰模式相结合,用户可先预设免打扰时间段,若用户所创建的日程事件执行时间段处于用户预设的免打扰时间段的情况下,日程事件开始时,电子设备开启拒接电话或者关闭来电铃声、信息铃声、通知铃声等免打扰限制,以避免其他电子设备对用户的日程事件进行干扰,同时,在外屏显示与日程事件匹配的显示样式,通过在外屏显示的样式,周边其他人可获知电子设备用户不希望他人打扰,从而有效避免周围人员的打扰。It should be noted that in Figures 9 to 10, the system monitors the meeting schedule events created by the user in the calendar application program, and when the opening time of the meeting schedule event is reached, the display style "meeting" matching the meeting schedule event is displayed on the external screen "in" as an example. In the actual implementation process, it is not limited to monitoring the conference schedule events created by users, but also other types of schedule events created by users, such as: business trip events, video learning schedule events, offline conference schedule events, etc., the Each type of event corresponds to a corresponding start time. When the system detects that the scheduled event created by the user reaches the start time, it will display a display style that matches the scheduled event on the external screen. In an optional embodiment, the schedule event monitoring can also be combined with the do-not-disturb mode. The user can first preset the do-not-disturb time period. In the case of a time period, when the schedule event starts, the electronic device will turn on the rejection of calls or turn off the do-not-disturb restrictions such as incoming call ringtones, message ringtones, and notification ringtones, so as to avoid other electronic devices from interfering with the user's schedule events. At the same time, the external screen displays The display style that matches the schedule event, through the style displayed on the external screen, other people around can know that the user of the electronic device does not want others to disturb, so as to effectively avoid the disturbance of people around.

需要说明的是,除上述所列举的对用户所创建的日程事件进行监测,在监测到达到日程事件开始时间后在外屏显示样式“会议中”的场景之外,电子设备还可以对用户受邀并接受的会议日程事件进行监测,在监测到达到会议日志事件开启时间后在外屏显示样式“会议中”。It should be noted that, in addition to the above-mentioned scenario of monitoring the calendar events created by the user, and displaying the style "in a meeting" on the external screen after the monitoring reaches the start time of the calendar event, the electronic device can also notify the user that the user is invited And the accepted meeting schedule events are monitored, and the style "in meeting" is displayed on the external screen after the monitoring reaches the opening time of the meeting log event.

下面结合外屏显示软件架构图11,对电子设备依据用户所创建的会议日程事件,在外屏显示目标显示样式“会议中”为例进行说明。In the following, in combination with the external screen display software architecture Fig. 11 , an electronic device displays the target display style "in a meeting" on the external screen according to the conference schedule event created by the user as an example.

如图11所示,该软件架构包括应用程序层、应用程序架构层以及内核层,其中,应用程序层中包括日历1100、会议1101、灭屏显示应用程序1102、应用程序架构层中包括窗口管理器1103、视图系统1104以及业务场景识别模块1105,内核层中包括外屏显示驱动1106,内屏显示驱动1107。业务场景识别模块1105中可设置轮询机制,用于轮询日历1100中是否创建日程事件,日程事件包括:会议日程事件。该场景下的外屏显示方法包括如下步骤:As shown in Figure 11, the software architecture includes an application program layer, an application program architecture layer and a kernel layer, wherein the application program layer includes a calendar 1100, a meeting 1101, an off-screen display application program 1102, and the application program architecture layer includes a window management device 1103, view system 1104 and business scene recognition module 1105, the kernel layer includes an external screen display driver 1106 and an internal screen display driver 1107. A polling mechanism may be set in the business scenario identification module 1105 for polling whether a schedule event is created in the calendar 1100, and the schedule event includes: a meeting schedule event. The external screen display method in this scenario includes the following steps:

S1:业务场景识别模块1105检测日历1100中创建的会议日程事件,并获取所创建的会议日程事件的相关信息。S1: The business scenario identification module 1105 detects the conference schedule event created in the calendar 1100, and acquires relevant information of the created conference schedule event.

业务场景识别模块1105可通过内部设置的轮询机制轮询日历1100,以检测日历1100中是否创建有会议日程事件。The business scenario identification module 1105 may poll the calendar 1100 through an internally configured polling mechanism to detect whether a meeting schedule event is created in the calendar 1100 .

用户预创建会议日程事件时,可在日历应用中完成创建。用户在日历中创建会议日程事件的交互界面如图9a~9b中所示。其中,会议日程事件包括开始时间和结束时间。When a user pre-creates a meeting schedule event, the creation can be completed in the calendar application. The interactive interface for the user to create a meeting schedule event in the calendar is shown in FIGS. 9a-9b. Wherein, the meeting schedule event includes a start time and an end time.

S2:业务场景识别模块1105识别到会议日程事件开始时,获取会议日程事件的开始时间和结束时间,监测达到会议日程事件开始时间时,向灭屏显示应用程序1102发送“会议中”显示样式对应的第一界面信息。S2: When the business scene recognition module 1105 recognizes that the meeting schedule event starts, it acquires the start time and end time of the meeting schedule event, and when the monitoring reaches the start time of the meeting schedule event, it sends the "in meeting" display style corresponding to the off-screen display application 1102 information on the first interface.

通过第一界面信息可在外屏中显示出“会议中”这一显示样式。Through the information on the first interface, the display style of "in a meeting" can be displayed on the external screen.

“会议中”显示样式可以为用户预先为会议日程事件所关联的显示样式,也可以为系统依据所监测到的日程事件的类型从系统预设的显示样式中自动匹配得到。例如:监测到的日程事件为会议日程事件,则从系统预设的显示样式中自动匹配得到“会议中”这一显示样式。The "in-meeting" display style can be the display style associated with the meeting schedule event by the user in advance, or it can be automatically matched by the system from the display style preset by the system according to the type of the monitored schedule event. For example, if the monitored schedule event is a meeting schedule event, then the display style "in meeting" will be automatically matched from the display styles preset by the system.

业务场景识别模块1105可将AOD界面信息携带在指令、通知或者请求中发送至灭屏 显示应用程序1102,以灭屏显示应用程序1102The business scene recognition module 1105 can carry the AOD interface information in the instruction, notification or request and send it to the off-screen display application 1102, so that the off-screen display application 1102

S3:灭屏显示应用程序1102将第一界面信息发送至窗口管理器1103。S3: Screen-off display The application program 1102 sends the first interface information to the window manager 1103 .

第一界面信息可携带在指令、通知或者请求中发送至窗口管理器1103。The first interface information may be carried in an instruction, notification or request and sent to the window manager 1103 .

S4:窗口管理器1103向视图系统1104发送第一通知。S4: The window manager 1103 sends a first notification to the view system 1104 .

第一通知用于通知视图系统1104将第二界面信息显示在第二显示屏192上。第二通知中可携带第二界面信息和第二显示屏192的标识信息。The first notification is used to notify the view system 1104 to display the second interface information on the second display screen 192 . The second notification may carry the second interface information and the identification information of the second display screen 192 .

S5:视图系统1104向外屏显示驱动1106发送调起指令。S5: The view system 1104 sends a calling command to the external screen display driver 1106 .

视图系统1104对窗口管理器1103发送的第一通知进行解析后,依据第二显示屏192的标识信息确定调起外屏显示驱动1106,因此向外屏显示驱动1106发送调起指令,其中,调起指令中可携带第一界面信息。After analyzing the first notification sent by the window manager 1103, the view system 1104 determines to call the external screen display driver 1106 according to the identification information of the second display screen 192, and therefore sends a call-up instruction to the external screen display driver 1106, wherein calling The start command may carry the first interface information.

外屏显示驱动1106接收到调起指令后,解析得到第一界面信息,驱动第二显示屏192,将第一界面信息发送至第二显示屏192进行显示,第二显示屏192即外屏中将显示第一界面信息对应的“会议中”这一显示样式。After the external screen display driver 1106 receives the call-up command, it analyzes and obtains the first interface information, drives the second display screen 192, and sends the first interface information to the second display screen 192 for display. The display style of "in meeting" corresponding to the information on the first interface will be displayed.

需要说明的是,第二显示屏192中的“会议中”可以持续显示,直至接收到取消显示指令或者接收到外屏显示驱动1106发送的其他界面信息后将“会议中”替换掉。第二显示屏192中的“会议中”也可以间隔预设时长显示一次。业务场景识别模块1105可在识别到会议日程事件结束后,向灭屏显示应用程序1102发送取消显示第一界面信息指令,灭屏显示应用程序1102向窗口管理器1103发送外屏停止显示第一界面信息的通知,窗口管理器1103向视图系统1104发送外屏停止显示第一界面信息的通知,视图系统1104向外屏显示驱动1106发送外屏停止显示第二界面信息的通知,最终第二显示屏192中取消显示“会议中”这一显示样式。It should be noted that the "in meeting" on the second display screen 192 may continue to be displayed until the "in meeting" is replaced after receiving an instruction to cancel the display or receiving other interface information sent by the external screen display driver 1106 . "In meeting" on the second display screen 192 may also be displayed once at preset time intervals. After the business scene identification module 1105 recognizes that the meeting schedule event is over, it can send an instruction to cancel displaying the first interface information to the off-screen display application program 1102, and the off-screen display application program 1102 sends the external screen to stop displaying the first interface to the window manager 1103. Information notification, the window manager 1103 sends a notification to the view system 1104 that the external screen stops displaying the first interface information, and the view system 1104 sends a notification to the external screen display driver 1106 that the external screen stops displaying the second interface information, and finally the second display screen In 192, the display style of "in-meeting" is cancelled.

S6:达到会议日程事件开始时间时,在会议1101中开启会议,会议1101向窗口管理器1103发送第二界面信息;S6: When the meeting schedule event start time is reached, start the meeting in the meeting 1101, and the meeting 1101 sends the second interface information to the window manager 1103;

其中,会议1101为会议应用程序,在实际实现过程中,在达到会议日程事件的开始时间的情况下,用户可手动开启会议1101进行会议,也可以由系统自动开启会议1101进行会议。Wherein, the meeting 1101 is a meeting application program. In the actual implementation process, when the start time of the meeting schedule event is reached, the user can manually open the meeting 1101 for the meeting, or the system can automatically open the meeting 1101 for the meeting.

第二界面信息为内屏中显示的应用程序的界面信息。会议1101可将内屏显示的会议应用程序的界面信息携带在指令或者通知消息发送至窗口管理器1103。The second interface information is the interface information of the application program displayed on the inner screen. The conference 1101 may send the interface information of the conference application displayed on the internal screen to the window manager 1103 in an instruction or notification message.

S7:窗口管理器1103向视图系统1104发送第二通知。S7: The window manager 1103 sends a second notification to the view system 1104 .

第二通知用于通知视图系统1104将第二界面信息显示在第一显示屏194上。第二通知中可携带第二界面信息和第一显示屏194的标识信息。The second notification is used to notify the view system 1104 to display the second interface information on the first display screen 194 . The second notification may carry the second interface information and the identification information of the first display screen 194 .

需要说明的是,上述仅是以窗口管理器1103向视图系统1104发送通知为例进行说明,在实际实现过程中,窗口管理器1103也可以生成携带有第二界面信息和第一显示屏194的标识信息的指令或者请求,以指令或者请求的方式与视图系统1104进行数据交互。It should be noted that, the above is only an example of sending a notification from the window manager 1103 to the view system 1104. In the actual implementation process, the window manager 1103 may also generate an The instruction or request of the identification information performs data interaction with the view system 1104 in the form of instruction or request.

S8:视图系统1104向内屏显示驱动1107发送调起指令。S8: The view system 1104 sends a calling command to the internal screen display driver 1107 .

视图系统1104对窗口管理器1103发送的第二通知进行解析后,依据第一显示屏194的标识信息确定调起内屏显示驱动1107,因此向内屏显示驱动1107发送调起指令,其中,调起指令中可携带第二界面信息。After analyzing the second notification sent by the window manager 1103, the view system 1104 determines to invoke the internal screen display driver 1107 according to the identification information of the first display screen 194, and therefore sends an invoking command to the internal screen display driver 1107, wherein the invoking The start command may carry the second interface information.

内屏显示驱动1107驱动电子设备的第一显示屏194,在第一显示屏194中显示第二 界面信息。The inner screen display driver 1107 drives the first display screen 194 of the electronic device, and displays the second interface information on the first display screen 194.

通过上述软件架构执行的外屏显示流程,在监测到达到用户创建的会议日程事件的开始时间时,即可在外屏即第二显示屏中显示“会议中”显示样式,并且在会议过程中也可以在外屏中显示“会议中”,一方面,可以提示电子设备用户所创建的会议日程事件已达到开始时间,避免用户错过会议。再一方面,在电子设备用户开会过程中,可避免周围人打扰电子设备用户。Through the external screen display process executed by the above-mentioned software architecture, when the start time of the conference schedule event created by the user is detected, the display style of "in-conference" can be displayed on the external screen, that is, the second display screen, and it can also be displayed during the conference. "Meeting" can be displayed on the external screen. On the one hand, it can remind the user of the electronic device that the meeting schedule event created by the electronic device has reached the start time, so as to prevent the user from missing the meeting. On the other hand, during the electronic device user's meeting, the surrounding people can avoid disturbing the electronic device user.

需要说明的是,S6-S9与S2-S5并行执行,二者并无先后顺序。It should be noted that S6-S9 and S2-S5 are executed in parallel, and there is no sequence between them.

需要说明的是,上述软件架构不仅可对用户设置的会议日程事件进行监测,还可以对用户设置的其他日程事件例如学习日程事件、出差行程日程事件等进行监测,在监测到达到日程事件对应的时间段时,在外屏显示相应的显示样式。上述软件架构还可以对用户设置的免打扰时间段即第一时间段进行监测,在监测到达到免打扰时间段时,在外屏显示相应的免打扰显示样式。上述架构还可以同时对用户设置的会议日程事件、以及免打扰时间段进行监测,在监测到电子设备的系统时间达到免打扰时间段时,在电子设备的外屏显示免打扰显示样式又可称为第一目标显示样式;在监测到电子设备的系统时间达到第二时间段即日程事件对应的时间段时,在外屏显示第二目标显示样式即所监测的日程事件对应的显示样式。It should be noted that the above software architecture can not only monitor the meeting schedule events set by the user, but also monitor other schedule events set by the user, such as study schedule events, business trip schedule events, etc. During the time period, the corresponding display style will be displayed on the external screen. The above software architecture can also monitor the DND time period set by the user, that is, the first time period, and when the monitoring reaches the DND time period, the corresponding DND display style will be displayed on the external screen. The above-mentioned architecture can also monitor the meeting schedule events set by the user and the do-not-disturb time period at the same time. It is the first target display style; when it is detected that the system time of the electronic device reaches the second time period, that is, the time period corresponding to the scheduled event, the second target display style, that is, the display style corresponding to the monitored schedule event, is displayed on the external screen.

下面结合图12至图18对沉浸模式下的外屏显示方法的进行说明。本申请实施例中依然以电子设备外屏右半部分401为外屏显示区域为例,且在外屏中设置外屏显示相关操作为例进行说明。The method for displaying the external screen in the immersive mode will be described below with reference to FIGS. 12 to 18 . In the embodiment of the present application, the right half 401 of the outer screen of the electronic device is still taken as an example of the outer screen display area, and related operations of setting the outer screen display on the outer screen are taken as an example for illustration.

示例性的,继续接图6,用户进行外屏显示设置时,可在外屏中开启如图6中所示的外屏显示设置界面601,外屏显示设置界面601中包括外屏显示开关6011、免打扰模式控件6012、沉浸模式控件6013以及智能省电开关6014。沉浸模式控件6103为沉浸模式下外屏显示的入口,通过该入口可进入沉浸模式下外屏显示的相关设置界面。对于外屏显示设置界面中各其它控件的功能参照前述场景实施例中对图6的相关说明部分即可,在此不再赘述。示例性的,如图12所示,在接收到用户对沉浸模式控件12011的触控操作,如点击、按压等操作后,跳转至如图13所示的沉浸模式下的显示样式设置界面1301,沉浸模式下的显示样式设置界面1301中包括应用列表,应用列表中包括至少一个应用程序图标、应用程序图标添加控件13011以及应用程序图标删除控件13012,其中,应用程序图标添加控件13011供用户添加应用程序图标,例如:用户点击应用程序图标添加控件13011后可选择至少一个应用程序图标添加至图13中所示的应用列表中。应用程序图标删除控件13012供用户删除应用程序图标,例如:用户选中应用A图标后再点击应用程序图标添加控件13012,可将应用A图标从应用列表中删除。需要说明的是,单次向应用列表中添加应用程序图标时,可添加一个或多个应用程序图标。单次从应用程序列表中删除应用程序图标时,也可以删除一个或多个应用程序图标。单次同时删除多个应用程序图标时,可依次从应用程序列表中选中待删除的应用程序图标,然后点击应用程序图标删除控件13012触发系统将本次选中的应用程序图标从应用列表中删除。应用列表中的应用程序可以为系统依据用户历史使用习惯自动筛选的应用程序图标,也可以为用户历史使用过程中手动添加的应用程序图标,应用列表中的应用程序图标可以包括但不限于:游戏类应用程序图标、视频类应用程序图标、社交类应用程序图标或者阅读类应用程序图标等。应用列 表中的应用程序图标对应的应用程序的运行状态满足沉浸模式条件的情况下,在外屏显示用户设置的沉浸模式下的目标显示样式。Exemplarily, continuing with FIG. 6, when the user sets the external screen display, the external screen display setting interface 601 as shown in FIG. Do not disturb mode control 6012 , immersive mode control 6013 and smart power saving switch 6014 . Immersive mode control 6103 is the entrance of the external screen display in the immersive mode, through which the relevant setting interface of the external screen display in the immersive mode can be entered. For the functions of other controls in the external screen display setting interface, please refer to the related description of FIG. 6 in the aforementioned scenario embodiment, and details will not be repeated here. Exemplarily, as shown in FIG. 12, after receiving the user's touch operation on the immersive mode control 12011, such as clicking, pressing, etc., jump to the display style setting interface 1301 in the immersive mode as shown in FIG. 13 , the display style setting interface 1301 in the immersive mode includes an application list, and the application list includes at least one application icon, an application icon addition control 13011 and an application icon deletion control 13012, wherein the application icon addition control 13011 is for the user to add Application icon, for example: after the user clicks the application icon adding control 13011, he can select at least one application icon to add to the application list shown in FIG. 13 . The application icon deletion control 13012 is for the user to delete the application icon, for example: the user selects the application A icon and then clicks the application icon addition control 13012, and the application A icon can be deleted from the application list. It should be noted that, when adding application program icons to the application list for a single time, one or more application program icons may be added. One or more application icons can also be removed when removing application icons from the application list at a time. When deleting multiple application icons at the same time, you can select the application icons to be deleted from the application list in turn, and then click the application icon deletion control 13012 to trigger the system to delete the selected application icons from the application list. The applications in the application list can be the application icons automatically filtered by the system based on the user's historical usage habits, or the application icons manually added during the user's historical usage. The application icons in the application list can include but are not limited to: games application icons, video application icons, social application icons or reading application icons, etc. When the running state of the application corresponding to the application icon in the application list satisfies the conditions of the immersive mode, the target display style in the immersive mode set by the user is displayed on the external screen.

沉浸模式下的显示样式设置界面1301中还包括第二提示信息13013如“连续使用下列应超过5分钟时,出现外屏显示”,第二提示信息13013用于提示用户沉浸模式的变更时机。需要说明的是,图13中第二提示信息13013中所示的5分钟仅是示例性数值,该数值又可称为第一预设时长可以由本领域技术人员或者用户灵活设置,本申请实施例中对此不作具体限制,例如:设置为0分钟、8分钟或者10分钟等。在第一预设时长设置为0的情况下,应用列表中的应用程序图标对应的应用程序开启后,在外屏立即显示用户设置的目标显示样式。The display style setting interface 1301 in the immersive mode also includes a second prompt message 13013 such as "when the device is used continuously for more than 5 minutes, an external display will appear", the second prompt message 13013 is used to prompt the user to change the immersive mode. It should be noted that the 5 minutes shown in the second prompt message 13013 in FIG. 13 is only an exemplary value, and this value can also be called the first preset duration, which can be flexibly set by those skilled in the art or users. There is no specific restriction on this, for example: set to 0 minutes, 8 minutes or 10 minutes, etc. When the first preset duration is set to 0, after the application program corresponding to the application program icon in the application list is started, the target display style set by the user is immediately displayed on the external screen.

沉浸模式下的显示样式设置界面1301中还包括多个系统预设的显示样式13014以及显示样式添加入口13015。用户可从系统预设的显示样式中任选一个作为沉浸模式下在外屏输出的目标显示样式。用户也可以选定显示样式添加入口13015,从相册中选择图片或视频作为外屏输出的目标显示样式,或者调用相机拍摄图片或者视频作为外屏输出的目标显示样式。本实施例中以用户选定系统预设的“专注办公请勿打扰”显示样式作为目标显示样式为例进行后续说明。继续接上述示例,用户设置完成应用列表以及沉浸模式下的目标显示样式“专注办公请勿打扰”后,当开启应用列表中的任意应用程序超过5分钟,则系统判定前台运行的该应用程序处于沉浸模式,则在外屏显示“专注办公请勿打扰”其中,沉浸模式下的外屏界面示意图如14所示。该种外屏显示方式,可以在用户处于观影、阅读、视频会议或者游戏等应用程序中沉浸时,在外屏显示免打扰提示,避免他人打扰用户。The display style setting interface 1301 in the immersive mode also includes a plurality of system preset display styles 13014 and a display style adding entry 13015 . Users can choose one of the display styles preset by the system as the target display style output on the external screen in immersive mode. The user can also select the display style to add entry 13015, select pictures or videos from the photo album as the target display style for external screen output, or call the camera to take pictures or videos as the target display style for external screen output. In this embodiment, follow-up descriptions will be made by taking the user's selection of the system-preset "do not disturb" display style as the target display style as an example. Continuing with the above example, after the user completes the application list and the target display style in immersive mode "Do Not Disturb for Focused Work", when any application in the application list is opened for more than 5 minutes, the system determines that the application running in the foreground is in the In the immersive mode, the external screen displays "Focus on Office Do Not Disturb". Among them, the schematic diagram of the external screen interface in the immersive mode is shown in Figure 14. This external screen display method can display a do-not-disturb prompt on the external screen when the user is immersed in applications such as watching movies, reading, video conferencing, or games, so as to avoid others from disturbing the user.

在一种可选地实施例中,用户在使用内屏观影或者游戏时,可以将电子设备旋转90度。在电子设备发生旋转时,外屏显示的方向随电子设备的朝向变化。其中,电子设备旋转方向和角度可通过电子设备内置的陀螺仪判定。In an optional embodiment, the user can rotate the electronic device by 90 degrees when using the inner screen to watch movies or play games. When the electronic device is rotated, the direction displayed on the external screen changes with the orientation of the electronic device. Wherein, the rotation direction and angle of the electronic device can be determined by a gyroscope built in the electronic device.

在一种可选地实施例中,电子设备可以根据电子设备与用户预设部位的距离来灵活控制是否外屏显示沉浸模式下的目标显示样式。例如:用户通过电子设备通话过程中,监测到电子设备与用户耳朵之间的距离小于预设距离,因此即便判定电子设备处于沉浸模式下,也不会在外屏显示沉浸模式下的目标显示样式,外屏会息屏,能够节省外屏显示所耗电量。在一种可选地实施例中,当电子设备外屏无法监测到光线信号时,说明电子设备可能放置于桌子或支架上,外屏对于他人而言不可见,此时,外屏会息屏停止显示,能够节省外屏显示所耗电量。In an optional embodiment, the electronic device can flexibly control whether the external screen displays the target display style in the immersive mode according to the distance between the electronic device and the user's preset location. For example: during the user’s call through the electronic device, it is detected that the distance between the electronic device and the user’s ear is less than the preset distance, so even if the electronic device is determined to be in the immersive mode, the target display style in the immersive mode will not be displayed on the external screen, The external screen will turn off the screen, which can save the power consumption of the external screen display. In an optional embodiment, when the light signal cannot be detected by the external screen of the electronic device, it means that the electronic device may be placed on a table or a stand, and the external screen is invisible to others. At this time, the external screen will be off. Stopping the display can save the power consumption of the external screen display.

除图13中所示的为应用程序列表中的各应用程序图标设置统一的目标显示样式外,还可以单独为应用程序图标设置沉浸模式下的显示样式,例如选中应用B图标后,从系统预设的显示样式中选中“观影中”这一显示样式,此时则成功建立应用B图标与“观影中”这一显示样式的对应关系。在电子设备内屏中播放前台运行的应用B的界面信息,在应用B运行5分钟后,则在外屏直接显示目标显示样式“观影中”。重复执行上述应用程序图标与显示样式的对应关系建立流程,可为应用程序列表中的各应用程序图标设置对应的显示样式。在实际实现过程中,也可以仅为应用列表中的部分应用程序图标设置对应的显示样式,而其它未设置显示样式的应用程序图标可对应系统默认的某一显示样式。In addition to setting a unified target display style for each application icon in the application list as shown in Figure 13, you can also set the display style in immersive mode for the application icon separately. Select the display style of "watching a movie" in the display style set, and at this time, the corresponding relationship between the application B icon and the display style of "watching a movie" is successfully established. The interface information of application B running in the foreground is played on the internal screen of the electronic device, and the target display style "viewing movie" is directly displayed on the external screen after application B runs for 5 minutes. By repeating the process of establishing the correspondence between application program icons and display styles, the corresponding display styles can be set for each application program icon in the application program list. In the actual implementation process, it is also possible to only set corresponding display styles for some application program icons in the application list, while other application program icons without display styles may correspond to a default display style of the system.

需要说明的是,沉浸模式下在外屏显示目标显示样式时,可以静态显示也可以动态显示。静态显示时,可以持续显示也可以每隔预设间隔间断显示。动态显示样式可以由本领 域技术人员根据实际需求进行设置,本申请实施例中对此不做具体限制。例如:可以在外屏显示区域中沿横向滚动显示、沿外屏显示区域对角线滑动显示等。It should be noted that when the target display style is displayed on the external screen in immersive mode, it can be displayed statically or dynamically. When displayed statically, it can be continuously displayed or intermittently displayed at preset intervals. The dynamic display style can be set by those skilled in the art according to actual needs, which is not specifically limited in this embodiment of the application. For example: in the display area of the external screen, it can be scrolled horizontally, slid along the diagonal of the display area of the external screen, etc.

一种可选地实施方式中,在单独为应用列表中的应用程序图标设置沉浸模式下的显示样式时,除可如图13中所示的用户可从系统预设的显示样式中任选一个作为沉浸模式下在外屏输出的目标显示样式外,用户还可以选定显示样式添加入口13015,触发系统显示图15a中所示的显示样式添加路径设置界面1502,显示样式添加路径设置界面中包括显示样式添加路径菜单15021,显示样式添加路径菜单15021中包括:第一添加路径选项如从相册中添加选项150121、第二添加路径选项如开启摄像头拍摄添加选项150122以及第三选项如应用程序中已购买样式添加选项150123。其中,用户通过选中第一添加路径选项150121可从相册中选择图片或视频作为外屏输出的目标显示样式。用户通过选中第二添加路径选项150122可调用相机拍摄图片或者视频作为外屏输出的目标显示样式。用户通过选中第三添加路径选项150123可从应用程序C中的已购买样式中选择显示样式作为外屏输出的目标显示样式。用户可根据实际需求从显示样式添加路径菜单中选择任意添加选项。本申请实施例中以用户手动选择已购买样式添加选项150123为例进行说明。需要说明的是,图15a中示例性地示出了在应用列表中包含多个应用程序图标,用户通过选定应用程序图标来间接的选定应用程序。在实际实现过程中,并不局限于此,还可以在应用列表中显示应用程序名称,用户通过选定应用程序名称来选定应用程序。In an optional implementation, when setting the display style in the immersive mode for the application icon in the application list separately, as shown in Figure 13, the user can choose one of the display styles preset by the system In addition to the target display style output on the external screen in immersive mode, the user can also select the display style addition entry 13015, which triggers the system to display the display style addition path setting interface 1502 shown in Figure 15a. The display style addition path setting interface includes display Style adding path menu 15021, display style adding path menu 15021 includes: the first adding path option such as adding option 150121 from the photo album, the second adding path option such as enabling camera shooting adding option 150122 and the third option such as purchased in the application Style added option 150123. Among them, by selecting the first add path option 150121, the user can select a picture or video from the photo album as the target display style of the external screen output. By selecting the second add path option 150122, the user can call the camera to take pictures or videos as the target display style of the external screen output. By selecting the third adding path option 150123, the user can select a display style from the purchased styles in application C as the target display style for external screen output. Users can choose any adding option from the display style adding path menu according to actual needs. In this embodiment of the application, the user manually selects the purchased style addition option 150123 as an example for illustration. It should be noted that, Fig. 15a exemplarily shows that the application list contains multiple application program icons, and the user indirectly selects an application program by selecting an application program icon. In the actual implementation process, it is not limited to this, and the application program name may also be displayed in the application list, and the user selects the application program by selecting the application program name.

系统检测到用户选定已购买样式添加选项150123后,跳转至图15b中所示的已购买样式选择界面1503,该界面中包括多个应用程序C中已购买的显示样式以及用于指示购买特定项目后立即外屏显示的开关15031,用户可手动从多个已购买的显示样式中选择至少之一作为应用程序C沉浸模式下时外屏显示的目标显示样式。其中。开关15031开启后在应用程序运行过程中,用户购买特定项目后,在电子设备外屏立即显示所购买的特定项目作为目标显示样式。本申请实施例中以用户选定第一显示样式15032如笑脸样式以及第二显示样式15033如皇冠样式为例进行说明。需要说明的是,已购买样式选择界面1503中也可以不设置开关15031,在应用程序C运行期间,可由应用程序C决定是否在用户购买特定项目后即时生效在外屏显示相应的显示样式。After the system detects that the user selects the purchased style addition option 150123, it jumps to the purchased style selection interface 1503 shown in FIG. The switch 15031 for external screen display immediately after a specific item, the user can manually select at least one of multiple purchased display styles as the target display style for external screen display when application C is in immersive mode. in. After the switch 15031 is turned on and the application program is running, after the user purchases a specific item, the purchased specific item is immediately displayed on the external screen of the electronic device as the target display style. In the embodiment of the present application, the user selects the first display style 15032 such as the smiley face style and the second display style 15033 such as the crown style as an example for illustration. It should be noted that the switch 15031 may not be set in the purchased style selection interface 1503. During the running of the application program C, the application program C may decide whether to display the corresponding display style on the external screen immediately after the user purchases a specific item.

接图15b,在完成对应用程序C的沉浸模式下时外屏显示的目标显示样式的设置后,在应用程序C运行第一预设时长如5分钟进入沉浸模式后,内屏和外屏显示界面示意图如图16中的所示,其中,图16(a)为沉浸模式下的内屏界面示意图,图16b为沉浸模式下的外屏界面示意图,通过图16所示,应用程序C的界面在内屏显示,在应用程序C中显示已购买且被用户选中的目标显示样式时,在外屏同步显示相同显示样式。例如:应用程序C为游戏类应用程序,在游戏过程中出现连续暴击时,显示图16(a)中所示的皇冠样式15033,由于皇冠样式15033为用户预先设置的应用程序C沉浸模式下时外屏显示的目标显示样式,故在图16(b)所示的外屏界面中同步显示皇冠样式15033。同理当内屏显示界面中出现笑脸样式15032时外屏同步显示笑脸样式15032。Continuing from Figure 15b, after completing the setting of the target display style of the external screen display in the immersive mode of the application program C, after the application program C runs for the first preset time and enters the immersive mode for 5 minutes, the internal screen and the external screen display The schematic diagram of the interface is shown in Figure 16, wherein, Figure 16(a) is a schematic diagram of the internal screen interface in the immersive mode, and Figure 16b is a schematic diagram of the external screen interface in the immersive mode, as shown in Figure 16, the interface of application C Display on the inner screen, when the purchased target display style is displayed in application C and selected by the user, the same display style will be displayed synchronously on the outer screen. For example: Application C is a game application. When continuous critical strikes occur during the game, the crown style 15033 shown in Figure 16(a) is displayed. Since the crown style 15033 is preset by the user in the immersive mode of Application C This is the target display style displayed on the external screen, so the crown style 15033 is displayed synchronously on the external screen interface shown in Figure 16(b). Similarly, when the smiley face pattern 15032 appears in the display interface of the internal screen, the external screen displays the smiley face pattern 15032 synchronously.

需要说明的是,图16中仅是示例性的列举了一种当内屏界面中显示用户预设的目标显示样式时在外屏同步显示相同显示样式的方式。在实际实现过程中,还可以在前台运行的应用程序C的运行时长达到第一预设时长如5分钟,在外屏显示用户为应用程序C预设的目标显示样式。需要说明的是,该种情况下,若用户预设的目标显示样式为两个或者 多个显示样式,例如图16中所示的笑脸样式15032和皇冠样式15033,则可交替显示预设的各目标显示样式,也可以同时显示预设的各目标显示样式,本申请实施例中对具体显示方式不做限定。It should be noted that FIG. 16 only exemplarily enumerates a manner of synchronously displaying the same display style on the external screen when the target display style preset by the user is displayed on the internal screen interface. In the actual implementation process, the running time of the application program C running in the foreground can reach a first preset duration, such as 5 minutes, and the target display style preset by the user for the application program C is displayed on the external screen. It should be noted that, in this case, if the preset target display styles of the user are two or more display styles, such as the smiley face style 15032 and the crown style 15033 shown in FIG. The target display style may also display preset target display styles at the same time, and the specific display mode is not limited in this embodiment of the present application.

本可选实施例中提供的为沉浸模式下的应用程序设置个性化显示样式的方式,一方面,能够满足用户的个性化显示需求,另一方面,能够提升外屏显示的趣味性。The method of setting a personalized display style for the application in the immersive mode provided in this optional embodiment, on the one hand, can meet the user's personalized display requirements, and on the other hand, can improve the fun of the external screen display.

下面结合图17中所示的外屏显示软件架构,对通过视频类应用程序观看电影时,视频类应用程序处于沉浸模式下的场景为例,对外屏显示方法进行说明。In the following, the external screen display method will be described by taking the scene where the video application is in the immersive mode when watching a movie through the video application as an example in combination with the external screen display software architecture shown in FIG. 17 .

如图17所示,该软件架构包括应用程序层、应用程序架构层以及内核层,其中,应用程序层中包括视频应用程序1701、灭屏显示应用程序1702、应用程序架构层中包括窗口管理器1704、视图系统1705以及业务场景识别模块1706,内核层中包括外屏显示驱动1707,内屏显示驱动1708。其中,业务场景识别模块1706中设置有轮询机制,可识别到前台运行的应用程序,通过多次轮询可识别到前台运行的应用程序的持续运行时长。As shown in Figure 17, the software architecture includes an application layer, an application architecture layer, and a kernel layer, wherein the application layer includes a video application 1701, an off-screen display application 1702, and the application architecture layer includes a window manager. 1704 , the view system 1705 and the business scene recognition module 1706 , the kernel layer includes an external screen display driver 1707 and an internal screen display driver 1708 . Wherein, the business scene identification module 1706 is provided with a polling mechanism, which can identify the application program running in the foreground, and the continuous running time of the application program running in the foreground can be identified through multiple polling.

基于图17中所示的软件架构的外屏显示方法包括如下步骤:The external screen display method based on the software architecture shown in Figure 17 comprises the following steps:

S1:用户开启视频应用程序1701开始观影后,视频应用程序1701向窗口管理器1704发送第一界面信息。S1: After the user starts the video application program 1701 to watch a movie, the video application program 1701 sends the first interface information to the window manager 1704 .

其中,第一界面信息即视频应用程序的界面信息,包括但不限于:视频帧、观影时长等。第一界面信息可携带在指令、通知或者请求信息中发送至窗口管理器1704。用户在外屏显示设置界面中开启沉浸模式,在应用列表中可设置待监测的各目标应用程序,每个应用程序对应一个应用程序图标,应用列表中包含的应用图标对应的应用程序可作为待监测的目标应用程序。本示例中以用户设置的目标应用程序中包括视频应用程序1701,且用户预先为视频应用程序1701选定“观影中”显示样式为例进行说明。Wherein, the first interface information is the interface information of the video application program, including but not limited to: video frame, viewing duration, and the like. The first interface information may be carried in the instruction, notification or request information and sent to the window manager 1704 . The user enables the immersive mode in the external screen display setting interface, and can set the target applications to be monitored in the application list. Each application corresponds to an application icon, and the application corresponding to the application icon contained in the application list can be used as the application to be monitored. target application. In this example, the video application 1701 is included in the target application set by the user, and the user pre-selects the display style of "watching a movie" for the video application 1701 as an example for illustration.

S2:窗口管理器1704将向视图系统1705发送第一通知。S2: The window manager 1704 will send a first notification to the view system 1705 .

其中,第一通知用于通知视图系统1705将第一界面信息显示在第一显示屏194上。第一通知中可携带第一界面信息和第一显示屏194的标识信息。Wherein, the first notification is used to notify the view system 1705 to display the first interface information on the first display screen 194 . The first notification may carry the first interface information and the identification information of the first display screen 194 .

需要说明的是,上述仅是以窗口管理器1704向视图系统1705发送通知为例进行说明,在实际实现过程中,窗口管理器1704也可以生成携带有第一界面信息和第一显示屏194的标识信息的指令或者请求,以指令或者请求的方式与视图系统1705进行数据交互。It should be noted that, the above is only an example of sending a notification from the window manager 1704 to the view system 1705. In the actual implementation process, the window manager 1704 may also generate an Instructions or requests for identification information perform data interaction with the view system 1705 in the form of instructions or requests.

S3:视图系统1705向内屏显示驱动1707发送调起指令。S3: The view system 1705 sends a calling command to the internal screen display driver 1707 .

视图系统1705对窗口管理器1704发送的第一通知进行解析后,依据第一显示屏194的标识信息确定调起内屏显示驱动1707,因此向内屏显示驱动1707发送调起指令,其中,调起指令中可携带第一界面信息。After analyzing the first notification sent by the window manager 1704, the view system 1705 determines to call the internal screen display driver 1707 according to the identification information of the first display screen 194, and therefore sends a call-up instruction to the internal screen display driver 1707, wherein calling The start command may carry the first interface information.

内屏显示驱动1707响应于调起指令,驱动第一显示屏194,在第一显示屏194中显示第一界面信息即视频应用程序的界面信息。The internal screen display driver 1707 drives the first display screen 194 in response to the calling instruction, and displays the first interface information, that is, the interface information of the video application program, on the first display screen 194 .

S4:业务场景识别模块1706调用轮询机制监测视频应用程序的状态。S4: The business scene identification module 1706 invokes the polling mechanism to monitor the status of the video application.

业务场景识别模块1706通过轮询机制,监测到视频应用程序1701正在运行时,监测视频应用程序1701的运行时长,在监测到视频应用程序1701的运行时长超出第一预设时长例如5分钟时,确定触发外屏显示机制。The business scene recognition module 1706 detects that the video application 1701 is running through a polling mechanism, and monitors the running time of the video application 1701. When it detects that the running time of the video application 1701 exceeds the first preset time, for example, 5 minutes, Determine the mechanism that triggers the external screen display.

S5:业务场景识别模块1906向灭屏显示应用程序1702发送第二界面信息。S5: The business scene identification module 1906 sends the second interface information to the off-screen display application program 1702 .

其中,第二界面信息可携带在指令、通知或者请求中等发送至灭屏显示应用程序1702。 业务场景识别模块1906识别到视频应用程序1701的运行时长超出第一预设时长时,确定用户预先设定的与视频应用程序1701对应的显示样式如“观影中”,将“观影中”这一显示样式的信息作为第二界面信息发送至灭屏显示应用程序1702。Wherein, the second interface information may be sent to the off-screen display application program 1702 carried in an instruction, a notification, or a request. When the business scene recognition module 1906 recognizes that the running time of the video application 1701 exceeds the first preset duration, it determines that the display style corresponding to the video application 1701 preset by the user is "watching a movie", and sets "watching a movie" to The information of this display style is sent to the off-screen display application program 1702 as the second interface information.

S6:灭屏显示应用程序1702将第二界面信息发送至窗口管理器1704。S6: The off-screen display application program 1702 sends the second interface information to the window manager 1704 .

S7:窗口管理器1704向视图系统1705发送第二通知。S7: The window manager 1704 sends a second notification to the view system 1705 .

第二通知用于通知视图系统1705将第二界面信息显示在第二显示屏192上。第二通知中可携带第二界面信息和第二显示屏192的标识信息。The second notification is used to notify the view system 1705 to display the second interface information on the second display screen 192 . The second notification may carry the second interface information and the identification information of the second display screen 192 .

S8:视图系统1705向外屏显示驱动1708发送调起指令。S8: The view system 1705 sends a calling command to the external screen display driver 1708 .

视图系统1705对窗口管理器1704发送的第二通知进行解析后,依据第二显示屏192的标识信息确定调起外屏显示驱动1708,因此向外屏显示驱动1708发送调起指令,其中,调起指令中可携带第二界面信息。After the view system 1705 parses the second notification sent by the window manager 1704, it determines to call the external display driver 1708 according to the identification information of the second display screen 192, so it sends a call command to the external display driver 1708, wherein the calling The start command may carry the second interface information.

外屏显示驱动1708响应于调起指令,驱动第二显示屏192即外屏,在第二显示屏192中显示第二界面信息即“观影中”这一显示样式。The external screen display driver 1708 drives the second display screen 192, that is, the external screen, in response to the call-up instruction, and displays the second interface information on the second display screen 192, that is, the display style of "viewing a movie".

通过上述软件架构执行的外屏显示流程,在监测到用户使用视频应用程序的时长达到第一预设时长时,在外屏即第二显示屏中显示“观影中”,可避免周围人打扰电子设备用户观影。Through the external screen display process executed by the above-mentioned software architecture, when it is detected that the user’s use of the video application program reaches the first preset duration, “watching” will be displayed on the external screen, that is, the second display screen, which can prevent people around from disturbing the video. Device users watch movies.

需要说明的是,S1-S3与S4-S8并行执行,二者并无先后顺序。It should be noted that S1-S3 and S4-S8 are executed in parallel, and there is no sequence between them.

上述分别对免打扰模式下的外屏显示方法、沉浸模式下的外屏显示方法进行了详细说明,下面参照图18至图20对本申请实施例中的在应用程序中自定义外屏显示样式时的外屏显示方法具体流程进行说明。本申请实施例中依然以电子设备外屏右半部分为外屏显示区域为例进行说明。The above described the method of displaying the external screen in the do not disturb mode and the method of displaying the external screen in the immersive mode in detail respectively. The following describes the customizing of the external screen display style in the application program in the embodiment of the present application with reference to FIG. 18 to FIG. 20 The specific process of the external screen display method will be described. In the embodiment of the present application, the right half of the outer screen of the electronic device is still taken as an example for illustration.

下面以在电子设备系统自带的电话应用中,自定义外屏显示样式为例进行说明。示例性的,如图18(a)所示在电话应用主界面1803中包括添加选项18031,用户预对该电话应用自定义外屏显示样式时,对添加选项18031执行触控操作如点击或长按操作等,触发系统显示如图18(b)中所示的自定义样式设置界面。其中,添加选项18031为外屏显示设置入口,用户通过该入口可触发系统显示自定义样式设置界面18031。自定义样式设置界面1801中包括系统预设样式如“忙着游戏”18011“专注办公请勿打扰”18012,应用中已添加样式如全家福图片18013和预设图形18014、自定义添加样式选项18015以及智能省电开关18016。The following describes how to customize the display style of the external screen in the phone application that comes with the electronic device system as an example. Exemplarily, as shown in FIG. 18(a), the phone application main interface 1803 includes an add option 18031. When the user pre-applies a custom external screen display style to the phone, the user performs a touch operation on the add option 18031, such as clicking or long According to the operation etc., the trigger system displays the custom style setting interface as shown in Fig. 18(b). Among them, the add option 18031 is an entry for setting the external screen display, through which the user can trigger the system to display the custom style setting interface 18031 . The custom style setting interface 1801 includes system preset styles such as "busy game" 18011, "focus on office and do not disturb" 18012, added styles in the application such as family portrait pictures 18013 and preset graphics 18014, custom added style options 18015 and Smart power saving switch 18016.

图18(b)中仅是示例性的分别列举了两种系统预设样式以及应用中已添加样式,系统预设样式并不局限于此。应用中已添加样式可以为用户历史使用该电话应用时添加的显示样式,例如:历史使用过程中与a好友通话前,添加与a好友的合影照作为自定义样式,下一次再开启该电话应用的自定义设置界面1801后,在自定义设置界面1801中的应用程序已添加样式中将包含该合影照,并且电话应用中自动建立该合影照与a好友的关联关系。在后续使用电话应用时,用户设置该合影照为外屏显示的目标显示样式时,可在用户与a好友通话时,在外屏显示该合影照。或者无论用户是否与a好友通话,只要监测到用户使用电话应用通话,便在外屏显示该合影照。自定义添加样式选项18013供用户添加自定义样式,例如:用户也可以选定自定义添加样式选项18013,从相册中选择图片或视频作为自定义显示样式;用户还可以调用相机拍摄图片或者视频作为自定义显示样式,其中,用 户通过自定义添加样式选项添加的自定义显示样式,将作为外屏输出的目标显示样式。In FIG. 18( b ), two system preset styles and styles added in the application are listed for example, and the system preset styles are not limited thereto. The style added in the application can be the display style added when the user used the phone application in history, for example: before talking with friend a in the history of use, add a group photo with friend a as a custom style, and open the phone application next time After the custom setting interface 1801 of , the added style of the application in the custom setting interface 1801 will include the group photo, and the phone application will automatically establish an association between the group photo and a friend. When using the phone application later, when the user sets the group photo as the target display style displayed on the external screen, the group photo can be displayed on the external screen when the user is talking with friend a. Or no matter whether the user is talking with a friend or not, as long as it is detected that the user is using the phone application to talk, the group photo will be displayed on the external screen. The custom style option 18013 is for the user to add a custom style, for example: the user can also select the custom style option 18013, and select a picture or video from the album as a custom display style; the user can also call the camera to take pictures or videos as Custom display style, wherein, the custom display style added by the user through the custom add style option will be used as the target display style of the external screen output.

一种可选地通过自定义添加样式选项自定义显示样的方式可以为:用户点击自定义添加样式选项18013,触发系统显示自定义显示样式添加路径,包括但不限于:从相册中添加选项和开启摄像头拍摄添加选项。其中,用户可以通过选中从相册中添加选项从相册中选择图片或视频作为自定义显示样式。用户还可以通过选中开启摄像头拍摄添加选项,进一步调用相机拍摄图片或者视频作为个性化显示样式。An optional way to customize the display style by customizing the adding style option can be: the user clicks on the custom adding style option 18013, triggering the system to display the custom display style adding path, including but not limited to: adding options from the photo album and Turn on the camera capture add option. Among them, the user can select a picture or video from the album as a custom display style by selecting the option to add from the album. The user can also further call the camera to take pictures or videos as a personalized display style by selecting the option to enable the addition of camera shooting.

智能省电开关18016用于控制是否开启智能省电功能,智能省电功能开启后,外屏的显示亮度随光线环境自动变化,处于省电模式或者电子设备的剩余电量小于预设百分比例如10%时,外屏不显示。智能省电功能关闭后,外屏的显示亮度不随光线环境自动变化,并且外屏显示不会因电子设备的剩余电量小于预设百分比或者电子设备处于省电模式下而停止显示。开启智能省电功能一方面,能够节省外屏显示所耗电量,延长电子设备的续航时长;第二方面,由于外屏显示亮度随光线环境自动变化,例如:外界光线亮则将显示亮度调暗,能够提升外屏显示效果。The smart power saving switch 18016 is used to control whether to enable the smart power saving function. After the smart power saving function is turned on, the display brightness of the external screen will automatically change with the light environment. It is in the power saving mode or the remaining power of the electronic device is less than a preset percentage such as 10%. , the external screen does not display. After the intelligent power-saving function is turned off, the display brightness of the external screen will not automatically change with the light environment, and the display on the external screen will not stop displaying because the remaining power of the electronic device is less than the preset percentage or the electronic device is in power-saving mode. On the one hand, turning on the intelligent power saving function can save the power consumption of the external screen display and prolong the battery life of the electronic device; on the other hand, since the brightness of the external screen display automatically changes with the light environment, for example, when the external light is bright, the display brightness will be adjusted. Dark, can improve the display effect of the external screen.

在自定义样式设置界面中选定目标显示样式后,用户可手动点击任意已选定的目标显示样式如18013,系统接收到用户对目标显示样式18013的点击操作后,显示如图19中所示的应用样式预览界面1802,应用样式预览界面1802中包括用户已选定的目标显示样式如全家福样式18013的预览缩略图、用户未被勾选的各显示样式如18014的预览缩略图以及应用按钮18017,以及全家福样式18013的预览图,用户可手动切换被用户选中的显示样式或未被用户选中的显示样式进行预览,在用户确定应用某显示样式例如全家福样式18013后,可点击应用按钮18017。After selecting the target display style in the custom style setting interface, the user can manually click any selected target display style such as 18013. After the system receives the user's click operation on the target display style 18013, it will display as shown in Figure 19 The application style preview interface 1802, the application style preview interface 1802 includes the preview thumbnails of the target display styles selected by the user, such as the family portrait style 18013, the preview thumbnails of the display styles not selected by the user, such as 18014, and the application button 18017 , and the preview image of the family portrait style 18013, the user can manually switch the display style selected by the user or the display style not selected by the user to preview. After the user determines to apply a certain display style such as the family portrait style 18013, he can click the apply button 18017.

继续参照图18(b),本申请实施例中以用户选定应用中已添加样式全家福图片18013为例进行说明。对该电话应用完成自定义显示样式设置后,当通过电子设备接打电话时,如图20中所示的外屏显示界面示意图所示,在电子设备外屏显示有用户自定义的显示样式全家福图片18013。其中,外屏中所显示的全家福图片18013大小可与外屏尺寸适应,也可以为原尺寸。Continuing to refer to FIG. 18( b ), in the embodiment of the present application, the family portrait picture 18013 that has been added in the application selected by the user is taken as an example for illustration. After completing the custom display style setting of the phone application, when making a call through the electronic device, as shown in the schematic diagram of the external screen display interface shown in Figure 20, the user-defined display style family portrait is displayed on the external screen of the electronic device Image 18013. Wherein, the size of the family portrait picture 18013 displayed on the external screen can be adapted to the size of the external screen, or can be the original size.

需要说明的是,上述仅是以用户自定义一种显示样式为例进行说明,在实际实现过程中,用户可在自定义设置界面1801中选择两个或者多个显示样式作为外屏显示的目标显示样式时,系统可依据电话应用当前界面内容确定匹配的显示样式在外屏输出。例如:基于用户历史操作,电话应用中已建立全家福图片18013与用户各家人电话之间的关联关系,以及用户公司领导电话与“专注办公请勿打扰”18012之间的关联关系,用户选定全家福图片18013、“专注办公请勿打扰”18012两个显示样式时,当用户与家人通话时,可在电子设备外屏中显示全家福图片18013,当用户与领导通话时,在电子设备外屏中可显示“专注办公请勿打扰”18012。It should be noted that the above is only an example of a user-defined display style. In the actual implementation process, the user can select two or more display styles in the custom setting interface 1801 as the target of the external screen display. When displaying the style, the system can determine the matching display style according to the current interface content of the phone application and output it on the external screen. For example: based on the user's historical operations, the relationship between the family portrait picture 18013 and the phone number of the user's family has been established in the phone application, and the relationship between the phone number of the user's company leader and "Do Not Disturb" 18012, the user selects the family portrait When the two display styles of picture 18013 and "do not disturb at work" 18012, when the user talks with his family, the family portrait picture 18013 can be displayed on the external screen of the electronic device; when the user talks with the leader, the external screen of the electronic device can display "Do Not Disturb" 18012 is displayed.

该种在应用程序界面中设置接口供用户自定义外屏显示样式的方式,一方面,能够丰富外屏样式内容;第二方面,能够满足用户的个性化显示需求。This method of setting an interface in the application program interface for the user to customize the display style of the external screen, on the one hand, can enrich the content of the external screen style; on the other hand, can meet the personalized display requirements of the user.

需要说明的是,上述仅是以在电话应用中自定义外屏显示样式为例进行说明,在实际实现过程中,用户还可以在短信、日历、相册或者相机等系统自动应用程序中自定义外屏显示样式。不仅如此,用户还可以在视频类应用程序、社交类应用程序或者游戏类应用程序等第三方应用程序中自定义外屏显示样式。对于游戏类应用程序,应用中已添加的显示 样式可以为用户在该游戏应用程序中所购买的特性项目对应的显示样式,也可以为用户在历史使用该游戏应用程序时通过自定义添加样式选项所添加的显示样式。不仅如此,针对游戏应用程序,还可以由用户预先设定,在购买特定项目时立即在外屏显示该所购买的特定项目的显示样式,这样当用户在游戏过程中购买特定项目时,虽然用户未预先选定该特定项目对应的显示样式作为外屏显示的目标显示样式,在外屏依然会立即显示所购买的该特定项目的显示样式。It should be noted that the above is only an example of customizing the display style of the external screen in the phone application. screen display style. Not only that, users can also customize the external screen display style in third-party applications such as video applications, social applications, or game applications. For game applications, the display style added in the application can be the display style corresponding to the feature items purchased by the user in the game application, or it can be the user's custom-added style options when using the game application in the past The added display style. Not only that, for the game application, it can also be preset by the user, and the display style of the purchased specific item will be displayed on the external screen immediately when the specific item is purchased, so that when the user purchases the specific item during the game, although the user does not The display style corresponding to the specific item is pre-selected as the target display style displayed on the external screen, and the purchased display style of the specific item will still be displayed immediately on the external screen.

下面结合图21中所示的外屏显示软件架构,对在上述在电话应用中自定义外屏显示样式时的外屏显示方法进行说明。The method for displaying the external screen when customizing the display style of the external screen in the above-mentioned phone application will be described below in conjunction with the external screen display software architecture shown in FIG. 21 .

示例性的,如图21所示,该软件架构包括应用程序层、应用程序架构层、内核层以及硬件,其中,应用程序层中包括电话应用2101、灭屏显示应用程序2102、应用程序架构层中包括窗口管理器2104以及视图系统2105,内核层中包括内屏显示驱动2106,外屏显示驱动2107。Exemplarily, as shown in Figure 21, the software architecture includes an application layer, an application architecture layer, a kernel layer, and hardware, wherein the application layer includes a phone application 2101, an off-screen display application 2102, and an application architecture layer The window manager 2104 and the view system 2105 are included in the kernel layer, and the inner screen display driver 2106 and the outer screen display driver 2107 are included in the kernel layer.

基于图21中所示的软件架构,执行的外屏显示方法包括如下步骤:Based on the software architecture shown in Figure 21, the external screen display method performed includes the following steps:

S1:电话2101开启后,向窗口管理器2104发送第一界面信息。S1: After the phone 2101 is turned on, send the first interface information to the window manager 2104.

下面以用户通过图18至图19中所示的用户界面设置选中全家福图片18013作为电话应用运行过程中,在外屏显示的目标显示样式为例进行说明。The following describes the target display style displayed on the external screen when the user selects the family portrait picture 18013 as the phone application through the user interface settings shown in FIGS. 18 to 19 as an example.

其中,电话2101指电话应用程序,第一界面信息为电话应用程序的界面信息。界面信息中可以包括但不限于:建立通话连接的联系人信息、通话时长等。Wherein, phone 2101 refers to a phone application program, and the first interface information is interface information of the phone application program. The interface information may include, but is not limited to: contact information for establishing a call connection, call duration, and the like.

S2:窗口管理器2104向视图系统2105发送第一通知。S2: The window manager 2104 sends a first notification to the view system 2105 .

其中,第一通知用于通知视图系统2105将第一界面信息显示在第一显示屏194上。第一通知中可携带第一界面信息和第一显示屏194的标识信息。Wherein, the first notification is used to notify the view system 2105 to display the first interface information on the first display screen 194 . The first notification may carry the first interface information and the identification information of the first display screen 194 .

需要说明的是,上述仅是以窗口管理器2104向视图系统2105发送通知为例进行说明,在实际实现过程中,窗口管理器2104也可以生成携带有第一界面信息和第一显示屏194的标识信息的指令或者请求,以指令或者请求的方式与视图系统2105进行数据交互。It should be noted that the above is only an example of sending a notification from the window manager 2104 to the view system 2105. In the actual implementation process, the window manager 2104 may also generate The instruction or request of the identification information performs data interaction with the view system 2105 in the form of instruction or request.

S3:视图系统2105向内屏显示驱动2106发送调起指令。S3: The view system 2105 sends a calling command to the internal screen display driver 2106 .

视图系统2105对窗口管理器2104发送的第一通知进行解析后,依据第一显示屏194的标识信息确定调起内屏显示驱动2106,因此向内屏显示驱动2106发送调起指令,其中,调起指令中可携带第一界面信息。After analyzing the first notification sent by the window manager 2104, the view system 2105 determines to call the internal screen display driver 2106 according to the identification information of the first display screen 194, and therefore sends a call-up instruction to the internal screen display driver 2106, wherein the calling The start command may carry the first interface information.

内屏显示驱动2106响应于调起指令,驱动第一显示屏194,在第一显示屏194中显示第一界面信息即电话应用程序的界面信息。The internal screen display driver 2106 drives the first display screen 194 in response to the calling instruction, and displays the first interface information, that is, the interface information of the phone application program, on the first display screen 194 .

S4:电话2101检测到通话时长超出5分钟时,发送第二界面信息至灭屏显示应用程序2102。S4: When the phone 2101 detects that the duration of the call exceeds 5 minutes, send the second interface information to the off-screen display application program 2102 .

其中,第二界面信息为全家福图片21013显示样式的图像信息。第二界面信息可以携带在通知、请求或者指令中发送至灭屏显示应用程序2102。Wherein, the second interface information is the image information of the family portrait picture 21013 display style. The second interface information may be carried in the notification, request or instruction and sent to the off-screen display application 2102.

在确定话时长超出5分钟时,电话2101确定需要在外屏显示用户预先选定的目标显示样式,通过筛选各显示样式的状态可查找到用户预先选定的目标显示样式。其中,显示样式的状态可包括:被选中、未被选中。When it is determined that the duration of the call exceeds 5 minutes, the phone 2101 determines that the user's pre-selected target display style needs to be displayed on the external screen, and the user's pre-selected target display style can be found by filtering the status of each display style. Wherein, the status of the display style may include: selected and unselected.

需要说明的是,本实例中是以用户仅选中全家福图片21013这一个显示样式为例进行说明,若用户预先选定两个或者多个目标显示样式时,电话2101在查找到用户预先选定 的目标显示样式后,还需要结合第一界面信息包含的内容进一步匹配发送至灭屏显示应用程序2102的显示样式。电话2101中基于用户对电话2101的历史显示样式使用记录,可自动创建显示样式与联系人之间的对应关系,因此,在结合第一界面信息包含的内容进一步匹配显示样式时,可通过第一界面信息包含的内容确定当前通话的联系人,再从所管理的显示样式与联系人之间的对应关系中查找当前联系人对应的第一显示样式,若第一显示样式在用户预先选定的目标显示样式中,则将第一显示样式确定为发送至灭屏显示应用程序2102的显示样式。若第一显示样式未在用户预先选定的目标显示样式中,则可从用户预先选定的各目标显示样式中随机选择一个发送至灭屏显示应用程序2102。It should be noted that, in this example, the user selects only one display style of the family portrait picture 21013 as an example for illustration. After the target display style, it is necessary to further match the display style sent to the off-screen display application 2102 in combination with the content included in the first interface information. The phone 2101 can automatically create the correspondence between the display style and the contact person based on the user's historical display style usage record on the phone 2101. Therefore, when the display style is further matched with the content contained in the first interface information, the first interface information can be used to further match the display style. The content contained in the interface information determines the contact person of the current call, and then finds the first display style corresponding to the current contact from the corresponding relationship between the managed display style and the contact person. If the first display style is in the pre-selected Among the target display styles, the first display style is determined as the display style sent to the off-screen display application program 2102 . If the first display style is not in the target display styles pre-selected by the user, one of the target display styles pre-selected by the user may be randomly selected and sent to the off-screen display application program 2102 .

S5:灭屏显示应用程序2102向窗口管理器2104发送第二界面信息。S5: Screen-off display The application program 2102 sends the second interface information to the window manager 2104.

S6:窗口管理器2104向视图系统2105发送第二通知。S6: The window manager 2104 sends a second notification to the view system 2105 .

第二通知用于通知视图系统2105将第二界面信息显示在第二显示屏192上。第二通知中可携带第二界面信息和第二显示屏192的标识信息。The second notification is used to notify the view system 2105 to display the second interface information on the second display screen 192 . The second notification may carry the second interface information and the identification information of the second display screen 192 .

S7:视图系统2105向外屏显示驱动2107发送调起指令。S7: The view system 2105 sends a calling command to the external screen display driver 2107.

视图系统2105对窗口管理器2104发送的第二通知进行解析后,依据第二显示屏192的标识信息确定调起外屏显示驱动2107,因此向外屏显示驱动2107发送调起指令,其中,调起指令中可携带第二界面信息。After analyzing the second notification sent by the window manager 2104, the view system 2105 determines to invoke the external display driver 2107 according to the identification information of the second display screen 192, and therefore sends an invoking instruction to the external display driver 2107, wherein the invoking The start command may carry the second interface information.

外屏显示驱动2107响应于调起指令,驱动第二显示屏192即外屏,在第二显示屏192中显示第二界面信息即全家福图片21013这一显示样式。The external screen display driver 2107 drives the second display screen 192, that is, the external screen, in response to the call-up instruction, and displays the second interface information, that is, the family portrait picture 21013 in the display style of the second display screen 192 .

需要说明的是,在实际实现过程中,除用户自定义外屏所显示的目标显示样式外,还可以采用预设的优先级规则,例如:自定义>>沉浸模式>>免打扰模式,系统依据电子设备所处的模式、电子设备内屏所显示的应用程序的状态等,自动确定外屏显示模式,从而在外屏显示对应模式下的目标显示样式。It should be noted that in the actual implementation process, in addition to the user-defined target display style displayed on the external screen, preset priority rules can also be used, for example: Custom >> Immersive Mode >> Do Not Disturb Mode, the system According to the mode of the electronic device, the state of the application program displayed on the inner screen of the electronic device, etc., the display mode of the external screen is automatically determined, so that the target display style in the corresponding mode is displayed on the external screen.

在一种可选地实施例中,可将免打扰、沉浸和自定义三种模式设定为互斥关系,用户可以选择当前应用哪种模式,例如在外屏显示设置界面,正在应用的模式列表的第二行有“已应用”的辅助描述,为了保障外屏显示的可控性,系统不会自动在多种模式中切换。例如:当前处于免打扰时间段,但用户选择的是“沉浸模式”,则外屏不会有免打扰模式的显示样式。In an optional embodiment, the three modes of Do Not Disturb, Immersion and Custom can be set as mutually exclusive, and the user can choose which mode is currently applied, such as displaying the setting interface on the external screen, and the list of modes being applied There is an auxiliary description of "applied" in the second line of the . In order to ensure the controllability of the external screen display, the system will not automatically switch between multiple modes. For example: currently in the do-not-disturb time period, but the user selects "immersive mode", the external screen will not have the display style of do not disturb mode.

可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to realize the above functions, the electronic device includes hardware and/or software modules corresponding to each function. Combining the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions in combination with the embodiments for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。Wherein, all relevant content of each step involved in the above-mentioned method embodiment can be referred to the function description of the corresponding function module, and will not be repeated here.

本实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的外屏显示方法。This embodiment also provides a computer storage medium, the computer storage medium stores computer instructions, and when the computer instructions are run on the electronic device, the electronic device executes the steps of the above-mentioned related methods to realize the external screen display method in the above-mentioned embodiment .

本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使 得计算机执行上述相关步骤,以实现上述实施例中的外屏显示方法。This embodiment also provides a computer program product. When the computer program product is run on a computer, it causes the computer to execute the above-mentioned related steps, so as to realize the external screen display method in the above-mentioned embodiment.

其中,本实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Wherein, the electronic device, computer storage medium, computer program product or chip provided in this embodiment is all used to execute the corresponding method provided above, therefore, the beneficial effects it can achieve can refer to the corresponding method provided above The beneficial effects in the method will not be repeated here.

通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be assigned by different Completion of functional modules means that the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or It may be integrated into another device, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。A unit described as a separate component may or may not be physically separated, and a component shown as a unit may be one physical unit or multiple physical units, which may be located in one place or distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

本申请各个实施例的任意内容,以及同一实施例的任意内容,均可以自由组合。对上述内容的任意组合均在本申请的范围之内。Any content of each embodiment of the present application, as well as any content of the same embodiment, can be freely combined. Any combination of the above contents is within the scope of the present application.

本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that, in the foregoing one or more examples, the functions described in the embodiments of the present application may be implemented by hardware, software, firmware or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (24)

一种外屏显示方法,其特征在于,包括:An external screen display method, characterized in that it comprises: 电子设备接收用户的免打扰时间段设置操作,确定第一时间段;The electronic device receives the user's do-not-disturb time period setting operation, and determines the first time period; 所述电子设备接收用户的日程事件创建操作,确定所述日程事件对应的第二时间段;The electronic device receives a user's schedule event creation operation, and determines a second time period corresponding to the schedule event; 所述电子设备分别确定所述免打扰时间段对应的第一目标显示样式和所述日程事件对应的第二目标显示样式;The electronic device respectively determines a first target display style corresponding to the do-not-disturb time period and a second target display style corresponding to the schedule event; 所述电子设备在监测到电子设备的系统时间达到所述第一时间段时,在所述电子设备的外屏显示所述第一目标显示样式;When the electronic device detects that the system time of the electronic device reaches the first time period, the electronic device displays the first target display pattern on the external screen; 所述电子设备在监测到电子设备的系统时间达到所述第二时间段时,在所述外屏显示所述第二目标显示样式。When the electronic device monitors that the system time of the electronic device reaches the second time period, it displays the second target display pattern on the external screen. 根据权利要求1所述的方法,其特征在于,所述电子设备接收用户的免打扰时间段设置操作,确定第一时间段,包括:The method according to claim 1, wherein the electronic device receives the user's do-not-disturb time period setting operation, and determines the first time period, including: 所述电子设备接收用户对外屏显示设置界面中第一模式选项的第一选定操作;The electronic device receives the user's first selection operation of the first mode option in the external screen display setting interface; 所述电子设备响应于所述第一选定操作,显示第一提示信息,其中,所述第一提示信息用于提示用户设置免打扰时间段;The electronic device displays first prompt information in response to the first selection operation, wherein the first prompt information is used to prompt the user to set a do-not-disturb time period; 所述电子设备接收用户在免打扰设置界面中输入的免打扰时间段。The electronic device receives the do-not-disturb time period input by the user in the do-not-disturb setting interface. 根据权利要求2所述的方法,其特征在于,所述电子设备确定所述免打扰时间段对应的第一目标显示样式,包括:The method according to claim 2, wherein the electronic device determines the first target display style corresponding to the do-not-disturb time period, comprising: 所述电子设备接收用户对外屏显示设置界面中第一模式选项的第一选定操作;The electronic device receives the user's first selection operation of the first mode option in the external screen display setting interface; 所述电子设备响应于所述第二选定操作,显示第一外屏样式设置界面,其中,所述第一外屏样式设置界面中包括:至少一个系统预设显示样式;The electronic device displays a first external screen style setting interface in response to the second selection operation, wherein the first external screen style setting interface includes: at least one system preset display style; 所述电子设备基于用户对目标显示样式的第三选定操作,确定所述免打扰时间段对应的第一目标显示样式,其中,所述至少一个系统预设显示样式中包括所述第一目标显示样式。The electronic device determines a first target display style corresponding to the do-not-disturb time period based on a user's third selection operation on the target display style, wherein the at least one system preset display style includes the first target Display styles. 根据权利要求3所述的方法,其特征在于,所述电子设备确定所述免打扰时间段对应的第一目标显示样式,包括:The method according to claim 3, wherein the electronic device determines the first target display style corresponding to the do-not-disturb time period, comprising: 所述电子设备接收用户对所述显示样式添加入口的第三选定操作;其中,所述第一外屏样式设置界面中还包括显示样式添加入口;The electronic device receives a user's third selection operation on the display style addition entry; wherein, the first external screen style setting interface further includes a display style addition entry; 所述电子设备响应于所述第三选定操作,显示目标样式添加路径,其中,所述添加路径包括:相册中添加、摄像头拍摄添加;In response to the third selection operation, the electronic device displays a target style adding path, wherein the adding path includes: adding in an album, adding by camera; 所述电子设备接收用户对目标添加路径的第四选定操作;The electronic device receives a user's fourth selection operation on the target adding path; 所述电子设备从所述目标添加路径下获取所述免打扰时间段对应的所述第一目标显示样式。The electronic device acquires the first target display style corresponding to the do-not-disturb time period from the target adding path. 根据权利要求1所述的方法,其特征在于,所述电子设备接收用户的日程事件创建操作,确定所述日程事件对应的第二时间段,包括:The method according to claim 1, wherein the electronic device receives a user's schedule event creation operation, and determining the second time period corresponding to the schedule event includes: 所述电子设备接收用户在新建日程界面中输入的日程事件信息,其中,所述日程事件信息包括:开始时间和结束时间;The electronic device receives the schedule event information input by the user in the new schedule interface, wherein the schedule event information includes: start time and end time; 所述电子设备依据所述日程事件信息生成会议日程事件;The electronic device generates a meeting schedule event according to the schedule event information; 所述电子设备在日历中显示所述日程事件;the electronic device displays the scheduled event in a calendar; 所述电子设备确定所述日程事件的开始时间和结束时间指示的时间段,为所述第二时间段。The electronic device determines that the time period indicated by the start time and end time of the calendar event is the second time period. 根据权利要求5所述的方法,其特征在于,所述电子设备确定所述日程事件对应的第二目标显示样式,包括:The method according to claim 5, wherein the electronic device determines the second target display style corresponding to the schedule event, comprising: 所述电子设备依据所述日程事件的类型,确定所述日程事件对应的第二目标显示样式,其中,所述日程事件类型包括:会议、行程以及学习。The electronic device determines the second target display style corresponding to the calendar event according to the type of the calendar event, wherein the type of the calendar event includes: meeting, trip, and study. 一种外屏显示方法,其特征在于,包括:An external screen display method, characterized in that it comprises: 电子设备接收用户对至少一个应用程序图标的选定操作;The electronic device receives a user's selected operation on at least one application icon; 所述电子设备响应于所述选定操作,确定待监测应用程序;The electronic device determines an application program to be monitored in response to the selected operation; 所述电子设备接收用户为各所述应用程序图标关联显示样式的第一操作;The electronic device receives a user's first operation of associating a display style with each of the application program icons; 所述电子设备响应于所述第一操作,确定各所述待监测应用程序对应的显示样式;The electronic device determines a display style corresponding to each of the application programs to be monitored in response to the first operation; 所述电子设备检测到目标应用程序的运行时长超出预设时长,查找与所述目标应用程序对应的目标显示样式,其中,所述待监测应用程序包括所述目标应用程序;The electronic device detects that the running time of the target application exceeds a preset duration, and searches for a target display style corresponding to the target application, wherein the application to be monitored includes the target application; 在所述电子设备的外屏显示所述目标显示样式。The target display style is displayed on an external screen of the electronic device. 根据权利要求7所述的方法,其特征在于,所述电子设备接收用户对至少一个应用程序图标的选定操作,包括:The method according to claim 7, wherein the electronic device receives a user's selected operation on at least one application program icon, comprising: 所述电子设备接收用户对外屏显示设置界面中第二模式选项的第一选定操作;The electronic device receives the user's first selection operation of the second mode option in the external screen display setting interface; 所述电子设备响应于所述第一选定操作,显示第二外屏样式设置界面,其中,所述第二外屏样式设置界面中包括应用列表,所述应用列表中包含多个应用程序图标、应用程序图标添加选项和应用程序图标删除选项;The electronic device displays a second external screen style setting interface in response to the first selection operation, wherein the second external screen style setting interface includes an application list, and the application list includes a plurality of application program icons , app icon add option and app icon remove option; 所述电子设备接收用户通过所述应用程序图标添加选项、所述应用程序图标删除选项中的至少之一对所述应用列表中包含的应用程序图标的调整操作;The electronic device receives a user's adjustment operation on the application program icons contained in the application list through at least one of the application program icon addition option and the application program icon deletion option; 所述电子设备响应于所述选定操作,确定待监测应用程序,包括:The electronic device determines the application program to be monitored in response to the selected operation, including: 所述电子设备响应于所述调整操作,将调整后的所述应用列表中的应用程序图标对应的应用程序确定为待监测应用程序。In response to the adjustment operation, the electronic device determines the application program corresponding to the adjusted application program icon in the application list as the application program to be monitored. 根据权利要求8所述的方法,其特征在于,所述电子设备接收用户为各所述应用程序图标关联显示样式的第一操作,包括:The method according to claim 8, wherein the electronic device receives a user's first operation of associating a display style with each of the application program icons, comprising: 所述电子设备接收用户对所述应用程序列表中的第一应用程序图标的第二选定操作;其中,所述第二外屏样式设置界面中还包括至少一个系统预设显示样式;The electronic device receives a user's second selection operation on the first application icon in the application list; wherein, the second external screen style setting interface further includes at least one system preset display style; 所述电子设备接收用户对第二显示样式的第三选定操作,其中,所述系统预设显示样式包括所述第一显示样式;The electronic device receives a user's third selection operation on the second display style, wherein the system preset display style includes the first display style; 所述电子设备响应于所述第三选定操作,将所述第二显示样式确定为所述第一应用程序图标对应的待监测应用程序对应的显示样式。In response to the third selection operation, the electronic device determines the second display style as the display style corresponding to the application to be monitored corresponding to the first application icon. 根据权利要求8所述的方法,其特征在于:The method according to claim 8, characterized in that: 所述第二外屏样式设置界面中还包括第一提示信息;其中,所述第一提示信息用于提示用户所设置的目标应用程序在前台运行第一预设时长后,在外屏显示设置的目标显示样式。The second external screen style setting interface also includes first prompt information; wherein, the first prompt information is used to prompt the user to display the set target application program on the external screen after the target application program runs in the foreground for the first preset time. Target display style. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method according to claim 7, wherein the method further comprises: 所述电子设备接收用户对应用程序界面中添加选项的第四选定操作;The electronic device receives a user's fourth selection operation on adding an option in the application program interface; 所述电子设备响应于所述第四选定操作,显示外屏显示样式设置界面,其中,所述外屏显示样式设置界面中包括:多个显示样式;In response to the fourth selected operation, the electronic device displays an external screen display style setting interface, wherein the external screen display style setting interface includes: a plurality of display styles; 所述电子设备接收用户对至少一个目标显示样式的第五选定操作;The electronic device receives a user's fifth selection operation on at least one target display style; 所述电子设备响应于所述第五选定操作,在所述内屏显示的应用程序界面内容与所述至少一个目标显示样式中的第二显示样式匹配的情况下,在外屏显示所述第二显示样式。In response to the fifth selection operation, the electronic device displays the second display style on the outer screen when the content of the application program interface displayed on the inner screen matches the second display style in the at least one target display style. Two display styles. 根据权利要求11所述的方法,其特征在于,所述电子设备响应于所述第五选定操作,在所述内屏显示的界面内容与所述至少一个目标显示样式中的第二显示样式匹配的情况下,在外屏显示所述第二显示样式,包括:The method according to claim 11, wherein the electronic device responds to the fifth selected operation, and the interface content displayed on the inner screen is different from the second display style in the at least one target display style In the case of matching, the second display style is displayed on the external screen, including: 所述电子设备响应于所述第五选定操作,在所述内屏显示的应用程序界面中包含所述至少一个目标显示样式中的第二显示样式的情况下,在外屏显示所述第二显示样式。In response to the fifth selection operation, the electronic device displays the second display style on the outer screen when the application program interface displayed on the inner screen contains the second display style in the at least one target display style. Display style. 根据权利要求11所述的方法,其特征在于,所述电子设备响应于所述第五选定操作,在所述内屏显示的界面内容与所述至少一个目标显示样式中的第二显示样式匹配的情况下,在外屏显示所述第二显示样式,包括:The method according to claim 11, wherein the electronic device responds to the fifth selected operation, and the interface content displayed on the inner screen is different from the second display style in the at least one target display style In the case of matching, the second display style is displayed on the external screen, including: 所述电子设备响应于所述第五选定操作,在所述内屏中显示的应用程序界面中的联系人信息,与所述至少一个目标显示样式中的第二显示样式具有关联关系的情况下,在外屏显示所述第二显示样式。In response to the fifth selection operation of the electronic device, the contact information in the application program interface displayed on the inner screen has an association relationship with the second display style in the at least one target display style Next, the second display style is displayed on the external screen. 一种电子设备,其特征在于,包括:业务场景识别模块、灭屏显示应用程序和外屏显示驱动;An electronic device, characterized in that it includes: a business scene recognition module, an off-screen display application program, and an external screen display driver; 所述业务场景识别模块,用于确定用户创建的日程事件以及所述日程事件对应的第二显示样式,其中,所述日程事件包括:开始时间和结束时间;监测到达到所述开始时间后,向所述灭屏显示应用程序发送所述第二显示样式对应的第一界面信息;The business scene identification module is used to determine the schedule event created by the user and the second display style corresponding to the schedule event, wherein the schedule event includes: a start time and an end time; after monitoring the start time, sending the first interface information corresponding to the second display style to the off-screen display application; 所述灭屏显示应用程序,用于指示所述外屏显示驱动调起外屏,在外屏中显示所述第二显示样式对应的第一界面信息。The off-screen display application program is used to instruct the external screen display driver to call up the external screen, and display the first interface information corresponding to the second display style on the external screen. 根据权利要求14所述的电子设备,其特征在于:The electronic device according to claim 14, characterized in that: 所述业务场景识别模块,还用于确定用户设置的免打扰时间段以及所述免打扰时间段对应的第一显示样式;监测到达到所述免打扰时间段时,向所述灭屏显示应用程序发送所述第一显示样式对应的第三界面信息;The business scene identification module is also used to determine the do-not-disturb time period set by the user and the first display style corresponding to the do-not-disturb time period; The program sends the third interface information corresponding to the first display style; 所述灭屏显示应用程序,还用于指示所述外屏显示驱动调起外屏,在外屏中显示所述第一显示样式对应的第三界面信息。The off-screen display application program is also used to instruct the external screen display driver to call up the external screen, and display the third interface information corresponding to the first display style on the external screen. 根据权利要求14或15所述的电子设备,其特征在于,还包括:窗口管理器和视图系统;The electronic device according to claim 14 or 15, further comprising: a window manager and a view system; 所述窗口管理器,用于接收所述灭屏显示应用程序发送的第一界面信息,基于第一界面信息生成第一通知,并将所述第一通知发送至所述视图系统;所述第一通知中包括:所述第一界面信息和外屏标识信息;The window manager is configured to receive the first interface information sent by the off-screen display application, generate a first notification based on the first interface information, and send the first notification to the view system; the second A notification includes: the first interface information and external screen identification information; 所述视图系统,用于解析接收到的第一通知,依据所述外屏标识信息调用所述外屏显示驱动;The view system is configured to parse the received first notification, and call the external screen display driver according to the external screen identification information; 所述外屏显示驱动,用于驱动所述电子设备的外屏,在所述外屏中显示所述第一界面信息对应的第二显示样式。The external screen display driver is used to drive the external screen of the electronic device, and display the second display style corresponding to the first interface information on the external screen. 根据权利要求14所述的电子设备,其特征在于,还包括:执行所述日程事件的第一应用程序和内屏显示驱动;The electronic device according to claim 14, further comprising: a first application program and an internal screen display driver for executing the schedule event; 所述窗口管理器,用于接收所述第一应用程序发送的第二界面信息,基于第二界面信息生成第二通知,并将所述第二通知发送至所述视图系统;所述第二通知中包括:所述第二界面信息和内屏标识信息,所述第二界面信息为所述第一应用程序的界面信息;The window manager is configured to receive the second interface information sent by the first application program, generate a second notification based on the second interface information, and send the second notification to the view system; the second The notification includes: the second interface information and internal screen identification information, the second interface information being the interface information of the first application program; 所述视图系统,用于解析接收到的第二通知,依据所述内屏标识信息调用所述内屏显示驱动;The view system is configured to parse the received second notification, and call the internal screen display driver according to the internal screen identification information; 所述内屏显示驱动,用于驱动所述电子设备的内屏,在所述内屏中显示所述第二界面信息。The internal screen display driver is used to drive the internal screen of the electronic device, and display the second interface information on the internal screen. 一种电子设备,其特征在于,包括:业务场景识别模块、灭屏显示应用程序和外屏显示驱动;An electronic device, characterized in that it includes: a business scene recognition module, an off-screen display application program, and an external screen display driver; 所述业务场景识别模块,用于确定待监测应用程序以及和所述待监测应用程序对应的显示样式;监测到所述待监测应用程序中的目标应用程序运行时长超过第一预设时长时,查找与所述目标应用程序对应的目标显示样式,向所述灭屏显示应用程序发送第二界面信息,其中,所述第二界面信息为所述目标应用程序对应的显示样式的界面信息;The business scene identification module is used to determine the application program to be monitored and the display style corresponding to the application program to be monitored; when it is detected that the running time of the target application program in the application program to be monitored exceeds the first preset duration, Search for a target display style corresponding to the target application, and send second interface information to the off-screen display application, where the second interface information is the interface information of the display style corresponding to the target application; 所述灭屏显示应用程序,用于指示所述外屏显示驱动调起外屏,在外屏中显示所述第一界面信息。The off-screen display application program is used to instruct the external screen display driver to call up the external screen and display the first interface information on the external screen. 根据权利要求18所述的电子设备,其特征在于,还包括:窗口管理器和视图系统;The electronic device according to claim 18, further comprising: a window manager and a view system; 所述窗口管理器,用于接收所述灭屏显示应用程序发送的第二界面信息,基于第一界面信息生成第二通知,并将所述第二通知发送至所述视图系统;所述第二通知中包括:所述第二界面信息和外屏标识信息;The window manager is configured to receive the second interface information sent by the off-screen display application, generate a second notification based on the first interface information, and send the second notification to the view system; the first The second notification includes: the second interface information and external screen identification information; 所述视图系统,用于解析接收到的第二通知,依据所述外屏标识信息调用所述外屏显示驱动;The view system is configured to parse the received second notification, and call the external screen display driver according to the external screen identification information; 所述外屏显示驱动,用于驱动所述电子设备的外屏,在所述外屏中显示所述第二界面信息。The external screen display driver is used to drive the external screen of the electronic device, and display the second interface information on the external screen. 根据权利要求19所述的电子设备,其特征在于,还包括:第一应用程序和内屏显示驱动;The electronic device according to claim 19, further comprising: a first application program and an internal screen display driver; 所述窗口管理器,用于接收所述第一应用程序发送的第一界面信息,基于第一界面信息生成第一通知,并将所述第一通知发送至所述视图系统;所述第一通知中包括:所述第一界面信息和内屏标识信息,所述第一界面信息为所述第一应用程序的界面信息;The window manager is configured to receive the first interface information sent by the first application program, generate a first notification based on the first interface information, and send the first notification to the view system; the first The notification includes: the first interface information and internal screen identification information, the first interface information being the interface information of the first application program; 所述视图系统,用于解析接收到的第一通知,依据所述内屏标识信息调用所述内屏显示驱动;The view system is configured to parse the received first notification, and call the internal screen display driver according to the internal screen identification information; 所述内屏显示驱动,用于驱动所述电子设备的内屏,在所述内屏中显示所述第一界面信息。The internal screen display driver is used to drive the internal screen of the electronic device, and display the first interface information on the internal screen. 根据权利要求20所述的电子设备,其特征在于,所述电子设备还包括第二应用程序;The electronic device according to claim 20, further comprising a second application program; 所述第二应用程序,用于监测到运行时长超出预设时长的情况下,依据界面内容从用户预先选定的至少一个目标显示样式中查找匹配的第二显示样式,并将所述第二显示样式 的第二界面信息发送至灭屏显示应用程序;The second application program is configured to search for a matching second display style from at least one target display style pre-selected by the user according to the interface content when it detects that the running time exceeds a preset time period, and convert the second The second interface information of the display style is sent to the off-screen display application program; 所述灭屏显示应用程序,用于接收所述第二应用程序发送的第二界面信息,指示所述外屏显示驱动调起外屏,在外屏中显示所述第二界面信息。The off-screen display application program is configured to receive the second interface information sent by the second application program, instruct the external screen display driver to invoke the external screen, and display the second interface information on the external screen. 根据权利要求21所述的电子设备,其特征在于:The electronic device according to claim 21, characterized in that: 所述窗口管理器,用于接收所述灭屏显示应用程序发送的第二界面信息,基于第一界面信息生成第二通知,并将所述第二通知发送至所述视图系统;所述第二通知中包括:所述第二界面信息和外屏标识信息;The window manager is configured to receive the second interface information sent by the off-screen display application, generate a second notification based on the first interface information, and send the second notification to the view system; the first The second notification includes: the second interface information and external screen identification information; 所述视图系统,用于解析接收到的所述第二通知,依据所述外屏标识信息调用所述外屏显示驱动;The view system is configured to parse the received second notification, and call the external screen display driver according to the external screen identification information; 所述外屏显示驱动,用于驱动所述电子设备的外屏,在所述外屏中显示所述第二界面信息。The external screen display driver is used to drive the external screen of the electronic device, and display the second interface information on the external screen. 根据权利要求22所述的电子设备,其特征在于:The electronic device according to claim 22, characterized in that: 所述窗口管理器,用于接收所述第二应用程序发送的第一界面信息,基于第一界面信息生成第一通知,并将所述第一通知发送至所述视图系统;所述第一通知中包括:所述第一界面信息和内屏标识信息,所述第一界面信息为所述第一应用程序的界面信息;The window manager is configured to receive the first interface information sent by the second application program, generate a first notification based on the first interface information, and send the first notification to the view system; the first The notification includes: the first interface information and internal screen identification information, the first interface information being the interface information of the first application program; 所述视图系统,用于解析接收到的所述第一通知,依据所述内屏标识信息调用所述内屏显示驱动;The view system is configured to parse the received first notification, and call the internal screen display driver according to the internal screen identification information; 所述内屏显示驱动,用于驱动所述电子设备的内屏,在所述内屏中显示所述第一界面信息。The internal screen display driver is used to drive the internal screen of the electronic device, and display the first interface information on the internal screen. 一种计算机可读存储介质,包括计算机程序,其特征在于,当所述计算机程序在电子设备上运行时,使得所述电子设备执行如权利要求1-13中任意一项所述的外屏显示方法。A computer-readable storage medium, comprising a computer program, characterized in that, when the computer program is run on an electronic device, the electronic device executes the external screen display according to any one of claims 1-13 method.
PCT/CN2022/093155 2021-08-20 2022-05-16 Outer screen display method and electronic device Ceased WO2023020048A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110962690.9 2021-08-20
CN202110962690.9A CN114489535B (en) 2021-08-20 2021-08-20 External screen display method and electronic device

Publications (1)

Publication Number Publication Date
WO2023020048A1 true WO2023020048A1 (en) 2023-02-23

Family

ID=81491803

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/093155 Ceased WO2023020048A1 (en) 2021-08-20 2022-05-16 Outer screen display method and electronic device

Country Status (2)

Country Link
CN (1) CN114489535B (en)
WO (1) WO2023020048A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025145452A1 (en) * 2024-01-05 2025-07-10 荣耀终端股份有限公司 Interface display method, program, device and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114489535B (en) * 2021-08-20 2023-04-14 荣耀终端有限公司 External screen display method and electronic device
WO2025189474A1 (en) * 2024-03-15 2025-09-18 荣耀终端股份有限公司 Display method and related device
CN120872456A (en) * 2024-04-30 2025-10-31 华为技术有限公司 Display method, user interface and related device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1591353A (en) * 2003-05-05 2005-03-09 微软公司 Auxiliary display method and system for computing device information
US20060146068A1 (en) * 2004-12-30 2006-07-06 Paivi Jokinen Mobile communication terminal and method therefore
CN104505002A (en) * 2014-12-31 2015-04-08 深圳市中兴移动通信有限公司 OLED screen based display method and OLED screen based display device
US20150363033A1 (en) * 2013-02-26 2015-12-17 Kyocera Corporation Mobile terminal device
CN105389077A (en) * 2014-09-01 2016-03-09 三星电子株式会社 Displaying method of electronic device and electronic device thereof
CN110457963A (en) * 2019-08-20 2019-11-15 Oppo(重庆)智能科技有限公司 Display control method, device, mobile terminal, and computer-readable storage medium
CN114489535A (en) * 2021-08-20 2022-05-13 荣耀终端有限公司 External screen display method and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775533B (en) * 2016-12-23 2022-12-20 宇龙计算机通信科技(深圳)有限公司 Method, device and terminal for displaying information using multiple screens
CN110417986B (en) * 2018-04-28 2020-10-23 华为技术有限公司 Screen-off display method and electronic equipment
CN110119295B (en) * 2019-04-16 2022-05-17 华为技术有限公司 A display control method and related device
CN110647274A (en) * 2019-08-15 2020-01-03 华为技术有限公司 Interface display method and device
CN112671976B (en) * 2019-09-30 2023-01-13 华为技术有限公司 Control method and device of electronic equipment, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1591353A (en) * 2003-05-05 2005-03-09 微软公司 Auxiliary display method and system for computing device information
US20060146068A1 (en) * 2004-12-30 2006-07-06 Paivi Jokinen Mobile communication terminal and method therefore
US20150363033A1 (en) * 2013-02-26 2015-12-17 Kyocera Corporation Mobile terminal device
CN105389077A (en) * 2014-09-01 2016-03-09 三星电子株式会社 Displaying method of electronic device and electronic device thereof
CN104505002A (en) * 2014-12-31 2015-04-08 深圳市中兴移动通信有限公司 OLED screen based display method and OLED screen based display device
CN110457963A (en) * 2019-08-20 2019-11-15 Oppo(重庆)智能科技有限公司 Display control method, device, mobile terminal, and computer-readable storage medium
CN114489535A (en) * 2021-08-20 2022-05-13 荣耀终端有限公司 External screen display method and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025145452A1 (en) * 2024-01-05 2025-07-10 荣耀终端股份有限公司 Interface display method, program, device and storage medium

Also Published As

Publication number Publication date
CN114489535B (en) 2023-04-14
CN114489535A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
US11722449B2 (en) Notification message preview method and electronic device
US12135976B2 (en) Screen display method and electronic device
US20240168624A1 (en) Screen capture method and related device
US12254174B2 (en) Method and device for displaying two application interfaces in folded and unfolded states of the device
US20220300154A1 (en) Split-Screen Display Processing Method and Apparatus, and Electronic Device
CN114816210B (en) Full screen display method and device of mobile terminal
US20240179237A1 (en) Screenshot Generating Method, Control Method, and Electronic Device
CN114489535B (en) External screen display method and electronic device
US20220269405A1 (en) Floating Window Management Method and Related Apparatus
CN113645341B (en) Power key false touch detection method and electronic equipment
CN113141483B (en) Method and mobile device for sharing screen based on video call
CN111913750B (en) Application program management method, device and equipment
US20230236714A1 (en) Cross-Device Desktop Management Method, First Electronic Device, and Second Electronic Device
US20220021763A1 (en) Touch Operation Locking Method and Electronic Device
WO2022053006A1 (en) Proximity light sensor control method and related device
CN114115770A (en) Display control method and related device
WO2020155875A1 (en) Display method for electronic device, graphic user interface and electronic device
US20250060865A1 (en) Screen capture method, electronic device, medium, and program product
WO2023160205A1 (en) Method for controlling process, and electronic device and readable storage medium
CN116301541A (en) Method for sharing files, electronic device and computer-readable storage medium
WO2024109481A1 (en) Window control method and electronic device
CN111475363B (en) Stuck identification method and electronic device
WO2023116472A1 (en) Method for receiving and sending red envelope, and electronic device
CN116055627A (en) A screen off control method, electronic device and storage medium
CN117311586A (en) Handwriting input methods and terminals

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: 22857365

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 22857365

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE