Display control method, device, computer-readable storage medium, and computer device

By synchronizing the content of the display screen in a multi-screen terminal, the problem of users needing to view other display screens is solved, and the convenience and efficiency of the problem-solving process is improved.

CN113312015BActive Publication Date: 2025-07-04GUANGZHOU TENCENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010122967.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-27
Publication Date
2025-07-04
Estimated Expiration
2040-02-27

AI Technical Summary

Technical Problem

When an existing multi-screen terminal encounters a problem, other users need to watch the user's display screen to provide a solution to the problem, resulting in inefficient problem solving.

Method used

When the process of the first display screen receives the target event, the task is executed and the content is displayed, and the content is sent to the process of the second display screen at the same time, so that the content of the first display screen is simultaneously displayed on the second display screen, and the content synchronization between the multi-screen terminals is realized.

Benefits of technology

No other users need to watch the first display screen to provide problem solving methods through the second display screen, which improves the convenience and efficiency of problem solving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113312015B_ABST
    Figure CN113312015B_ABST
Patent Text Reader

Abstract

The present application relates to a display control method, apparatus, computer-readable storage medium, and computer device. When a task corresponding to a target event is executed in a first process corresponding to a first display screen, a user corresponding to the first display screen can operate or view corresponding first display content through the first display screen. At the same time, the second display screen simultaneously displays the first display content and the second display content. That is, the user corresponding to the second display screen can, while viewing the content displayed on the second display screen itself, also view the first display content corresponding to the first display screen. Thus, when the user corresponding to the first display screen encounters a problem, the user corresponding to the second display screen can provide a problem-solving method for the user corresponding to the first display screen while observing the second display screen, without having to view the first display screen. Therefore, the problem-solving process is made more convenient and the problem-solving efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display technologies, and particularly to a display control method, apparatus, computer-readable storage medium, and computer device. Background Art

[0002] With the rapid development of mobile communication technologies, mobile terminals (such as mobile phones, tablet computers, etc.) have become increasingly popular. To meet people's requirements for a larger screen display area on the terminal, multi-screen terminals have emerged as the times require. A multi-screen terminal includes multiple display screens that can display content simultaneously. When a user operates or views one of the display screens, other users can simultaneously operate or view other display screens.

[0003] The existing display mode of multi-screen terminals is usually that different display screens display different content. When one user encounters a problem, other users need to view the display screen corresponding to that user in order to promptly know what problem the user has encountered, so as to provide corresponding problem-solving methods.

[0004] However, this processing process requires users to view the display screens of other users, which is likely to cause inconvenience to the users providing problem-solving methods and reduce the problem-solving efficiency. Summary of the Invention

[0005] Based on this, in view of the technical problems existing in the prior art, it is necessary to provide a display control method, apparatus, computer-readable storage medium, and computer device that can improve the problem-solving efficiency.

[0006] A display control method, the method includes:

[0007] When a first process corresponding to a first display screen receives a target event, execute a task corresponding to the target event through the first process, and display first display content corresponding to the task on the first display screen;

[0008] Send the first display content to a second process corresponding to a second display screen, where the second display screen and the first display screen correspond to the same terminal;

[0009] When displaying second display content corresponding to the second process on the second display screen, simultaneously display the first display content on the second display screen through the second process.

[0010] A display control apparatus, the apparatus includes:

[0011] A preset task execution unit, configured to, when a first process corresponding to a first display screen receives a target event, execute a task corresponding to the target event through the first process, and display first display content corresponding to the task on the first display screen;

[0012] A display content sending unit, configured to send the first display content to a second process corresponding to a second display screen, where the second display screen and the first display screen correspond to the same terminal;

[0013] A display content control unit, configured to, when the second display screen displays second display content corresponding to the second process, simultaneously display the first display content on the second display screen through the second process.

[0014] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor is caused to execute the steps of the above display control method.

[0015] A computer device includes a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to execute the steps of the above display control method.

[0016] For the above display control method, device, computer-readable storage medium, and computer device, when a first process corresponding to a first display screen receives a target event, the first process executes a task corresponding to the target event and displays first display content corresponding to the task on the first display screen; send the first display content to a second process corresponding to a second display screen, where the second display screen and the first display screen correspond to the same terminal; when the second display screen displays second display content corresponding to the second process, simultaneously display the first display content on the second display screen through the second process.

[0017] When the first process corresponding to the first display screen executes a task corresponding to the target event, a user corresponding to the first display screen can operate or view corresponding first display content through the first display screen. At the same time, the second display screen simultaneously displays the first display content and the second display content. That is, a user corresponding to the second display screen can, while viewing the content displayed on the second display screen itself, also view the first display content corresponding to the first display screen. Thus, when the user corresponding to the first display screen encounters a problem, the user corresponding to the second display screen can provide a problem-solving method while observing the second display screen without having to view the first display screen, thereby making the problem-solving process more convenient and improving the problem-solving efficiency. Description of the Drawings

[0018] Figure 1 It is an application environment diagram of the display control method in an embodiment;

[0019] Figure 2 It is a schematic flowchart of the display control method in an embodiment;

[0020] Figure 3Schematic diagram of the interface of the first display screen in an embodiment;

[0021] Figure 4 Schematic diagram of the display content when the first display screen performs a face brushing operation in an embodiment;

[0022] Figure 5 Schematic flowchart of the display control method in another embodiment;

[0023] Figure 6 Schematic flowchart of sending the first display content to the second process through a canvas transfer connection in an embodiment;

[0024] Figure 7 Schematic diagram of the screen display interface of the second display screen when the number of the first display screens is multiple in an embodiment;

[0025] Figure 8 Schematic flowchart of the display control method in still another embodiment;

[0026] Figure 9 Schematic diagram of another style of the first display screen and the second display screen in an embodiment;

[0027] Figure 10 Schematic diagram of a dual - screen terminal applied to cashier management in an embodiment;

[0028] Figure 11 Schematic diagram of the display interfaces of the front screen and the rear screen of a dual - screen terminal in an embodiment;

[0029] Figure 12 Timing diagram of information interaction between the front - screen process and the rear - screen process in an embodiment;

[0030] Figure 13 Schematic diagram of the structure of a display control device in an embodiment;

[0031] Figure 14 Schematic diagram of the structure of a display control device in another embodiment;

[0032] Figure 15 Schematic block diagram of a computer device in an embodiment. Detailed implementation manners

[0033] In order to make the objectives, technical solutions and advantages of the present application more clear and understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0034] Figure 1 Application environment diagram of the display control method in an embodiment, refer to Figure 1, the display control method can be applied to a multi-screen terminal, which includes a display screen 10 and a processor 20 for controlling the display screen. The display screen 10 at least includes a first display screen 10a and a second display screen 10b ( Figure 1 In the example, there are 3), and different display screens 10 can be operated or viewed by different users. The processor 20 can control the display content of each display screen 10.

[0035] For example Figure 2 As shown, in one embodiment, a display control method is provided. In this embodiment, the method is mainly illustrated by taking the application of the method to the processor 20 in the above Figure 1 . Referring to Figure 2 , the display control method specifically includes the following steps:

[0036] Step S200, when the first process corresponding to the first display screen receives a target event, execute the task corresponding to the target event through the first process, and display the first display content corresponding to the task on the first display screen.

[0037] Among them, the first process refers to the screen process corresponding to the first display screen. A process is a running activity of a program with independent functions regarding a certain data set. In this embodiment, the content displayed on the first display screen corresponds to the activity content of the first process.

[0038] The target event can be a condition for triggering the display of the first display content of the first display screen on the second display screen in this application. Optionally, the target event includes: operation events such as clicking, long-pressing, or dragging on a target icon and / or target control on the first display screen. For example, as Figure 3 shown, it is an example diagram with face brushing as the trigger condition. A face brushing icon ( Figure 3 the upper box) and / or a face brushing control ( Figure 3 the lower long box) are displayed on the first display screen. The user can perform a click operation on the face brushing icon through a human-computer interaction device, and / or perform a drag operation on the face brushing control. The human-computer interaction device can specifically be, for example, a mouse, a keyboard, etc.; in addition, when the display screen is a touch display screen, the user can also directly perform relevant operations through the display screen.

[0039] When the multi-screen terminal receives an input of a click or long-press on the face brushing icon by the user, or receives an input of a drag on the face brushing control by the user, the first process corresponding to the first display screen starts to execute the task of face brushing the user corresponding to the first display screen (that is, the user in front of the first display screen, operating or viewing the first display screen). At this time, the first display content displayed on the first display screen is as Figure 4 shown, Figure 4 in which the human-shaped area M in

[0040] It can be understood that the target event can also be a control instruction input event in the form of voice or the like. For example, the user can say instructions such as "turn on face recognition" through a voice input device (such as a microphone). The present application does not limit the type of the target event.

[0041] Correspondingly, the display control method in the present application further includes: setting a target icon and / or a target control on the first display screen. Specifically, before providing the multi-screen terminal to the user for use, the icon or control corresponding to the function that the user is more likely to encounter usage problems can be set as the target icon or target control. Thus, when the user uses this function, the method steps of the display control method of the present application can be automatically triggered. In addition, when setting the target icon and / or the target control, it may further include setting the display position and display size of the icon and / or the control, etc.

[0042] Step S300: Send the first display content to the second process corresponding to the second display screen, where the second display screen and the first display screen correspond to the same terminal.

[0043] Wherein, the second process refers to the screen process corresponding to the second display screen. When the first process executes the task corresponding to the target event and the first display screen displays the first display content corresponding to the task, the processor sends the first display content to the second process corresponding to the second display screen for the second display screen to display.

[0044] Step S400: When the second display screen displays the second display content corresponding to the second process, simultaneously display the first display content on the second display screen through the second process.

[0045] In this step, when the user corresponding to the second display screen (that is, the user in front of the second display screen, operating or viewing the second display screen) operates or views the second display screen, the processor simultaneously displays the second display content and the first display content on the second display screen through the second process.

[0046] Wherein, when the processor controls the second display screen to simultaneously display the first display content and the second display content, it may be to control the second display screen to display all of the first display content and the second display content; or to display all of the first display content and partially display the second display content; or to partially display the first display content and display all of the second display content; or to partially display the first display content and partially display the second display content. The specific display mode of the second display screen can be adjusted according to the actual situation and is not limited herein.

[0047] For example, when the first display content of the first display screen includes content A and content B, and the second display content of the second display screen includes content C and content D, the processor may control the second display screen to simultaneously display the four contents ABCD; or simultaneously display the three contents ABC or ABD; or simultaneously display the three contents ACD or BCD; or also simultaneously display two contents such as AC / AD / BC / BD, etc.

[0048] Thus, when the first process executes the task corresponding to the target event, in addition to displaying the first display content corresponding to the task on the first display screen so that the user corresponding to the first display screen can operate or view according to the first display content, the first display content is also simultaneously displayed on the second display screen so that the user corresponding to the second display screen can provide a problem-solving method according to the first display content. At the same time, the second display screen still displays the second display content of the second process, thereby reducing the impact on the user corresponding to the second display screen.

[0049] For example, when face brushing is performed on the user corresponding to the first display screen, if the user's face is not aligned with the face brushing interface and the user is unaware of this situation resulting in a failed face brushing, the user corresponding to the second display screen can give corresponding prompts to the user corresponding to the first display screen, thereby increasing the success rate of face brushing.

[0050] This embodiment provides a display control method. When the first process corresponding to the first display screen executes the task corresponding to the target event, the user corresponding to the first display screen can operate or view the corresponding first display content through the first display screen. At the same time, the second display screen simultaneously displays the first display content and the second display content, that is, the user corresponding to the second display screen can, while viewing the content displayed on the second display screen itself, also view the first display content corresponding to the first display screen. Thus, when the user corresponding to the first display screen encounters a problem, the user corresponding to the second display screen can provide a problem-solving method for the former while observing the second display screen without having to view the first display screen, thereby making the problem-solving process more convenient and improving the problem-solving efficiency.

[0051] In one embodiment, as Figure 5 shown, before sending the first display content to the second process corresponding to the second display screen, the display control method further includes:

[0052] Step S110, create a canvas through the second process, and the canvas is displayed on the second display screen;

[0053] Step S120, establish a canvas transfer connection between the second process and the first process, and the canvas transfer connection is used to transfer the first display content to the second process corresponding to the second display screen.

[0054] Among them, the canvas is displayed on the second display screen. The canvas object is specifically the Surface object in the canvas control created based on the SurfaceView class or the GLSurfaceView class. In this embodiment, the canvas object (i.e., the display content of the canvas) is the first display content corresponding to the first display screen, so that the first display content can be displayed on the second display screen. Optionally, it can also be configured as a canvas object created based on different classes according to actual needs, as long as it can be transmitted to another process for display through the canvas transmission interface customized based on the general protocol, which is not limited here.

[0055] In addition, in this embodiment, the system environment of the multi-screen terminal is the Android system. When establishing the canvas transmission connection between the first process and the second process, the canvas transmission interface can be defined through the Android Interface Definition Language (AIDL), and the canvas transmission connection can be established through the canvas transmission interface. Optionally, for different system environments, different canvas transmission interfaces can also be defined according to the general protocol used for configuring inter-process communication in the system environment to establish the canvas transmission connection, or the canvas transmission connection can be established through other commonly used technical means in this field, which is not limited here.

[0056] In one embodiment, sending the first display content to the second process corresponding to the second display screen includes: sending the first display content to the second process through the canvas transmission connection.

[0057] Specifically, as Figure 6 shown, sending the first display content to the second process through the canvas transmission connection includes steps S302 to S306.

[0058] Step S302, sending the texture ID corresponding to the canvas to the first process;

[0059] Step S304, creating a virtual screen through the first process based on the texture ID;

[0060] Step S306, projecting the first display content onto the virtual screen so that the second process can obtain the first display content.

[0061] In this embodiment, the first display content can be sent to the second process through the canvas transmission connection between the first process and the second process, so that the processor can display the first display content on the second display screen through the second process, which is convenient for the user to view.

[0062] In one embodiment, when the second display content corresponding to the second process is displayed on the second display screen, simultaneously displaying the first display content on the second display screen through the second process includes: displaying the first display content within the area where the canvas is located through the second process, and displaying the second display content outside the area where the canvas is located.

[0063] Specifically, after the processor creates a canvas through the second process, since the canvas is displayed on the second display screen, the first display content can be displayed within the area where the canvas is located. At the same time, the second display content of the second display screen itself is still displayed outside the area where the canvas is located. Thus, when the user corresponding to the second display screen views the first display content, they can also view their own second display content, thereby reducing the impact on the user corresponding to the second display screen.

[0064] In one embodiment, step S110 of creating a canvas through the second process includes steps 112 to 114.

[0065] Step 112: Obtain canvas creation parameters, where the canvas creation parameters include canvas size parameters and canvas position parameters;

[0066] Step 114: Based on the canvas size parameters and canvas position parameters, create a canvas on the second display screen through the second process.

[0067] Among them, the canvas size parameters are used to determine the size of the canvas. The canvas size parameters may specifically include the length, width, etc. of the canvas. The canvas position parameters are used to determine the position of the canvas on the second display screen. The canvas position parameters may specifically include the coordinates of the canvas. Based on the canvas creation parameters, a corresponding canvas can be created on the second display screen, so that the first display content corresponding to the first display screen can be displayed on the second display screen through the canvas, facilitating the user to view.

[0068] In one embodiment, when the number of first display screens is multiple, simultaneously displaying the first display content on the second display screen through the second process includes: respectively displaying the first display content corresponding to each first display screen on the second display screen through the second process.

[0069] Specifically, as Figure 7 shown, it is an example diagram of the screen display interface of the second display screen when the number of first display screens is multiple. Referring to Figure 7 , when the first display screen includes at least the first display screen a1 and the first display screen a2, the first display content corresponding to each first display screen can be displayed on different canvases of the second display screen b. For example, Figure 7In it, within the area of canvas 1, the first display content S_A1 corresponding to the first display screen a1 is displayed, within the area of canvas 2, the first display content S_A2 corresponding to the first display screen a2 is displayed, and outside the areas of canvas 1 and canvas 2, the second display content S_B corresponding to the second display screen b is still displayed. Thus, the user corresponding to the second display screen can simultaneously view the display contents of the display screens corresponding to multiple other users. Even when multiple other users encounter problems simultaneously, the user corresponding to the second display screen can still provide problem-solving methods for multiple other users through the second display screen, thereby further improving the problem-solving efficiency.

[0070] Correspondingly, in this embodiment, the display control method further includes: presetting the display positions of the respective first display contents corresponding to the respective first display screens on the second display screen. Specifically, when creating canvases corresponding to multiple first display screens through the second process, by setting different canvas creation parameters, specifically, by setting different canvas position parameters, the canvases corresponding to the respective first display screens are made to be displayed at different positions on the second display screen. Thus, the respective first display contents corresponding to the respective first display screens can be arranged and displayed on the second display screen in an orderly manner, making the interface more beautiful, and the user corresponding to the second display screen can also quickly determine the corresponding display screen according to the different display positions.

[0071] In one embodiment, as Figure 8 shown, the display control method further includes: step S500, when the task corresponding to the target event is completed, stop sending the first display content to the second process corresponding to the second display screen.

[0072] Specifically, when the first process finishes the task corresponding to the target event, for example, when the face-swiping operation task for the user corresponding to the first display screen is completed, at this time, the first process has obtained the facial image of this user. At this time, the face-swiping interface can be closed, and the user corresponding to the second display screen no longer needs to view the first display content. Thus, the sending of the first display content to the second process corresponding to the second display screen can be stopped, that is, the first display interface stops being displayed on the second display screen, and the user corresponding to the second display screen can continue to operate or view the complete second display screen.

[0073] In one embodiment, the first display screen and the second display screen are different physical display screens; or, the first display screen and the second display screen are different display screens obtained by dividing the display area of a physical display screen.

[0074] Specifically, referring to Figure 1 , in each embodiment of the present application, the first display screen and the second display screen can be separate different physical display screens; in addition, as Figure 9As shown, the first display screen and the second display screen can also be different display screens obtained by dividing the display area of the same physical display screen. The physical display screen can be a display screen with a fixed shape or a flexible display screen. That is, the first display screen and the second display screen can be different display areas of the same display screen.

[0075] In one embodiment, an application example of the display control method of the present application is provided.

[0076] As Figure 10 shown, it is a schematic diagram of a dual-screen terminal applied to cashier management. The dual-screen terminal includes a front screen (equivalent to the first display screen of the present application), a rear screen (equivalent to the second display screen of the present application), and a terminal bracket for supporting the dual-screen terminal. The front screen is used for customers (equivalent to the users corresponding to the first display screen of the present application) to operate, such as face brushing or scanning for payment. The rear screen is used for cashiers (equivalent to the users corresponding to the second display screen of the present application) to operate, such as cashier settings, viewing cashier results, etc.

[0077] As Figure 11 shown, it is a schematic diagram of the display interfaces of the front screen and the rear screen of the dual-screen terminal. When a customer clicks the face brushing payment icon on the front screen, the front screen process (equivalent to the first process of the present application) receives the input and executes the task of face brushing for the customer. At this time, the specific content displayed on the front screen can be the face brushing interface as Figure 4 shown. At the same time, the processor of the dual-screen terminal sends the content displayed on the front screen to the rear screen process (equivalent to the second process of the present application), and through the rear screen process, the content displayed on the front screen and the content displayed on the rear screen are simultaneously displayed on the rear screen. Among them, the content displayed on the front screen is the face brushing interface within the square area (i.e., the canvas area), and the content displayed on the rear screen is the collection items and collection amounts, etc. above the screen. Thus, when the cashier is conducting cashiers, they can also view the face brushing payment situation on the front screen. If the customer's face is not aligned with the face brushing interface, the cashier can give a timely reminder, thereby solving the problem of face brushing failure caused by the customer's face not being aligned.

[0078] As Figure 12 shown, it is a timing diagram of information interaction between the front screen process and the rear screen process. In this embodiment, the process of information interaction between the front screen process and the rear screen process includes the following steps:

[0079] (1) Create a canvas displayed on the rear screen through the rear screen process, and establish a canvas transfer connection between the front screen process and the rear screen process;

[0080] (2) When the front screen process receives the click input of "face brushing payment", display the face brushing interface on the front screen through the front screen process, and display the face image of the customer obtained through the camera;

[0081] (3) Send the content displayed on the front screen to the back screen process through the canvas connection, and display the content displayed on the front screen on the canvas of the back screen through the back screen process, that is, display the face-scanning interface and the customer's face image on the back screen;

[0082] At this time, the cashier can determine whether the customer's face is aligned with the camera by watching the back screen. When the customer's face image acquisition fails because the customer is not aligned with the camera, the cashier can promptly remind the customer to ensure that the customer's face is aligned with the camera, so as to ensure that the customer's face image can be successfully acquired;

[0083] (4) When it is determined that the customer's face image has been successfully acquired, the "face-scanning payment" event can be confirmed to be completed. At this time, stop sending the content displayed on the front screen to the back screen process, and the back screen also stops displaying the content displayed on the front screen.

[0084] Under reasonable conditions, it should be understood that although the steps in the flowcharts involved in the foregoing embodiments are displayed in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in each flowchart may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.

[0085] In one embodiment, as Figure 13 shown, a display control device is provided. The display control device is set in a multi-screen terminal. The multi-screen terminal includes at least a first display screen and a second display screen. The display control device includes:

[0086] A preset task execution unit 200, configured to, when a first process corresponding to the first display screen receives a target event, execute the task corresponding to the target event through the first process, and display the first display content corresponding to the task on the first display screen;

[0087] A display content sending unit 300, configured to send the first display content to a second process corresponding to the second display screen, and the second display screen and the first display screen correspond to the same terminal;

[0088] A display content control unit 400, configured to, when displaying the second display content corresponding to the second process on the second display screen, simultaneously display the first display content on the second display screen through the second process.

[0089] This embodiment provides a display control device. When the first process corresponding to the first display screen executes the task corresponding to the target event, the user corresponding to the first display screen can operate or view the corresponding first display content through the first display screen. At the same time, the second display screen simultaneously displays the first display content and the second display content. That is, the user corresponding to the second display screen can view the first display content corresponding to the first display screen while viewing the content displayed on the second display screen itself. Thus, when the user corresponding to the first display screen encounters a problem, the user corresponding to the second display screen can provide a problem-solving method while observing the second display screen without having to view the first display screen, thereby making the problem-solving process more convenient and improving the problem-solving efficiency.

[0090] In one embodiment, as Figure 14 shown, the display control device further includes:

[0091] A canvas creation unit 110, configured to create a canvas through a second process, and the canvas is displayed on the second display screen;

[0092] A canvas transfer connection establishment unit 120, configured to establish a canvas transfer connection between the second process and the first process.

[0093] In one embodiment, the display content sending unit 300 is further configured to: send the first display content to the second process through the canvas transfer connection.

[0094] In one embodiment, the display content sending unit 300 is further configured to: send the texture ID corresponding to the canvas to the first process; create a virtual screen through the first process based on the texture ID; project the first display content onto the virtual screen so that the second process can obtain the first display content.

[0095] In one embodiment, the display content control unit 400 is further configured to: display the first display content within the area where the canvas is located through the second process, and display the second display content outside the area where the canvas is located.

[0096] In one embodiment, the canvas creation unit 110 is further configured to: obtain canvas creation parameters, where the canvas creation parameters include canvas size parameters and canvas position parameters; step 112, create a canvas on the second display screen through the second process based on the canvas size parameters and the canvas position parameters.

[0097] In one embodiment, the display content control unit 400 is further configured to: display each first display content corresponding to each first display screen at different positions on the second display screen through the second process.

[0098] In one embodiment, the display control device further includes: a display position setting unit, configured to set the display positions of each first display content corresponding to each first display screen on the second display screen.

[0099] In one embodiment, the display content sending unit 300 is further configured to: after the task corresponding to the target event is completed, stop sending the first display content to the second process corresponding to the second display screen.

[0100] Figure 15 The internal structure diagram of a computer device in one embodiment is shown. The computer device may specifically be the multi-screen terminal in this application. As Figure 15 shown, the computer device includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The display screen includes at least a first display screen and a second display screen. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement the display control method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can execute the display control method. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device may be a touch layer covered on the display screen, or a button, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, touchpad, or mouse, etc.

[0101] Those skilled in the art can understand that Figure 15 the structure shown in is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0102] In one embodiment, the display control device provided by this application can be implemented in the form of a computer program, and the computer program can run on a computer device as Figure 15 shown. Each program module constituting the display control device may be stored in the memory of the computer device. For example, Figure 13 the preset task execution unit, the display content sending unit, and the display content control unit shown in. The computer program constituted by each program module enables the processor to execute the steps in the display control method of each embodiment of this application described in this specification.

[0103] For example, Figure 15 the computer device shown can be connected through such as Figure 13The preset task execution unit in the display control device shown executes the steps of, when a first process corresponding to a first display screen receives a target event, executing a task corresponding to the target event through the first process, and displaying first display content corresponding to the task on the first display screen. The computer device may execute the step of sending the first display content to a second process corresponding to a second display screen through the display content sending unit. The computer device may execute the step of, when displaying second display content corresponding to the second process on the second display screen, simultaneously displaying the first display content on the second display screen through the second process by the display content control unit.

[0104] In one embodiment, a computer device is provided, including a memory and a processor. When a computer program stored in the memory is executed by the processor, the processor is caused to execute the steps of the above display control method. The steps of the display control method here may be the steps in the display control methods of the above various embodiments.

[0105] In one embodiment, a computer-readable storage medium is provided, storing a computer program. When the computer program is executed by the processor, the processor is caused to execute the steps of the above display control method. The steps of the display control method here may be the steps in the display control methods of the above various embodiments.

[0106] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it may include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the various embodiments provided in this application may include non-volatile and / or volatile memories. Non-volatile memories may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.

[0107] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.

[0108] The above-described embodiments merely represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the appended claims.

Claims

1. A display control method, characterized in that, The method includes: When a first process corresponding to a first display screen receives a target event, execute a task corresponding to the target event through the first process, and display first display content corresponding to the task on the first display screen; the target event is triggered when a first user operates the first display screen; the first display content corresponds to the active content of the first process; During the execution of the task, send the first display content to a second process corresponding to a second display screen, where the second display screen and the first display screen correspond to the same terminal; When the second display content corresponding to the second process is displayed on the second display screen, simultaneously display the first display content on the second display screen through the second process, so that a second user of the second display screen can provide a problem-solving method for the first user by viewing the second display screen; After the task corresponding to the target event is executed, stop sending the first display content to the second process corresponding to the second display screen.

2. The display control method according to claim 1, wherein Before sending the first display content to the second process corresponding to the second display screen, the method further includes: Create a canvas through the second process, and the canvas is displayed on the second display screen; Establish a canvas transfer connection between the second process and the first process, where the canvas transfer connection is used to transfer the first display content to the second process corresponding to the second display screen.

3. The display control method according to claim 2, wherein The sending the first display content to the second process corresponding to the second display screen includes: Send the first display content to the second process through the canvas transfer connection.

4. The display control method according to claim 3, wherein The sending the first display content to the second process through the canvas transfer connection includes: Send the texture ID corresponding to the canvas to the first process; Based on the texture ID, create a virtual screen through the first process; Project the first display content onto the virtual screen so that the second process can obtain the first display content.

5. The display control method according to claim 4, wherein The simultaneously displaying the first display content on the second display screen through the second process when the second display content corresponding to the second process is displayed on the second display screen includes: Display the first display content within the area where the canvas is located and display the second display content outside the area where the canvas is located through the second process.

6. The display control method according to claim 1, wherein When the number of first display screens is multiple, the simultaneously displaying the first display content on the second display screen through the second process includes: Display each first display content corresponding to each first display screen on the second display screen respectively through the second process.

7. A display control device, characterized in that, The device includes: A preset task execution unit, configured to when a first process corresponding to a first display screen receives a target event, execute a task corresponding to the target event through the first process, and display first display content corresponding to the task on the first display screen; the target event is triggered when a first user operates the first display screen; the first display content corresponds to the active content of the first process; A display content sending unit, configured to send the first display content to a second process corresponding to a second display screen during the execution of the task, where the second display screen and the first display screen correspond to the same terminal; A display content control unit, configured to, when the second display screen displays the second display content corresponding to the second process, simultaneously display the first display content on the second display screen through the second process, so that a second user of the second display screen can provide a problem-solving method for a first user by viewing the second display screen; The display content sending unit is further configured to stop sending the first display content to the second process corresponding to the second display screen when the task corresponding to the target event is completed.

8. The display control device according to claim 7, wherein The device further includes: A canvas creation unit, configured to create a canvas through the second process, where the canvas is displayed on the second display screen; A canvas transfer connection establishment unit, configured to establish a canvas transfer connection between the second process and the first process, where the canvas transfer connection is used to transfer the first display content to the second process corresponding to the second display screen.

9. The display control device according to claim 8, wherein The display content sending unit is specifically configured to: Send the first display content to the second process through the canvas transfer connection.

10. The display control device according to claim 9, wherein The display content sending unit is specifically configured to: Send the texture ID corresponding to the canvas to the first process; Create a virtual screen through the first process based on the texture ID; Project the first display content onto the virtual screen so that the second process can obtain the first display content.

11. The display control device according to claim 10, wherein The display content control unit is specifically configured to: Display the first display content in the area where the canvas is located and display the second display content outside the area where the canvas is located through the second process.

12. The display control device according to claim 7, characterized in that, When the number of the first display screens is multiple, the display content control unit is specifically configured to: Display each first display content corresponding to each first display screen on the second display screen through the second process.

13. A computer-readable storage medium storing a computer program, which when executed by a processor causes the processor to execute the steps of the method according to any one of claims 1 to 6.

14. A computer device including a memory and a processor, where the memory stores a computer program, which when executed by the processor causes the processor to execute the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Display method and mobile terminal

    CN106201395A

  • Dual-screen mobile-terminal, corresponding manipulation method and storage medium

    CN108205430A