A display method and device

By recording and restoring historical display data, the problem that the application cannot be connected after the connection between the mobile terminal and the large-screen monitor is solved, and the user experience is improved.

CN114185475BActive Publication Date: 2025-04-29HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111343381.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2017-06-09
Publication Date
2025-04-29
Estimated Expiration
2037-06-09

AI Technical Summary

Technical Problem

After the mobile terminal is disconnected from the large-screen monitor, the application cannot achieve process connection, resulting in poor user experience.

Method used

By recording the historical display data when disconnected and restoring the relevant interface when reconnecting, seamless connection of applications is achieved.

Benefits of technology

Improves the user experience of terminals when displaying multiple screens, ensuring seamless connection between applications before and after disconnection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114185475B_ABST
    Figure CN114185475B_ABST
Patent Text Reader

Abstract

A display method and device, relating to the field of communication technology, can avoid the problem that the currently running application cannot realize the process continuation due to disconnection when the terminal is displayed on multiple screens. The method includes: when a first terminal is connected to a second terminal, the first terminal sends first display data to the second terminal so that the second terminal displays a first interface, at this time, the first terminal displays a second interface (the second interface is different from the first interface); the first terminal is disconnected from the second terminal; then, when the first terminal is connected to the second terminal again, the first terminal can send second display data to the second terminal so that the second terminal displays a third interface associated with the above-mentioned first interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and in particular, to a display method and device. Background Art

[0002] The personal computer (PC) of mobile terminals is one of the important means to realize mobile office. Specifically, mobile terminals such as mobile phones can project the display content on the mobile phone screen to large-screen displays such as PCs through the Wifi-Display function or Microsoft's continuum function, so that the mobile phone can be used like a PC after connecting to the large-screen display.

[0003] When a mobile phone is connected to a large-screen display, it is equivalent to having two displays, one is the display of the mobile phone itself, and the other is the large-screen display of the large-screen terminal connected to it. The mobile phone can control the two displays to display the same display interface synchronously, or control the two displays to run two independent display interfaces respectively.

[0004] When the mobile phone is disconnected from the large-screen display, the application window running on the large-screen display will be forcibly closed. When the mobile phone is connected to the large-screen display again, the display interface in the large-screen display needs to be reinitialized to display a desktop display interface for the user on the large-screen display. Summary of the invention

[0005] The embodiments of the present application provide a display method and device, which can avoid the technical problem that the currently running application cannot achieve process continuation when the connection is restored due to disconnection when the terminal is displayed on multiple screens.

[0006] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:

[0007] In a first aspect, an embodiment of the present application provides a display method, including: when a first terminal establishes a connection with a second terminal, the first terminal sends first display data to the second terminal so that the second terminal displays a first interface, at which time the first terminal displays a second interface (the second interface is different from the first interface); the first terminal is disconnected from the second terminal; then, when the first terminal is connected to the second terminal again, the first terminal can send second display data to the second terminal so that the second terminal displays a third interface associated with the above-mentioned first interface, for example, the elements in the third interface can be the same as the elements in the first interface, thereby restoring the relevant interface that was being displayed by the second terminal when the connection was disconnected last time in the display interface of the second terminal, thereby realizing seamless connection of the application before and after the connection between the first terminal and the second terminal is disconnected, and improving the user experience of the terminal when displaying multiple screens.

[0008] In one possible design method, the third interface is associated with the first interface, including: the application displayed in the third interface is the same application as the application displayed in the first interface; or; the interface displayed in the third interface is the same as the interface displayed in the first interface; or, the interface displayed in the third interface and the interface displayed in the first interface are adjacent interfaces in the same application.

[0009] In one possible design method, when the application displayed in the third interface is the same application as the application displayed in the first interface, the same application may be any one of a video application, a text application, an instant messaging application or a game application.

[0010] In a possible design method, the interface displayed in the third interface is the same as the interface displayed in the first interface, which may specifically include: the video playback progress displayed in the third interface is the same as the video playback progress displayed in the first interface, so as to achieve seamless connection of the video before and after the connection between the first terminal and the second terminal is disconnected; or, the document content displayed in the third interface is the same as the document content displayed in the first interface, so as to achieve seamless connection of the document before and after the connection between the first terminal and the second terminal is disconnected; or, the chat record in the chat window in the third interface is the same as the chat record in the chat window in the first interface, so as to achieve seamless connection of the communication process before and after the connection between the first terminal and the second terminal is disconnected; or, the game system interface displayed in the third interface is the same as the game system interface displayed in the first interface, so as to achieve seamless connection of the game application before and after the connection between the first terminal and the second terminal is disconnected.

[0011] In a possible design method, the chat record includes the unsent chat draft in the input box. In this way, after the first terminal is connected to the second terminal again, the user does not need to repeatedly input the chat draft in the input box.

[0012] In a possible design method, when the interface displayed in the third interface and the interface displayed in the first interface are adjacent interfaces in the same application, the method further includes: in response to an operation triggered by the user, the first terminal sends third display data to the second terminal, so that the second terminal jumps from the third interface to the first interface. In this way, after the first terminal and the second terminal are connected again, the user can restore the relevant display interface originally displayed on the second terminal with only one operation.

[0013] In a possible design method, the display position of the target application in the third interface is the same as the display position of the target application in the first interface, and the target application is an application that has been running and displayed in the first interface and the third interface. This makes the display position of the window of the target application on the second terminal the same before and after the connection is disconnected, further improving the user experience when the terminal is displayed on multiple screens.

[0014] In one possible design method, there is at least one identical application between the applications displayed in the third interface and the applications displayed in the first interface, or the applications displayed in the third interface are a subset of the applications displayed in the first interface; or the applications displayed in the third interface are the same as the applications displayed in the first interface, and the positions of the applications displayed in the third interface are the same as those of the applications displayed in the first interface.

[0015] In a possible design method, when the first terminal is disconnected from the second terminal, the method further includes: the first terminal stops sending the first display data to the second terminal; the first terminal displays a fourth interface associated with the third interface. That is, when the first terminal is disconnected from the second terminal, the first terminal can switch the relevant interface displayed in the second terminal to the display interface of the first terminal, so that when the connection is disconnected, the user can still continue to execute the relevant functions of the target application on the first terminal, reducing the impact on the execution process of the target application caused by the disconnection of the first terminal and the second terminal.

[0016] For example, the interface elements in the fourth interface are the same as the interface elements in the third interface.

[0017] In a possible design method, when the first terminal is disconnected from the second terminal, the method further includes: the first terminal records the historical display data of the second terminal when the connection is disconnected in the ROM, and the historical display data is used to indicate the display content of the second terminal when the connection is disconnected. In this way, even if the first terminal is shut down and restarted, the operating status information recorded in the ROM will not be lost. Then, when the first terminal is restored to the connection with the second terminal, the first terminal can also restore the display content of the second terminal when the connection is disconnected in the display interface of the second terminal according to the above historical display data.

[0018] In a second aspect, an embodiment of the present application provides a terminal, comprising: a processor, a memory, a bus and a communication interface; the communication interface is used to: when the terminal establishes a connection with another terminal, send first display data to the other terminal, so that the other terminal displays a first interface, wherein a second interface is displayed in the terminal, and the first interface is different from the second interface; the processor is used to: instruct the terminal to disconnect from the other terminal; the communication interface is also used to: when the terminal establishes a connection with the other terminal again, send second display data to the other terminal, so that the other terminal displays a third interface, and the third interface is associated with the first interface.

[0019] In one possible design method, the third interface is associated with the first interface, including: the application displayed in the third interface is the same application as the application displayed in the first interface; or; the interface displayed in the third interface is the same as the interface displayed in the first interface; or, the interface displayed in the third interface and the interface displayed in the first interface are adjacent interfaces in the same application.

[0020] In a possible design method, the application displayed in the third interface is the same application as the application displayed in the first interface, and the same application is any one of a video application, a text application, an instant messaging application, or a game application.

[0021] In one possible design method, the interface displayed in the third interface is the same as the interface displayed in the first interface, including: the video playback progress displayed in the third interface is the same as the video playback progress displayed in the first interface; or, the document content displayed in the third interface is the same as the document content displayed in the first interface; or, the chat record in the chat window in the third interface is the same as the chat record in the chat window in the first interface; or, the game system interface displayed in the third interface is the same as the game system interface displayed in the first interface.

[0022] In one possible design approach, the chat history includes unsent chat drafts in the input box.

[0023] In a possible design method, when the interface displayed in the third interface and the interface displayed in the first interface are adjacent interfaces in the same application, the communication interface is also used to: send third display data to the other terminal so that the other terminal jumps from the third interface to the first interface.

[0024] In a possible design method, the display position of the target application in the third interface is the same as the display position of the target application in the first interface, and the target application is an application that is already running and displayed in the first interface and the third interface.

[0025] In one possible design method, there is at least one identical application between the applications displayed in the third interface and the applications displayed in the first interface, or the applications displayed in the third interface are a subset of the applications displayed in the first interface; or the applications displayed in the third interface are the same as the applications displayed in the first interface, and the positions of the applications displayed in the third interface are the same as those of the applications displayed in the first interface.

[0026] In a possible design method, the terminal also includes a display, wherein the processor is further used to: stop sending the first display data to the other terminal through the communication interface; and the display is used to: display a fourth interface associated with the third interface.

[0027] In a possible design method, the interface elements in the fourth interface are the same as the interface elements in the third interface.

[0028] In a possible design method, the processor is further used to: record in the memory historical display data of the other terminal when the connection is disconnected, and the historical display data is used to indicate the display content of the other terminal when the connection is disconnected.

[0029] In a third aspect, an embodiment of the present application provides a terminal, comprising: a communication unit, used to: establish a connection with another terminal so that the terminal and the other terminal can communicate with each other; a control unit, used to: when the terminal is disconnected from the other terminal, stop inputting first display data to the other terminal, so that the target application running in the display interface of the other terminal is closed; a recording unit, used to: record the historical display data of the other terminal when the terminal is disconnected from the other terminal, and the historical display data is used to indicate the display content of the other terminal at this time; the communication unit is also used to: when the terminal is connected to the other terminal again, obtain the above-mentioned historical display data; send second display data to the other terminal according to the above-mentioned historical display data, so that the window of the above-mentioned target application is restored in the display interface of the other terminal.

[0030] In a fourth aspect, an embodiment of the present application provides a terminal, comprising: a processor, a memory, a bus and a communication interface; the memory is used to store computer execution instructions, the processor is connected to the memory through the bus, and when the terminal is running, the processor executes the computer execution instructions stored in the memory so that the terminal executes any one of the above-mentioned display methods.

[0031] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on any of the above-mentioned terminals, the terminal executes any of the above-mentioned display methods.

[0032] In a sixth aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on any of the above-mentioned terminals, enables the terminal to execute any of the above-mentioned display methods.

[0033] In the embodiments of the present application, the names of the above terminals do not limit the devices themselves. In actual implementation, these devices may appear with other names. As long as the functions of each device are similar to the embodiments of the present application, they fall within the scope of the claims of the present application and their equivalent technologies.

[0034] In addition, the technical effects brought about by any design method in the second to sixth aspects can refer to the technical effects brought about by the different design methods in the above-mentioned first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A schematic diagram of an application scenario of a display method provided in an embodiment of the present application;

[0036] Figure 2 A schematic diagram of a homologous display principle provided in an embodiment of the present application;

[0037] Figure 3 A schematic diagram of a heterogeneous display principle provided in an embodiment of the present application;

[0038] Figure 4 A schematic diagram of an application scenario before and after a first terminal is disconnected from a second terminal in the prior art;

[0039] Figure 5 A schematic diagram of the structure of a mobile phone provided in an embodiment of the present application;

[0040] Figure 6 A flow chart of a display method provided in an embodiment of the present application;

[0041] Figure 7 An application scenario diagram of a display method provided in an embodiment of the present application Figure 1 ;

[0042] Figure 8 An application scenario diagram of a display method provided in an embodiment of the present application Figure 2 ;

[0043] Fig. 9 An application scenario diagram of a display method provided in an embodiment of the present application Figure 3 ;

[0044] Fig.10 An application scenario diagram of a display method provided in an embodiment of the present application Figure 4 ;

[0045] Fig.11An application scenario diagram of a display method provided in an embodiment of the present application Figure 5 ;

[0046] Fig.12 An application scenario diagram of a display method provided in an embodiment of the present application Figure 6 ;

[0047] Fig.13 An application scenario diagram of a display method provided in an embodiment of the present application Figure 7 ;

[0048] Fig.14 An application scenario diagram of a display method provided in an embodiment of the present application Figure 8 ;

[0049] Fig.15 An application scenario diagram of a display method provided in an embodiment of the present application Figure 9 ;

[0050] Fig.16 An application scenario diagram of a display method provided in an embodiment of the present application Figure 10 ;

[0051] Fig.17 An application scenario diagram of a display method provided in an embodiment of the present application Figure 10 one;

[0052] Fig.18 An application scenario diagram of a display method provided in an embodiment of the present application Figure 10 two;

[0053] Fig.19 An application scenario diagram of a display method provided in an embodiment of the present application Figure 10 three;

[0054] Fig. 20 An application scenario diagram of a display method provided in an embodiment of the present application Figure 10 Four;

[0055] Fig.21 A schematic diagram of a terminal structure provided in an embodiment of the present application Figure 1 ;

[0056] Fig. 22 A schematic diagram of a terminal structure provided in an embodiment of the present application Figure 2 . DETAILED DESCRIPTION

[0057] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0058] The embodiment of the present application provides a display method, which can be applied to application scenarios such as mobile office where display data in a terminal needs to be displayed on multiple display screens. For example, Figure 1 As shown, the first terminal 100 may be a mobile phone, and the second terminal 200 may be a desktop computer or a separate display. Figure 1 As shown in (a) of FIG. 1 , the first terminal 100 may establish a connection with the second terminal 200 via a wireless communication method (eg, Wi-Fi), or, as shown in FIG. Figure 1 As shown in (b), the first terminal 100 may also establish a connection with the second terminal 200 via a wired communication method (eg, a data line), and this embodiment of the present application does not impose any limitation on this.

[0059] The first terminal 100 can be used as a master device, and the second terminal 200 can be used as a slave device of the first terminal 100. After the first terminal 100 and the second terminal 200 are connected, the first terminal 100 is equivalent to having two displays, one is the display of the first terminal 100 itself, and the other is the display of the second terminal 200 connected thereto.

[0060] In the embodiment of the present application, after the first terminal 100 establishes a connection with the second terminal 200, the first terminal 100 can project the application installed on the first terminal 100 onto the display of the second terminal 200 through the same-source display or different-source display method.

[0061] Among them, homologous display refers to different displays, for example, the signal source of the display interface in the display of the first terminal 100 and the display of the second terminal 200 is the same; while heterologous display refers to the signal source of the display interface in the display of the first terminal 100, which is independent of the signal source of the display interface in the display of the second terminal 200.

[0062] When the first terminal projects its installed application onto the display of the second terminal from the same source, such as Figure 2As shown in FIG. 1 , before the first terminal 100 establishes a connection with the second terminal 200, the first terminal 100 stores the application task generated by the application in the application container of the application, so that the first terminal 100 can present the relevant image display of the application in its display interface by executing the application task in the application container. Figure 3 As shown, the second terminal 200 can share the application container with the first terminal 100. At this time, the display content in the display interface of the second terminal 200 is the same as the display content in the display interface of the first terminal 100, realizing synchronous display of the first terminal 100 and the second terminal 200.

[0063] When the first terminal 100 projects its installed application onto the display of the second terminal 200 from a different source, such as Figure 2 As shown, before the first terminal 100 establishes a connection with the second terminal 200, the first terminal 100 stores the application task generated by the application being executed in the application container 1 (for example, an application stack corresponding to the interface of the first terminal 100). In this way, when the first terminal 100 executes the application task in the application container 1, the corresponding display interface will be displayed on the display of the first terminal 100.

[0064] After the first terminal 100 establishes a connection with the second terminal 200, the first terminal 100 can identify the relevant specification information of the display of the second terminal 200 connected thereto, for example, the resolution and dots per inch (DPI) of the display of the second terminal 200. Figure 2 As shown, the first terminal 100 can establish an application container 2 (for example, an application stack corresponding to the interface of the second terminal 200) in the memory for the application running on the display of the second terminal 200 according to the specification information of the display of the second terminal 200, wherein the application container 1 and the application container 2 can be distinguished by different display identifiers (Display ID).

[0065] After the connection is established, Figure 2As shown, the first terminal 100 can initialize the display of the second terminal 200, convert the application icons and other information in the first terminal 100 into application icons, icon layouts, and desktop application tasks such as status bars that match the specification information of the second terminal 200 and store them in the application container 2. In this way, the second terminal 200 can independently project the icons and other information of each application installed on the first terminal 100 in the display interface of the second terminal 200 by executing the desktop application tasks in the application container 2, and complete the initialization process of the display of the second terminal 200. Subsequently, the first terminal 100 and the second terminal 200 can independently run two display interfaces under the same operating system by executing the application tasks in their respective application containers.

[0066] The above-mentioned application container refers to a storage space specially allocated in the memory for storing application tasks generated by the application during operation when the terminal is running the application. For example, the application container can be an application stack, and the application task at the top of the stack is the content currently running and displayed by the terminal. For example, when application A is running, it will generate multiple application tasks in the application stack of application A. The terminal executes each task from the top of the stack and displays it in the display interface of the terminal.

[0067] Currently, after the first terminal 100 and the second terminal 200 are connected, the first terminal 100 and the second terminal 200 can run two independent display interfaces under the same operating system. Figure 4 As shown in (a) of FIG. 1 , the first terminal 100 and the second terminal 200 are in a connected state, the display interface of the first terminal 100 is a desktop interface, and a player application is running in the display interface of the second terminal 200. When the first terminal 100 and the second terminal 200 are disconnected, the first terminal 100 deletes the application container 2 indicated by Display ID2 to release the memory resources occupied by the application container 2. At this time, Figure 4 As shown in (b) of FIG. 1 , the display interface of the second terminal 200 switches to the locked state or the native state of the second terminal 200. When the first terminal 100 and the second terminal 200 are reconnected, as shown in FIG. Figure 4 As shown in (c), since the application container 2 corresponding to the display interface of the second terminal 200 has been deleted, the first terminal 100 will re-initialize the display interface of the second terminal 200 and project desktop icons such as applications installed on the first terminal 100 onto the display interface of the second terminal 200.

[0068] At this time, if the user needs to continue running the above-mentioned player application, it is necessary to restart the player application in the display interface of the second terminal 200, or, if the user needs to continue watching the movie played by the above-mentioned player application, for example, the 28th minute, it is necessary to restart the player application on the second terminal 200 and adjust the playing time of the movie. In other words, the player application cannot be connected before and after the connection is disconnected, and the window of the player application that was being executed when the connection was last disconnected cannot be restored for the user on the second terminal 200.

[0069] In this regard, in the implementation of the present application, when the first terminal 100 is disconnected from the second terminal 200, the first terminal 100 can record the display content of the second terminal 200 indicated in the application container 2 at this time. In this way, when the first terminal 100 is restored to the second terminal 200, the first terminal 100 can restore the above application container 2 according to the recorded display content of the second terminal 200, thereby restoring the target application and other related interfaces that were being executed by the second terminal 200 when the connection was disconnected last time in the display interface of the second terminal 200, so as to achieve seamless connection of the target application before and after the connection between the first terminal 100 and the second terminal 200 is disconnected, thereby improving the user experience of the terminal when multiple screens are displayed.

[0070] In addition, when the first terminal 100 executes the corresponding task in the application container 2 and outputs it to the display of the second terminal 200, it can adjust the corresponding display layout in the second display interface according to parameters such as the screen resolution of the second terminal 200 and the user's operating habits when using the second terminal 200, for example, adjusting the size and position of the application window and the application icon, etc. The embodiment of the present application does not impose any restrictions on this.

[0071] The above-mentioned display method provided in the embodiment of the present application can be applied to any terminal such as mobile phones, wearable devices, AR (augmented reality) \VR (virtual reality) devices, tablet computers, laptops, UMPCs (ultra mobile personal computers), netbooks, PDAs (personal digital assistants), etc., and the embodiment of the present application does not impose any restrictions on this.

[0072] like Figure 5 As shown, the first terminal (or second terminal) in the embodiment of the present application may be a mobile phone 300. The embodiment is specifically described below using the mobile phone 300 as an example. It should be understood that the mobile phone 300 shown in the figure is only an example of a terminal, and the mobile phone 300 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations.

[0073] like Figure 5As shown, the mobile phone 300 may specifically include: a processor 101, a radio frequency (RF) circuit 102, a memory 103, a touch screen 104, a Bluetooth device 105, one or more sensors 106, a Wi-Fi device 107, a positioning device 108, an audio circuit 109, a peripheral interface 110, and a power system 111. These components can be connected through one or more communication buses or signal lines ( Figure 5 Those skilled in the art will appreciate that Figure 5 The hardware structure shown in the figure does not constitute a limitation on the mobile phone. The mobile phone 300 may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0074] Combine the following Figure 5 The following is a detailed introduction to the various components of the mobile phone 300:

[0075] The processor 101 is the control center of the mobile phone 300, and uses various interfaces and lines to connect various parts of the mobile phone 300, and executes various functions of the mobile phone 300 and processes data by running or executing applications (hereinafter referred to as Apps) stored in the memory 103, and calling data stored in the memory 103. In some embodiments, the processor 101 may include one or more processing units; for example, the processor 101 may be a Kirin 960 chip manufactured by Huawei Technologies Co., Ltd.

[0076] The radio frequency circuit 102 can be used for receiving and sending wireless signals during the process of sending and receiving information or making calls. In particular, the radio frequency circuit 102 can receive the downlink data of the base station and send it to the processor 101 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency circuit includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency circuit 102 can also communicate with other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to the global system for mobile communications, general packet radio service, code division multiple access, wideband code division multiple access, long term evolution, email, short message service, etc.

[0077] The memory 103 is used to store applications and data. The processor 101 executes various functions and data processing of the mobile phone 300 by running the applications and data stored in the memory 103. The memory 103 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system and applications required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created when using the mobile phone 300 (such as audio data, a phone book, etc.). In addition, the memory 103 may include a high-speed random access memory, and may also include a non-volatile memory, such as a disk storage device, a flash memory device or other volatile solid-state storage device. The memory 103 can store various operating systems, such as the iOS operating system developed by Apple and the Android operating system developed by Google.

[0078] The touch screen 104 may include a touch panel 104-1 and a display 104-2. The touch panel 104-1 may collect touch events on or near the user of the mobile phone 300 (for example, the user uses a finger, a stylus, or any other suitable object on or near the touch panel 104-1) and send the collected touch information to other devices such as the processor 101. Figure 5 In the embodiment, the touch panel 104-1 and the display screen 104-2 are used as two independent components to realize the input and output functions of the mobile phone 300, but in some embodiments, the touch panel 104-1 and the display screen 104-2 can be integrated to realize the input and output functions of the mobile phone 300. It can be understood that the touch screen 104 is formed by stacking multiple layers of materials. In the embodiment of the present application, only the touch panel (layer) and the display screen (layer) are shown, and other layers are not recorded in the embodiment of the present application. In addition, in some other embodiments of the present application, the touch panel 104-1 can be covered on the display 104-2, and the size of the touch panel 104-1 is larger than the size of the display screen 104-2, so that the display screen 104-2 is completely covered under the touch panel 104-1, or the above-mentioned touch panel 104-1 can be configured in the form of a full panel on the front of the mobile phone 300, that is, the user's touch on the front of the mobile phone 300 can be sensed by the mobile phone, so that the full touch experience on the front of the mobile phone can be achieved. In some other embodiments, the touch panel 104-1 is configured in the form of a full panel on the front of the mobile phone 300, and the display screen 104-2 can also be configured in the form of a full panel on the front of the mobile phone 300, so that a borderless structure can be achieved on the front of the mobile phone.

[0079] In the embodiment of the present application, the mobile phone 300 may also have a fingerprint recognition function. For example, a fingerprint recognition device 112 may be configured on the back of the mobile phone 300 (e.g., below the rear camera), or a fingerprint recognition device 112 may be configured on the front of the mobile phone 300 (e.g., below the touch screen 104). For another example, a fingerprint acquisition device 112 may be configured in the touch screen 104 to implement the fingerprint recognition function, that is, the fingerprint acquisition device 112 may be integrated with the touch screen 104 to implement the fingerprint recognition function of the mobile phone 300. In this case, the fingerprint acquisition device 112 is configured in the touch screen 104, may be a part of the touch screen 104, or may be configured in the touch screen 104 in other ways. The main component of the fingerprint acquisition device 112 in the embodiment of the present application is a fingerprint sensor, which may use any type of sensing technology, including but not limited to optical, capacitive, piezoelectric or ultrasonic sensing technology.

[0080] In the embodiment of the present application, the mobile phone 300 may further include a Bluetooth device 105 for implementing data exchange between the mobile phone 300 and other short-range terminals (such as mobile phones, smart watches, etc.). The Bluetooth device in the embodiment of the present application may be an integrated circuit or a Bluetooth chip.

[0081] The Wi-Fi device 107 is used to provide the mobile phone 300 with network access that complies with the Wi-Fi related standard protocols. The mobile phone 300 can access the Wi-Fi access point through the Wi-Fi device 107, thereby helping the user to send and receive emails, browse web pages, and access streaming media, etc. It provides the user with wireless broadband Internet access. In some other embodiments, the Wi-Fi device 107 can also be used as a Wi-Fi wireless access point to provide Wi-Fi network access for other terminals.

[0082] The mobile phone 300 may also include at least one sensor 106, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display of the touch screen 104 according to the brightness of the ambient light, and the proximity sensor may turn off the power of the display when the mobile phone 300 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can also be configured in the mobile phone 300, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0083] The positioning device 108 is used to provide the geographical location for the mobile phone 300. It is understandable that the positioning device 108 can specifically be a receiver of a global positioning system (GPS) or a Beidou satellite navigation system, a Russian GLONASS or other positioning system. After receiving the geographical location sent by the above positioning system, the positioning device 108 sends the information to the processor 101 for processing, or sends it to the memory 103 for storage. In some other embodiments, the positioning device 108 can also be a receiver of an assisted global satellite positioning system (AGPS). The AGPS system assists the positioning device 108 in completing the ranging and positioning services by acting as an auxiliary server. In this case, the auxiliary positioning server communicates with the positioning device 108 (i.e., GPS receiver) of the terminal such as the mobile phone 300 through a wireless communication network to provide positioning assistance. In some other embodiments, the positioning device 108 can also be a positioning technology based on a Wi-Fi access point. Since each Wi-Fi access point has a globally unique MAC address, the terminal can scan and collect the broadcast signals of the surrounding Wi-Fi access points when Wi-Fi is turned on, so the MAC address broadcasted by the Wi-Fi access point can be obtained; the terminal sends these data (such as MAC addresses) that can identify the Wi-Fi access point to the location server through the wireless communication network, and the location server retrieves the geographical location of each Wi-Fi access point, and calculates the geographical location of the terminal based on the strength of the Wi-Fi broadcast signal and sends it to the positioning device 108 of the terminal.

[0084] The audio circuit 109, the speaker 113, and the microphone 114 can provide an audio interface between the user and the mobile phone 300. The audio circuit 109 can transmit the electrical signal converted from the received audio data to the speaker 113, which is converted into a sound signal for output; on the other hand, the microphone 114 converts the collected sound signal into an electrical signal, which is received by the audio circuit 109 and converted into audio data, and then outputs the audio data to the RF circuit 102 to be sent to, for example, another mobile phone, or outputs the audio data to the memory 103 for further processing.

[0085] The peripheral interface 110 is used to provide various interfaces for external input / output devices (such as keyboard, mouse, external display, external memory, user identification module card, etc.). For example, it is connected to the mouse through a universal serial bus (USB) interface, and is connected to the user identification module card (SIM) card provided by the telecommunications operator through the metal contacts on the user identification module card slot. The peripheral interface 110 can be used to couple the above-mentioned external input / output peripheral devices to the processor 101 and the memory 103.

[0086] In the embodiment of the present application, the first terminal 100 can establish a connection with the display of the second terminal 200 through its peripheral interface 110, so that the first terminal 100 and the second terminal 200 can communicate with each other.

[0087] The mobile phone 300 may also include a power supply device 111 (such as a battery and a power management chip) for supplying power to various components. The battery may be logically connected to the processor 101 via the power management chip, thereby managing functions such as charging, discharging, and power consumption through the power supply device 111.

[0088] although Figure 5 Not shown, the mobile phone 300 may also include a camera (front camera and / or rear camera), a flash, a micro-projection device, a near field communication (NFC) device, etc., which will not be described in detail here.

[0089] A display method provided by an embodiment of the present application will be described in detail below in conjunction with a specific embodiment. Figure 6 As shown, the method includes:

[0090] 501. A first terminal establishes a connection with a second terminal so that the first terminal and the second terminal can communicate with each other.

[0091] The first terminal may establish a communication connection with the second terminal via communication methods such as Bluetooth, Wi-Fi, or ZigBee, and the embodiment of the present application does not impose any limitation on this.

[0092] like Figure 7 As shown, after the first terminal 100 establishes a connection with the second terminal 200, the first application container corresponding to the first terminal 100 and the second application container corresponding to the second terminal can be distinguished by different DisplayIDs. Figure 7 The application tasks in the first application container correspond to the display interface of the first terminal 100 , and the application tasks in the second application container correspond to the display interface of the second terminal 200 .

[0093] In this way, when the user operates application A on the first terminal 100, the first terminal 100 is triggered to store the related application tasks generated by application A in the first application container, and the first terminal 100 executes the application tasks in the first application container and outputs them on the display interface of the first terminal 100; and when it is detected that the user operates application B on the second terminal 200, the first terminal 100 can store the related application tasks generated by application B in the second application container, and the first terminal 100 executes the application tasks in the second application container and outputs them on the display interface of the second terminal 200.

[0094] At this time, the application B running in the display interface of the second terminal 200 is the target application. Then, when the first terminal 100 is disconnected from the second terminal 200, for example, the data line between the first terminal 100 and the second terminal 200 is poorly connected, or when the user walks out of the maximum connection distance between the first terminal 100 and the second terminal 200 when answering a call using the first terminal 100, the first terminal can continue to execute the following steps 502-505.

[0095] 502. When the first terminal is disconnected from the second terminal, the first terminal stops inputting the first display data to the second terminal, so that the target application running in the display interface of the second terminal is closed.

[0096] The first display data is the display content displayed on the display interface of the second terminal before the first terminal is disconnected from the second terminal. At this time, the display interface of the second terminal can be called the first interface, and the display interface of the first terminal can be called the second interface. The first interface is different from the second interface. For example, Figure 7 In the example, the first interface is a display interface of application B, and the second interface is a display interface of application A.

[0097] In addition, the above-mentioned target application can be a video application, a text application, an instant messaging application, a game application, etc., and the embodiments of the present application do not impose any restrictions on this.

[0098] When the first terminal is disconnected from the second terminal, the communication between the first terminal and the second terminal is interrupted. At this time, the first display data generated in the first terminal for the display of the second terminal (for example, the display data generated when the application task in the above-mentioned second application container is executed) cannot be output to the display of the second terminal, so that the window of the target application running in the display interface of the second terminal will be forced to close.

[0099] like Figure 8 As shown, after the first terminal 100 is disconnected from the second terminal 200, the window of application B (target application) originally running in the display interface of the second terminal 200 is forcibly closed, and the second terminal 200 switches back to the native state. Figure 8 As shown, the native state can be a standby state with no signal input. Of course, the native state can also be any state set in the operating system of the second terminal 200 itself, such as a locked screen state or a black screen state.

[0100] 503. The first terminal records historical display data of the second terminal when the first terminal is disconnected from the second terminal, where the historical display data is used to indicate display content of the second terminal at this time.

[0101] 504. When the first terminal establishes a connection with the second terminal again, the first terminal obtains the above historical display data.

[0102] 505. The first terminal sends second display data to the second terminal according to the historical display data, so that the window of the target application is restored in the display interface of the second terminal.

[0103] Among them, the second display data is the display content displayed on the display interface of the second terminal after the first terminal and the second terminal establish a connection again. At this time, the display interface of the second terminal can be called the third interface, which is associated with the first interface displayed on the second terminal before the connection is disconnected.

[0104] For example, the application displayed in the third interface is the same application as the application displayed in the first interface; or; the interface displayed in the third interface is exactly the same as the interface displayed in the first interface, and the interface displayed in the third interface and the interface displayed in the first interface are adjacent interfaces in the same application, etc. Below, the embodiments of the present application will elaborate on this in combination with specific embodiments.

[0105] In order to achieve seamless connection of the target application in the display interface of the second terminal when the first terminal and the second terminal are connected again, when the first terminal and the second terminal are disconnected, the first terminal saves the historical display data indicating the content displayed by the second terminal at this time.

[0106] It should be noted that there is no timing restriction between step 503 and step 502. When the first terminal is disconnected from the second terminal, the first terminal may first execute step 502 and then step 503, or first execute step 503 and then step 502, or may also execute steps 502-503 simultaneously. The embodiment of the present application does not impose any restrictions on this.

[0107] In a possible design method, the historical display data may specifically be an application task of the target application in the second application container.

[0108] For example, Fig. 9 As shown, when the first terminal 100 is disconnected from the second terminal 200, the first terminal 100 can add a second terminal identifier to the application task of the target application (i.e., application B) in the second application container at this time, and move the application task to the first application container corresponding to the display interface of the first terminal 100 for storage, and then delete the second application container.

[0109] Then, when the first terminal 100 and the second terminal 200 are subsequently connected, Fig.10 As shown, the first terminal 100 can recreate a second application container corresponding to the display interface of the second terminal 200, and restore the application task of the application B in the first application container to the second application container according to the second terminal identifier.

[0110] In this way, Fig.13 As shown, the first terminal 100 can continue to execute the application tasks in the restored second application container and display it in the display interface of the second terminal 200, thereby restoring the window of application B before the connection is disconnected in the display interface of the second terminal 200, and realizing seamless continuation of application B before and after the connection is disconnected.

[0111] In another possible design method, the above-mentioned historical display data can specifically be the running status information of the above-mentioned target application when the connection is disconnected, for example, at least one of the application package name, path information and encryption information of the target application when the connection is disconnected.

[0112] For example, Fig.11 As shown, when the first terminal 100 is disconnected from the second terminal 200, the first terminal 100 can extract the application package name and other running status information of application B according to the application task of the target application (i.e., application B) in the second application container at this time, and save the running status information to the read-only memory (ROM) of the first terminal, and then delete the second application container.

[0113] Then, when the first terminal 100 and the second terminal 200 are subsequently connected, Fig.12 As shown, the first terminal 100 can re-create a second application container for the display interface of the second terminal, and restore the application task of application B in the second application container according to the running status information of application B stored in the ROM.

[0114] In this way, Fig.13 As shown, the first terminal 100 can continue to execute the application tasks in the restored second application container and display it in the display interface of the second terminal 200, thereby restoring the window of application B before the connection is disconnected in the display interface of the second terminal 200, and realizing seamless continuation of application B before and after the connection is disconnected.

[0115] Furthermore, the above-mentioned running status information may also include the historical position of the window of application B when the connection is disconnected. In this way, the first terminal can restore the window of application B at the corresponding position in the display interface of the second terminal according to the historical position, so that the display position of the window of application B on the second terminal is the same before and after the connection is disconnected, further improving the user experience when the terminal is displayed on multiple screens.

[0116] In addition, since the running status information of application B is stored in the ROM of the first terminal, the running status information will not be lost even after the first terminal is shut down and restarted. That is to say, in the above embodiment, even if the first terminal is shut down and restarted after the first terminal is disconnected from the second terminal, when the first terminal is restored to the second terminal, the first terminal can also restore the window of the above application B in the display interface of the second terminal, so as to realize the seamless connection of application B before and after the disconnection.

[0117] In some embodiments of the present application, Fig.14 As shown in FIG. 1 , when the first terminal 100 and the second terminal 200 are in a connected state, a window of application B is displayed in the display interface of the second terminal 200. When the first terminal 100 and the second terminal 200 are disconnected, if the first terminal 100 only records the application package name of application B in the display interface of the second terminal 200, then when the first terminal 100 and the second terminal 200 are restored to the connection, the window of application B is still displayed in FIG. Fig.14 As shown, the first terminal 100 can restart application B in the display interface of the second terminal 200 according to the recorded application package name of application B. At this time, the display interface in the window of application B in the display interface of the second terminal 200 may be different from the display interface in the window of application B before disconnection.

[0118] In other embodiments of the present application, Fig.15 As shown in the figure, when the first terminal 100 and the second terminal 200 are connected, a window of a reading application is displayed in the display interface of the second terminal 200. For example, the text content of page 18 is being displayed in the window. When the first terminal 100 and the second terminal 200 are disconnected, the first terminal 100 can record the application package name of the reading application and the number of pages currently displayed: page 18. Then, when the first terminal 100 and the second terminal 200 are restored to the connection, the reading application can be displayed as follows. Fig.15 As shown, the first terminal 100 can restart the reading application in the display interface of the second terminal 200 according to the recorded application package name of the reading application, and the first terminal 100 can further re-display the text content of page 18 in the display interface of the second terminal 200 according to the recorded currently displayed page number, that is, the document content displayed in the above-mentioned third interface is the same as the document content displayed in the first interface, thereby realizing seamless continuation of the reading application of the second terminal 200 before and after the connection is disconnected.

[0119] In other embodiments of the present application, Fig.16As shown, when the first terminal 100 and the second terminal 200 are in a connected state, a window of an instant messaging application is displayed in the display interface of the second terminal 200, and the user is entering a chat message in the input box of the instant messaging application, and the chat message has not been sent. When the first terminal 100 and the second terminal 200 are disconnected, the first terminal 100 can record the application package name of the instant messaging application, the current chat history, and the chat message entered in the input box. Then, when the first terminal 100 and the second terminal 200 are restored to the connection, the chat message is still the same. Fig.16 As shown, the first terminal 100 can restart the instant messaging application in the display interface of the second terminal 200 according to the recorded application package name of the instant messaging application, and the first terminal 100 can further restart the instant messaging application according to the recorded chat history and the chat draft entered in the input box (for example Fig.16 The chat history of the user and the chat draft input in the input box are displayed again on the display interface of the second terminal 200, so as to realize the seamless connection of the instant messaging application of the second terminal 200 before and after the connection is disconnected.

[0120] In other embodiments of the present application, Fig.17 As shown in the figure, when the first terminal 100 and the second terminal 200 are connected, a window of a game application is displayed in the display interface of the second terminal 200, for example, the game interface of "Gold Miner" in level 1 is being displayed. When the first terminal 100 and the second terminal 200 are disconnected, the first terminal 100 can record the application package name of the game application and the current level: level 1. Then, when the first terminal 100 and the second terminal 200 are restored to the connection, the game application window is displayed as shown in the figure. Fig.17 As shown, the first terminal 100 can restart the game application in the display interface of the second terminal 200 according to the recorded application package name of the game application, and the first terminal 100 can further display the system interface of entering the first level of "Gold Miner" in the display interface of the second terminal 200 according to the level where the game application on the second terminal 200 is stopped when the connection is disconnected. At this time, the above-mentioned game start interface (i.e., the third interface) is an adjacent interface of the game interface (i.e., the first interface) of "Gold Miner" in the first level before the connection is disconnected.

[0121] Then, after the user clicks the "First Level" button in the system interface of the first level of "Gold Miner" displayed on the second terminal 100, the second terminal 200 can be triggered to display the game interface after entering the first level, thereby restoring the window of the game application on the second terminal 200 before and after the connection is disconnected, and realizing the continuation of the game application before and after the connection is disconnected on the second terminal 200. Of course, the user can also trigger the first terminal 100 to send a jump instruction to the second terminal 200 on the first terminal 100. At this time, the first terminal 100 sends the display data of the game interface (i.e., the first interface) of "Gold Miner" in the first level to the second terminal 200, so that the second terminal 200 displays the game interface after entering the first level. The embodiment of the present application does not impose any restrictions on this.

[0122] In other embodiments of the present application, the target application may specifically be a player application, such as Fig.18 As shown in (a) of FIG. 1 , after the first terminal 100 and the second terminal 200 are connected, the user can open application A on the first terminal 100 to view a document content, and at the same time open the above-mentioned player application on the second terminal 200 to watch a TV series. For example, the user is watching the fifth episode of "House of Cards". At this time, Fig.18 As shown in (b), if the first terminal 100 is disconnected from the second terminal 200, the first terminal 100 turns off the fifth episode of "House of Cards" being played on the display of the second terminal 200, and the display of the second terminal 200 presents a no-signal input state. Moreover, when the first terminal 100 is disconnected from the second terminal 200, the first terminal 100 may also record the historical display data of the second terminal 200 at this time, for example, moving the application task generated by the above-mentioned player application in the second application container corresponding to the second terminal 200 (for example, displaying the interface of the 15th minute of the fifth episode of "House of Cards") to the first application container corresponding to the first terminal 100. Then, if the first terminal 100 is subsequently connected to the second terminal 200, the first terminal 100 may re-create the above-mentioned second application container for the display of the second terminal 200 and move the above-mentioned application task back to the second application container. In this way, Fig.18 As shown in (c), the first terminal 100 can continue to execute the application tasks in the restored second application container and display it in the display interface of the second terminal 200, thereby restoring the interface of the 15th minute of the 5th episode of "House of Cards" in the display interface of the second terminal 200, so that the playback progress of the video in the above-mentioned third interface is the same as the playback progress of the video in the first interface, thereby realizing seamless continuation of the player application before and after the connection is disconnected.

[0123] In addition, before the first terminal 100 is disconnected from the second terminal 200, multiple applications may be displayed on the first interface of the second terminal 200, for example, windows of multiple applications. Then, when the first terminal 100 is restored to the second terminal 200, there is at least one application that is the same as the application in the first interface among the applications restored in the third interface of the second terminal 200, or the application restored in the third interface of the second terminal 200 may be a subset of the application displayed in the first interface, or the application restored in the third interface of the second terminal 200 may be exactly the same as the application displayed in the first interface. The embodiments of the present application do not impose any restrictions on this.

[0124] Furthermore, if Fig.19 As shown, when the first terminal 100 is disconnected from the second terminal 200, the first terminal 100 can also switch the application B running in the second terminal 200 to the display interface of the first terminal 100 for execution.

[0125] At this time, the current display interface of the first terminal 100 can be called a fourth interface, and the fourth interface is also associated with the third interface displayed on the second terminal 200 before the connection is disconnected.

[0126] Exemplarily, the interface elements in the fourth interface displayed on the first terminal 100, such as icons of applications or controls, are the same as the interface elements in the third interface displayed on the second terminal 200, but the display specification information such as the size and resolution of each interface element in the fourth interface may be different from the display specification information of each interface element in the third interface.

[0127] For example, the third interface displayed on the second terminal 200 before the connection is disconnected is the 18th page of the ** document. Then, when the first terminal 100 is disconnected from the second terminal 200, the first terminal 100 can adjust the resolution of the display content of page 18 of the above document to a resolution suitable for the display of the first terminal 100, thereby continuing to display page 18 of the document on the display of the first terminal 100; for another example, the third interface displayed on the second terminal 200 before the connection is disconnected is the display interface of the 15th minute of video A. Then, when the first terminal 100 is disconnected from the second terminal 200, the first terminal 100 can adjust the resolution of the display interface of the 15th minute of video A so that it can continue to display the display interface of the 15th minute of video A on the display of the first terminal 100.

[0128] For example, Fig. 20As shown, when the first terminal 100 is disconnected from the second terminal 200, before deleting the second application container, the first terminal 100 can move the application task of application B in the second application container to the top of the stack of the first application container. In this way, when executing the task in the first application container, the first terminal 100 will first execute the application task of application B at the top of the stack, that is, continue to run application B in the display interface of the first terminal 100, so that when the connection is disconnected, the user can still continue to execute the related functions of application B on the first terminal 100, reducing the impact on the execution process of application B caused by the disconnection of the first terminal 100 and the second terminal 200.

[0129] For example, after the first terminal 100 is connected to the second terminal 200, a window of a reading application is running in the display interface of the second terminal 200, and the application task currently generated in the second application container is to display the 18th page of the ** document. Then, when the first terminal 100 is disconnected from the second terminal 200, the first terminal 100 adds the application task of "displaying the 18th page of the ** document" in the second application container to the top of the stack of the first application container. In this way, after the first terminal 100 executes the application task of "displaying the 18th page of the ** document" located at the top of the stack of the first application container, the 18th page of the ** document is displayed in the display interface of the first terminal 100, so that after the connection is disconnected, the application running in the second terminal 200 switches to the display interface of the first terminal 100 and continues to run.

[0130] For another example, after the first terminal 100 is connected to the second terminal 200, a window of a game application is running in the display interface of the second terminal 200, and the application task currently generated in the second application container is to display the game interface of level 6. Then, when the first terminal 100 is disconnected from the second terminal 200, the first terminal 100 adds the application task of "displaying the game interface of level 6" in the second application container to the top of the stack of the first application container. In this way, after the first terminal 100 executes the application task of "displaying the game interface of level 6" located at the top of the stack of the first application container, the game interface of level 6 in the above-mentioned game application is displayed in the display interface of the first terminal 100, so that after the connection is disconnected, the application running in the second terminal 200 switches to the display interface of the first terminal 100 and continues to run.

[0131] For another example, after the first terminal 100 is connected to the second terminal 200, a window of a video application is running in the display interface of the second terminal 200, and the application task currently generated in the second application container is to play the 20th minute interface of the fifth episode of "House of Cards". Then, when the first terminal 100 is disconnected from the second terminal 200, the first terminal 100 adds the application task of "playing the 20th minute interface of the fifth episode of "House of Cards"" in the second application container to the top of the stack of the first application container. In this way, after the first terminal 100 executes the application task of "playing the 20th minute interface of the fifth episode of "House of Cards"" located at the top of the stack of the first application container, the 20th minute interface of the fifth episode of "House of Cards" is played in the display interface of the first terminal 100, so that after the connection is disconnected, the application running in the second terminal 200 is switched to the display interface of the first terminal 100 to continue running.

[0132] In addition, when the first terminal 100 moves the application task of application B in the second application container to the top of the stack of the first application container, it can adjust the application task of application B in the second application container according to the resolution, DPI and other specification information of the display of the second terminal 200 so that it meets the specification information of the display of the second terminal 200.

[0133] For another example, the resolution of the first terminal 100 is A, and the resolution of the second terminal 200 is B. General player applications often support displays with multiple resolutions (for example, application B supports displays with resolutions A and B when it is listed on the application market). Then, when the first terminal 100 is disconnected from the second terminal 200, the first terminal 100 can modify the resolution parameter of application B to B, and then move the application task of application B in the second application container to the top of the stack of the first application container, so that the user can view the display content that matches its resolution on the display of the second terminal 200, thereby improving the user experience.

[0134] It is understandable that, in order to realize the above functions, the above-mentioned terminals etc. include hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments of the present application.

[0135] The embodiment of the present application can divide the functional modules of the above-mentioned terminal etc. according to the above-mentioned method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0136] In the case of dividing each functional module into corresponding functional modules, Fig.21 A possible structural diagram of a terminal involved in the above embodiment (for example, the above first terminal or the second terminal) is shown. The terminal includes: a communication unit 1101, a control unit 1102 and a recording unit 1103.

[0137] The communication unit 1101 is used to support the terminal to execute Figure 6 Processes 501 and 505 in the control unit 1102 are used to support the terminal to execute Figure 6 The recording unit 1103 is used to support the terminal to execute Figure 6 Process 503 in the above method embodiment. All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0138] In the case of an integrated unit, Fig. 22 A possible structural diagram of a terminal (e.g., the first terminal or the second terminal) involved in the above embodiment is shown. The terminal includes: a processing module 1302 and a communication module 1303. The processing module 1302 is used to control and manage the actions of the terminal. The communication module 1303 is used to support the communication between the terminal and other network entities. The terminal may also include a storage module 1301 for storing program codes and data of the terminal.

[0139] Among them, the processing module 1302 can be a processor or a controller, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logic boxes, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 1303 can be a transceiver, a transceiver circuit or a communication interface, etc. The storage module 1301 can be a memory.

[0140] When the processing module 1302 is a processor, the communication module 1303 is an RF transceiver circuit, and the storage module 1301 is a memory, the terminal provided in the embodiment of the present application can be Figure 5 A mobile phone 300 is shown.

[0141] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can appear in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD) or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0142] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A display method, characterized in that: include: The first terminal establishes a communication connection with the second terminal; the first terminal displays a first interface of a first application; The first terminal sends first display data to the second terminal, where the first display data corresponds to a second interface of a second application, and the first interface is different from the second interface; The first terminal stores a first application task of the first application in a first application container, and stores a second application task of the second application in a second application container, wherein the application container refers to a storage space specially allocated in a memory of the first terminal for storing application tasks generated during the running of an application when the first terminal runs the application; The first terminal is disconnected from the second terminal; The first terminal stores the second application task in the first application container; The first terminal and the second terminal establish a communication connection again; The first terminal restores the second application task to the second application container; The first terminal sends second display data to the second terminal, the second display data corresponds to a third interface of the second application, and the third interface is associated with the second interface.

2. The method according to claim 1, characterized in that The third interface being associated with the second interface includes: the third interface is the same as the second interface.

3. The method according to claim 1 or 2, characterized in that: The first application container corresponds to a first display identifier, and the second application container corresponds to a second display identifier.

4. The method according to claim 1 or 2, characterized in that: The communication connection includes a Bluetooth connection or a Wi-Fi connection.

5. The method according to claim 1 or 2, characterized in that: The display position of the third interface is the same as that of the second interface.

6. The method according to claim 1 or 2, characterized in that: The first terminal sending the second display data to the second terminal includes: The first terminal sends the second display data to the second terminal according to the recorded historical display data, where the historical display data indicates display content of the second interface of the second application.

7. The method according to claim 6, characterized in that The historical display data includes at least one of a package name of the second application, path information, encryption information, and a historical location of the second interface before the first terminal is disconnected from the second terminal.

8. The method according to claim 1 or 2, characterized in that: After the first terminal is disconnected from the second terminal, the method further includes: The first terminal displays a fourth interface of the second application.

9. The method according to claim 1 or 2, characterized in that: The first terminal storing the second application task in the first application container includes: The first terminal stores the second application task in the top of the stack of the first application container.

10. The method according to claim 8, characterized in that The fourth interface is associated with the third interface.

11. The method according to claim 10, characterized in that The fourth interface is associated with the third interface including: interface elements in the fourth interface are the same as interface elements in the third interface.

12. A terminal comprising a processor and a memory; the memory is used to store computer-executable instructions, and when the processor executes the computer-executable instructions, the terminal executes the display method according to any one of claims 1 to 11.

13. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the instructions are executed on a terminal, the terminal executes the display method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Method for managing display communication connection

    CN105022598A