Quick scheduling management method for display control interface
By obtaining and comparing the OpenGL graphic attributes of the display and control interface, and generating and issuing the attributes to be configured, the problem of low efficiency in the display and control interface scheduling management in the existing technology is solved, and efficient interface scheduling switching and performance improvement is achieved.
Patent Information
- Application Number
- CN202411748947.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-02
- Publication Date
- 2025-05-13
AI Technical Summary
The existing display and control interface scheduling management method is difficult to achieve efficient interface scheduling switching, which affects the user experience.
By obtaining the current display and control interface number, querying the display and control interface number of the next frame, obtaining and comparing the OpenGL graphics attributes, generating the OpenGL graphics attributes to be configured, and posting them to the graphics processor for rendering.
It realizes efficient scheduling and switching of the display and control interface, improves the scheduling performance of the interface, and improves the user experience.
Smart Images

Figure CN119987603A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of computer graphics, and in particular relates to a display control interface rapid scheduling management method. Background Art
[0002] The display and control interface refers to the operation interface that is touched when adjusting the display and control equipment. It is one of the core modules of the computer. For example, when using buttons to adjust the equipment, the corresponding options and menus displayed on the screen, or various information of the equipment, including dashboards or external input information, etc. As the main link of human-computer interaction, the scheduling and management method of the display and control interface affects the user experience. Therefore, it is necessary to adapt the scheduling and management method of the display and control interface and design a fast scheduling and management method of the display and control interface. Summary of the invention
[0003] In order to solve the above technical problems existing in the background technology, the present invention provides a display control interface fast scheduling management method, which can be used for scheduling switching of the display control interface and improve the scheduling performance of the interface. The technical solution of the present invention is: the present invention is a display control interface fast scheduling management method, which is special in that: the method includes the following steps:
[0004] 1) Get the current display and control interface number;
[0005] 2) Query the next frame display and control interface number in the interface scheduling code;
[0006] 3) Get the OpenGL graphics attributes of the next frame;
[0007] 4) Current attribute configuration of the graphics processor;
[0008] 5) OpenGL graphics attribute comparison operation;
[0009] 6) Generate the OpenGL graphics attributes that need to be configured;
[0010] 7) Receive current graphics attribute configuration change information;
[0011] 8) Send to the graphics processor module.
[0012] Furthermore, in step 1), the display control interface is a multi-level display control, such as: divided into primary display control, secondary display control and tertiary display control, which can be switched in sequence; the display control interface has the following attributes: interface number, OpenGL graphics attributes and interface scheduling code.
[0013] Further, in step 2), the next frame display control interface number is searched in the interface scheduling code through external input;
[0014] Furthermore, in step 2), the external input is a sensor or a button.
[0015] Furthermore, in step 3), the display control interface number of the next frame is queried according to step 2); and the OpenGL graphics attribute configuration of the next frame is obtained.
[0016] Furthermore, in step 4), the current attribute configuration information of the graphics processor is recorded.
[0017] Furthermore, in step 5), the current attribute configuration information of the graphics processor in step 4) is compared with the OpenGL graphics attributes of the next frame obtained in step 3). If they are the same, the current attribute configuration information is not modified. If they are different, the inconsistent information between the current attribute configuration information and the OpenGL graphics attributes of the next frame is changed to be consistent, and consistent OpenGL graphics attribute configuration information is generated and sent to step 6) and step 7) respectively.
[0018] Furthermore, in step 6), the OpenGL graphics attribute configuration information sent in step 5) is received, and the OpenGL graphics attributes to be configured are generated.
[0019] Furthermore, in step 7), the OpenGL graphics attribute configuration information sent in step 5) is received, and the OpenGL graphics attribute configuration information is recorded in the current attribute configuration of the graphics processor in step 4).
[0020] Furthermore, in step 8), the attribute information sent by the OpenGL graphics attributes to be configured generated in step 6) is received and sent to the graphics processor for rendering.
[0021] The present invention provides a display control interface rapid management method, which achieves efficient and effective rapid management when performing interface scheduling on a display control application. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 The present invention is a flow chart of the method. DETAILED DESCRIPTION
[0023] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0024] See also Figure 1 The steps of a specific embodiment of a display control interface quick management method of the present invention are as follows:
[0025] 1) Get the current display and control interface number;
[0026] The display and control interface is divided into primary display and control, secondary display and control and tertiary display and control (multi-level display and control), which can be switched in sequence; the display and control interface has the following attributes: interface number, OpenGL graphics attribute and interface scheduling code;
[0027] 2) Query the next frame display and control interface number in the interface scheduling code;
[0028] Find the next frame display control interface number in the interface scheduling code through external input (sensor or button);
[0029] 3) Get the OpenGL graphics attributes of the next frame;
[0030] According to step 2), query the display control interface number of the next frame to obtain the OpenGL graphics attribute configuration of the next frame;
[0031] 4) Current attribute configuration of the graphics processor; record the current attribute configuration information of the graphics processor;
[0032] 5) OpenGL graphics attribute comparison operation;
[0033] The current attribute configuration information of the graphics processor in step 4) is compared with the OpenGL graphics attributes of the next frame obtained in step 3). If they are the same, the current attribute configuration information is not modified. If they are different, the inconsistent information between the current attribute configuration information and the OpenGL graphics attributes of the next frame is changed to be consistent, and consistent OpenGL graphics attribute configuration information is generated and sent to step 6) and step 7) respectively.
[0034] 6) Generate the OpenGL graphics attributes that need to be configured;
[0035] Receive the OpenGL graphics attribute configuration information sent in step 5), and generate the OpenGL graphics attributes to be configured.
[0036] 7) Current graphics attribute configuration change information;
[0037] Receive the OpenGL graphics attribute configuration information sent in step 5), and record the OpenGL graphics attribute configuration information to the current attribute configuration of the graphics processor in step 4).
[0038] 8) Send to the graphics processor;
[0039] Receiving step 6) generates the attribute information sent by the OpenGL graphics attributes to be configured, and sends it to the graphics processor for rendering.
[0040] The content of the present invention and the technical content not specifically described in the above embodiments are the same as the prior art.
[0041] The above are only specific embodiments disclosed in the present invention, but the protection scope of the present invention is not limited thereto. The protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for rapid scheduling management of a display and control interface, characterized in that: The method comprises the following steps: 1) Get the current display and control interface number; 2) Query the next frame display and control interface number in the interface scheduling code; 3) Get the OpenGL graphics attributes of the next frame; 4) Current attribute configuration of the graphics processor; 5) OpenGL graphics attribute comparison operation; 6) Generate the OpenGL graphics attributes that need to be configured; 7) Receive current graphics attribute configuration change information; 8) Send to the graphics processor.
2. The method for rapid scheduling and management of a display and control interface according to claim 1, characterized in that: In the step 1), the display control interface is a multi-level display control, such as: divided into primary display control, secondary display control and tertiary display control, which can be switched in sequence; the display control interface has the following attributes: interface number, OpenGL graphics attributes and interface scheduling code.
3. The display control interface rapid scheduling management method according to claim 2, characterized in that: In the step 2), the next frame display control interface number is searched in the interface scheduling code through external input.
4. The display control interface rapid scheduling management method according to claim 2, characterized in that: In the step 2), the external input is a sensor or a button.
5. The display control interface rapid scheduling management method according to claim 3, characterized in that: In the step 3), the display control interface number of the next frame is queried according to the step 2); and the OpenGL graphics attribute configuration of the next frame is obtained.
6. The display control interface rapid scheduling management method according to claim 5, characterized in that: In the step 4), the current attribute configuration information of the graphics processor is recorded.
7. The method for rapid scheduling and management of the display and control interface according to claim 6, characterized in that: In the step 5), the current attribute configuration information of the graphics processor in step 4) is compared with the OpenGL graphics attributes of the next frame obtained in step 3). If they are the same, the current attribute configuration information is not modified. If they are different, the inconsistent information between the current attribute configuration information and the OpenGL graphics attributes of the next frame is changed to be consistent, and consistent OpenGL graphics attribute configuration information is generated and sent to step 6) and step 7) respectively.
8. The display control interface rapid scheduling management method according to claim 7, characterized in that: In the step 6), the OpenGL graphics attribute configuration information sent in step 5) is received, and the OpenGL graphics attributes to be configured are generated.
9. The display control interface rapid scheduling management method according to claim 8, characterized in that: In the step 7), the OpenGL graphics attribute configuration information sent in step 5) is received, and the OpenGL graphics attribute configuration information is recorded in the current attribute configuration of the graphics processor in step 4).
10. The display control interface rapid scheduling management method according to claim 9, characterized in that: In the step 8), the attribute information sent by the OpenGL graphics attributes to be configured generated in step 6) is received and sent to the graphics processor for rendering.