[0043] In order to make the objectives, technical solutions, and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present invention.
[0044] Currently, only one application interface can be displayed on the display screen of a terminal device. If the user needs to display the interface of other applications, he needs to exit the application running in the foreground of the terminal device and switch the application running in the foreground to the application he wants to run, which is cumbersome.
[0045] In view of this, the embodiment of the present invention provides a display method, which can obtain the first operation performed by the user on the display screen of the terminal device when the display screen of the terminal device displays the interface of the first application, and the first operation is performed according to the first operation. The first area of the display screen displays the interface of the first application, and the second area of the display screen displays the interfaces of other applications running on the terminal device, thereby realizing the split-screen display method. There is no need to switch back and forth between the currently displayed application and the currently running application on the terminal device, the operation is relatively simple, and the user has a good physical examination.
[0046] The technical solutions provided by the embodiments of the present invention are described below in conjunction with the drawings.
[0047] See figure 1 The embodiment of the present invention provides a display method, which can be executed by a terminal device, such as a mobile phone, a tablet computer, etc. The flow of the display method is described as follows:
[0048] S101: Under the condition that the display screen of the terminal device displays the interface of the first application, obtain the first operation performed by the user on the display screen of the terminal device, where the first operation is that the pressing pressure on the terminal device is greater than or equal to the preset pressure Threshold operation;
[0049] S102: Based on the first operation, display the interface of the first application in the first area of the display screen, and display the interfaces of other applications running on the terminal device in the second area of the display screen.
[0050] At present, when the display screen of the terminal device displays the interface of the first application, the user wants to view or operate the interface of other applications, he needs to exit the first application and open other applications, which requires an application switching operation. Cumbersome. In the embodiment of the present invention, when the display screen of the terminal device displays the interface of the first application, if the user wants to view or operate the interface of other applications, the first operation can be performed on the display screen of the terminal device. It may be an operation in which the pressure applied to the terminal device is greater than or equal to a preset pressure threshold, that is, a pressure control operation. Wherein, the preset pressure threshold may be a pressure value set in advance.
[0051] The first application may be a game application. When the user is performing a game operation, there may be a click operation. Therefore, if the first operation is also a click operation, it may cause an accidental touch. The terminal device can consider that the first operation may be the user playing the game operating. Therefore, the first operation in the embodiment of the present invention may be a sliding operation. For some applications, the sliding operation has a higher false recognition rate than the click operation.
[0052] For possible implementations, see figure 2 with image 3 , The first operation can be a pressing operation of the user’s two fingers on the display screen, such as figure 2 Shown, and then perform the sliding operation, such as image 3 Shown. figure 2 with image 3 The terminal device is a mobile phone to indicate, figure 2 The two black dots in indicate the contact point of the finger with the display, image 3 The two arrows in indicate that two fingers slide in opposite directions to the edge of the display at the same time. Of course, the sliding operation can be that one finger does not move and the other finger slides, or two fingers slide in opposite directions at the same time. In addition, the first operation may also be a pressing operation performed on the display screen first, and then a pressing operation to be continued, that is, two consecutive pressing operations are performed.
[0053] After the terminal device obtains the first operation, it can display the interface of the first application in the first area of the display screen, and display the interfaces of other applications running on the terminal device in the second area of the display screen based on the first operation. At the same time, the interface of the first application and the interfaces of other applications are displayed on the display screen to realize the interface of split-screen display of the application. The first area and the second area may be pre-divided areas. For example, the first area may be the upper half area of the display screen, and the second area may be the lower half area of the display screen.
[0054] There may be more than one other applications running on the terminal device, there may be two or more. According to the number of other applications, the second area on the display screen displays other applications in different ways. The following respectively introduces the second area to display other applications.
[0055] The first case: the number of other applications is 1. In this case, the terminal device can display the interfaces of other applications in the second area, that is, the interfaces of other applications cover the entire second area.
[0056] The second case: the number of other applications is greater than or equal to 2. In this case, the terminal device can display the interface of other applications in the second area in the form of thumbnails, or the terminal device can also display the interface of other applications in the second area in the form of floating windows, such as Figure 4 As shown, Figure 4 To display the interface of other applications in the form of floating windows in the second area, Figure 4 Take the number of other applications 3 as an example.
[0057] Since the number of other applications is greater than or equal to 2, and the display screen of the terminal device may not be very large, if all the interfaces of other applications are displayed, then the interface of each application may be small and the user cannot view or operate. Therefore, in this case, the terminal device can obtain the selection operation performed by the user in the second area. The selection operation may be the interface of the second application selected by the user from the interfaces of other applications in the second area, that is, the user selection The interface of the second application is displayed in the second area. At this time, the terminal device can determine to select and operate the interface of the second application selected from the interfaces of other applications displayed in the second area, display the interface of the first application in the first area, and display the interface of the second application in the second area. interface. That is, the interface of the first application and the interface of the second application are simultaneously displayed on the display screen of the terminal device, such as Figure 5 Shown. Figure 5 It is a schematic diagram showing the interface of two applications on the display. In this way, all the interfaces of other applications are not displayed in the second area and the user cannot see the interface of any one of the applications clearly. Moreover, the selection operation can be an operation performed by the user himself, which can better meet the needs of the user.
[0058] In fact, there are many situations in which users operate two applications at the same time. If two applications are both game applications, and the game application has high requirements for the timeliness of user operations, if the user plays two games at the same time, neither game may be played well. The same for office applications, although users can use two office applications at the same time, for example, users use Word and PhotoShop at the same time, under normal circumstances, users only need to focus on one thing, otherwise it may make mistakes. For social applications, such as QQ, WeChat, etc., the timeliness of user operations is not high. Usually, you can open QQ, WeChat, etc. by the way when you are working, and occasionally look at other users’ messages. affecting work.
[0059] Therefore, if the application running on the terminal device includes a third application, and the third application is a social application, the terminal device may display the interface of the third application in the second area. In this case, it is not necessary to display all the interfaces of other applications running on the terminal device, and naturally there is no need for the user to perform a selection operation. Instead, the third application is automatically displayed in the second area, which is convenient for the user to use.
[0060] In the embodiment of the present invention, when the display screen of the terminal device displays the interface of the first application, the first operation performed by the user on the display screen of the terminal device can be acquired, and the first application is displayed in the first area of the display screen according to the first operation. The interface of the display screen and the interface of other applications running on the terminal device are displayed in the second area of the display screen, thereby realizing the split-screen display method.
[0061] In the embodiment of the present invention, split-screen display can be realized only through the first operation, so that the user can operate the interface of the first application and the interface of the second application at the same time, without the need for the currently displayed application and the currently running application on the terminal device Switching back and forth between, the operation is relatively simple, the user's physical examination is good.
[0062] The following describes the equipment provided by the embodiments of the present invention with reference to the accompanying drawings.
[0063] See Image 6 Based on the same inventive concept, an embodiment of the present invention provides a terminal device. The terminal device includes an acquiring unit 601 and a display unit 602. Wherein, the obtaining unit 601 may be used to obtain the first operation performed by the user on the display screen of the terminal device when the display screen of the terminal device displays the interface of the first application, where the first operation is the pressure of pressing on the terminal device Operations greater than or equal to the preset pressure threshold. The display unit 602 may be configured to display the interface of the first application in the first area of the display screen and the interfaces of other applications running on the terminal device in the second area of the display screen based on the first operation.
[0064] Optionally, the terminal device further includes a determining unit 603. among them,
[0065] The obtaining unit 601 is further configured to: obtain a selection operation performed by the user in the second area;
[0066] The determining unit 603 is configured to determine the interface of the second application selected from the interfaces of other applications displayed in the second area by the selection operation;
[0067] The display unit 602 is further configured to display the interface of the first application in the first area, and display the interface of the second application in the second area.
[0068] Optionally, the display unit 602 is also used for:
[0069] In the case that the number of other applications is greater than or equal to 2, display the interfaces of other applications in the form of thumbnails in the second area;
[0070] Or, when the number of other applications is greater than or equal to 2, the interface of other applications is displayed in the form of a floating window in the second area.
[0071] Optionally, the display unit 602 is specifically configured to: if the application running on the terminal device includes a third application, display an interface of the third application in the second area, and the third application is a social application.
[0072] Optionally, the first operation is a sliding operation.
[0073] See Figure 7 Based on the same inventive concept, an embodiment of the present invention provides a terminal device. The terminal device includes: at least one processor 701. The processor 701 is configured to execute a computer program stored in a memory to implement the figure 1 Show the steps of the display method.
[0074] Optionally, the processor 701 may specifically be a central processing unit, an application specific integrated circuit (English: Application Specific Integrated Circuit, ASIC for short), and may be one or more integrated circuits for controlling program execution.
[0075] Optionally, the terminal device further includes a memory 702 connected to at least one processor. The memory 702 may include a read-only memory (English: Read Only Memory, abbreviated as ROM), and a random access memory (English: Random Access Memory, abbreviated as: RAM) and disk storage. The memory 702 is used to store data required by the processor 701 during operation, that is, it stores instructions that can be executed by at least one processor 701, and the at least one processor 701 executes the instructions stored in the memory 702 to execute such as figure 1 The method shown. Among them, the number of the memory 702 is one or more. Among them, the memory 702 is Figure 7 Are shown in both, but you need to know that the memory 702 is not a mandatory function module, so in Figure 7 Shown in dotted lines.
[0076] Among them, the corresponding physical devices of the acquiring unit 601, the displaying unit 602, and the determining unit 603 may all be the aforementioned processor 701. The terminal device can be used to execute figure 1 The method provided by the illustrated embodiment. Therefore, for the functions that can be realized by each functional module in the device, please refer to figure 1 The corresponding description in the illustrated embodiment will not be repeated.
[0077] An embodiment of the present invention also provides a computer storage medium, wherein the computer storage medium stores computer instructions, and when the computer instructions run on the computer, the computer executes such as figure 1 The method described.
[0078] Those skilled in the art can clearly understand that for the convenience and conciseness of the description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be allocated by different functional modules as required, namely The internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the above-described system, device and unit, reference may be made to the corresponding process in the foregoing method embodiment, which will not be repeated here.
[0079] In the several embodiments provided by the present invention, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be It can be combined or integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
[0080] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
[0081] In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be realized in the form of hardware or software functional unit.
[0082] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: Universal Serial Bus flash disk (Universal Serial Bus flash disk), mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk Or various media that can store program codes, such as an optical disc.
[0083] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. In this way, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these modifications and variations.