[go: up one dir, main page]

CN116414510B - A display adjustment method based on intelligent management cockpit - Google Patents

A display adjustment method based on intelligent management cockpit Download PDF

Info

Publication number
CN116414510B
CN116414510B CN202310404834.8A CN202310404834A CN116414510B CN 116414510 B CN116414510 B CN 116414510B CN 202310404834 A CN202310404834 A CN 202310404834A CN 116414510 B CN116414510 B CN 116414510B
Authority
CN
China
Prior art keywords
display
basic data
window
code
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310404834.8A
Other languages
Chinese (zh)
Other versions
CN116414510A (en
Inventor
王庆娟
姚一杨
杨晓
周晨晖
陈麟红
陈骁
叶莘
宋磊
庄琛
王晓宇
庄志画
周璐瑶
李剑白
陈奕汝
方智淳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Zhejiang Electric Power Co Ltd
Marketing Service Center of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
State Grid Zhejiang Electric Power Co Ltd
Marketing Service Center of State Grid Zhejiang Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Zhejiang Electric Power Co Ltd, Marketing Service Center of State Grid Zhejiang Electric Power Co Ltd filed Critical State Grid Zhejiang Electric Power Co Ltd
Priority to CN202310404834.8A priority Critical patent/CN116414510B/en
Publication of CN116414510A publication Critical patent/CN116414510A/en
Application granted granted Critical
Publication of CN116414510B publication Critical patent/CN116414510B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1446Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Generation (AREA)

Abstract

本发明公开了一种基于智能管理驾驶舱的显示调整方法,包括以下步骤:S1:获取屏幕窗口的规划结果,分别确定每个窗口内显示信息的基础数据,根据窗口大小确定基础数据的显示形式,将基础数据转化为与显示形式对应的编码;S2:根据窗口规划结果,确定显示调整区域及固定区域,根据基础数据的编码对每个显示调整区域的像素进行显示参数调整,结合固定区域中像素的显示参数得到每一帧画面。本发明首先将窗口的显示信息进行判断,确定显示形式,并将基础数据进行转化,再根据显示形式对基础数据进行显示处理,通过显示形式的不同调整整体计算量,并充分发挥中央处理器和图形处理器的优势,优化显示策略,降低计算量的波动,减少卡顿。

The invention discloses a display adjustment method based on intelligent management cockpit, which includes the following steps: S1: Obtain the planning results of the screen window, determine the basic data of the display information in each window, and determine the display form of the basic data according to the window size. , convert the basic data into a code corresponding to the display form; S2: According to the window planning results, determine the display adjustment area and fixed area, adjust the display parameters of the pixels in each display adjustment area according to the coding of the basic data, and combine the results in the fixed area Pixel display parameters are obtained for each frame. The invention first judges the display information of the window, determines the display form, and converts the basic data. Then it performs display processing on the basic data according to the display form, adjusts the overall calculation amount through different display forms, and gives full play to the central processor and The advantage of the graphics processor is to optimize the display strategy, reduce the fluctuation of calculation amount, and reduce lagging.

Description

一种基于智能管理驾驶舱的显示调整方法A display adjustment method based on intelligent management cockpit

技术领域Technical field

本发明涉及数据处理领域,特别涉及一种基于智能管理驾驶舱的显示调整方法。The invention relates to the field of data processing, and in particular to a display adjustment method based on intelligent management cockpit.

背景技术Background technique

智能管理驾驶舱,是智能电网在电力调度运行智能化的具体表现,通过驾驶舱的人机界面来对智能电网的状态进行监控和决策,电力系统运行驾驶舱集智能电网的调度运行监控与维护、管理于一体,利用现代计算机图形技术等可视化技术,能够将复杂的智能电网系统的各种枯燥数据用灵活、实物化的方式进行展示,使之更加直观地展现在调度人员面前,实时反映智能电网的运行状态、设备运维状态和运行环境状态,并支持智能电网灵活控制和调度。The intelligent management cockpit is a concrete manifestation of the intelligence of smart grid in power dispatching and operation. The status of the smart grid is monitored and made decisions through the human-machine interface of the cockpit. The power system operation cockpit integrates the dispatching, operation, monitoring and maintenance of the smart grid. , management, using modern computer graphics technology and other visualization technologies, it can display various boring data of complex smart grid systems in a flexible and physical way, making it more intuitive to display in front of dispatchers and reflecting intelligence in real time. The operating status of the power grid, equipment operation and maintenance status and operating environment status, and supports flexible control and scheduling of smart grids.

由于电网涉及范围广、参数多,为了提高人机交互效率,驾驶舱中的显示屏幕一般较大,在屏幕中划分不同的区域用以显示不同的内容。且为了实现信息的动态、全面的显示,通常需要配合各种图形,图形元素绘制时尤其是动态绘制过程中,经常涉及插值、缩放、旋转、透明度变化、动画过渡、毛玻璃模糊等,甚至包括3D变换、物理运动(例如抛物线运动)、多媒体文件解码等运算,也就是说绘制过程经常需要进行逻辑较简单、但数据量庞大的浮点运算。Since the power grid involves a wide range and has many parameters, in order to improve the efficiency of human-computer interaction, the display screen in the cockpit is generally larger, and different areas are divided into different areas to display different content. In order to achieve dynamic and comprehensive display of information, it is usually necessary to cooperate with various graphics. When drawing graphic elements, especially during the dynamic drawing process, interpolation, scaling, rotation, transparency changes, animation transitions, frosted glass blur, etc. are often involved, even including 3D Transformation, physical motion (such as parabolic motion), multimedia file decoding and other operations, that is to say, the drawing process often requires floating point operations with relatively simple logic but huge data volume.

因此智能管理驾驶舱的屏幕由于面积大、显示内容种类繁多的特点,其背后的硬件承载着巨大的计算量,显示界面中任何变动都将引起计算量的变化,特别是在显示界面大幅度调整时计算量暴增,往往出现卡顿,常规的画面处理方式难以满足该场景的需求,如何解决这一问题,是目前研究的重点。Therefore, due to the large screen area and wide variety of display content in the intelligent management cockpit, the hardware behind it carries a huge amount of calculations. Any changes in the display interface will cause changes in the amount of calculations, especially when the display interface is significantly adjusted. When the amount of calculations increases dramatically, lags often occur. Conventional image processing methods cannot meet the needs of this scene. How to solve this problem is the focus of current research.

发明内容Contents of the invention

针对现有技术在显示内容变化时,容易导致瞬时计算量过大的问题,本发明提供了一种基于智能管理驾驶舱的显示调整方法,针对智能管理驾驶舱的巨大屏幕,将数据的处理、显示方式进行实时调整,最大程度减少计算量的波动,以避免暂时的卡顿。In view of the problem that the existing technology easily leads to excessive instantaneous calculation amount when the display content changes, the present invention provides a display adjustment method based on the intelligent management cockpit. For the huge screen of the intelligent management cockpit, data processing, The display mode is adjusted in real time to minimize fluctuations in calculation volume and avoid temporary lags.

以下是本发明的技术方案。The following are technical solutions of the present invention.

一种基于智能管理驾驶舱的显示调整方法,包括以下步骤:A display adjustment method based on intelligent management cockpit, including the following steps:

S1:获取屏幕窗口的规划结果,分别确定每个窗口内显示信息的基础数据,根据窗口大小确定基础数据的显示形式,将基础数据转化为与显示形式对应的编码;S1: Obtain the planning results of the screen window, determine the basic data of the information displayed in each window, determine the display form of the basic data according to the window size, and convert the basic data into a code corresponding to the display form;

S2:根据窗口规划结果,确定显示调整区域及固定区域,根据基础数据的编码对每个显示调整区域的像素进行显示参数调整,结合固定区域中像素的显示参数得到每一帧画面。S2: According to the window planning results, determine the display adjustment area and the fixed area, adjust the display parameters of the pixels in each display adjustment area according to the encoding of the basic data, and obtain each frame by combining the display parameters of the pixels in the fixed area.

本发明首先将窗口的显示信息进行判断,确定显示形式,并将基础数据进行转化,再根据显示形式对基础数据进行显示处理,通过显示形式的不同调整整体计算量,并充分发挥中央处理器和图形处理器的优势,优化显示策略,降低计算量的波动,减少卡顿,在屏幕较大的应用场景中效果更为明显。The present invention first judges the display information of the window, determines the display form, and converts the basic data, and then performs display processing on the basic data according to the display form, adjusts the overall calculation amount through different display forms, and gives full play to the central processor and The advantage of the graphics processor is to optimize the display strategy, reduce the fluctuation of calculation amount, and reduce lagging. The effect is more obvious in application scenarios with larger screens.

作为优选,所述S1中,获取屏幕窗口的规划结果,分别确定每个窗口内显示信息的基础数据,根据窗口大小确定基础数据的显示形式,将基础数据转化为与显示形式对应的编码,包括:Preferably, in S1, the planning results of the screen windows are obtained, the basic data for displaying information in each window is determined, the display form of the basic data is determined according to the window size, and the basic data is converted into a code corresponding to the display form, including :

S101:接收人机交互指令,根据所述人机交互指令确定屏幕窗口的规划结果;S101: Receive human-computer interaction instructions, and determine the planning results of the screen window according to the human-computer interaction instructions;

S102:根据规划结果确定每个窗口内显示信息的基础数据;S102: Determine the basic data for displaying information in each window based on the planning results;

S103:根据窗口实际大小或比例大小,确定基础数据的显示形式;S103: Determine the display form of basic data based on the actual size or proportional size of the window;

S104:如基础数据的显示形式为简化形式,则确定与基础数据相关的简化贴图并解码,得到第一编码;如基础数据的显示形式为精确形式,则生成基础数据的形状信息,得到第二编码。S104: If the display form of the basic data is a simplified form, determine the simplified map related to the basic data and decode it to obtain the first code; if the display form of the basic data is a precise form, generate the shape information of the basic data and obtain the second code. coding.

作为优选,所述S103中,根据窗口实际大小或比例大小,确定基础数据的显示形式,包括:Preferably, in S103, the display form of the basic data is determined according to the actual size or proportional size of the window, including:

根据显示需求设置窗口实际大小阈值或比例大小阈值;如窗口实际大小或比例大小低于阈值,则基础数据的显示形式为简化形式;否则,基础数据的显示形式为精确形式。Set the actual size threshold or proportional size threshold of the window according to the display requirements; if the actual size or proportional size of the window is lower than the threshold, the display form of the basic data is a simplified form; otherwise, the display form of the basic data is a precise form.

作为优选,所述S104中,如基础数据的显示形式为简化形式,则确定与基础数据相关的简化贴图并解码,得到第一编码,包括:Preferably, in S104, if the display form of the basic data is a simplified form, determine the simplified map related to the basic data and decode it to obtain the first code, including:

判断基础数据的轮廓,并根据图形轮廓内的显示参数平均值得到简化的显示参数,根据图形轮廓和简化的显示参数生成简化贴图并解码为第一编码。Determine the outline of the basic data, obtain simplified display parameters based on the average value of the display parameters within the graphic outline, generate a simplified map based on the graphic outline and the simplified display parameters, and decode it into a first code.

作为优选,所述S104中,如基础数据的显示形式为精确形式,则生成基础数据的形状信息,得到第二编码,包括:Preferably, in S104, if the display form of the basic data is a precise form, the shape information of the basic data is generated to obtain the second code, including:

判断基础数据中每个像素的显示参数是否存在关联性,将存在关联性的像素的显示参数改写为关联函数,将关联函数、非关联性像素的具体显示参数和像素位置共同作为形状信息,得到第二编码。Determine whether the display parameters of each pixel in the basic data are correlated, rewrite the display parameters of correlated pixels into correlation functions, and use the correlation function, the specific display parameters of non-correlated pixels and the pixel position together as shape information to get Second encoding.

作为优选,所述S2中,根据窗口规划结果,确定显示调整区域及固定区域,根据基础数据的编码对每个显示调整区域的像素进行显示参数调整,结合固定区域中像素的显示参数得到每一帧画面,包括:Preferably, in S2, the display adjustment area and the fixed area are determined according to the window planning results, the display parameters of each display adjustment area are adjusted according to the encoding of the basic data, and the display parameters of each pixel in the fixed area are combined to obtain each Frames include:

S201:根据窗口规划结果,与上一帧之间显示信息无变化的确定为固定区域,与上一帧之间显示信息存在变化的确定为显示调整区域;S201: According to the window planning results, the area with no change in display information from the previous frame is determined as a fixed area, and the area with change in display information from the previous frame is determined as a display adjustment area;

S202:对于每个显示调整区域,如对应基础数据为第一编码,则根据第一编码覆盖相关像素的显示参数;如对应基础数据为第二编码,则根据第二编码中携带的形状信息依次改写相关像素的显示参数;S202: For each display adjustment area, if the corresponding basic data is the first code, then the display parameters of the relevant pixels are covered according to the first code; if the corresponding basic data is the second code, then the display parameters of the relevant pixels are covered according to the shape information carried in the second code. Rewrite the display parameters of relevant pixels;

S203:结合显示调整区域的调整结果和固定区域的原有画面,得到新一帧的画面。S203: Combine the adjustment result of the display adjustment area and the original picture of the fixed area to obtain a new frame of picture.

本发明还公开一种电子设备,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器调用所述存储器中的计算机程序时实现上述的一种基于智能管理驾驶舱的显示调整方法的步骤。The invention also discloses an electronic device, which includes a memory and a processor. A computer program is stored in the memory. When the processor calls the computer program in the memory, it implements the above-mentioned display adjustment based on the intelligent management cockpit. Method steps.

本发明还公开一种存储介质,所述存储介质中存储有计算机可执行指令,所述计算机可执行指令被处理器加载并执行时,实现上述的一种基于智能管理驾驶舱的显示调整方法的步骤。The invention also discloses a storage medium in which computer executable instructions are stored. When the computer executable instructions are loaded and executed by the processor, the above-mentioned display adjustment method based on the intelligent management cockpit is realized. step.

本发明的实质性效果包括:首先将窗口的显示信息进行判断,确定简化形式或精确形式,并将基础数据进行转化得到不同的编码,再根据编码对基础数据进行显示处理,且不同的编码将指示图形处理器执行不同的绘图方式,以得到相对稳定的计算量,防止出现卡顿,通过显示形式的不同调整整体计算量,并充分发挥中央处理器和图形处理器的优势,优化显示策略,降低计算量的波动。相比传统的直接拉取数据进行绘图,计算量不可控且波动较大,本申请将计算量部分前置,并根据需求执行不同的绘图方式,将计算量变得可控且稳定,特别适用于屏幕较大的智能管理驾驶舱。The substantive effects of the present invention include: first judging the display information of the window, determining the simplified form or the precise form, converting the basic data to obtain different codes, and then displaying the basic data according to the codes, and the different codes will Instruct the graphics processor to perform different drawing methods to obtain a relatively stable calculation amount, prevent lagging, adjust the overall calculation amount through different display forms, and give full play to the advantages of the central processor and graphics processor to optimize the display strategy. Reduce computational fluctuations. Compared with the traditional method of directly pulling data for drawing, the amount of calculation is uncontrollable and fluctuates greatly. This application puts the amount of calculation in front and executes different drawing methods according to needs, making the amount of calculation controllable and stable. It is especially suitable for Intelligent management cockpit with larger screen.

附图说明Description of the drawings

图1是本发明实施例的流程图。Figure 1 is a flow chart of an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合实施例,对本技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.

应当理解,在本发明的各种实施例中,各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that in various embodiments of the present invention, the size of the sequence numbers of each process does not mean the order of execution. The execution order of each process should be determined by its functions and internal logic, and should not be determined by the execution order of the embodiments of the present invention. The implementation process constitutes no limitation.

应当理解,在本发明中,“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be understood that in the present invention, "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or equipment that includes a series of steps or units is not necessarily limited to Those steps or elements that are expressly listed may instead include other steps or elements that are not expressly listed or that are inherent to the process, method, product or apparatus.

应当理解,在本发明中,“多个”是指两个或两个以上。“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。“包含A、B和C”、“包含A、B、C”是指A、B、C三者都包含,“包含A、B或C”是指包含A、B、C三者之一,“包含A、B和/或C”是指包含A、B、C三者中任1个或任2个或3个。It should be understood that in the present invention, "plurality" means two or more. "And/or" is just an association relationship that describes related objects, indicating that three relationships can exist. For example, and/or B can mean: A alone exists, A and B exist simultaneously, and B alone exists. . The character "/" generally indicates that the related objects are in an "or" relationship. "Includes A, B and C" and "includes A, B, C" means that it includes all three of A, B and C, and "includes A, B or C" means that it includes one of A, B and C. "Including A, B and/or C" means including any one, any two or three of A, B and C.

下面以具体的实施例对本发明的技术方案进行详细说明。实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solution of the present invention will be described in detail below with specific examples. The embodiments may be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.

实施例:Example:

一种基于智能管理驾驶舱的显示调整方法,如图1所示,包括以下步骤:A display adjustment method based on intelligent management cockpit, as shown in Figure 1, includes the following steps:

S1:获取屏幕窗口的规划结果,分别确定每个窗口内显示信息的基础数据,根据窗口大小确定基础数据的显示形式,将基础数据转化为与显示形式对应的编码。S1: Obtain the planning results of the screen window, determine the basic data of the information displayed in each window, determine the display form of the basic data according to the window size, and convert the basic data into a code corresponding to the display form.

本实施例中,S1具体包括:In this embodiment, S1 specifically includes:

S101:接收人机交互指令,根据所述人机交互指令确定屏幕窗口的规划结果。S101: Receive human-computer interaction instructions, and determine the planning results of the screen window according to the human-computer interaction instructions.

S102:根据规划结果确定每个窗口内显示信息的基础数据。S102: Determine the basic data for displaying information in each window based on the planning results.

S103:根据窗口实际大小或比例大小,确定基础数据的显示形式;根据显示需求设置窗口实际大小阈值或比例大小阈值;如窗口实际大小或比例大小低于阈值,则基础数据的显示形式为简化形式;否则,基础数据的显示形式为精确形式。S103: Determine the display form of basic data based on the actual size or proportional size of the window; set the actual size threshold or proportional size threshold of the window according to the display requirements; if the actual size or proportional size of the window is lower than the threshold, the display form of the basic data is a simplified form ; Otherwise, the underlying data is displayed in exact form.

例如,通过鼠标、键盘等输入手段接收人机交互指令,将屏幕窗口规划为3个大窗口和1个小窗口,则小窗口内定为简化形式,大窗口为精确形式。For example, if human-computer interaction instructions are received through input means such as mouse and keyboard, and the screen window is planned into three large windows and one small window, the small window will be defaulted to the simplified form, and the large window will be set to the precise form.

S104:如基础数据的显示形式为简化形式,则确定与基础数据相关的简化贴图并解码,得到第一编码;如基础数据的显示形式为精确形式,则生成基础数据的形状信息,得到第二编码。S104: If the display form of the basic data is a simplified form, determine the simplified map related to the basic data and decode it to obtain the first code; if the display form of the basic data is a precise form, generate the shape information of the basic data and obtain the second code. coding.

在本实施例中,针对简化形式,判断基础数据的轮廓,并根据图形轮廓内的显示参数平均值得到简化的显示参数,根据图形轮廓和简化的显示参数生成简化贴图并解码为第一编码。In this embodiment, for the simplified form, the outline of the basic data is determined, and the simplified display parameters are obtained according to the average display parameter within the graphic outline. The simplified map is generated according to the graphic outline and the simplified display parameters and decoded into the first code.

例如,基础数据是某地区的用电热力图,则将该基础数据进行轮廓的识别,需要说明的是,轮廓不仅仅是最外围的轮廓,而是包含了该基础数据内的多种轮廓,再根据显示参数平均值得到简化的显示参数,显示参数平均值可以是该轮廓内每个像素的RGB值、灰度值等等的平均值。For example, if the basic data is the electricity consumption heat map of a certain area, then the outline of the basic data is identified. It should be noted that the outline is not just the outermost outline, but includes a variety of outlines within the basic data. Then, the simplified display parameters are obtained based on the average display parameter. The average display parameter can be the average of the RGB value, grayscale value, etc. of each pixel in the outline.

在本实施例中,针对精确形式,判断基础数据中每个像素的显示参数是否存在关联性,将存在关联性的像素的显示参数改写为关联函数,将关联函数、非关联性像素的具体显示参数和像素位置共同作为形状信息,得到第二编码。In this embodiment, for the precise form, it is judged whether the display parameters of each pixel in the basic data are correlated, the display parameters of the correlated pixels are rewritten into correlation functions, and the correlation function and the specific display of non-correlated pixels are The parameters and pixel positions are used together as shape information to obtain the second encoding.

例如,基础数据中,包含了一个地区的电路规划图,则其中规律性的图像如每隔一定距离出现的输电塔,矩形的街区等,可以改写为关联函数,将规律(如每隔n个像素绘制输电塔、矩形街区等)以程序语言表述,便于后续根据规律进行重新绘制,而无关联的图像,则直接记录每个像素的具体显示参数和像素位置。For example, if the basic data contains a circuit planning diagram of a region, regular images such as transmission towers appearing at certain distances, rectangular blocks, etc. can be rewritten as correlation functions, and the regular images (such as every n Pixel drawing of transmission towers, rectangular blocks, etc.) is expressed in programming language to facilitate subsequent redrawing according to rules, while for unassociated images, the specific display parameters and pixel position of each pixel are directly recorded.

S2:根据窗口规划结果,确定显示调整区域及固定区域,根据基础数据的编码对每个显示调整区域的像素进行显示参数调整,结合固定区域中像素的显示参数得到每一帧画面。S2: According to the window planning results, determine the display adjustment area and the fixed area, adjust the display parameters of the pixels in each display adjustment area according to the encoding of the basic data, and obtain each frame by combining the display parameters of the pixels in the fixed area.

S2具体包括:S2 specifically includes:

S201:根据窗口规划结果,与上一帧之间显示信息无变化的确定为固定区域,与上一帧之间显示信息存在变化的确定为显示调整区域。如,表格的抬头是固定的,因此如果某窗口用于显示表格,则抬头所占的像素为固定区域。S201: According to the window planning result, the area with no change in display information from the previous frame is determined as a fixed area, and the area with change in display information from the previous frame is determined as a display adjustment area. For example, the header of a table is fixed, so if a window is used to display a table, the pixels occupied by the header are fixed areas.

S202:对于每个显示调整区域,如对应基础数据为第一编码,则根据第一编码覆盖相关像素的显示参数;如对应基础数据为第二编码,则根据第二编码中携带的形状信息依次改写相关像素的显示参数。即,第一编码由于是贴图,执行方式是根据记载直接刷新和替换所有像素的显示参数,如某像素的灰度值原是120,现在替换为200,而第二编码涉及关联函数,对比前后关联函数即可得到差值,执行方式是根据记载依次修改像素的显示参数,如某像素的灰度值原是120,现在解码得到是加20,则改为140。S202: For each display adjustment area, if the corresponding basic data is the first code, then the display parameters of the relevant pixels are covered according to the first code; if the corresponding basic data is the second code, then the display parameters of the relevant pixels are covered according to the shape information carried in the second code. Override the display parameters of the relevant pixels. That is, since the first encoding is a texture, the execution method is to directly refresh and replace the display parameters of all pixels according to the records. For example, the gray value of a pixel was originally 120 and is now replaced by 200. The second encoding involves a correlation function. Comparing the before and after The correlation function can be used to obtain the difference. The execution method is to modify the display parameters of the pixels sequentially according to the records. For example, the gray value of a certain pixel was originally 120, but now the decoding result is to add 20, then change it to 140.

S203:结合显示调整区域的调整结果和固定区域的原有画面,得到新一帧的画面。S203: Combine the adjustment result of the display adjustment area and the original picture of the fixed area to obtain a new frame of picture.

本实施例还公开一种电子设备,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器调用所述存储器中的计算机程序时实现上述的一种基于智能管理驾驶舱的显示调整方法的步骤。This embodiment also discloses an electronic device, including a memory and a processor. A computer program is stored in the memory. When the processor calls the computer program in the memory, it implements the above-mentioned display based on the intelligent management cockpit. Steps for adjusting the method.

本实施例还公开一种存储介质,所述存储介质中存储有计算机可执行指令,所述计算机可执行指令被处理器加载并执行时,实现上述的一种基于智能管理驾驶舱的显示调整方法的步骤。This embodiment also discloses a storage medium in which computer executable instructions are stored. When the computer executable instructions are loaded and executed by the processor, the above-mentioned display adjustment method based on the intelligent management cockpit is implemented. A step of.

本实施例的实质性效果包括:首先将窗口的显示信息进行判断,确定简化形式或精确形式,并将基础数据进行转化得到不同的编码,再根据编码对基础数据进行显示处理,且不同的编码将指示图形处理器执行不同的绘图方式,以得到相对稳定的计算量,防止出现卡顿,通过显示形式的不同调整整体计算量,并充分发挥中央处理器和图形处理器的优势,优化显示策略,降低计算量的波动。相比传统的直接拉取数据进行绘图,计算量不可控且波动较大,本申请将计算量部分前置,并根据需求执行不同的绘图方式,将计算量变得可控且稳定,特别适用于智能管理驾驶舱的巨大屏幕。The substantive effects of this embodiment include: first, judging the display information of the window, determining the simplified form or the precise form, converting the basic data to obtain different codes, and then displaying the basic data according to the codes, and different codes The graphics processor will be instructed to perform different drawing methods to obtain a relatively stable calculation amount, prevent lagging, adjust the overall calculation amount through different display forms, and give full play to the advantages of the central processor and graphics processor to optimize the display strategy. , reduce the fluctuation of calculation amount. Compared with the traditional method of directly pulling data for drawing, the amount of calculation is uncontrollable and fluctuates greatly. This application puts the amount of calculation in front and executes different drawing methods according to needs, making the amount of calculation controllable and stable. It is especially suitable for A huge screen in the smart management cockpit.

通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中可以根据需要而将上述功能分配由不同的功能模块完成,即将具体装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be allocated to different functions according to needs. Module completion means dividing the internal structure of a specific device into different functional modules to complete all or part of the functions described above.

在本申请所提供的实施例中,应该理解到,所揭露的结构和方法,可以通过其它的方式实现。例如,以上所描述的关于结构的实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个结构,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,结构或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed structures and methods can be implemented in other ways. For example, the structural embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be The combination can either be integrated into another structure, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be an indirect coupling or communication connection through some interfaces, structures or units, which may be in electrical, mechanical or other forms.

作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。A unit described as a separate component may or may not be physically separate. A component shown as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or it may be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in the embodiment of the present application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or software functional units.

集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。Integrated units may be stored in a readable storage medium if they are implemented in the form of software functional units and sold or used as independent products. Based on this understanding, the technical solutions of the embodiments of the present application are essentially or contribute to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium , including several instructions to cause a device (which can be a microcontroller, a chip, etc.) or a processor to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes.

以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above contents are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the present application, and should are covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (6)

1. The display adjustment method based on the intelligent management cockpit is characterized by comprising the following steps of:
s1: the method comprises the steps of obtaining a planning result of a screen window, respectively determining basic data of display information in each window, determining a display form of the basic data according to the size of the window, and converting the basic data into codes corresponding to the display form, wherein the steps of:
s101: receiving a man-machine interaction instruction, and determining a planning result of a screen window according to the man-machine interaction instruction;
s102: determining basic data of display information in each window according to the planning result;
s103: determining a display form of the basic data according to the actual size or the proportional size of the window;
s104: if the display form of the basic data is a simplified form, determining a simplified mapping related to the basic data and decoding to obtain a first code; if the display form of the basic data is an accurate form, generating shape information of the basic data to obtain a second code;
s2: determining a display adjustment area and a fixed area according to a window planning result, adjusting display parameters of pixels of each display adjustment area according to the codes of basic data, and obtaining each frame of picture by combining the display parameters of the pixels in the fixed area;
in S103, determining the display form of the basic data according to the actual size or the scale size of the window includes:
setting a window actual size threshold or a proportional size threshold according to display requirements; if the actual size or the proportional size of the window is lower than the threshold value, the display form of the basic data is a simplified form; otherwise, the display form of the base data is an accurate form.
2. The method for adjusting the display of the intelligent management cockpit according to claim 1, wherein in S104, if the display form of the basic data is a simplified form, determining and decoding a simplified map related to the basic data to obtain a first code, including:
judging the graph outline of the basic data, obtaining simplified display parameters according to the average value of the display parameters in the graph outline, generating a simplified map according to the graph outline and the simplified display parameters, and decoding the simplified map into a first code.
3. The intelligent management cockpit-based display adjustment method according to claim 1, wherein in S104, if the display form of the basic data is an accurate form, generating the shape information of the basic data to obtain the second code, including:
judging whether the display parameters of each pixel in the basic data have relevance, rewriting the display parameters of the pixels with relevance into a relevance function, and taking the relevance function, the specific display parameters of the non-relevance pixels and the pixel positions together as shape information to obtain a second code.
4. The display adjustment method based on the intelligent management cockpit according to claim 1, wherein in S2, a display adjustment area and a fixed area are determined according to a window planning result, display parameter adjustment is performed on pixels in each display adjustment area according to coding of basic data, and each frame of picture is obtained by combining display parameters of pixels in the fixed area, including:
s201: according to the window planning result, determining a region with no change of the display information between the window planning result and the previous frame as a fixed region, and determining a region with change of the display information between the window planning result and the previous frame as a display adjustment region;
s202: for each display adjustment area, if the corresponding basic data is a first code, the display parameters of the relevant pixels are covered according to the first code; if the corresponding basic data is the second code, the display parameters of the related pixels are rewritten in sequence according to the shape information carried in the second code;
s203: and combining the adjustment result of the display adjustment area and the original picture of the fixed area to obtain a picture of a new frame.
5. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor, when invoking the computer program in the memory, performs the steps of a display adjustment method based on intelligent management cockpit according to any one of claims 1 to 4.
6. A storage medium having stored therein computer executable instructions which, when loaded and executed by a processor, implement the steps of a method for intelligently managing cockpit-based display adjustment of any one of claims 1 to 4.
CN202310404834.8A 2023-04-11 2023-04-11 A display adjustment method based on intelligent management cockpit Active CN116414510B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310404834.8A CN116414510B (en) 2023-04-11 2023-04-11 A display adjustment method based on intelligent management cockpit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310404834.8A CN116414510B (en) 2023-04-11 2023-04-11 A display adjustment method based on intelligent management cockpit

Publications (2)

Publication Number Publication Date
CN116414510A CN116414510A (en) 2023-07-11
CN116414510B true CN116414510B (en) 2023-09-29

Family

ID=87051104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310404834.8A Active CN116414510B (en) 2023-04-11 2023-04-11 A display adjustment method based on intelligent management cockpit

Country Status (1)

Country Link
CN (1) CN116414510B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117274553B (en) * 2023-11-20 2024-02-02 国网浙江省电力有限公司 An intelligent monitoring method and system for power scene data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012015978A1 (en) * 2010-07-27 2012-02-02 Rockmelt, Inc. System and method for optimizing window display
CN111510741A (en) * 2020-04-21 2020-08-07 北京仁光科技有限公司 System and method for transmission and distributed display of at least two video signals
CN111782123A (en) * 2020-05-25 2020-10-16 北京博睿维讯科技有限公司 Screen display method and display device
CN115599255A (en) * 2022-12-16 2023-01-13 深圳蓝普视讯科技有限公司(Cn) Large-screen visual intelligent interactive data processing method and device and storage medium
CN115641824A (en) * 2022-09-05 2023-01-24 海信视像科技股份有限公司 Picture adjustment device, display device, and picture adjustment method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012015978A1 (en) * 2010-07-27 2012-02-02 Rockmelt, Inc. System and method for optimizing window display
CN111510741A (en) * 2020-04-21 2020-08-07 北京仁光科技有限公司 System and method for transmission and distributed display of at least two video signals
CN111782123A (en) * 2020-05-25 2020-10-16 北京博睿维讯科技有限公司 Screen display method and display device
CN115641824A (en) * 2022-09-05 2023-01-24 海信视像科技股份有限公司 Picture adjustment device, display device, and picture adjustment method
CN115599255A (en) * 2022-12-16 2023-01-13 深圳蓝普视讯科技有限公司(Cn) Large-screen visual intelligent interactive data processing method and device and storage medium

Also Published As

Publication number Publication date
CN116414510A (en) 2023-07-11

Similar Documents

Publication Publication Date Title
EP2464093B1 (en) Image file generation device, image processing device, image file generation method, and image processing method
CN112596843A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN116414510B (en) A display adjustment method based on intelligent management cockpit
CN109448123B (en) Model control method and device, storage medium and electronic equipment
CN108989872B (en) Android television background fast switching method, framework, server and storage medium
CN114610295A (en) Layout method, device, equipment and medium for page container
CN114998087A (en) Rendering method and device
CN112714357A (en) Video playing method, video playing device, electronic equipment and storage medium
CN109925715B (en) Virtual water area generation method and device and terminal
CN110502305B (en) Method and device for realizing dynamic interface and related equipment
US20240171758A1 (en) System and method for rendering differential video on graphical displays
WO2024078111A1 (en) Interface rendering method and electronic device
EP4207047A1 (en) Rendering method and apparatus
CN117372578A (en) Animation generation method and device, storage medium and electronic equipment
CN102263924B (en) Image processing method based on bicubic interpolation and image display method
CN116416399A (en) Map generation method, device, equipment and storage medium
CN115797562A (en) Three-dimensional scene loading method, program, device, medium and electronic equipment
CN112540711B (en) Control method, device and equipment for selecting three-dimensional space object at webpage end
CN115619915A (en) Three-dimensional model mapping method and device, storage medium and electronic equipment
CN113592712A (en) Image processing method, device, equipment, storage medium and cloud VR system
CN118332147B (en) Multi-layer pattern spot data difference comparison method and device and electronic equipment
US20240320921A1 (en) Late stage reprojection using tessellated mesh
US20240289911A1 (en) Tile-based machine learning graphics processing
CN114564166A (en) Layout method and device of small program page, electronic equipment and storage medium
CN115857778A (en) Page generation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant