Object control method and system, display terminal and medium

By receiving object switching operations in the scene where multiple operating systems share display panels, determining the switching strategy and controlling the operation sequence, the problem of overlapping content in traditional technology is solved, the orderly display of multiple operating systems is achieved, and the user experience and vehicle are improved. Safety.

CN119088257APending Publication Date: 2024-12-06CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411109182.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

In the scenario where multiple operating systems share display panels, traditional technology lacks effective scheduling and control mechanisms, resulting in overlapping display content, affecting user experience and vehicle safety.

Method used

By receiving object switching operations on the display panel, determining the switching strategy, controlling the exit of the current object and displaying new objects, adopting the principle of hiding first and then displaying, ensuring the operating behavior order of the operating system, and using status codes and flag bit mechanisms to manage the operation sequence. Avoid content conflicts.

Benefits of technology

The orderly content switching of multiple operating systems on the display panel is realized, avoiding the problem of content overlap, and ensuring user experience and vehicle safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088257A_ABST
    Figure CN119088257A_ABST
Patent Text Reader

Abstract

The invention relates to an object control method and system, a display terminal and a medium, and the method comprises the steps: receiving an object switching operation when a display panel displays a first object, and the first object corresponds to a first operation system; when the switching operation indicates that the first object displayed by the display panel is switched to a second object, a switching strategy of the object is determined, and the second object corresponds to a second operating system; and controlling to execute operations of exiting the first object and displaying the second object based on the switching strategy. By orderly controlling behaviors of operating the display panel by multiple systems, the problem of display content overlapping in a traditional implementation mode is effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a control method, system, display terminal and medium for an object. Background Art

[0002] With the development of vehicle intelligence, in-vehicle terminals integrate more and more personalized functions to serve user needs. Therefore, more and more content needs to be displayed on the display devices of in-vehicle terminals. In-vehicle terminals usually use multiple systems to control the vehicle driving status and support user entertainment-related applications to meet user needs. The traditional display panel lacks scheduling and control mechanisms for the displayed graphic content, resulting in overlapping displayed content in some cases, which seriously affects the user experience and even affects the information conveyed to users about vehicle safe driving. Summary of the invention

[0003] The present application provides an object control method to solve the overlapping problem that occurs when multiple operating systems reuse the same display panel due to the independent operating systems displaying content on the display panel.

[0004] In a first aspect, the present application provides a method for controlling an object, which is applicable to an application scenario where multiple operating systems share a display panel, including:

[0005] When the display panel displays a first object, receiving an object switching operation, the first object corresponding to the first operating system;

[0006] When the switching operation indicates that the first object displayed on the display panel is switched to a second object, determining a switching strategy for the object, the second object corresponding to a second operating system;

[0007] The operations of exiting the first object and displaying the second object are executed based on the switching strategy control.

[0008] In some embodiments of the present application, receiving a switching operation of an object includes:

[0009] receiving a display request initiated by an operating system to use the display panel;

[0010] The step of switching the first object displayed on the display panel to a second object according to the switching operation instruction includes:

[0011] A second object on the display panel is determined according to the priority of the object displayed corresponding to the display request.

[0012] In some embodiments of the present application, when the switching operation indicates that the first object displayed on the display panel is switched to a second object, determining a switching strategy for the object includes:

[0013] determining an operating system involved in a process in which the display panel switches from a first object to a second object;

[0014] The sequence of operations to be executed for exiting the first object and displaying the second object corresponding to the operating system is determined, and the operation of exiting the first object is taken as the operation to be executed first.

[0015] In some embodiments of the present application, the switching strategy includes:

[0016] An exit instruction is first sent to the first operating system that executes the operation of exiting the first object, and a display instruction is sent to the second operating system that executes the display of the second object after the first operating system completes the operation of exiting the first object.

[0017] In some embodiments of the present application, determining the switching strategy of the object includes:

[0018] Based on the second operating system, determining a predefined status code of a usage status of the display panel by the second operating system;

[0019] Determining a preset identification code of a flag bit for indicating a usage status of the display panel;

[0020] Based on the status code and the identification code, a status code combination from the identification code to the status code is queried from a predetermined switching table, each status code in the status code combination represents a usage state represented by a predefined corresponding operating system's operating behavior on the display panel, and the status code sequence in the status code combination represents the execution order of the corresponding operations from the currently displayed object to the next operating system when displaying an object on the display panel.

[0021] In some embodiments of the present application, the operations of exiting the first object and displaying the second object based on the switching strategy control include:

[0022] Determine the identification code in the flag bit, and determine, based on the identification code, a status code corresponding to the identification code from the status code combination;

[0023] Determining whether the operating system corresponding to the status code is executing the operation corresponding to the status code, and if the operation is not being executed, sending an execution instruction to execute the operation to the operating system;

[0024] If the operation is being executed, the execution status of the operation is obtained, and after it is determined that the operation is completed, the next status code after the status code is determined from the status code combination, and the next status code is updated to the flag bit.

[0025] In some embodiments of the present application, the operations of exiting the first object and displaying the second object based on the switching strategy control include:

[0026] Sending the status code combination to the operating system involved in the status code combination, first sending an execution instruction for executing the corresponding operation behavior to the operating system that first executes the operation in the status code combination;

[0027] When the operating system that executed the operation first finishes execution, the operating system determines the status code of the operation it executed based on the received status code combination, determines the status code to be executed later based on the status code, and sends an execution instruction to the operating system that executes the operation with the later status code.

[0028] In a second aspect, the present application proposes an object control system, which is applicable to application scenarios where multiple operating systems share a display panel, including:

[0029] An object control module, configured to receive an object switching operation when the display panel displays a first object, wherein the first object corresponds to a first operating system;

[0030] a policy determination module, configured to determine a switching policy for the object when the switching operation indicates that the first object displayed on the display panel is switched to a second object, the second object corresponding to a second operating system;

[0031] A control execution module is used to control the execution of the operation of exiting the first object and displaying the second object based on the switching strategy.

[0032] In a third aspect, the present application provides a multi-system display terminal, comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus, wherein the processor is configured to execute the control method of the object described in any one of the above-mentioned embodiments.

[0033] In a fourth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the control method of the object described in any one of the above items of the present application.

[0034] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art: when multiple operating systems output display content to a shared area, the sequence of operation behaviors corresponding to the multiple operating systems is clarified, and the execution of the operation behaviors of the relevant operating systems in the specified area is controlled according to the sequence, so that the display content of the multiple operating systems in the specified area is changed in an orderly manner without interfering with each other, effectively solving the problem of display content overlap in the traditional implementation method. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0037] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0038] Figure 1 A flow chart of a control method for an object provided in an embodiment of the present application;

[0039] Figure 2 A flowchart of a method for determining graphic content to be displayed on a display panel provided in an embodiment of the present application;

[0040] Figure 3 A flow chart of a method for determining a switching strategy provided in an embodiment of the present application;

[0041] Figure 4 A schematic diagram of a method flow for determining graphic content provided in an embodiment of the present application;

[0042] Figure 5 A schematic diagram of a method for controlling the switching operation of graphic content provided by an embodiment of the present application;

[0043] Figure 6 A flow chart of a method for controlling the switching operation of graphic content according to a switching strategy provided in an embodiment of the present application;

[0044] Figure 7 A schematic diagram of the structure of a vehicle-mounted multi-system display terminal implemented by a control method of an object provided in the present application in an embodiment of the present application;

[0045] Figure 8 A schematic diagram of the structure of a control system of an object provided in an embodiment of the present application;

[0046] Fig. 9 A schematic diagram of the structure of a multi-system display terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0048] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0049] In order to solve the problem of overlapping display content on a display panel in conventional technology, the present application provides an object control method to solve the overlapping problem that occurs when multiple operating systems reuse the same display panel due to independent operating systems displaying content on the display panel.

[0050] Figure 1 A control method for an object provided in an embodiment of the present application is applicable to an application scenario where multiple operating systems share a display panel, including:

[0051] Step S1: When a first object is displayed on a display panel, an object switching operation is received, where the first object corresponds to a first operating system;

[0052] Step S2: when the switching operation indicates switching the first object displayed on the display panel to the second object, determining the object switching strategy, the second object corresponds to the second operating system;

[0053] Step S3: controlling the execution of the operations of exiting the first object and displaying the second object based on the switching strategy.

[0054] In the embodiments of the present application, the display panel refers to a display device commonly used by multiple operating systems, or all or part of an area in a display device, and the display panel does not need to be restarted and / or the signal source is switched when multiple operating systems are used alternately;

[0055] The object refers to the graphic content displayed by the operating system on the display panel, that is, the rendered visible graphic content. The first operating system refers to the operating system that is using the display panel, and the first object refers to the graphic content displayed by the first operating system on the display panel; the second operating system refers to other operating systems that have not yet displayed content on the display panel, and the second object refers to the graphic content to be displayed by the other operating systems;

[0056] The switching operation is that multiple operating systems send display requests to display graphic content on the display panel;

[0057] The switching strategy refers to a strategy of switching from a first operating system that is displaying graphic content to another operating system to display the corresponding graphic content after responding to a display request sent by the operating system.

[0058] In step S1, when the current display panel is displaying graphic content of a certain operating system for the user, the control program implemented by the method of the present application receives in real time display requests from other operating systems to be displayed on the display panel.

[0059] In step S2, the control program determines whether to allow other operating systems to display the requested graphic content based on the received display requests from other operating systems through preset logic. For example, based on the initiation time of the display request, a first-come-first-served approach is used to determine whether the other operating system that initiates the display request first can display the requested graphic content on the display panel.

[0060] In some embodiments of the present application, display requests issued by multiple operating systems are arbitrated according to the corresponding priorities between the operating systems, and display requests issued by operating systems with high priorities are preferentially allowed to display their graphic content on the display panel.

[0061] In some embodiments of the present application, display requests of multiple operating systems are arbitrated in a comprehensive manner based on the priorities between operating systems and the priorities of graphic content. For example, in some embodiments, graphic content of multiple levels with lower graphic content priorities are subject to the priority of the operating system, that is, the priority arbitration weight between operating systems is higher than the weight corresponding to the graphic content priority. Specifically, assuming that the graphic content has 7 levels of priority, the lower level 4-7 priorities can be set to obey the priority of the operating system weight. If the priorities of the graphic content corresponding to two display requests, one display request has a higher priority than the other display request, but its operating system priority is lower than the priority of the other operating system, then the other operating system is arbitrated to perform the display operation on the display panel;

[0062] Correspondingly, level 1-3 is set as the priority range that the operating system obeys. When the priority of the graphic content of the display request is within the range of level 1-3, if the request to be displayed can be arbitrated by the priority of the graphic content of the display request, then there is no need to consider the priority corresponding to the operating system. If the priorities of the graphic content are the same, the display request can be arbitrated according to the priority corresponding to the operating system.

[0063] Further, in step S2, after it is determined that other operating systems are allowed to display the requested graphic content, a switching strategy is formulated according to the operating system currently displaying the content and the other operating systems that will display the graphic content. The switching strategy follows the principle of "hiding first, then displaying", and is formulated so that the changes in the graphic content brought about by the operation of multiple operating systems on the display panel do not affect each other. For the situation where there are multiple operating systems with corresponding graphic content displayed on the display panel at the same time, for example, the graphic content corresponding to multiple operating systems is displayed in layers and step by step, then according to the order of the displayed content, or the exit order of the UI design, the operation order of gradually exiting the graphic content displayed by each operating system is formulated. And a corresponding supervision and scheduling mechanism for exiting the display is formulated according to the operation order. At the same time, the content to be displayed should also follow the established display order of the UI design, and orderly display operations and corresponding supervision and scheduling mechanisms are formulated for the collaborative display of multiple operating systems, and finally a switching strategy is formed.

[0064] In step S3, the switching strategy in step S2 is executed, and the operating system currently using the display panel is controlled to exit the display content through the switching strategy. After it completely exits the display content, other operating systems that have been determined are controlled to display the requested graphic content on the display panel.

[0065] like Figure 2 As shown, Figure 2 A flowchart of a method for determining graphic content to be displayed on a display panel provided in an embodiment of the present application includes:

[0066] Step S21: receiving a display request initiated by the operating system to use a display panel;

[0067] Step S2 includes:

[0068] Step S22: Determine a second object on the display panel according to the priority of the object displayed corresponding to the display request.

[0069] In this embodiment, for the application scenario of multiple operating systems, in some cases, there may be multiple display requests for the display panel at the same time, or even multiple application processes in one operating system may require their content to be displayed on the display panel at the same time. There may be a lot of competition for the right to use the display panel. For this scenario, the control program needs to receive display requests initiated by each operating system to display graphic content on the display panel. After receiving the corresponding multiple display requests, first confirm the priority of the graphic content corresponding to the multiple display requests and the priority corresponding to the graphic content currently being displayed. If the priority of the corresponding graphic content in the multiple display requests is higher than the priority of the graphic content being displayed, the graphic content with the highest priority is selected from the graphic content corresponding to the display request higher than the graphic content being displayed as the graphic content to be displayed on the display panel.

[0070] Furthermore, if there is no graphic content with a priority higher than the priority corresponding to the graphic content being displayed, the right to use the graphic content being displayed on the display panel is still maintained.

[0071] Furthermore, if there are multiple graphic content with higher priorities than the graphic content being displayed, and the priorities are the same, the graphic content for which the display request is initiated first is determined as the graphic content to be displayed on the display panel according to the initiation order of the requests.

[0072] In some embodiments of the present application, the priority of the graphic content is preset to identify the importance of the graphic content displayed on the display device.

[0073] In some embodiments of the present application, the display request includes the priority of the graphic content requested to be displayed, and the control program only needs to compare the priorities carried in multiple display requests with the priority of the currently displayed content to determine the graphic content to be displayed on the display panel.

[0074] like Figure 3 As shown, Figure 3 A flow chart of a method for determining a switching strategy provided in an embodiment of the present application includes:

[0075] Step S31, determining an operating system involved in a process in which a display panel switches from a first object to a second object;

[0076] Step S32: determine the sequence of operations to be executed for exiting the first object and displaying the second object corresponding to the operating system, and take the operation of exiting the first object as the operation to be executed first.

[0077] In this embodiment, after determining the display request for the content to be displayed on the display panel and the corresponding operating system, the multiple operating systems involved in the area of ​​the graphic content to be displayed on the display panel should be determined first. For example, if the graphic content to be displayed requires all the content currently displayed on the entire display panel to be cleared, and there is currently an operating system that is using the display panel to display the corresponding graphic content. In this case, there are two operations involved, and there are two corresponding operating systems that perform the operations, one is the exit display operation corresponding to the operating system that is currently displaying the graphic content, and the other is the display operation of the graphic content to be displayed on the display panel. Then the exit display is taken as the first operation, and the operation of displaying the graphic content is taken as the later operation.

[0078] In some embodiments of the present application, if the area corresponding to the graphic content to be displayed on the display panel does not conflict with other graphic content currently being displayed on the display panel, for example, the corresponding area is blank or does not affect the graphic content displayed thereon by other graphic content, then the operating system involved at this time is only the operating system of the graphic content to be displayed.

[0079] In some embodiments of the present application, if there are multiple operating systems that display graphic content on the display panel, the graphic content displayed by the multiple operating systems is nested or displayed in overlapping layers (designed not to affect each other), and the graphic content to be displayed needs to clear all or part of the content of the above-mentioned multiple operating systems, then multiple operating systems are involved. In this case, it is necessary to first confirm the order in which the operating systems that exit the display of the graphic content execute the exit operations. According to the above-mentioned nesting or overlapping order displayed by the multiple operating systems, the reverse exit order can be executed to determine the order of operations for exiting the display of the graphic content.

[0080] Furthermore, in some embodiments of the present application, if the graphic content to be displayed requires other operating systems to display the corresponding graphic content similar to the "background" first, then the operating system that displays the "background" graphic content also belongs to the involved operating system. In this case, it is necessary to first execute the operation of displaying the "background" graphic content, and then execute the above-mentioned graphic content determined by arbitration to be displayed.

[0081] In some embodiments of the present application, the switching strategy includes:

[0082] An exit instruction is first sent to the first operating system that executes the exit operation of the first object, and a display instruction is sent to the second operating system that executes the display of the second object after the first operating system completes the exit operation of the first object.

[0083] In some embodiments of the present application, the switching strategy includes a triggering method for the operations performed by multiple operating systems in a determined order, that is, controlling the timing of the multiple operating systems to perform their corresponding exit or display operations. For example, if the switching process of a certain graphic content includes: operating system A performs an exit graphic content operation, and operating system B performs a display graphic content operation. Then, operating system A that wants to exit the graphic content first sends a start instruction to execute the exit operation, and monitors the status of the exit operation executed by operating system A in real time. If it is monitored that the exit operation is completed, a start instruction to display the graphic content operation is sent to operating system B.

[0084] In some embodiments of the present application, if the switching process of graphic content includes multiple operating systems executing the same type of operations, then the corresponding execution instructions are sent to the corresponding operating systems in sequence according to the determined execution order, and their execution status is monitored. After the execution is completed, the start execution instruction is sent to the operating system of the subsequent operation to ensure that only one operating system operates the display panel at the same time. For example, the switching process of a certain graphic content includes: operating system A first executes the exit graphic content operation, operating system C second executes the exit corresponding graphic content operation, operating system D first executes the display graphic content operation, and operating system B last executes the display graphic content operation. The corresponding switching strategy is as in the above example, first sending an execution exit instruction to operating system A, and after operating system A completes execution, sending an execution exit instruction to operating system C, after operating system C completes execution, sending an execution display instruction to operating system D, and after operating system D completes execution, sending an execution display instruction to operating system B.

[0085] like Figure 4 As shown, Figure 4 A schematic flow chart of a method for determining graphic content provided in an embodiment of the present application includes:

[0086] Step S51: determining a predefined status code of a usage status of the display panel by the second operating system based on the second operating system;

[0087] Step S52, determining a preset identification code of a flag bit for indicating the use status of the display panel;

[0088] Step S53, based on the status code and the identification code, query the status code combination from the identification code to the status code from the predetermined switching table, each status code in the status code combination represents the usage status represented by the predefined corresponding operating system's operation behavior on the display panel, and the status code sequence in the status code combination represents the execution order of the corresponding operations from the currently displayed object to the next operating system when displaying the object on the display panel.

[0089] In some embodiments of the present application, in order to facilitate the management of the operating status of the operating system on the display panel, a flag is pre-set to identify the use status of the display panel, and the value of the flag is the status code of the corresponding operating system using the display panel. The status code is an identification code set for each operating system when using the display panel according to the operating system using the display panel. For example, operating system A and operating system B use the display panel together. The corresponding use status code includes:

[0090] Status code: 1, indicating that the display panel or the corresponding area of ​​the display panel does not have any operating system displaying graphic content;

[0091] Status code: 2, indicating that operating system A is displaying graphic content on the display panel or the corresponding area of ​​the display panel;

[0092] Status code: 3, indicating that operating system B displays graphic content on the display panel or the corresponding area of ​​the display panel;

[0093] Status code: 4, an execution instruction to exit displaying graphic content has been sent to operating system A, and operating system A is exiting the use of the display panel or the corresponding area of ​​the display panel, that is, the corresponding graphic content on the display panel is disappearing at this time;

[0094] Status code: 5, an execution instruction to exit displaying graphic content has been sent to operating system B, and operating system B is exiting the use of the display panel or the corresponding area of ​​the display panel, that is, the corresponding graphic content on the display panel is disappearing at this time.

[0095] The status code combination refers to a sequence of operating systems that have been determined to perform the exit operation first and the display operation later, when there is a conflict on the display panel or the corresponding area of ​​the display panel during the switching process of graphic content, and a string of numbers consisting of the status code of the corresponding operating system using the display panel or the corresponding area of ​​the display panel. Each digit in the number identifies the use status of the display panel or the corresponding area of ​​the display panel, for example, "2413" means the use status of the display panel when operating system A uses the display panel to operating system B uses the display panel, that is, state 2, operating system A uses the display panel or the corresponding area of ​​the display panel, followed by state 4, that is, operating system A is exiting the display of graphic content, and the corresponding graphic content is disappearing; then state 1, indicating that operating system A has completed the exit of the display of graphic content, and the display panel or the corresponding area of ​​the display panel is in a blank state; and finally state 3, indicating that operating system B is using the display panel or the corresponding area on the display panel.

[0096] Specifically, in an embodiment of the present invention, after the operating system that is about to display content on the display panel has been determined, for example, operating system B, it can be determined that the corresponding switching process will eventually cause the use status of the display panel to become state 3. At this time, it is necessary to obtain the value of the flag bit to determine the current state of the display panel, and then query the corresponding status code combination. Determine the switching process. For example, if the value of the flag bit is 2 at this time, it means that operating system A is using the display panel, or is using the corresponding area; in this state, the switching process is represented by the status code of the display panel as: 2->4->1->3. If the value of the flag bit is 4, that is, operating system A spontaneously exits the display content, then the corresponding switching process is represented by the status code of the display panel as: 4->1->3. If the value of the flag bit obtained by the query is 1, it means that the current display panel or the corresponding area of ​​the display panel is not used by any operating system, then the corresponding switching process is represented by the status code of the display panel as 1->3.

[0097] Further, as in the above example, if it has been determined that A is about to display content on the display panel or the corresponding area of ​​the display panel, and operating system B is using the display panel or the corresponding area on the display panel, then the corresponding switching process is represented by the status code combination of the display panel as "3514"; then the flag bit is queried to obtain the usage status of the display panel, and the possible switching strategies determined by the status code combination are represented by the status code of the display panel as: 3->5->1->2, 5->1->2 or 1->2.

[0098] In some embodiments of the present invention, there may be multiple exit operations or multiple display operations during the switching process of the display panel. For example, the display of a certain graphic content requires the clearing of the graphic content existing in two non-contiguous areas on the display panel, or when a certain graphic content is displayed, the exit of the currently displayed content requires two operating systems to respectively perform corresponding exit graphic content operations, or one operating system to perform orderly exit graphic content operations on the graphic content of the two non-contiguous areas. The corresponding status code may appear similar to "35512" or "24413" (as in the above example, taking operating system A and operating system B as examples), that is, the corresponding operating system needs to perform two exit operations.

[0099] In some embodiments of the present invention, if more than two operating systems use the display panel together, the corresponding status code needs to be re-compiled according to the number of operating systems. For example, if there are three operating systems, that is, the operating system C is also included in the above example, the corresponding status needs to be added:

[0100] Status code: 6, indicating that the operating system C displays graphic content on the display panel or the corresponding area of ​​the display panel;

[0101] Status code: 7, an execution instruction to exit displaying graphic content has been sent to operating system C, and operating system C is exiting the use of the display panel or the corresponding area of ​​the display panel, that is, the corresponding graphic content on the display panel is disappearing at this time.

[0102] The corresponding status code combinations also need to be appropriately recombined according to the corresponding graphic and text contents of the three operating systems and the graphic and text contents displayed.

[0103] It should be noted that in some embodiments of the present invention, the status code combination is a combination preset according to the "conflict" area of ​​the graphic content of all operating systems on the display panel. That is, each graphic content displayed on the display panel will correspond to a set of status code combinations.

[0104] like Figure 5 As shown, Figure 5 A schematic diagram of a method for controlling a switching operation of graphic content provided in an embodiment of the present application includes:

[0105] Step S51, determining the identification code in the flag bit, and determining the status code corresponding to the identification code from the status code combination according to the identification code;

[0106] Step S52: determining whether the operating system corresponding to the status code is executing the operation corresponding to the status code; if the operation is not being executed, sending an execution instruction for executing the operation to the operating system;

[0107] Step S53: if the operation is being executed, the execution status of the operation is obtained, and after determining that the operation is completed, the next status code after the status code is determined from the status code combination, and the next status code is updated to the flag bit.

[0108] In some embodiments of the present application, when determining the status code combination corresponding to the graphic content to be displayed, and executing the switching strategy according to the status code combination to implement the corresponding switching process, it is necessary to first determine the value of the identification code in the flag bit to determine the progress of the execution of the switching strategy and the status of the corresponding operation behavior. Specifically, it is necessary to determine the value of the identification code of the flag bit, and then determine from the status code combination which step the switching strategy represented by the status code has been executed based on the identification code. For example, taking the above-mentioned two operating systems sharing the display panel as an example, if the determined status code combination is "2413", the value of the flag bit obtained at this time is 4, which means that operating system A should be executing the operation of exiting the display at this time. Then it is necessary to confirm whether operating system A is executing the operation of exiting the display. If operating system A does not execute the operation of exiting the display, then send an operation to operating system A to execute the operation of exiting the display.

[0109] Furthermore, if the operating system is executing the exit display operation, the result of the exit display operation executed by operating system A is monitored in real time. If operating system A has completed the exit display operation, the value of the status code after status code 4 is determined from the status code combination, that is, status code 1, and the status code value 1 is updated to the flag bit, that is, the value of the flag bit is changed to 1, to indicate that the current use status of the display panel or the area corresponding to the display panel is 1, and there is no corresponding graphic content displayed on the display panel or the area corresponding to the display panel. At this time, it is necessary to continue to determine the progress of the status value of the current display panel in the status code combination according to the value of the flag bit. The status code combination is 1, indicating that no other operating system is currently required to operate the display panel, obtain the update of the next status code to the flag bit, that is, update the status code 3 to the flag bit, and send an instruction to display the graphic content to operating system B.

[0110] like Figure 6 As shown, Figure 6 A flow chart of a method for controlling the switching operation of graphic content according to a switching strategy provided in an embodiment of the present application includes:

[0111] Step S61, sending the status code combination to the operating system involved in the status code combination, first sending an execution instruction for executing the corresponding operation behavior to the operating system that first executes the operation in the status code combination;

[0112] Step S62: After the operating system that previously executed the operation completes execution, the operating system determines the status code of the operation it executed based on the received status code combination, determines the status code to be executed later based on the status code, and sends an execution instruction to the operating system that executes the operation with the later status code.

[0113] In some embodiments of the present application, the switching strategy implemented by the status code group and the flag mechanism can send the determined status code combination to the operating system involved in the status code combination. For example, as in the above example, the status code combination is "2413", then the status code combination "2413" can be sent to the operating system A and the operating system B. The operating system A and the operating system B determine the progress of the switching process according to the status code value in the flag and the acquired status code combination, and determine whether the current operation should be performed by themselves. If so, they execute the operation behavior specified in the status code combination. Further, after executing the operation corresponding to the status code, the subsequent execution subject (operating system) specified in the status code combination sends the start instruction of the subsequent execution of the operation represented by other status codes. Specifically, taking the status code combination "2413" as an example, when the current flag is 2, after sending the status code combination "2413" to the operating system A and the operating system B, the instruction to execute the exit display of the graphic content can be sent to the operating system A first. After the operating system A completes the execution, it directly communicates with the operating system B to tell the operating system B to execute the corresponding display of the graphic content. The flag is updated synchronously when the operation execution subject is switched.

[0114] In some embodiments of the present application, Figure 7 As shown, Figure 7 The invention shows a control scheme for implementing a multi-operating system sharing a display panel on a vehicle terminal according to the method proposed in the present application. The vehicle terminal system is deployed with an Android system and a QNX system, and the QNX system is a real-time operating system. The control program implemented by the method provided in the present application is deployed in the QNX system, and is used to receive display requests for the display panel issued by the UI process in the QNX system and the UI process in the Android system in real time, and to formulate corresponding switching strategies. The control program uses a high-speed distributed bus (FDBus, FastDistributed Bus) in the QNX system to communicate with the UI process in the Android system, and communicates with the UI process of QNX in the QNX system through the publish-subscribe mechanism (PPS, Persistent Publish-Subscribe) of the QNX system, so as to realize the control of the corresponding display of graphic content and exit of the display of graphic content on the Android system and the QNX system.

[0115] Furthermore, for the graphic content operation of the Android system and the QNX system, the status codes of the usage status of the corresponding graphic content on the display panel are defined, as follows:

[0116] Status code: 1, indicating that the display panel or the corresponding area of ​​the display panel does not have an Android system or a QNX system to display graphic content;

[0117] Status code: 2, indicating that the Android system is displaying text and graphics content on the display panel or the corresponding area of ​​the display panel;

[0118] Status code: 3, indicating that the QNX system displays graphic content on the display panel or the corresponding area of ​​the display panel;

[0119] Status code: 4, the execution instruction to exit the display of graphic content has been sent to the Android system, and the Android system is exiting the use of the display panel or the corresponding area of ​​the display panel, that is, the corresponding graphic content on the display panel is disappearing at this time;

[0120] Status code: 5. An execution instruction to exit displaying graphic content has been sent to the QNX system. The QNX system is exiting the use of the display panel or the corresponding area of ​​the display panel, that is, the corresponding graphic content on the display panel is disappearing.

[0121] At the same time, the corresponding flag Status is set in the control program to indicate the usage status of the display panel.

[0122] Furthermore, when the value of Status is 1, the control program should ensure that the display panel or the corresponding area on the display panel does not have any graphics or text content displayed by the Android system or the QNX system. That is, if there is corresponding graphics or text content, the control program should send a control command to exit the display to the corresponding operating system to clear the corresponding graphics or text content.

[0123] Furthermore, upon receiving a request for displaying graphic content from a UI process in an Android system, or a request for displaying graphic content from a UI process of a QNX system triggered by a user through an MCU (single-chip microcomputer) operation, the corresponding request for displaying graphic content is arbitrated according to the arbitration mechanism disclosed in the corresponding application. If the arbitration concludes that the graphic content initiated by the UI process of the QNX system is to be displayed, an instruction to display the graphic content is sent to the UI process of the QNX system through the PPS subscription mechanism; if the arbitration concludes that the graphic content initiated by the UI process of the Android system is to be displayed, an instruction to display the graphic content is sent to the Android system through the FDBus bus.

[0124] Further, when the value of Status is 2 or the value of Status is 3, when the control program changes the usage status of the display panel to the status corresponding to status code 1 based on the graphic content display request sent by the UI process in the Android system, or the graphic content display request sent by the UI process in the QNX system, if the value of Status is 2, that is, the UI process in the Android system is using the display panel or is using the corresponding area of ​​the display panel, then a control instruction to exit the display of graphic content is sent to the UI process in the Android system through the FDBus bus; if the value of Status is 3, an instruction to exit the display of graphic content is sent to the UI process in the QNX system through the PPS subscription mechanism.

[0125] Furthermore, when the value of Status is 2, the control program's display request to the UI process in the Android system and the UI process in the QNX system results in an arbitration result of displaying the graphic content to be displayed by the UI process in the QNX system, and it is determined that the corresponding status code combination should be "2413". The control program first sends a control instruction to exit the display of graphic content to the UI process in the Android system through the FDBus bus, and updates the value of the flag Status to 4. At the same time, it monitors the execution status of the operation of exiting the graphic content by the UI process in the Android system. After monitoring the completion of the execution, it updates the value of the flag Status to 1, and sends an instruction to display the graphic content to the UI process in the QNX system through the PPS subscription mechanism, and updates the value of the flag to 3.

[0126] Similarly, when the value of Status is 3, the control program's display request to the UI process in the Android system and the UI process in the QNX system results in an arbitration result of displaying the graphic content to be displayed by the UI process in the Android system. The corresponding status code combination is determined to be "3512", and the control program first sends a control instruction to exit the display of graphic content to the UI process in the QNX system through the PPS subscription mechanism, and updates the value of the flag to 5; after monitoring that its execution is completed, the value of the flag Status is updated to 1, and then a control instruction to request the display of graphic content is sent to the UI process in the Android system through the FDBus bus, and the value of the flag is updated to 2. This solves the overlapping phenomenon caused by the switching operation of graphic content on the shared display panel between the traditional Android system and the QNX system.

[0127] The above-mentioned technical scheme provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application arbitrates the requests of multiple operating systems to display graphic content on the display panel according to the graphic content requested, and determines the operating system involved in performing the corresponding operation and the corresponding operation sequence in the corresponding graphic content switching process according to the arbitration result, and formulates a switching strategy in which only one operating system performs operations on the display panel at the same time according to the operation sequence, thereby realizing the orderliness of the operations of multiple operating systems on the display panel, and ensuring that the operation behaviors of each operating system do not interfere with each other, and reasonably solving the content conflict problem existing in the traditional implementation method.

[0128] like Figure 8 As shown, in the second aspect of the present application, a control system for an object is proposed, which is applicable to application scenarios of designated areas of multiple operating systems, including:

[0129] The object control module 81 is used to receive an object switching operation when the display panel displays a first object, wherein the first object corresponds to a first operating system;

[0130] a policy determination module 82, configured to determine a switching policy for the object when the switching operation indicates switching the first object displayed on the display panel to a second object, the second object corresponding to a second operating system;

[0131] The control execution module 83 is used to control the execution of the operation of exiting the first object and displaying the second object based on the switching strategy.

[0132] like Fig. 9 As shown, the third aspect of the present application provides a multi-system display terminal, comprising: at least one communication interface 912; at least one bus 914 connected to the at least one communication interface; at least one processor 911 connected to the at least one bus; at least one memory 913 connected to the at least one bus, wherein the processor is configured to execute the control method of the object described in any one of the above embodiments.

[0133] According to a fourth aspect of the present application, a computer storage medium is provided, which stores computer executable instructions, and the computer executable instructions are used to execute the control method of the object described in any one of the above items of the present application.

[0134] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0135] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0136] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0137] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for controlling an object, applicable to an application scenario where multiple operating systems share a display panel, characterized in that: include: When the display panel displays a first object, receiving an object switching operation, the first object corresponding to the first operating system; When the switching operation indicates that the first object displayed on the display panel is switched to a second object, determining a switching strategy for the object, the second object corresponding to a second operating system; The operations of exiting the first object and displaying the second object are executed based on the switching strategy control.

2. The method according to claim 1, characterized in that: The receiving object switching operation includes: receiving a display request initiated by an operating system to use the display panel; The switching operation instruction switching the first object displayed on the display panel to the second object includes: A second object on the display panel is determined according to the priority of the object displayed corresponding to the display request.

3. The method according to claim 1, characterized in that When the switching operation indicates that the first object displayed on the display panel is switched to a second object, determining a switching strategy for the object includes: determining an operating system involved in a process in which the display panel switches from a first object to a second object; The sequence of operations to be executed for exiting the first object and displaying the second object corresponding to the operating system is determined, and the operation of exiting the first object is taken as the operation to be executed first.

4. The method according to claim 3, characterized in that The switching strategy includes: An exit instruction is first sent to the first operating system that executes the operation of exiting the first object, and a display instruction is sent to the second operating system that executes the display of the second object after the first operating system completes the operation of exiting the first object.

5. The method according to claim 1, characterized in that The determining the switching strategy of the object includes: Based on the second operating system, determining a predefined status code of a usage status of the display panel by the second operating system; Determining a preset identification code of a flag bit for indicating a usage status of the display panel; Based on the status code and the identification code, a status code combination from the identification code to the status code is queried from a predetermined switching table, each status code in the status code combination represents a usage state represented by a predefined corresponding operating system's operating behavior on the display panel, and the status code sequence in the status code combination represents the execution order of the corresponding operations from the currently displayed object to the next operating system when displaying an object on the display panel.

6. The method according to claim 5, characterized in that The controlling the execution of the operation of exiting the first object and displaying the second object based on the switching strategy includes: Determine the identification code in the flag bit, and determine, based on the identification code, a status code corresponding to the identification code from the status code combination; Determining whether the operating system corresponding to the status code is executing the operation corresponding to the status code, and if the operation is not being executed, sending an execution instruction to execute the operation to the operating system; If the operation is being executed, the execution status of the operation is obtained, and after determining that the operation is completed, the next status code after the status code is determined from the status code combination, and the next status code is updated to the flag bit.

7. The method according to claim 5, characterized in that The controlling the execution of the operation of exiting the first object and displaying the second object based on the switching strategy includes: Sending the status code combination to the operating system involved in the status code combination, first sending an execution instruction for executing the corresponding operation behavior to the operating system that first executes the operation in the status code combination; When the operating system that executed the operation first finishes execution, the operating system determines the status code of the operation it executed based on the received status code combination, determines the status code to be executed later based on the status code, and sends an execution instruction to the operating system that executes the operation with the later status code.

8. A control system for an object, suitable for application scenarios where multiple operating systems share a display panel, characterized in that: include: An object control module, configured to receive an object switching operation when the display panel displays a first object, wherein the first object corresponds to a first operating system; a policy determination module, configured to determine a switching policy for the object when the switching operation indicates that the first object displayed on the display panel is switched to a second object, the second object corresponding to a second operating system; A control execution module is used to control the execution of the operation of exiting the first object and displaying the second object based on the switching strategy.

9. A multi-system display terminal: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; at least one memory connected to the at least one bus, wherein: The processor is configured to execute the control method of the object as claimed in any one of claims 1 to 7.

10. A computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the control method of the object according to any one of claims 1 to 7.