WO2022083483A1 - Display control method and apparatus, terminal and storage medium - Google Patents

Display control method and apparatus, terminal and storage medium Download PDF

Info

Publication number
WO2022083483A1
WO2022083483A1 PCT/CN2021/123548 CN2021123548W WO2022083483A1 WO 2022083483 A1 WO2022083483 A1 WO 2022083483A1 CN 2021123548 W CN2021123548 W CN 2021123548W WO 2022083483 A1 WO2022083483 A1 WO 2022083483A1
Authority
WO
WIPO (PCT)
Prior art keywords
external display
display system
screen
virtual screen
external
Prior art date
Application number
PCT/CN2021/123548
Other languages
French (fr)
Chinese (zh)
Inventor
汤友科
鲁威
罗晨
Original Assignee
北京字节跳动网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Publication of WO2022083483A1 publication Critical patent/WO2022083483A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Definitions

  • the present disclosure relates to the field of computer technologies, and in particular, to a display control method, device, terminal, and storage medium.
  • the related art can also display a PC-like interactive system on the external display.
  • the connection is interrupted due to unstable connection, or the user manually disconnects and then reconnects the external display, the running application windows in the interactive system of this type of PC will be lost, resulting in Loss of windows.
  • a display control method is provided, applied to a terminal device, and the display control method includes:
  • a display control device comprising:
  • a first running unit used for running an external display system on the terminal device, and projecting the task interface running by the external display system to the external display device for display;
  • an information saving unit used for saving task information of the external display system running
  • a second running unit configured to run the external display system and obtain task information that is run when the external display system stops displaying if an instruction to display the external display system is received after the external display system stops displaying ;
  • the projection display unit is configured to display a task interface corresponding to the task information through the external display device based on the task information.
  • a terminal comprising:
  • the memory is used for storing program codes
  • the processor is used for calling the program codes stored in the memory to make the terminal execute the display control method provided according to one or more embodiments of the present disclosure.
  • a non-transitory computer storage medium storing program code that, when executed by a computer device, causes the computer device to The display control method provided according to one or more embodiments of the present disclosure is performed.
  • the display control method by saving the task information of the operation of the external display system when the terminal device is running and projecting the external display system, when the external display system displays again, it can be based on the task information running when the external display system stops displaying. Resume the corresponding task, so as to avoid the loss of the currently running task interface caused by the external display system stopping the display due to reasons such as disconnection of the external display device or switching of the display mode.
  • FIG. 1 is a flowchart of a display control method provided according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of an exemplary system architecture provided according to an embodiment of the present disclosure
  • FIG. 3 is a flowchart of a display control method provided according to another embodiment of the present disclosure.
  • FIG. 4 is a flowchart of a display control method provided according to another embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a display control device provided according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a terminal device used to implement an embodiment of the present disclosure.
  • the term “including” and variations thereof are open-ended inclusions, ie, "including but not limited to”.
  • the term “based on” is “based at least in part on.”
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; the term “some embodiments” means “at least some embodiments”.
  • the term “responsive to” and related terms means that one signal or event is affected to some extent, but not necessarily completely or directly, by another signal or event. If event x occurs "in response to" event y, then x may respond directly or indirectly to y. For example, the occurrence of y may ultimately lead to the occurrence of x, but there may be other intervening events and/or conditions.
  • y may not necessarily cause x to occur, and x may occur even if y has not occurred.
  • responsive to can also mean “responsive at least in part.”
  • the term “determining” broadly covers a wide variety of actions, which may include calculating, calculating, processing, deriving, investigating, looking up (eg, in a table, database, or other data structure), finding, and the like, and may also This includes receiving (eg, receiving information), accessing (eg, accessing data in memory), and the like, as well as parsing, selecting, selecting, establishing, and the like, and the like. Relevant definitions of other terms will be given in the description below. Relevant definitions of other terms will be given in the description below. Relevant definitions of other terms will be given in the description below.
  • phrase "A and/or B” means (A), (B), or (A and B).
  • the display control method provided according to one or more embodiments of the present disclosure is applied to terminal devices, including but not limited to, such as digital TV, desktop computer, notebook computer, PAD (tablet computer), smart watch, mobile phone, digital broadcast reception mobile terminals and fixed terminals such as PDAs, PDAs (Personal Digital Assistants), and PMPs (Portable Multimedia Players).
  • terminal devices including but not limited to, such as digital TV, desktop computer, notebook computer, PAD (tablet computer), smart watch, mobile phone, digital broadcast reception mobile terminals and fixed terminals such as PDAs, PDAs (Personal Digital Assistants), and PMPs (Portable Multimedia Players).
  • FIG. 1 shows a flowchart of a display control method 100 provided by an embodiment of the present disclosure, including steps S101-S104:
  • Step S101 Run an external display system on a terminal device, and project a task interface running by the external display system to an external display device for display.
  • the terminal device is configured to project the external display system running on it to the external display device in a wired or wireless manner for display, so that the external display device mirrors the external display system running on the terminal device.
  • the external display system can be a preset operating system that is run by the terminal device and suitable for the external display device, such as a large-screen display system customized based on the Android system, which can be a multi-window system or a single-window system.
  • Step S102 Save task information of the external display system running.
  • the task information includes application running information, application window information, and application display information.
  • the application running information includes which applications are being run by the external display system;
  • the application window information includes the window to which each application has jumped;
  • the application display information includes application resolution, application DPI (Dots Per Inch) , dots per inch), etc.
  • Step S103 if an instruction to display the external display system is received after the external display system stops displaying, run the external display system and acquire task information that runs when the external display system stops displaying.
  • the instruction to display the external display system is used to trigger the display of the external display system on the external display device, including but not limited to: establishing a connection between the terminal device and the external display device; or, when the terminal device and the external display device are already connected , switch from other display modes, such as mirror projection display mode, to the external display system display mode.
  • the situation where the external display system stops displaying includes but is not limited to: disconnecting the terminal device from the external display device; or, when the terminal device and the external display device remain connected, switching from the external display system display mode to another display mode, such as Mirror screen display mode.
  • Step S104 Display a task interface corresponding to the task information through the external display device based on the task information.
  • the display control method by saving the task information of the operation of the external display system when the terminal device is running and projecting the external display system, the external display system can be displayed again based on what the external display system stopped displaying when the external display system stopped displaying.
  • the running task information restores the corresponding task, thereby avoiding the loss of the currently running task interface caused by the external display system stopping display due to reasons such as disconnection of the external display device or display mode switching.
  • the external display system runs based on a virtual screen; step S102 includes: saving the task information in a data structure corresponding to the virtual screen; step S104 includes: based on the task information in the virtual screen A task interface corresponding to the task information is displayed on the screen; the content displayed on the virtual screen is projected to the external display device, so that the external display device mirrors and displays the content displayed in the virtual screen.
  • a virtual screen can be created by calling the createVirtualDisplay() method of the DisplayManager class.
  • the external display device by running the external display system based on the virtual screen, the tasks run by the external display system are related to the virtual screen, and the task information is stored in the data structure corresponding to the virtual screen , the external display device can mirror and display the content in the virtual screen, so that even when the terminal device is disconnected from the external display device or switched to other display modes, the virtual screen still runs in the terminal device.
  • the embodiment of the present disclosure saves the task information in the data structure corresponding to the virtual screen, so that when the external screen is disconnected or switched to other display modes, the terminal The device does not lose the current running processes and tasks of the external display system, and can also overcome the problem that the task information running on the external display system is strongly related to the screen display information of the currently connected external screen and cannot be used without the external screen.
  • the above-mentioned saving of the task information executed by the external display system by means of a virtual screen is only an example.
  • the terminal device is configured to be able to project the content displayed on the terminal screen to an external display device, so that the external display device mirrors and displays the content on the terminal screen; the method 100 further includes:
  • Step A1 In response to a preset screen switching instruction, the terminal device projects the content displayed on the screen corresponding to the screen switching instruction to an external display device for display.
  • the terminal screen is the screen of the terminal device itself, and is used as the default display screen of the terminal device.
  • the screen content projected by the terminal device can be switched by calling the DisplayManager class.
  • the terminal screen is used to display the internal operating system of the terminal device, including but not limited to an Android operating system, an IOS operating system, and the like.
  • step A1 includes:
  • Step a11 when the preset screen switching display instruction corresponds to the content displayed in the display terminal screen, project the content displayed in the terminal screen to an external display device; or,
  • Step a21 When the preset screen switching display instruction corresponds to displaying the content displayed on the virtual screen, project the content displayed on the virtual screen to the external display device.
  • the terminal device can display the content on the terminal screen through an external display device, and can display the content in the virtual screen through the external display device, and supports the connection between the virtual screen and the terminal screen. Switch the display; the external display device can mirror and display the content projected by the terminal device.
  • the user when the user switches from the virtual screen display mode to the terminal screen display mode, since the task information is stored in the data structure corresponding to the virtual screen, it can be used to restore the corresponding data structure when the user switches back to the virtual screen display mode tasks, so as to achieve seamless switching between multiple display modes, without losing the tasks that the external display system has run before switching.
  • the terminal screen may simultaneously display the corresponding content or be in a screen-off state, which is not limited in this embodiment.
  • FIG. 2 shows a schematic diagram of an exemplary system architecture provided according to an embodiment of the present disclosure.
  • the terminal device 210 and the external display device 220 may be connected in a wired or wireless manner.
  • the connection method between the terminal device 210 and the external display device 220 includes, but is not limited to, a wired connection method such as high-definition multimedia interface (HDMI), or a wireless connection method such as Wi-Fi.
  • the terminal device 210 has a terminal screen 211 and a virtual screen 212.
  • the terminal device 210 can project the content displayed on the terminal screen 211 or the virtual screen 212 to the wired connection device 221 or the wireless connection device 222 of the external display device 220, so that the external display device 220 mirrors and displays the content in the terminal screen 211 or the virtual screen 212 .
  • the application corresponding to the operation instruction is displayed on the virtual screen, and the corresponding task information is stored in a data structure corresponding to the virtual screen.
  • the method 100 further includes: acquiring an operation instruction of the user; distributing an event corresponding to the operation instruction to the virtual screen, so as to display the virtual screen in response to the event corresponding to the operation instruction
  • the task interface has been updated.
  • the user's operation instructions include, but are not limited to, touch operation instructions, voice instructions, gesture instructions, instructions triggered by virtual buttons or physical buttons, etc., which can be triggered based on the user's operation on the terminal device or an external display device.
  • the external display device is a touch-screen display
  • the user's control instruction may be a touch operation for the touch-screen display
  • the terminal device may acquire the corresponding operation instruction and distribute the event corresponding to the operation instruction to the virtual screen. , so that users can manipulate the content on the virtual screen by touching the external display.
  • the method 100 further includes: if the instruction to display the external display system is not received within a preset period after the external display system stops displaying, removing the virtual screen and clearing Background processes and/or tasks corresponding to the external display system. In this way, it is possible to prevent related tasks and processes from consuming system resources and power consumption of the mobile device for a long time after the mobile device is disconnected from the external display device.
  • the method 100 further includes: acquiring the resolution and/or screen density (Density) of the external display device; step S103 includes:
  • Step b11 determine whether a virtual screen currently exists in the terminal device; if so, execute step b12;
  • Step b12 Determine whether the resolution and/or screen density of the virtual screen are consistent with those of the currently connected external display device; if so, execute step b13;
  • Step b13 Run the external display system based on the virtual screen.
  • the tasks and processes running based on the virtual screen can be resumed by reusing the adapted virtual screen.
  • the method 100 further includes: if no virtual screen currently exists in the terminal device, creating a new virtual screen based on the resolution and/or screen density of the external display device.
  • the method 100 further includes: if it is determined that the resolution and/or screen density of the virtual screen is inconsistent with that of the currently connected external display device, removing the virtual screen, and based on the external display device the resolution and/or screen density to create a new virtual screen.
  • the method 100 further includes: in response to the instruction to stop displaying the external display system, freezing at least one process corresponding to the external display system, and placing at least one foreground task corresponding to the external display system Switch to background.
  • the instruction to stop displaying the external display system is used to trigger the external display device to stop displaying the external display system, including but not limited to: disconnecting the terminal device from the external display device; In the case of maintaining the connection, switch the display mode of the external display system to another display mode, such as the mirroring display mode.
  • the method 100 further includes: in response to the instruction to display the external display system, unfreezing at least one process corresponding to the external display system, and thawing at least one process corresponding to the external display system The corresponding background task switches to the foreground.
  • FIG. 3 shows a flowchart of a display control method 300 provided by an embodiment of the present disclosure, including steps S301-S306:
  • Step S301 Create a virtual screen in response to an instruction to display an external display system.
  • Step S302 Run an external display system on the terminal device based on the virtual screen, and project a task interface running by the external display system to the external display device for display.
  • Step S303 Save the task information corresponding to the task interface in the data structure corresponding to the virtual screen.
  • Step S304 If an instruction to display the external display system is received after the external display system stops displaying, run the external display system on the terminal device based on the virtual screen and obtain the information that the external display system stops displaying. The task information that was run at the time.
  • Step S305 Display a task interface corresponding to the task information on the virtual screen based on the task information.
  • Step S306 Project the content displayed on the virtual screen to the external display device.
  • FIG. 4 shows a flowchart of a display control method 400 provided according to an embodiment of the present disclosure, including:
  • Step S401 obtaining the resolution and screen density of the currently connected external display
  • Step S402 determine whether a virtual screen already exists in the current terminal device
  • step S403 determine whether the resolution and screen density of the virtual screen are consistent with those of the currently connected external display device
  • step S404 reuse the virtual screen; then steps S405-S407 are performed;
  • Step S405 run an external display system based on the virtual screen
  • Step S406 Thawing the process corresponding to the external display system, and switching the background task corresponding to the external display system to the foreground;
  • Step S407 project the content displayed on the virtual screen to an external display device
  • step S403 if it is determined that they are inconsistent, steps S414-S417 are executed;
  • Step S414 remove the virtual screen
  • Step S415 Create a new virtual screen based on the resolution and screen density of the currently connected external display
  • Step S416 run the external display system based on the new virtual screen
  • Step S417 project the content displayed on the new virtual screen to the external display device
  • step S402 if it is determined that the current terminal device does not have a virtual screen, the above steps S415-S417 are also executed.
  • an embodiment of the present disclosure provides a display control apparatus 500 , including:
  • the first running unit 501 is used for running the external display system on the terminal device, and projecting the task interface running by the external display system to the external display device for display;
  • the second running unit 503 is configured to run the external display system and obtain a task to run when the external display system stops displaying after receiving an instruction to display the external display system after the external display system stops displaying information;
  • the projection display unit 504 is configured to display a task interface corresponding to the task information through the external display device based on the task information.
  • the display control device provided by the present disclosure, by saving the task information of the operation of the external display system when the terminal device is running and projecting the external display system, when the external display system is displayed again, it can be based on the operation of the external display system when the external display system stops displaying.
  • the task information restores the corresponding task, thereby avoiding the loss of the currently running task interface caused by the external display system stopping the display due to reasons such as disconnection of the external display device or switching of the display mode.
  • the external display system runs based on a virtual screen;
  • the information saving unit 502 is configured to save the task information in a data structure corresponding to the virtual screen;
  • the projection display unit 504 includes:
  • a virtual display subunit configured to display a task interface corresponding to the task information on the virtual screen based on the task information
  • the projection subunit is used for projecting the content displayed on the virtual screen to the external display device, so that the external display device mirrors and displays the content displayed in the virtual screen.
  • a virtual screen can be created by calling the createVirtualDisplay() method of the DisplayManager class.
  • the display control device by running the external display system based on the virtual screen, the tasks run by the external display system are related to the virtual screen, and the task information is stored in the data structure corresponding to the virtual screen , the external display device can mirror and display the content in the virtual screen, so that even when the terminal device is disconnected from the external display device or switched to other display modes, the virtual screen still runs in the terminal device.
  • the embodiment of the present disclosure saves the task information in the data structure corresponding to the virtual screen, so that when the external screen is disconnected or switched to other display modes, the terminal The device does not lose the current running processes and tasks of the external display system, and can also overcome the problem that the task information running on the external display system is strongly related to the screen display information of the currently connected external screen and cannot be used without the external screen.
  • the above-mentioned saving of the task information executed by the external display system by means of a virtual screen is only an example.
  • the terminal device is configured to be able to project the content displayed on the terminal screen to an external display device, so that the external display device mirrors and displays the content on the terminal screen;
  • the display control device 500 further includes:
  • the switching display unit is used for, in response to a preset screen switching instruction, the terminal device projects the content displayed on the screen corresponding to the screen switching instruction to the external display device for display.
  • the terminal screen is the screen of the terminal device itself, and is used as the default display screen of the terminal device.
  • the screen content projected by the terminal device can be switched by calling the DisplayManager class.
  • the terminal screen is used to display the internal operating system of the terminal device, including but not limited to an Android operating system, an IOS operating system, and the like.
  • the switching display unit is configured to project the content displayed on the terminal screen to an external display device when the preset screen switching display instruction corresponds to the content displayed on the display terminal screen;
  • the preset screen switching display instruction corresponds to projecting the content displayed in the virtual screen to the external display device when the content displayed in the virtual screen is displayed.
  • the terminal device can display the content on the terminal screen through an external display device, and can display the content in the virtual screen through the external display device, and supports the connection between the virtual screen and the terminal screen.
  • Switch the display; the external display device can mirror and display the content projected by the terminal device.
  • the terminal screen may simultaneously display the corresponding content or be in a screen-off state, which is not limited in this embodiment.
  • the display control apparatus 500 further includes:
  • an operation instruction obtaining unit which is used to obtain the user's operation instruction
  • the event distribution unit is configured to distribute the event corresponding to the operation instruction to the virtual screen, so as to update the task interface displayed on the virtual screen in response to the event corresponding to the operation instruction.
  • the user's operation instructions include, but are not limited to, touch operation instructions, voice instructions, gesture instructions, instructions triggered by virtual buttons or physical buttons, etc., which can be triggered based on the user's operation on the terminal device or an external display device.
  • the external display device is a touch-screen display
  • the user's control instruction may be a touch operation for the touch-screen display
  • the terminal device may acquire the corresponding operation instruction and distribute the event corresponding to the operation instruction to the virtual screen. , so that users can manipulate the content on the virtual screen by touching the external display.
  • the display control apparatus 500 further includes:
  • a timeout removal unit for removing the virtual screen and clearing the connection with the external display system if the instruction to display the external display system is not received within a preset period of time after the external display system stops displaying Displays background processes and/or tasks corresponding to the system. In this way, it is possible to prevent related tasks and processes from consuming system resources and power consumption of the mobile device for a long time after the mobile device is disconnected from the external display device.
  • the display control apparatus 500 further includes:
  • the screen parameter acquisition subunit is used to acquire the resolution and/or screen density (Density) of the external display device;
  • the second operation unit 503 includes:
  • a virtual screen existence determination subunit configured to determine whether a virtual screen currently exists in the terminal device
  • Virtual screen parameter determination subunit used to determine whether the resolution and/or screen density of the virtual screen are consistent with those of the currently connected external display device if it is determined that a virtual screen exists;
  • a virtual screen multiplexing subunit configured to run the external display system based on the virtual screen if it is determined that the resolution and/or screen density of the virtual screen is consistent with that of the currently connected external display device.
  • the tasks and processes running based on the virtual screen can be resumed by reusing the adapted virtual screen.
  • the display control apparatus 500 further includes:
  • the virtual screen creation subunit is configured to create a new virtual screen based on the resolution and/or screen density of the external display device if no virtual screen currently exists in the terminal device.
  • the virtual screen creation subunit is further configured to remove the virtual screen if it is determined that the resolution and/or screen density of the virtual screen are inconsistent with those of the currently connected external display device, and based on the The resolution and/or screen density of the external display device creates a new virtual screen.
  • the display control apparatus 500 further includes:
  • the task freezing unit is configured to freeze at least one process corresponding to the external display system in response to an instruction to stop displaying the external display system, and switch at least one foreground task corresponding to the external display system to the background.
  • the instruction to stop displaying the external display system is used to trigger the external display device to stop displaying the external display system, including but not limited to: disconnecting the terminal device from the external display device; In the case of maintaining the connection, switch the display mode of the external display system to another display mode, such as the mirroring display mode.
  • the display control apparatus 500 further includes:
  • Any unfreezing unit configured to unfreeze at least one process corresponding to the external display system in response to the instruction for displaying the external display system, and switch at least one background task corresponding to the external display system to the foreground.
  • a terminal device including:
  • the memory is used for storing program codes
  • the processor is used for calling the program codes stored in the memory to execute the display control method provided according to one or more embodiments of the present disclosure.
  • a non-transitory computer storage medium stores program codes that, when executed by a computer device, cause the computer device to execute
  • a display control method is provided according to one or more embodiments of the present disclosure.
  • FIG. 6 shows a schematic structural diagram of a terminal device 800 for implementing an embodiment of the present disclosure.
  • Terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), and mobile terminals such as Fixed terminals such as digital TV and desktop computers.
  • the terminal device shown in FIG. 6 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
  • the terminal device 800 may include a processing device (eg, a central processing unit, a graphics processor, etc.) 801, which may be loaded into random access according to a program stored in a read only memory (ROM) 802 or from a storage device 808 Various appropriate actions and processes are executed by the programs in the memory (RAM) 803 . In the RAM 803, various programs and data required for the operation of the terminal device 800 are also stored.
  • the processing device 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804.
  • An input/output (I/O) interface 805 is also connected to bus 804 .
  • the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 807 of a computer, etc.; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809.
  • the storage device 808 may store a first database and a second database, wherein the first database stores at least one first subprogram identifier of the first program; the second database stores at least one second subprogram of the first program. Program ID.
  • the communication means 809 may allow the terminal device 800 to communicate wirelessly or by wire with other devices to exchange data.
  • FIG. 6 shows a terminal device 800 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for executing the means illustrated in the flowcharts.
  • the computer program may be downloaded and installed from the network via the communication device 809, or from the storage device 808, or from the ROM 802.
  • the processing apparatus 801 the above-mentioned functions defined in the apparatus of the embodiment of the present disclosure are executed.
  • the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
  • the client and server can use any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol) to communicate, and can communicate with digital data in any form or medium Communication (eg, a communication network) interconnects.
  • HTTP HyperText Transfer Protocol
  • Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently known or future development network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned terminal device; or may exist independently without being assembled into the terminal device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the terminal device, the terminal device is made to: run an external display system on the terminal device, and run the external display system on the terminal device. Project the task interface of the external display device to display on the external display device; save the task information of the external display system running; if the external display system stops displaying and receives an instruction to display the external display system, run the external display system. and acquire task information that is run when the external display system stops displaying; and display a task interface corresponding to the task information through the external display device based on the task information.
  • Computer program code for performing operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments of the present disclosure may be implemented in a software manner, and may also be implemented in a hardware manner.
  • the name of the unit does not constitute a limitation of the unit itself under certain circumstances, for example, the information storage unit may be described as "a unit for storing task information of the operation of the external display system".
  • exemplary types of hardware logic components include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical Devices (CPLDs) and more.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs Systems on Chips
  • CPLDs Complex Programmable Logical Devices
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • a display control method is provided, which is applied to a terminal device.
  • the display control method includes: running an external display system on the terminal device, and running an external display system running on the external display system.
  • the task interface is projected to the external display device for display; the task information of the operation of the external display system is saved; if an instruction to display the external display system is received after the external display system stops displaying, the external display system is operated and Acquiring task information that runs when the external display system stops displaying; and displaying a task interface corresponding to the task information through the external display device based on the task information.
  • the external display system runs based on a virtual screen;
  • the saving task information of the external display system running includes: saving the task information in data corresponding to the virtual screen In the structure;
  • the displaying the task interface corresponding to the task information through the external display device based on the task information includes: displaying the task interface corresponding to the task information in the virtual screen based on the task information ; project the content displayed in the virtual screen to the external display device.
  • the terminal device is configured to be able to project the content displayed on the terminal screen to an external display device; the display control method further includes: in response to a preset screen switching display instruction, The terminal device projects the content displayed on the screen corresponding to the screen switching display instruction to the external display device for display.
  • the terminal device in response to a preset screen switching display instruction, projects the content displayed on the screen corresponding to the screen switching display instruction to the external display device Displaying includes: when the preset screen switching display instruction is to display the content displayed on the terminal screen, projecting the content displayed on the terminal screen to an external display device; or, when the preset screen switching display instruction is When the content displayed on the virtual screen is displayed, the content displayed on the virtual screen is projected to the external display device.
  • the display control method provided according to one or more embodiments of the present disclosure further includes: acquiring an operation instruction of a user; and distributing an event corresponding to the operation instruction to the virtual screen, so as to respond to the operation instruction corresponding to the operation instruction. event to update the task interface displayed on the virtual screen.
  • the display control method provided according to one or more embodiments of the present disclosure further includes: if the instruction to display the external display system is not received within a preset period after the external display system stops displaying, moving the Remove the virtual screen and clear background processes and/or tasks corresponding to the external display system.
  • the display control method provided according to one or more embodiments of the present disclosure further includes: in response to the instruction to display the external display system, acquiring the resolution and/or screen density of the currently connected external display device; the Running the external display system includes: determining whether a virtual screen currently exists in the terminal device; if so, determining whether the resolution and/or screen density of the virtual screen are consistent with those of the external display device; if they are consistent, Then the external display system is run based on the virtual screen.
  • a new virtual screen is created based on the resolution and/or screen density of the external display device.
  • the virtual screen is removed, and based on the external display The resolution and/or screen density of the device creates a new virtual screen.
  • the display control method provided according to one or more embodiments of the present disclosure further includes: in response to an instruction to stop displaying the external display system, freezing at least one process corresponding to the external display system, and changing at least one process corresponding to the external display system.
  • the foreground task corresponding to the external display system is switched to the background.
  • At least one process corresponding to the external display system is thawed, and at least one background task corresponding to the external display system is switched to the foreground.
  • a display control apparatus configured to run an external display system on a terminal device, and run an external display system running on the external display system.
  • the task interface is projected to the external display device for display;
  • the information storage unit is used to save the task information of the operation of the external display system;
  • the second operation unit is used to display the external display system if it is received after the external display system stops displaying display system, then run the external display system and obtain task information that runs when the external display system stops displaying;
  • the projection display unit is used to display the task information through the external display device based on the task information.
  • the task interface corresponding to the information.
  • a terminal comprising: at least one memory and at least one processor; wherein the memory is used to store program codes, and the processor is used to call the memory stored in the memory
  • the program code is used to make the terminal execute the display control method provided according to one or more embodiments of the present disclosure.
  • a non-transitory computer storage medium storing program code that, when executed by a computer device, causes the computer device to The display control method provided according to one or more embodiments of the present disclosure is performed.

Landscapes

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

Abstract

The present invention relates to the technical field of computers, and specifically, to a display control method and apparatus, a terminal and a storage medium. The provided display control method comprises: running an external display system on a terminal device, and projecting a task interface run by the external display system to an external display device to carry out display (S101); saving task information run by the external display system (S102); if an instruction to display the external display system is received after the external display system stops displaying, running the external display system and acquiring task information run when the external display system stops displaying (S103); and on the basis of the task information, displaying a task interface corresponding to the task information by means of the external display device (S104).

Description

显示控制方法、装置、终端和存储介质Display control method, device, terminal and storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202011128943.4、申请日为2020年10月20日、名称为“显示控制方法、装置、终端和存储介质”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number of 202011128943.4 and the application date of October 20, 2020, entitled "Display Control Method, Device, Terminal and Storage Medium", and claims the priority of the Chinese patent application. The entire contents of the patent application are incorporated herein by reference.
技术领域technical field
本公开涉及计算机技术领域,具体涉及一种显示控制方法、装置、终端和存储介质。The present disclosure relates to the field of computer technologies, and in particular, to a display control method, device, terminal, and storage medium.
背景技术Background technique
手机连接外部显示器可以镜像显示手机内容外,相关技术还可以在外部显示器上显示一个类PC的可交互的系统。但是,在诸如连接不稳定导致连接中断、或者用户手动断开连接再重新连接外部显示器等情况发生后,该类PC的可交互的系统中已运行的应用窗口将丢失,从而造成用户已操作的窗口的丢失。In addition to mirroring and displaying the contents of the mobile phone by connecting the mobile phone to the external display, the related art can also display a PC-like interactive system on the external display. However, after the connection is interrupted due to unstable connection, or the user manually disconnects and then reconnects the external display, the running application windows in the interactive system of this type of PC will be lost, resulting in Loss of windows.
发明内容SUMMARY OF THE INVENTION
提供该发明内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该发明内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。This Summary is provided to introduce concepts in a simplified form that are described in detail in the Detailed Description section that follows. This summary section is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to be used to limit the scope of the claimed technical solution.
根据本公开的一个或多个实施例,提供了一种显示控制方法,应用于终端设备,所述显示控制方法包括:According to one or more embodiments of the present disclosure, a display control method is provided, applied to a terminal device, and the display control method includes:
在所述终端设备上运行外接显示系统,将所述外接显示系统运行的 任务界面投射至外接显示装置上显示;Running an external display system on the terminal device, and projecting the task interface run by the external display system to the external display device for display;
保存所述外接显示系统运行的任务信息;save the task information of the external display system running;
若在所述外接显示系统停止显示后收到显示所述外接显示系统的指令,则运行所述外接显示系统并获取在所述外接显示系统停止显示时运行的任务信息;If an instruction to display the external display system is received after the external display system stops displaying, run the external display system and obtain task information that is run when the external display system stops displaying;
基于所述任务信息通过所述外接显示装置显示与所述任务信息对应的任务界面。Display a task interface corresponding to the task information through the external display device based on the task information.
根据本公开的一个或多个实施例,提供了一种显示控制装置,包括:According to one or more embodiments of the present disclosure, there is provided a display control device, comprising:
第一运行单元,用于在终端设备上运行外接显示系统,将所述外接显示系统运行的任务界面投射至外接显示装置上显示;a first running unit, used for running an external display system on the terminal device, and projecting the task interface running by the external display system to the external display device for display;
信息保存单元,用于保存所述外接显示系统运行的任务信息;an information saving unit, used for saving task information of the external display system running;
第二运行单元,用于若在所述外接显示系统停止显示后收到显示所述外接显示系统的指令,则运行所述外接显示系统并获取在所述外接显示系统停止显示时运行的任务信息;A second running unit, configured to run the external display system and obtain task information that is run when the external display system stops displaying if an instruction to display the external display system is received after the external display system stops displaying ;
投射显示单元,用于基于所述任务信息通过所述外接显示装置显示与所述任务信息对应的任务界面。The projection display unit is configured to display a task interface corresponding to the task information through the external display device based on the task information.
根据本公开的一个或多个实施例,提供了一种终端,包括:According to one or more embodiments of the present disclosure, there is provided a terminal, comprising:
至少一个存储器和至少一个处理器;at least one memory and at least one processor;
其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以使所述终端执行根据本公开的一个或多个实施例提供的显示控制方法。Wherein, the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to make the terminal execute the display control method provided according to one or more embodiments of the present disclosure.
根据本公开的一个或多个实施例,提供了一种非暂态计算机存储介质,所述非暂态计算机存储介质存储有程序代码,所述程序代码被计算机设备执行时,使得所述计算机设备执行根据本公开的一个或多个实施例提供的显示控制方法。According to one or more embodiments of the present disclosure, there is provided a non-transitory computer storage medium storing program code that, when executed by a computer device, causes the computer device to The display control method provided according to one or more embodiments of the present disclosure is performed.
根据本公开提供的显示控制方法,通过在终端设备运行和投射外接显示系统时保存外接显示系统运行的任务信息,从而可以在外接显示系统再次显示时基于外接显示系统停止显示时所运行的任务信息恢复相应的任务,进而避免外接显示系统因诸如外接显示装置断连或显示模式切 换等原因停止显示而造成当前运行的任务界面丢失。According to the display control method provided by the present disclosure, by saving the task information of the operation of the external display system when the terminal device is running and projecting the external display system, when the external display system displays again, it can be based on the task information running when the external display system stops displaying. Resume the corresponding task, so as to avoid the loss of the currently running task interface caused by the external display system stopping the display due to reasons such as disconnection of the external display device or switching of the display mode.
附图说明Description of drawings
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent when taken in conjunction with the accompanying drawings and with reference to the following detailed description. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.
图1为根据本公开一实施例提供的显示控制方法的流程图;FIG. 1 is a flowchart of a display control method provided according to an embodiment of the present disclosure;
图2为根据本公开一实施例提供的示例性系统架构示意图;FIG. 2 is a schematic diagram of an exemplary system architecture provided according to an embodiment of the present disclosure;
图3为根据本公开另一实施例提供的显示控制方法的流程图;3 is a flowchart of a display control method provided according to another embodiment of the present disclosure;
图4为根据本公开又一实施例提供的显示控制方法的流程图;4 is a flowchart of a display control method provided according to another embodiment of the present disclosure;
图5为根据本公开一实施例提供的显示控制装置的结构示意图;FIG. 5 is a schematic structural diagram of a display control device provided according to an embodiment of the present disclosure;
图6为用来实现本公开实施例的终端设备的结构示意图。FIG. 6 is a schematic structural diagram of a terminal device used to implement an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for the purpose of A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes, and are not intended to limit the protection scope of the present disclosure.
应当理解,本公开的实施方式中记载的步骤可以按照不同的顺序执行,和/或并行执行。此外,实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that the steps described in the embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Furthermore, embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this regard.
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。术语“响应于”以及有关的术语是指一个信号或事件被另一个信号或事件影响到某个程度,但不一定是完全地或直接地受到影响。如果事件x“响应于”事件y而发 生,则x可以直接或间接地响应于y。例如,y的出现最终可能导致x的出现,但可能存在其它中间事件和/或条件。在其它情形中,y可能不一定导致x的出现,并且即使y尚未发生,x也可能发生。此外,术语“响应于”还可以意味着“至少部分地响应于”。术语“确定”广泛涵盖各种各样的动作,可包括演算、计算、处理、推导、调研、查找(例如,在表、数据库或其他数据结构中查找)、探明、和类似动作,还可包括接收(例如,接收信息)、访问(例如,访问存储器中的数据)和类似动作,以及解析、选择、选取、建立和类似动作等等。其他术语的相关定义将在下文描述中给出。其他术语的相关定义将在下文描述中给出。As used herein, the term "including" and variations thereof are open-ended inclusions, ie, "including but not limited to". The term "based on" is "based at least in part on." The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The term "responsive to" and related terms means that one signal or event is affected to some extent, but not necessarily completely or directly, by another signal or event. If event x occurs "in response to" event y, then x may respond directly or indirectly to y. For example, the occurrence of y may ultimately lead to the occurrence of x, but there may be other intervening events and/or conditions. In other cases, y may not necessarily cause x to occur, and x may occur even if y has not occurred. Furthermore, the term "responsive to" can also mean "responsive at least in part." The term "determining" broadly covers a wide variety of actions, which may include calculating, calculating, processing, deriving, investigating, looking up (eg, in a table, database, or other data structure), finding, and the like, and may also This includes receiving (eg, receiving information), accessing (eg, accessing data in memory), and the like, as well as parsing, selecting, selecting, establishing, and the like, and the like. Relevant definitions of other terms will be given in the description below. Relevant definitions of other terms will be given in the description below.
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or interdependence.
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "a" and "a plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless the context clearly indicates otherwise, they should be understood as "one or a plurality of". multiple".
为了本公开的目的,短语“A和/或B”意为(A)、(B)或(A和B)。For the purposes of this disclosure, the phrase "A and/or B" means (A), (B), or (A and B).
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of these messages or information.
根据本公开的一个或多个实施例提供的显示控制方法,应用于终端设备,包括但不限于诸如数字TV、台式计算机、笔记本电脑、PAD(平板电脑)、智能手表、移动电话、数字广播接收器、PDA(个人数字助理)、PMP(便携式多媒体播放器)等移动终端和固定终端。The display control method provided according to one or more embodiments of the present disclosure is applied to terminal devices, including but not limited to, such as digital TV, desktop computer, notebook computer, PAD (tablet computer), smart watch, mobile phone, digital broadcast reception mobile terminals and fixed terminals such as PDAs, PDAs (Personal Digital Assistants), and PMPs (Portable Multimedia Players).
参考图1,图1示出了本公开一实施例提供的显示控制方法100的流程图,包括步骤S101-步骤S104:Referring to FIG. 1, FIG. 1 shows a flowchart of a display control method 100 provided by an embodiment of the present disclosure, including steps S101-S104:
步骤S101:在终端设备上运行外接显示系统,将所述外接显示系统运行的任务界面投射至外接显示装置上显示。Step S101: Run an external display system on a terminal device, and project a task interface running by the external display system to an external display device for display.
在本实施例中,终端设备被配置为能将其上运行的外接显示系统通过有线或无线的方式投射至外接显示装置上显示,以使外接显示装置镜像显示终端设备运行的外接显示系统。In this embodiment, the terminal device is configured to project the external display system running on it to the external display device in a wired or wireless manner for display, so that the external display device mirrors the external display system running on the terminal device.
外接显示系统可以为预先设置好的由终端设备运行的适用于外接显示装置的操作系统,例如基于Android系统定制的大屏显示系统,可以为多窗口系统或单窗口系统。The external display system can be a preset operating system that is run by the terminal device and suitable for the external display device, such as a large-screen display system customized based on the Android system, which can be a multi-window system or a single-window system.
步骤S102:保存所述外接显示系统运行的任务信息。Step S102: Save task information of the external display system running.
在一些实施例中,任务信息包括应用程序运行信息、应用程序窗口信息、应用程序显示信息。示例性地,应用程序运行信息包括外接显示系统正在运行哪些应用程序;应用程序窗口信息包括各个应用程序已跳转至的窗口;应用程序显示信息包括应用程序分辨率、应用程序DPI(Dots Per Inch,每英寸点数)等。In some embodiments, the task information includes application running information, application window information, and application display information. Exemplarily, the application running information includes which applications are being run by the external display system; the application window information includes the window to which each application has jumped; the application display information includes application resolution, application DPI (Dots Per Inch) , dots per inch), etc.
步骤S103:若在所述外接显示系统停止显示后收到显示所述外接显示系统的指令,则运行所述外接显示系统并获取在所述外接显示系统停止显示时运行的任务信息。Step S103 : if an instruction to display the external display system is received after the external display system stops displaying, run the external display system and acquire task information that runs when the external display system stops displaying.
其中,显示所述外接显示系统的指令系用于触发在外接显示装置显示外接显示系统,包括但不限于:终端设备与外接显示装置建立连接;或者,在终端设备与外接显示装置已连接的情况下,由其他显示模式,例如镜像投屏显示模式,切换至外接显示系统显示模式。外接显示系统停止显示的情形包括但不限于:终端设备与外接显示装置断开连接;或者,在终端设备与外接显示装置保持连接的情况下,由外接显示系统显示模式切换至其他显示模式,例如镜像投屏显示模式。The instruction to display the external display system is used to trigger the display of the external display system on the external display device, including but not limited to: establishing a connection between the terminal device and the external display device; or, when the terminal device and the external display device are already connected , switch from other display modes, such as mirror projection display mode, to the external display system display mode. The situation where the external display system stops displaying includes but is not limited to: disconnecting the terminal device from the external display device; or, when the terminal device and the external display device remain connected, switching from the external display system display mode to another display mode, such as Mirror screen display mode.
在本步骤中,可以在外接显示系统再次显示时获取通过前述步骤所保存的所述外接显示系统停止显示时运行的任务信息。In this step, when the external display system displays again, the task information that is stored in the preceding steps and that runs when the external display system stops displaying can be acquired.
步骤S104:基于所述任务信息通过所述外接显示装置显示与所述任务信息对应的任务界面。Step S104: Display a task interface corresponding to the task information through the external display device based on the task information.
这样,根据本公开实施例提供的显示控制方法,通过在终端设备运行和投射外接显示系统时保存外接显示系统运行的任务信息,从而可以在外接显示系统再次显示时基于外接显示系统停止显示时所运行的任务信息恢复相应的任务,进而避免外接显示系统因诸如外接显示装置断连或显示模式切换等原因停止显示而造成当前运行的任务界面丢失。In this way, according to the display control method provided by the embodiment of the present disclosure, by saving the task information of the operation of the external display system when the terminal device is running and projecting the external display system, the external display system can be displayed again based on what the external display system stopped displaying when the external display system stopped displaying. The running task information restores the corresponding task, thereby avoiding the loss of the currently running task interface caused by the external display system stopping display due to reasons such as disconnection of the external display device or display mode switching.
在一些实施例中,所述外接显示系统基于虚拟屏幕运行;步骤S102 包括:将所述任务信息保存于所述虚拟屏幕对应的数据结构中;步骤S104包括:基于所述任务信息在所述虚拟屏幕中显示与所述任务信息对应的任务界面;将所述虚拟屏幕中显示的内容投射至所述外接显示装置,以使外接显示装置镜像显示虚拟屏幕内中显示的内容。In some embodiments, the external display system runs based on a virtual screen; step S102 includes: saving the task information in a data structure corresponding to the virtual screen; step S104 includes: based on the task information in the virtual screen A task interface corresponding to the task information is displayed on the screen; the content displayed on the virtual screen is projected to the external display device, so that the external display device mirrors and displays the content displayed in the virtual screen.
示例性地,在Android平台中可以通过调用DisplayManager类的createVirtualDisplay()方法创建虚拟屏幕。Exemplarily, in the Android platform, a virtual screen can be created by calling the createVirtualDisplay() method of the DisplayManager class.
根据本公开一个或多个实施例提供的显示控制方法,通过基于虚拟屏幕运行外接显示系统,使外接显示系统所运行的任务与虚拟屏幕具有相关性,任务信息保存于虚拟屏幕对应的数据结构中,外接显示装置可以镜像显示虚拟屏幕中的内容,从而即使在终端设备与外接显示装置断开连接或切换至其他显示模式时,虚拟屏幕仍在终端设备内运行。因此,本公开实施例通过利用虚拟屏幕不受外部物理屏幕连接状态影响的特性,将任务信息保存于虚拟屏幕对应的数据结构中,可以使在外接屏幕断连或切换至其他显示模式时,终端设备不丢失外接显示系统当前运行的进程和任务,也能克服外接显示系统运行的任务信息与当前连接的外接屏幕的屏幕显示信息强相关、无法脱离外接屏幕使用的问题。上述通过虚拟屏幕的方式保存外接显示系统所运行的任务信息仅为示例。According to the display control method provided by one or more embodiments of the present disclosure, by running the external display system based on the virtual screen, the tasks run by the external display system are related to the virtual screen, and the task information is stored in the data structure corresponding to the virtual screen , the external display device can mirror and display the content in the virtual screen, so that even when the terminal device is disconnected from the external display device or switched to other display modes, the virtual screen still runs in the terminal device. Therefore, by utilizing the feature that the virtual screen is not affected by the connection state of the external physical screen, the embodiment of the present disclosure saves the task information in the data structure corresponding to the virtual screen, so that when the external screen is disconnected or switched to other display modes, the terminal The device does not lose the current running processes and tasks of the external display system, and can also overcome the problem that the task information running on the external display system is strongly related to the screen display information of the currently connected external screen and cannot be used without the external screen. The above-mentioned saving of the task information executed by the external display system by means of a virtual screen is only an example.
在一些实施例中,终端设备被配置为能够将终端屏幕中显示的内容投射至外接显示装置,以使外接显示装置镜像显示终端屏幕中的内容;方法100还包括:In some embodiments, the terminal device is configured to be able to project the content displayed on the terminal screen to an external display device, so that the external display device mirrors and displays the content on the terminal screen; the method 100 further includes:
步骤A1:响应于预设的屏幕切换指令,终端设备将与所述屏幕切换指令对应的屏幕中显示的内容投射至外接显示装置中显示。Step A1: In response to a preset screen switching instruction, the terminal device projects the content displayed on the screen corresponding to the screen switching instruction to an external display device for display.
其中,终端屏幕是终端设备自身的屏幕,用于作为终端设备的默认显示屏幕。The terminal screen is the screen of the terminal device itself, and is used as the default display screen of the terminal device.
示例性地,在Android平台中可以通过调用DisplayManager类切换终端设备投射的屏幕内容。示例性地,终端屏幕用于显示终端设备的内部操作系统,包括但不限于Android操作系统、IOS操作系统等。Exemplarily, in the Android platform, the screen content projected by the terminal device can be switched by calling the DisplayManager class. Exemplarily, the terminal screen is used to display the internal operating system of the terminal device, including but not limited to an Android operating system, an IOS operating system, and the like.
在一些实施例中,步骤A1包括:In some embodiments, step A1 includes:
步骤a11:当所述预设的屏幕切换显示指令对应于显示终端屏幕中显 示的内容时,将终端屏幕中显示的内容投射至外接显示装置;或者,Step a11: when the preset screen switching display instruction corresponds to the content displayed in the display terminal screen, project the content displayed in the terminal screen to an external display device; or,
步骤a21:当所述预设的屏幕切换显示指令对应于显示虚拟屏幕中显示的内容时,将虚拟屏幕中显示的内容投射至外接显示装置。Step a21: When the preset screen switching display instruction corresponds to displaying the content displayed on the virtual screen, project the content displayed on the virtual screen to the external display device.
在本公开的一个或多个实施例中,终端设备既可以通过外接显示装置显示终端屏幕中的内容,又可以通过外接显示装置显示虚拟屏幕中的内容,并支持在虚拟屏幕和终端屏幕之间进行切换显示;外接显示装置可以镜像显示终端设备所投射的内容。在一些实施例中,当用户从虚拟屏幕显示模式切换至终端屏幕显示模式时,因任务信息保存于虚拟屏幕对应的数据结构中,从而可以用于在用户切换回虚拟屏幕显示模式时恢复相应的任务,进而实现多种显示模式之间的无缝切换,不丢失切换前外接显示系统已运行的任务。In one or more embodiments of the present disclosure, the terminal device can display the content on the terminal screen through an external display device, and can display the content in the virtual screen through the external display device, and supports the connection between the virtual screen and the terminal screen. Switch the display; the external display device can mirror and display the content projected by the terminal device. In some embodiments, when the user switches from the virtual screen display mode to the terminal screen display mode, since the task information is stored in the data structure corresponding to the virtual screen, it can be used to restore the corresponding data structure when the user switches back to the virtual screen display mode tasks, so as to achieve seamless switching between multiple display modes, without losing the tasks that the external display system has run before switching.
需要说明的是,终端设备将终端屏幕中显示的内容投射至外接显示装置进行镜像显示时,终端屏幕可以同时显示相应的内容,也可以处于熄屏状态,本实施例不做此限制。It should be noted that when the terminal device projects the content displayed on the terminal screen to an external display device for mirror display, the terminal screen may simultaneously display the corresponding content or be in a screen-off state, which is not limited in this embodiment.
图2示出了根据本公开一实施例提供的示例性系统架构示意图。在图2示出的系统中,终端设备210与外接显示装置220可以通过有线或无线的方式进行连接。示例性地,终端设备210与外接显示装置220的连接方式包括但不限于基于高清晰度多媒体接口(HDMI)等有线连接方式,或基于Wi-Fi等无线连接方式。终端设备210具有终端屏幕211和虚拟屏幕212,终端设备210可以将终端屏幕211或虚拟屏幕212中显示的内容投射至外接显示装置220的有线连接装置221或无线连接装置222,从而使外接显示装置220镜像显示终端屏幕211或虚拟屏幕212中的内容。FIG. 2 shows a schematic diagram of an exemplary system architecture provided according to an embodiment of the present disclosure. In the system shown in FIG. 2 , the terminal device 210 and the external display device 220 may be connected in a wired or wireless manner. Exemplarily, the connection method between the terminal device 210 and the external display device 220 includes, but is not limited to, a wired connection method such as high-definition multimedia interface (HDMI), or a wireless connection method such as Wi-Fi. The terminal device 210 has a terminal screen 211 and a virtual screen 212. The terminal device 210 can project the content displayed on the terminal screen 211 or the virtual screen 212 to the wired connection device 221 or the wireless connection device 222 of the external display device 220, so that the external display device 220 mirrors and displays the content in the terminal screen 211 or the virtual screen 212 .
在一些实施例中,可以响应于用户的操作指令,将所述操作指令对应的应用在所述虚拟屏幕中显示,相应的任务信息保存于该虚拟屏幕对应的数据结构中。In some embodiments, in response to an operation instruction of the user, the application corresponding to the operation instruction is displayed on the virtual screen, and the corresponding task information is stored in a data structure corresponding to the virtual screen.
在一些实施例中,方法100还包括:获取用户的操作指令;将与所述操作指令对应的事件分发至所述虚拟屏幕,以响应于所述操作指令对应的事件,对所述虚拟屏幕显示的任务界面进行更新。In some embodiments, the method 100 further includes: acquiring an operation instruction of the user; distributing an event corresponding to the operation instruction to the virtual screen, so as to display the virtual screen in response to the event corresponding to the operation instruction The task interface has been updated.
在本实施例中,用户的操作指令包括但不限于触控操作指令、语音指令、手势指令、由虚拟按键或实体按键触发的指令等,其可以基于用户对终端设备或外接显示装置的操作触发。示例性地,若外接显示装置为触屏显示器,用户的控制指令可以为针对该触屏显示器的触控操作,终端设备可以获取对应的操作指令并将与该操作指令对应的事件分发至虚拟屏幕上,以使用户可以通过触控外接显示器来操作虚拟屏幕中的内容。In this embodiment, the user's operation instructions include, but are not limited to, touch operation instructions, voice instructions, gesture instructions, instructions triggered by virtual buttons or physical buttons, etc., which can be triggered based on the user's operation on the terminal device or an external display device. . Exemplarily, if the external display device is a touch-screen display, the user's control instruction may be a touch operation for the touch-screen display, and the terminal device may acquire the corresponding operation instruction and distribute the event corresponding to the operation instruction to the virtual screen. , so that users can manipulate the content on the virtual screen by touching the external display.
在一些实施例中,方法100还包括:若在所述外接显示系统停止显示后的预设时段内未收到所述显示所述外接显示系统的指令,则移除所述虚拟屏幕,并清除与所述外接显示系统对应的后台进程和/或任务。这样,可以防止移动设备断开与外接显示装置的连接后相关任务和进程长时间消耗移动设备的系统资源和功耗。In some embodiments, the method 100 further includes: if the instruction to display the external display system is not received within a preset period after the external display system stops displaying, removing the virtual screen and clearing Background processes and/or tasks corresponding to the external display system. In this way, it is possible to prevent related tasks and processes from consuming system resources and power consumption of the mobile device for a long time after the mobile device is disconnected from the external display device.
在一些实施例中,方法100还包括:获取外接显示装置的分辨率和/或屏幕密度(Density);步骤S103包括:In some embodiments, the method 100 further includes: acquiring the resolution and/or screen density (Density) of the external display device; step S103 includes:
步骤b11:确定当前在所述终端设备中是否存在虚拟屏幕;若是,则执行步骤b12;Step b11: determine whether a virtual screen currently exists in the terminal device; if so, execute step b12;
步骤b12:确定所述虚拟屏幕的分辨率和/或屏幕密度是否与当前连接的外接显示装置的一致;若是,则执行步骤b13;Step b12: Determine whether the resolution and/or screen density of the virtual screen are consistent with those of the currently connected external display device; if so, execute step b13;
步骤b13:基于所述虚拟屏幕运行所述外接显示系统。Step b13: Run the external display system based on the virtual screen.
在本实施例中,通过确定终端设备已存在的虚拟屏幕与当前连接的外接显示装置是否适配,进而通过重用适配的虚拟屏幕可以恢复基于该虚拟屏幕运行的任务和进程。In this embodiment, by determining whether the existing virtual screen of the terminal device is compatible with the currently connected external display device, the tasks and processes running based on the virtual screen can be resumed by reusing the adapted virtual screen.
在一些实施例中,方法100还包括:若当前在所述终端设备中不存在虚拟屏幕,则基于所述外接显示装置的分辨率和/或屏幕密度创建新的虚拟屏幕。In some embodiments, the method 100 further includes: if no virtual screen currently exists in the terminal device, creating a new virtual screen based on the resolution and/or screen density of the external display device.
在一些实施例中,方法100还包括:若确定所述虚拟屏幕的分辨率和/或屏幕密度与当前连接的外接显示装置的不一致,则移除所述虚拟屏幕,并基于所述外接显示装置的分辨率和/或屏幕密度创建新的虚拟屏幕。In some embodiments, the method 100 further includes: if it is determined that the resolution and/or screen density of the virtual screen is inconsistent with that of the currently connected external display device, removing the virtual screen, and based on the external display device the resolution and/or screen density to create a new virtual screen.
在一些实施例中,方法100还包括:响应于停止显示所述外接显示系统的指令,冻结至少一个与所述外接显示系统对应的进程,并将至少一 个与所述外接显示系统对应的前台任务切换至后台。In some embodiments, the method 100 further includes: in response to the instruction to stop displaying the external display system, freezing at least one process corresponding to the external display system, and placing at least one foreground task corresponding to the external display system Switch to background.
其中,停止显示所述外接显示系统的指令系用于触发在外接显示装置上停止显示外接显示系统,包括但不限于:终端设备与外接显示装置断开连接;或者,在终端设备与外接显示装置保持连接的情况下,由外接显示系统显示模式切换至其他显示模式,例如镜像投屏显示模式。The instruction to stop displaying the external display system is used to trigger the external display device to stop displaying the external display system, including but not limited to: disconnecting the terminal device from the external display device; In the case of maintaining the connection, switch the display mode of the external display system to another display mode, such as the mirroring display mode.
进一步地,在一些实施例中,方法100还包括:响应于所述显示所述外接显示系统的指令,解冻至少一个与所述外接显示系统对应的进程,并将至少一个与所述外接显示系统对应的后台任务切换至前台。Further, in some embodiments, the method 100 further includes: in response to the instruction to display the external display system, unfreezing at least one process corresponding to the external display system, and thawing at least one process corresponding to the external display system The corresponding background task switches to the foreground.
参考图3,图3示出了本公开一实施例提供的显示控制方法300的流程图,包括步骤S301-步骤S306:Referring to FIG. 3, FIG. 3 shows a flowchart of a display control method 300 provided by an embodiment of the present disclosure, including steps S301-S306:
步骤S301:响应于显示外接显示系统的指令,创建虚拟屏幕。Step S301: Create a virtual screen in response to an instruction to display an external display system.
步骤S302:基于所述虚拟屏幕在终端设备上运行外接显示系统,将所述外接显示系统运行的任务界面投射至外接显示装置上显示。Step S302: Run an external display system on the terminal device based on the virtual screen, and project a task interface running by the external display system to the external display device for display.
步骤S303:将任务界面对应的任务信息保存于所述虚拟屏幕对应的数据结构中。Step S303: Save the task information corresponding to the task interface in the data structure corresponding to the virtual screen.
步骤S304:若在所述外接显示系统停止显示后收到显示所述外接显示系统的指令,则基于所述虚拟屏幕在终端设备上运行所述外接显示系统并获取在所述外接显示系统停止显示时运行的任务信息。Step S304: If an instruction to display the external display system is received after the external display system stops displaying, run the external display system on the terminal device based on the virtual screen and obtain the information that the external display system stops displaying. The task information that was run at the time.
步骤S305:基于所述任务信息在所述虚拟屏幕中显示与所述任务信息对应的任务界面。Step S305: Display a task interface corresponding to the task information on the virtual screen based on the task information.
步骤S306:将所述虚拟屏幕中显示的内容投射至所述外接显示装置。Step S306: Project the content displayed on the virtual screen to the external display device.
参考图4,图4示出了根据本公开的一个实施例提供的显示控制方法400的流程图,包括:Referring to FIG. 4, FIG. 4 shows a flowchart of a display control method 400 provided according to an embodiment of the present disclosure, including:
步骤S401:获取当前连接的外部显示器的分辨率和屏幕密度;Step S401: obtaining the resolution and screen density of the currently connected external display;
步骤S402:确定当前终端设备中是否已存在虚拟屏幕;Step S402: determine whether a virtual screen already exists in the current terminal device;
若是,则执行步骤S403:确定所述虚拟屏幕的分辨率和屏幕密度是否与当前连接的所述外接显示装置的一致;If yes, then perform step S403: determine whether the resolution and screen density of the virtual screen are consistent with those of the currently connected external display device;
若确定一致,则执行步骤S404:重用该虚拟屏幕;接下来执行步骤S405-S407;If it is determined to be consistent, step S404 is performed: reuse the virtual screen; then steps S405-S407 are performed;
步骤S405:基于该虚拟屏幕运行外接显示系统;Step S405: run an external display system based on the virtual screen;
步骤S406:解冻与外接显示系统对应的进程,并将外接显示系统对应的后台任务切换至前台;Step S406: Thawing the process corresponding to the external display system, and switching the background task corresponding to the external display system to the foreground;
步骤S407:将该虚拟屏幕显示的内容投射至外接显示装置;Step S407: project the content displayed on the virtual screen to an external display device;
在步骤S403中,若确定不一致,则执行步骤S414-S417;In step S403, if it is determined that they are inconsistent, steps S414-S417 are executed;
步骤S414:移除该虚拟屏幕;Step S414: remove the virtual screen;
步骤S415:基于当前连接的外部显示器的分辨率和屏幕密度创建新的虚拟屏幕;Step S415: Create a new virtual screen based on the resolution and screen density of the currently connected external display;
步骤S416:基于新的虚拟屏幕运行外接显示系统;Step S416: run the external display system based on the new virtual screen;
步骤S417:将新的虚拟屏幕显示的内容投射至外接显示装置;Step S417: project the content displayed on the new virtual screen to the external display device;
在步骤S402中,若确定当前终端设备不存在虚拟屏幕,亦执行上述步骤S415-S417。In step S402, if it is determined that the current terminal device does not have a virtual screen, the above steps S415-S417 are also executed.
相应地,如图5所示,本公开实施例提供了一种显示控制装置500,包括:Correspondingly, as shown in FIG. 5 , an embodiment of the present disclosure provides a display control apparatus 500 , including:
第一运行单元501,用于在终端设备上运行外接显示系统,将所述外接显示系统运行的任务界面投射至外接显示装置上显示;The first running unit 501 is used for running the external display system on the terminal device, and projecting the task interface running by the external display system to the external display device for display;
信息保存单元502,用于保存所述外接显示系统运行的任务信息;an information saving unit 502, configured to save task information of the external display system running;
第二运行单元503,用于若在所述外接显示系统停止显示后收到显示所述外接显示系统的指令,则运行所述外接显示系统并获取在所述外接显示系统停止显示时运行的任务信息;The second running unit 503 is configured to run the external display system and obtain a task to run when the external display system stops displaying after receiving an instruction to display the external display system after the external display system stops displaying information;
投射显示单元504,用于基于所述任务信息通过所述外接显示装置显示与所述任务信息对应的任务界面。The projection display unit 504 is configured to display a task interface corresponding to the task information through the external display device based on the task information.
对于装置的实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中作为分离模块说明的模块可以是或者也可以不是分开的。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。For the embodiments of the apparatus, since they basically correspond to the method embodiments, reference may be made to the partial descriptions of the method embodiments for related parts. The apparatus embodiments described above are only illustrative, and the modules described as separate modules may or may not be separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.
这样,根据本公开提供的显示控制装置,通过在终端设备运行和投射 外接显示系统时保存外接显示系统运行的任务信息,从而可以在外接显示系统再次显示时基于外接显示系统停止显示时所运行的任务信息恢复相应的任务,进而避免外接显示系统因诸如外接显示装置断连或显示模式切换等原因停止显示而造成当前运行的任务界面丢失。In this way, according to the display control device provided by the present disclosure, by saving the task information of the operation of the external display system when the terminal device is running and projecting the external display system, when the external display system is displayed again, it can be based on the operation of the external display system when the external display system stops displaying. The task information restores the corresponding task, thereby avoiding the loss of the currently running task interface caused by the external display system stopping the display due to reasons such as disconnection of the external display device or switching of the display mode.
在一些实施例中,所述外接显示系统基于虚拟屏幕运行;信息保存单元502用于将所述任务信息保存于所述虚拟屏幕对应的数据结构中;投射显示单元504包括:In some embodiments, the external display system runs based on a virtual screen; the information saving unit 502 is configured to save the task information in a data structure corresponding to the virtual screen; the projection display unit 504 includes:
虚拟显示子单元,用于基于所述任务信息在所述虚拟屏幕中显示与所述任务信息对应的任务界面;a virtual display subunit, configured to display a task interface corresponding to the task information on the virtual screen based on the task information;
投射子单元,用于将所述虚拟屏幕中显示的内容投射至所述外接显示装置,以使外接显示装置镜像显示虚拟屏幕内中显示的内容。The projection subunit is used for projecting the content displayed on the virtual screen to the external display device, so that the external display device mirrors and displays the content displayed in the virtual screen.
示例性地,在Android平台中可以通过调用DisplayManager类的createVirtualDisplay()方法创建虚拟屏幕。Exemplarily, in the Android platform, a virtual screen can be created by calling the createVirtualDisplay() method of the DisplayManager class.
根据本公开一个或多个实施例提供的显示控制装置,通过基于虚拟屏幕运行外接显示系统,使外接显示系统所运行的任务与虚拟屏幕具有相关性,任务信息保存于虚拟屏幕对应的数据结构中,外接显示装置可以镜像显示虚拟屏幕中的内容,从而即使在终端设备与外接显示装置断开连接或切换至其他显示模式时,虚拟屏幕仍在终端设备内运行。因此,本公开实施例通过利用虚拟屏幕不受外部物理屏幕连接状态影响的特性,将任务信息保存于虚拟屏幕对应的数据结构中,可以使在外接屏幕断连或切换至其他显示模式时,终端设备不丢失外接显示系统当前运行的进程和任务,也能克服外接显示系统运行的任务信息与当前连接的外接屏幕的屏幕显示信息强相关、无法脱离外接屏幕使用的问题。上述通过虚拟屏幕的方式保存外接显示系统所运行的任务信息仅为示例。According to the display control device provided by one or more embodiments of the present disclosure, by running the external display system based on the virtual screen, the tasks run by the external display system are related to the virtual screen, and the task information is stored in the data structure corresponding to the virtual screen , the external display device can mirror and display the content in the virtual screen, so that even when the terminal device is disconnected from the external display device or switched to other display modes, the virtual screen still runs in the terminal device. Therefore, by using the feature that the virtual screen is not affected by the connection state of the external physical screen, the embodiment of the present disclosure saves the task information in the data structure corresponding to the virtual screen, so that when the external screen is disconnected or switched to other display modes, the terminal The device does not lose the current running processes and tasks of the external display system, and can also overcome the problem that the task information running on the external display system is strongly related to the screen display information of the currently connected external screen and cannot be used without the external screen. The above-mentioned saving of the task information executed by the external display system by means of a virtual screen is only an example.
在一些实施例中,终端设备被配置为能够将终端屏幕中显示的内容投射至外接显示装置,以使外接显示装置镜像显示终端屏幕中的内容;显示控制装置500还包括:In some embodiments, the terminal device is configured to be able to project the content displayed on the terminal screen to an external display device, so that the external display device mirrors and displays the content on the terminal screen; the display control device 500 further includes:
切换显示单元,用于响应于预设的屏幕切换指令,终端设备将与所述屏幕切换指令对应的屏幕中显示的内容投射至外接显示装置中显示。The switching display unit is used for, in response to a preset screen switching instruction, the terminal device projects the content displayed on the screen corresponding to the screen switching instruction to the external display device for display.
其中,终端屏幕是终端设备自身的屏幕,用于作为终端设备的默认显示屏幕。The terminal screen is the screen of the terminal device itself, and is used as the default display screen of the terminal device.
示例性地,在Android平台中可以通过调用DisplayManager类切换终端设备投射的屏幕内容。示例性地,终端屏幕用于显示终端设备的内部操作系统,包括但不限于Android操作系统、IOS操作系统等。Exemplarily, in the Android platform, the screen content projected by the terminal device can be switched by calling the DisplayManager class. Exemplarily, the terminal screen is used to display the internal operating system of the terminal device, including but not limited to an Android operating system, an IOS operating system, and the like.
在一些实施例中,切换显示单元用于当所述预设的屏幕切换显示指令对应于显示终端屏幕中显示的内容时,将终端屏幕中显示的内容投射至外接显示装置;或者用于当所述预设的屏幕切换显示指令对应于显示虚拟屏幕中显示的内容时,将虚拟屏幕中显示的内容投射至外接显示装置。In some embodiments, the switching display unit is configured to project the content displayed on the terminal screen to an external display device when the preset screen switching display instruction corresponds to the content displayed on the display terminal screen; The preset screen switching display instruction corresponds to projecting the content displayed in the virtual screen to the external display device when the content displayed in the virtual screen is displayed.
在本公开的一个或多个实施例中,终端设备既可以通过外接显示装置显示终端屏幕中的内容,又可以通过外接显示装置显示虚拟屏幕中的内容,并支持在虚拟屏幕和终端屏幕之间进行切换显示;外接显示装置可以镜像显示终端设备所投射的内容。当用户从虚拟屏幕显示模式切换至终端屏幕显示模式时,因任务信息保存于虚拟屏幕对应的数据结构中,从而可以用于在用户切换回虚拟屏幕显示模式时恢复相应的任务,进而实现多种显示模式之间的无缝切换,不丢失切换前外接显示系统已运行的任务。In one or more embodiments of the present disclosure, the terminal device can display the content on the terminal screen through an external display device, and can display the content in the virtual screen through the external display device, and supports the connection between the virtual screen and the terminal screen. Switch the display; the external display device can mirror and display the content projected by the terminal device. When the user switches from the virtual screen display mode to the terminal screen display mode, since the task information is stored in the data structure corresponding to the virtual screen, it can be used to restore the corresponding task when the user switches back to the virtual screen display mode, thereby realizing various Seamless switching between display modes without losing the tasks already running on the external display system before switching.
需要说明的是,终端设备将终端屏幕中显示的内容投射至外接显示装置进行镜像显示时,终端屏幕可以同时显示相应的内容,也可以处于熄屏状态,本实施例不做此限制。It should be noted that when the terminal device projects the content displayed on the terminal screen to an external display device for mirror display, the terminal screen may simultaneously display the corresponding content or be in a screen-off state, which is not limited in this embodiment.
在一些实施例中,显示控制装置500还包括:In some embodiments, the display control apparatus 500 further includes:
操作指令获取单元,用于获取用户的操作指令;an operation instruction obtaining unit, which is used to obtain the user's operation instruction;
事件分发单元,用于将与所述操作指令对应的事件分发至所述虚拟屏幕,以响应于所述操作指令对应的事件,对所述虚拟屏幕显示的任务界面进行更新。The event distribution unit is configured to distribute the event corresponding to the operation instruction to the virtual screen, so as to update the task interface displayed on the virtual screen in response to the event corresponding to the operation instruction.
在本实施例中,用户的操作指令包括但不限于触控操作指令、语音指令、手势指令、由虚拟按键或实体按键触发的指令等,其可以基于用户对终端设备或外接显示装置的操作触发。示例性地,若外接显示装置为触屏 显示器,用户的控制指令可以为针对该触屏显示器的触控操作,终端设备可以获取对应的操作指令并将与该操作指令对应的事件分发至虚拟屏幕上,以使用户可以通过触控外接显示器来操作虚拟屏幕中的内容。In this embodiment, the user's operation instructions include, but are not limited to, touch operation instructions, voice instructions, gesture instructions, instructions triggered by virtual buttons or physical buttons, etc., which can be triggered based on the user's operation on the terminal device or an external display device. . Exemplarily, if the external display device is a touch-screen display, the user's control instruction may be a touch operation for the touch-screen display, and the terminal device may acquire the corresponding operation instruction and distribute the event corresponding to the operation instruction to the virtual screen. , so that users can manipulate the content on the virtual screen by touching the external display.
在一些实施例中,显示控制装置500还包括:In some embodiments, the display control apparatus 500 further includes:
超时移除单元,用于若在所述外接显示系统停止显示后的预设时段内未收到所述显示所述外接显示系统的指令,则移除所述虚拟屏幕,并清除与所述外接显示系统对应的后台进程和/或任务。这样,可以防止移动设备断开与外接显示装置的连接后相关任务和进程长时间消耗移动设备的系统资源和功耗。A timeout removal unit for removing the virtual screen and clearing the connection with the external display system if the instruction to display the external display system is not received within a preset period of time after the external display system stops displaying Displays background processes and/or tasks corresponding to the system. In this way, it is possible to prevent related tasks and processes from consuming system resources and power consumption of the mobile device for a long time after the mobile device is disconnected from the external display device.
在一些实施例中,显示控制装置500还包括:In some embodiments, the display control apparatus 500 further includes:
屏幕参数获取子单元,用于获取外接显示装置的分辨率和/或屏幕密度(Density);第二运行单元503包括:The screen parameter acquisition subunit is used to acquire the resolution and/or screen density (Density) of the external display device; the second operation unit 503 includes:
虚拟屏幕存在确定子单元,用于确定当前在所述终端设备中是否存在虚拟屏幕;a virtual screen existence determination subunit, configured to determine whether a virtual screen currently exists in the terminal device;
虚拟屏幕参数确定子单元:用于若确定存在虚拟屏幕,则确定所述虚拟屏幕的分辨率和/或屏幕密度是否与当前连接的外接显示装置的一致;Virtual screen parameter determination subunit: used to determine whether the resolution and/or screen density of the virtual screen are consistent with those of the currently connected external display device if it is determined that a virtual screen exists;
虚拟屏幕复用子单元,用于若确定所述虚拟屏幕的分辨率和/或屏幕密度与当前连接的外接显示装置的一致,则基于所述虚拟屏幕运行所述外接显示系统。A virtual screen multiplexing subunit, configured to run the external display system based on the virtual screen if it is determined that the resolution and/or screen density of the virtual screen is consistent with that of the currently connected external display device.
在本实施例中,通过确定终端设备已存在的虚拟屏幕与当前连接的外接显示装置是否适配,进而通过重用适配的虚拟屏幕可以恢复基于该虚拟屏幕运行的任务和进程。In this embodiment, by determining whether the existing virtual screen of the terminal device is compatible with the currently connected external display device, the tasks and processes running based on the virtual screen can be resumed by reusing the adapted virtual screen.
在一些实施例中,显示控制装置500还包括:In some embodiments, the display control apparatus 500 further includes:
虚拟屏幕新建子单元,用于若当前在所述终端设备中不存在虚拟屏幕,则基于所述外接显示装置的分辨率和/或屏幕密度创建新的虚拟屏幕。The virtual screen creation subunit is configured to create a new virtual screen based on the resolution and/or screen density of the external display device if no virtual screen currently exists in the terminal device.
在一些实施例中,虚拟屏幕新建子单元还用于若确定所述虚拟屏幕的分辨率和/或屏幕密度与当前连接的外接显示装置的不一致,则移除所述虚拟屏幕,并基于所述外接显示装置的分辨率和/或屏幕密度创建新的虚拟屏幕。In some embodiments, the virtual screen creation subunit is further configured to remove the virtual screen if it is determined that the resolution and/or screen density of the virtual screen are inconsistent with those of the currently connected external display device, and based on the The resolution and/or screen density of the external display device creates a new virtual screen.
在一些实施例中,显示控制装置500还包括:In some embodiments, the display control apparatus 500 further includes:
任务冻结单元,用于响应于停止显示所述外接显示系统的指令,冻结至少一个与所述外接显示系统对应的进程,并将至少一个与所述外接显示系统对应的前台任务切换至后台。The task freezing unit is configured to freeze at least one process corresponding to the external display system in response to an instruction to stop displaying the external display system, and switch at least one foreground task corresponding to the external display system to the background.
其中,停止显示所述外接显示系统的指令系用于触发在外接显示装置上停止显示外接显示系统,包括但不限于:终端设备与外接显示装置断开连接;或者,在终端设备与外接显示装置保持连接的情况下,由外接显示系统显示模式切换至其他显示模式,例如镜像投屏显示模式。The instruction to stop displaying the external display system is used to trigger the external display device to stop displaying the external display system, including but not limited to: disconnecting the terminal device from the external display device; In the case of maintaining the connection, switch the display mode of the external display system to another display mode, such as the mirroring display mode.
进一步地,在一些实施例中,显示控制装置500还包括:Further, in some embodiments, the display control apparatus 500 further includes:
任解冻单元,用于响应于所述显示所述外接显示系统的指令,解冻至少一个与所述外接显示系统对应的进程,并将至少一个与所述外接显示系统对应的后台任务切换至前台。Any unfreezing unit, configured to unfreeze at least one process corresponding to the external display system in response to the instruction for displaying the external display system, and switch at least one background task corresponding to the external display system to the foreground.
相应地,根据本公开的一个或多个实施例,提供了一种终端设备,包括:Accordingly, according to one or more embodiments of the present disclosure, a terminal device is provided, including:
至少一个存储器和至少一个处理器;at least one memory and at least one processor;
其中,存储器用于存储程序代码,处理器用于调用存储器所存储的程序代码以执行根据本公开一个或多个实施例提供的显示控制方法。The memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the display control method provided according to one or more embodiments of the present disclosure.
相应地,根据本公开的一个或多个实施例,提供了一种非暂态计算机存储介质,非暂态计算机存储介质存储有程序代码,程序代码被计算机设备执行时,使得所述计算机设备执行根据本公开一个或多个实施例提供的显示控制方法。Accordingly, according to one or more embodiments of the present disclosure, a non-transitory computer storage medium is provided, and the non-transitory computer storage medium stores program codes that, when executed by a computer device, cause the computer device to execute A display control method is provided according to one or more embodiments of the present disclosure.
图6示出了用来实现本公开实施例的终端设备800的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)等移动终端以及诸如数字TV、台式计算机等固定终端。图6示出的终端设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。FIG. 6 shows a schematic structural diagram of a terminal device 800 for implementing an embodiment of the present disclosure. Terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), and mobile terminals such as Fixed terminals such as digital TV and desktop computers. The terminal device shown in FIG. 6 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
如图6所示,终端设备800可以包括处理装置(例如中央处理器、图形处理器等)801,其可以根据存储在只读存储器(ROM)802中的程 序或者从存储装置808加载到随机访问存储器(RAM)803中的程序而执行各种适当的动作和处理。在RAM 803中,还存储有终端设备800操作所需的各种程序和数据。处理装置801、ROM 802以及RAM 803通过总线804彼此相连。输入/输出(I/O)接口805也连接至总线804。As shown in FIG. 6, the terminal device 800 may include a processing device (eg, a central processing unit, a graphics processor, etc.) 801, which may be loaded into random access according to a program stored in a read only memory (ROM) 802 or from a storage device 808 Various appropriate actions and processes are executed by the programs in the memory (RAM) 803 . In the RAM 803, various programs and data required for the operation of the terminal device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804. An input/output (I/O) interface 805 is also connected to bus 804 .
通常,以下装置可以连接至I/O接口805:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置806;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置807;包括例如磁带、硬盘等的存储装置808;以及通信装置809。示例性地,存储装置808可以存储第一数据库和第二数据库,其中,第一数据库存储有第一程序的至少一个第一子程序标识;第二数据库存储有第一程序的至少一个第二子程序标识。通信装置809可以允许终端设备800与其他设备进行无线或有线通信以交换数据。虽然图6示出了具有各种装置的终端设备800,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 807 of a computer, etc.; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. Exemplarily, the storage device 808 may store a first database and a second database, wherein the first database stores at least one first subprogram identifier of the first program; the second database stores at least one second subprogram of the first program. Program ID. The communication means 809 may allow the terminal device 800 to communicate wirelessly or by wire with other devices to exchange data. Although FIG. 6 shows a terminal device 800 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的装置的程序代码。在这样的实施例中,该计算机程序可以通过通信装置809从网络上被下载和安装,或者从存储装置808被安装,或者从ROM 802被安装。在该计算机程序被处理装置801执行时,执行本公开实施例的装置中限定的上述功能。In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for executing the means illustrated in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from the network via the communication device 809, or from the storage device 808, or from the ROM 802. When the computer program is executed by the processing apparatus 801, the above-mentioned functions defined in the apparatus of the embodiment of the present disclosure are executed.
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适 的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and server can use any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol) to communicate, and can communicate with digital data in any form or medium Communication (eg, a communication network) interconnects. Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently known or future development network of.
上述计算机可读介质可以是上述终端设备中所包含的;也可以是单独存在,而未装配入该终端设备中。The above-mentioned computer-readable medium may be included in the above-mentioned terminal device; or may exist independently without being assembled into the terminal device.
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该终端设备执行时,使得该终端设备:在所述终端设备上运行外接显示系统,将所述外接显示系统运行的任务界面投射至外接显示装置上显示;保存所述外接显示系统运行的任务信息;若在所述外接显示系统停止显示后收到显示所述外接显示系统的指令,则运行所述外接显示系统并获取在所述外接显示系统停止显示时运行的任务信息;基于所述任务信息通过所述外接显示装置显示与所述任务信息对应的任务界面。The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the terminal device, the terminal device is made to: run an external display system on the terminal device, and run the external display system on the terminal device. Project the task interface of the external display device to display on the external display device; save the task information of the external display system running; if the external display system stops displaying and receives an instruction to display the external display system, run the external display system. and acquire task information that is run when the external display system stops displaying; and display a task interface corresponding to the task information through the external display device based on the task information.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用 户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
附图中的流程图和框图,图示了按照本公开各种实施例的系统、装置和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, apparatus and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,信息保存单元可以被描述为“用于保存所述外接显示系统运行的任务信息的单元”。The units involved in the embodiments of the present disclosure may be implemented in a software manner, and may also be implemented in a hardware manner. Wherein, the name of the unit does not constitute a limitation of the unit itself under certain circumstances, for example, the information storage unit may be described as "a unit for storing task information of the operation of the external display system".
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical Devices (CPLDs) and more.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、 电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
根据本公开的一个或多个实施例,提供了一种显示控制方法,应用于终端设备,所述显示控制方法包括:在所述终端设备上运行外接显示系统,将所述外接显示系统运行的任务界面投射至外接显示装置上显示;保存所述外接显示系统运行的任务信息;若在所述外接显示系统停止显示后收到显示所述外接显示系统的指令,则运行所述外接显示系统并获取在所述外接显示系统停止显示时运行的任务信息;基于所述任务信息通过所述外接显示装置显示与所述任务信息对应的任务界面。According to one or more embodiments of the present disclosure, a display control method is provided, which is applied to a terminal device. The display control method includes: running an external display system on the terminal device, and running an external display system running on the external display system. The task interface is projected to the external display device for display; the task information of the operation of the external display system is saved; if an instruction to display the external display system is received after the external display system stops displaying, the external display system is operated and Acquiring task information that runs when the external display system stops displaying; and displaying a task interface corresponding to the task information through the external display device based on the task information.
根据本公开的一个或多个实施例,所述外接显示系统基于虚拟屏幕运行;所述保存所述外接显示系统运行的任务信息,包括:将所述任务信息保存于所述虚拟屏幕对应的数据结构中;所述基于所述任务信息通过所述外接显示装置显示与所述任务信息对应的任务界面,包括:基于所述任务信息在所述虚拟屏幕中显示与所述任务信息对应的任务界面;将所述虚拟屏幕中显示的内容投射至所述外接显示装置。According to one or more embodiments of the present disclosure, the external display system runs based on a virtual screen; the saving task information of the external display system running includes: saving the task information in data corresponding to the virtual screen In the structure; the displaying the task interface corresponding to the task information through the external display device based on the task information includes: displaying the task interface corresponding to the task information in the virtual screen based on the task information ; project the content displayed in the virtual screen to the external display device.
根据本公开的一个或多个实施例,所述终端设备被配置为能够将终端屏幕中显示的内容投射至外接显示装置;所述显示控制方法还包括:响应于预设的屏幕切换显示指令,所述终端设备将与所述屏幕切换显示指令对应的屏幕中显示的内容投射至所述外接显示装置上显示。According to one or more embodiments of the present disclosure, the terminal device is configured to be able to project the content displayed on the terminal screen to an external display device; the display control method further includes: in response to a preset screen switching display instruction, The terminal device projects the content displayed on the screen corresponding to the screen switching display instruction to the external display device for display.
根据本公开的一个或多个实施例,所述响应于预设的屏幕切换显示指令,所述终端设备将与所述屏幕切换显示指令对应的屏幕中显示的内容投射至所述外接显示装置上显示,包括:当所述预设的屏幕切换显示指令为显示终端屏幕中显示的内容时,将终端屏幕中显示的内容投射至外接显示装置;或者,当所述预设的屏幕切换显示指令为显示虚拟屏幕中显示的内容时,将虚拟屏幕中显示的内容投射至外接显示装置。According to one or more embodiments of the present disclosure, in response to a preset screen switching display instruction, the terminal device projects the content displayed on the screen corresponding to the screen switching display instruction to the external display device Displaying includes: when the preset screen switching display instruction is to display the content displayed on the terminal screen, projecting the content displayed on the terminal screen to an external display device; or, when the preset screen switching display instruction is When the content displayed on the virtual screen is displayed, the content displayed on the virtual screen is projected to the external display device.
根据本公开的一个或多个实施例提供的显示控制方法,还包括:获取用户的操作指令;将与所述操作指令对应的事件分发至所述虚拟屏幕,以响应于所述操作指令对应的事件,对所述虚拟屏幕显示的任务界面进行更新。The display control method provided according to one or more embodiments of the present disclosure further includes: acquiring an operation instruction of a user; and distributing an event corresponding to the operation instruction to the virtual screen, so as to respond to the operation instruction corresponding to the operation instruction. event to update the task interface displayed on the virtual screen.
根据本公开的一个或多个实施例提供的显示控制方法,还包括:若在所述外接显示系统停止显示后的预设时段内未收到所述显示所述外接显示系统的指令,则移除所述虚拟屏幕,并清除与所述外接显示系统对应的后台进程和/或任务。The display control method provided according to one or more embodiments of the present disclosure further includes: if the instruction to display the external display system is not received within a preset period after the external display system stops displaying, moving the Remove the virtual screen and clear background processes and/or tasks corresponding to the external display system.
根据本公开的一个或多个实施例提供的显示控制方法,还包括:响应于所述显示所述外接显示系统的指令,获取当前连接的外接显示装置的分辨率和/或屏幕密度;所述运行所述外接显示系统包括:确定当前在所述终端设备中是否存在虚拟屏幕;若是,则确定所述虚拟屏幕的分辨率和/或屏幕密度是否与所述外接显示装置的一致;若一致,则基于所述虚拟屏幕运行所述外接显示系统。The display control method provided according to one or more embodiments of the present disclosure further includes: in response to the instruction to display the external display system, acquiring the resolution and/or screen density of the currently connected external display device; the Running the external display system includes: determining whether a virtual screen currently exists in the terminal device; if so, determining whether the resolution and/or screen density of the virtual screen are consistent with those of the external display device; if they are consistent, Then the external display system is run based on the virtual screen.
根据本公开的一个或多个实施例,若当前在所述终端设备中不存在虚拟屏幕,则基于所述外接显示装置的分辨率和/或屏幕密度创建新的虚拟屏幕。According to one or more embodiments of the present disclosure, if no virtual screen currently exists in the terminal device, a new virtual screen is created based on the resolution and/or screen density of the external display device.
根据本公开的一个或多个实施例,若确定所述虚拟屏幕的分辨率和/或屏幕密度与所述当前连接的显示装置的不一致,则移除所述虚拟屏幕,并基于所述外接显示装置的分辨率和/或屏幕密度创建新的虚拟屏幕。According to one or more embodiments of the present disclosure, if it is determined that the resolution and/or screen density of the virtual screen is inconsistent with that of the currently connected display device, the virtual screen is removed, and based on the external display The resolution and/or screen density of the device creates a new virtual screen.
根据本公开的一个或多个实施例提供的显示控制方法,还包括:响应于停止显示所述外接显示系统的指令,冻结至少一个与所述外接显示系统对应的进程,并将至少一个与所述外接显示系统对应的前台任务切换至后台。The display control method provided according to one or more embodiments of the present disclosure further includes: in response to an instruction to stop displaying the external display system, freezing at least one process corresponding to the external display system, and changing at least one process corresponding to the external display system. The foreground task corresponding to the external display system is switched to the background.
根据本公开的一个或多个实施例提供的显示控制方法,还包括:The display control method provided according to one or more embodiments of the present disclosure further includes:
响应于所述显示所述外接显示系统的指令,解冻至少一个与所述外接显示系统对应的进程,并将至少一个与所述外接显示系统对应的后台任务切换至前台。In response to the instruction for displaying the external display system, at least one process corresponding to the external display system is thawed, and at least one background task corresponding to the external display system is switched to the foreground.
根据本公开的一个或多个实施例,提供了一种显示控制装置,所述显 示控制方法包括:第一运行单元,用于在终端设备上运行外接显示系统,将所述外接显示系统运行的任务界面投射至外接显示装置上显示;信息保存单元,用于保存所述外接显示系统运行的任务信息;第二运行单元,用于若在所述外接显示系统停止显示后收到显示所述外接显示系统的指令,则运行所述外接显示系统并获取在所述外接显示系统停止显示时运行的任务信息;投射显示单元,用于基于所述任务信息通过所述外接显示装置显示与所述任务信息对应的任务界面。According to one or more embodiments of the present disclosure, a display control apparatus is provided, and the display control method includes: a first running unit, configured to run an external display system on a terminal device, and run an external display system running on the external display system. The task interface is projected to the external display device for display; the information storage unit is used to save the task information of the operation of the external display system; the second operation unit is used to display the external display system if it is received after the external display system stops displaying display system, then run the external display system and obtain task information that runs when the external display system stops displaying; the projection display unit is used to display the task information through the external display device based on the task information. The task interface corresponding to the information.
根据本公开的一个或多个实施例,提供了一种终端,包括:至少一个存储器和至少一个处理器;其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以使所述终端执行根据本公开的一个或多个实施例提供的显示控制方法。According to one or more embodiments of the present disclosure, a terminal is provided, comprising: at least one memory and at least one processor; wherein the memory is used to store program codes, and the processor is used to call the memory stored in the memory The program code is used to make the terminal execute the display control method provided according to one or more embodiments of the present disclosure.
根据本公开的一个或多个实施例,提供了一种非暂态计算机存储介质,所述非暂态计算机存储介质存储有程序代码,所述程序代码被计算机设备执行时,使得所述计算机设备执行根据本公开的一个或多个实施例提供的显示控制方法。According to one or more embodiments of the present disclosure, there is provided a non-transitory computer storage medium storing program code that, when executed by a computer device, causes the computer device to The display control method provided according to one or more embodiments of the present disclosure is performed.
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of the disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, and should also cover, without departing from the above-mentioned disclosed concept, the technical solutions formed by the above-mentioned technical features or Other technical solutions formed by any combination of its equivalent features. For example, a technical solution is formed by replacing the above features with the technical features disclosed in the present disclosure (but not limited to) with similar functions.
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。Additionally, although operations are depicted in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, although the above discussion contains several implementation-specific details, these should not be construed as limitations on the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
尽管已经采用特定于结构特征和/或装置逻辑动作的语言描述了本主 题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。Although the subject matter has been described in language specific to the structural features and/or logical acts of apparatus, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims (14)

  1. 一种显示控制方法,应用于终端设备,其特征在于,包括:A display control method, applied to terminal equipment, is characterized in that, comprising:
    在所述终端设备上运行外接显示系统,将所述外接显示系统运行的任务界面投射至外接显示装置上显示;Running an external display system on the terminal device, and projecting the task interface running by the external display system to the external display device for display;
    保存所述外接显示系统运行的任务信息;save the task information of the external display system running;
    若在所述外接显示系统停止显示后收到显示所述外接显示系统的指令,则运行所述外接显示系统并获取在所述外接显示系统停止显示时运行的任务信息;If an instruction to display the external display system is received after the external display system stops displaying, run the external display system and obtain task information that is run when the external display system stops displaying;
    基于所述任务信息通过所述外接显示装置显示与所述任务信息对应的任务界面。Display a task interface corresponding to the task information through the external display device based on the task information.
  2. 如权利要求1所述的显示控制方法,其特征在于,The display control method according to claim 1, wherein,
    所述外接显示系统基于虚拟屏幕运行;The external display system runs based on a virtual screen;
    所述保存所述外接显示系统运行的任务信息,包括:将所述任务信息保存于所述虚拟屏幕对应的数据结构中;The storing task information of the external display system operation includes: saving the task information in a data structure corresponding to the virtual screen;
    所述基于所述任务信息通过所述外接显示装置显示与所述任务信息对应的任务界面,包括:基于所述任务信息在所述虚拟屏幕中显示与所述任务信息对应的任务界面;将所述虚拟屏幕中显示的内容投射至所述外接显示装置。The displaying the task interface corresponding to the task information through the external display device based on the task information includes: displaying the task interface corresponding to the task information on the virtual screen based on the task information; displaying the task interface corresponding to the task information on the virtual screen; The content displayed on the virtual screen is projected to the external display device.
  3. 如权利要求2所述的显示控制方法,其特征在于,The display control method according to claim 2, wherein,
    所述终端设备被配置为能够将终端屏幕中显示的内容投射至外接显示装置;The terminal device is configured to be able to project the content displayed on the terminal screen to an external display device;
    所述显示控制方法还包括:响应于预设的屏幕切换显示指令,所述终端设备将与所述屏幕切换显示指令对应的屏幕中显示的内容投射至所述外接显示装置上显示。The display control method further includes: in response to a preset screen switching display instruction, the terminal device projects the content displayed on the screen corresponding to the screen switching display instruction to the external display device for display.
  4. 如权利要求3所述的显示控制方法,其特征在于,所述响应于预设的屏幕切换显示指令,所述终端设备将与所述屏幕切换显示指令对应的屏幕中显示的内容投射至所述外接显示装置上显示,包括:The display control method according to claim 3, wherein, in response to a preset screen switching display instruction, the terminal device projects the content displayed on the screen corresponding to the screen switching display instruction to the Displayed on an external display device, including:
    当所述预设的屏幕切换显示指令对应于显示所述终端屏幕中显示的 内容时,将所述终端屏幕中显示的内容投射至所述外接显示装置;或者,When the preset screen switching display instruction corresponds to displaying the content displayed on the terminal screen, project the content displayed on the terminal screen to the external display device; or,
    当所述预设的屏幕切换显示指令对应于显示所述虚拟屏幕中显示的内容时,将所述虚拟屏幕中显示的内容投射至所述外接显示装置。When the preset screen switching display instruction corresponds to displaying the content displayed on the virtual screen, project the content displayed on the virtual screen to the external display device.
  5. 如权利要求2所述的显示控制方法,其特征在于,还包括:The display control method of claim 2, further comprising:
    获取用户的操作指令;Get the user's operation instructions;
    将与所述操作指令对应的事件分发至所述虚拟屏幕,以响应于所述操作指令对应的事件,对所述虚拟屏幕显示的任务界面进行更新。Distributing the event corresponding to the operation instruction to the virtual screen, so as to update the task interface displayed on the virtual screen in response to the event corresponding to the operation instruction.
  6. 如权利要求2所述的显示控制方法,其特征在于,还包括:The display control method of claim 2, further comprising:
    若在所述外接显示系统停止显示后的预设时段内未收到所述显示所述外接显示系统的指令,则移除所述虚拟屏幕,并清除与所述外接显示系统对应的后台进程和/或任务。If the instruction to display the external display system is not received within a preset period of time after the external display system stops displaying, the virtual screen is removed, and the background processes and processes corresponding to the external display system are cleared. / or task.
  7. 如权利要求2所述的显示控制方法,其特征在于,还包括:The display control method of claim 2, further comprising:
    响应于所述显示所述外接显示系统的指令,获取当前连接的外接显示装置的分辨率和/或屏幕密度;In response to the instruction to display the external display system, obtain the resolution and/or screen density of the currently connected external display device;
    所述运行所述外接显示系统包括:The operation of the external display system includes:
    确定当前在所述终端设备中是否存在虚拟屏幕;determining whether a virtual screen currently exists in the terminal device;
    若是,则确定所述虚拟屏幕的分辨率和/或屏幕密度是否与所述外接显示装置的一致;If so, determine whether the resolution and/or screen density of the virtual screen are consistent with those of the external display device;
    若一致,则基于所述虚拟屏幕运行所述外接显示系统。If they are consistent, the external display system is run based on the virtual screen.
  8. 如权利要求7所述的显示控制方法,其特征在于,The display control method according to claim 7, wherein,
    若当前在所述终端设备中不存在虚拟屏幕,则基于所述外接显示装置的分辨率和/或屏幕密度创建新的虚拟屏幕。If no virtual screen currently exists in the terminal device, a new virtual screen is created based on the resolution and/or screen density of the external display device.
  9. 如权利要求7所述的显示控制方法,其特征在于,The display control method according to claim 7, wherein,
    若确定所述虚拟屏幕的分辨率和/或屏幕密度与所述当前连接的显示装置的不一致,则移除所述虚拟屏幕,并基于所述外接显示装置的分辨率和/或屏幕密度创建新的虚拟屏幕。If it is determined that the resolution and/or screen density of the virtual screen is inconsistent with that of the currently connected display device, the virtual screen is removed, and a new screen is created based on the resolution and/or screen density of the external display device virtual screen.
  10. 如权利要求1所述的显示控制方法,其特征在于,还包括:The display control method of claim 1, further comprising:
    响应于停止显示所述外接显示系统的指令,冻结至少一个与所述外接显示系统对应的进程,并将至少一个与所述外接显示系统对应的前台 任务切换至后台。In response to the instruction to stop displaying the external display system, freeze at least one process corresponding to the external display system, and switch at least one foreground task corresponding to the external display system to the background.
  11. 如权利要求10所述的显示控制方法,其特征在于,还包括:The display control method of claim 10, further comprising:
    响应于所述显示所述外接显示系统的指令,解冻至少一个与所述外接显示系统对应的进程,并将至少一个与所述外接显示系统对应的后台任务切换至前台。In response to the instruction for displaying the external display system, at least one process corresponding to the external display system is thawed, and at least one background task corresponding to the external display system is switched to the foreground.
  12. 一种显示控制装置,其特征在于,包括:A display control device, characterized in that it includes:
    第一运行单元,用于在终端设备上运行外接显示系统,将所述外接显示系统运行的任务界面投射至外接显示装置上显示;a first running unit, used for running an external display system on the terminal device, and projecting the task interface running by the external display system to the external display device for display;
    信息保存单元,用于保存所述外接显示系统运行的任务信息;an information saving unit, used for saving task information of the external display system running;
    第二运行单元,用于若在所述外接显示系统停止显示后收到显示所述外接显示系统的指令,则运行所述外接显示系统并获取在所述外接显示系统停止显示时运行的任务信息;A second running unit, configured to run the external display system and obtain task information that is run when the external display system stops displaying if an instruction to display the external display system is received after the external display system stops displaying ;
    投射显示单元,用于基于所述任务信息通过所述外接显示装置显示与所述任务信息对应的任务界面。The projection display unit is configured to display a task interface corresponding to the task information through the external display device based on the task information.
  13. 一种终端,其特征在于,包括:A terminal, characterized in that it includes:
    至少一个存储器和至少一个处理器;at least one memory and at least one processor;
    其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以使所述终端执行权利要求1至11任一所述的显示控制方法。Wherein, the memory is used to store program codes, and the processor is used to call the program codes stored in the memory to make the terminal execute the display control method according to any one of claims 1 to 11.
  14. 一种非暂态计算机存储介质,其特征在于,A non-transitory computer storage medium, characterized in that:
    所述非暂态计算机存储介质存储有程序代码,所述程序代码被计算机设备执行时,使得所述计算机设备执行权利要求1至11任一所述的显示控制方法。The non-transitory computer storage medium stores program codes, which, when executed by a computer device, cause the computer device to execute the display control method according to any one of claims 1 to 11 .
PCT/CN2021/123548 2020-10-20 2021-10-13 Display control method and apparatus, terminal and storage medium WO2022083483A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011128943.4 2020-10-20
CN202011128943.4A CN114385096B (en) 2020-10-20 2020-10-20 Display control method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
WO2022083483A1 true WO2022083483A1 (en) 2022-04-28

Family

ID=81192967

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/123548 WO2022083483A1 (en) 2020-10-20 2021-10-13 Display control method and apparatus, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN114385096B (en)
WO (1) WO2022083483A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426076A (en) * 2015-11-04 2016-03-23 联想(北京)有限公司 Information processing method and electronic equipment
US20180352068A1 (en) * 2017-06-02 2018-12-06 Brother Kogyo Kabushiki Kaisha Non-transitory computer-readable medium and portable terminal
CN110515572A (en) * 2018-05-21 2019-11-29 腾讯科技(深圳)有限公司 Throw screen method, apparatus, storage medium and computer equipment
CN111432070A (en) * 2020-03-17 2020-07-17 北京百度网讯科技有限公司 Application screen projection control method, device, equipment and medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109101233B (en) * 2017-06-20 2022-04-12 福建星网视易信息系统有限公司 Method for adapting to multiple screen resolutions, storage device and android device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426076A (en) * 2015-11-04 2016-03-23 联想(北京)有限公司 Information processing method and electronic equipment
US20180352068A1 (en) * 2017-06-02 2018-12-06 Brother Kogyo Kabushiki Kaisha Non-transitory computer-readable medium and portable terminal
CN110515572A (en) * 2018-05-21 2019-11-29 腾讯科技(深圳)有限公司 Throw screen method, apparatus, storage medium and computer equipment
CN111432070A (en) * 2020-03-17 2020-07-17 北京百度网讯科技有限公司 Application screen projection control method, device, equipment and medium

Also Published As

Publication number Publication date
CN114385096A (en) 2022-04-22
CN114385096B (en) 2023-11-03

Similar Documents

Publication Publication Date Title
JP7314317B2 (en) Unread message reminder method, device, terminal equipment and storage medium
EP4333424A1 (en) Video sharing method and apparatus, device, and medium
CN109582310B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN111274503B (en) Data processing method, device, electronic equipment and computer readable medium
JP7467644B2 (en) Message processing method, device and electronic device
CN111309415B (en) User Interface (UI) information processing method and device of application program and electronic equipment
CN110865846B (en) Application management method, device, terminal, system and storage medium
WO2022083568A1 (en) Method and apparatus for presenting information on lock-screen interface, and terminal and storage medium
US20240146978A1 (en) Functional component loading method and data processing method for video live-streaming, and device
CN110554918A (en) Current limiting method, current limiting device, electronic equipment and computer readable storage medium
CN111596992B (en) Navigation bar display method and device and electronic equipment
WO2022083483A1 (en) Display control method and apparatus, terminal and storage medium
CN110457522B (en) Information sharing method and device, terminal and storage medium
WO2022184012A1 (en) Document creation method and apparatus, and device and storage medium
CN115543509A (en) Display method and device of session list, electronic equipment and storage medium
US20200117350A1 (en) Screen Locking Method and Apparatus
WO2021082893A1 (en) Desktop display control method and apparatus, terminal, and storage medium
CN111857915B (en) Application page display method and device
CN112241229A (en) Terminal display control method, device, terminal and storage medium
CN113138897A (en) Information display method, device, equipment and storage medium
CN112243219A (en) Display device, terminal control method and device, terminal and storage medium
WO2023116167A1 (en) Lifecycle event management method and apparatus, storage medium and electronic device
CN111258810A (en) Method, system, terminal equipment and storage medium for realizing data source switching
US20240106928A1 (en) Media content sharing method, apparatus, electronic device and storage medium
WO2023124929A1 (en) Application managment method and apparatus, storage medium and electronic device

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21881901

Country of ref document: EP

Kind code of ref document: A1