CN107423071A - A kind of high efficiency man-machine interface drawing practice based on static figure layer - Google Patents

A kind of high efficiency man-machine interface drawing practice based on static figure layer Download PDF

Info

Publication number
CN107423071A
CN107423071A CN201710667997.XA CN201710667997A CN107423071A CN 107423071 A CN107423071 A CN 107423071A CN 201710667997 A CN201710667997 A CN 201710667997A CN 107423071 A CN107423071 A CN 107423071A
Authority
CN
China
Prior art keywords
layer
static
refresh
common
machine interface
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.)
Pending
Application number
CN201710667997.XA
Other languages
Chinese (zh)
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.)
Suzhou Speed Micro Electronic Technology Co Ltd
Original Assignee
Suzhou Speed Micro Electronic Technology 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 Suzhou Speed Micro Electronic Technology Co Ltd filed Critical Suzhou Speed Micro Electronic Technology Co Ltd
Priority to CN201710667997.XA priority Critical patent/CN107423071A/en
Publication of CN107423071A publication Critical patent/CN107423071A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of high efficiency man-machine interface drawing practice based on static figure layer, realize the flow for the graphic plotting that man-machine interface is carried out using the method for static figure layer, it is two figure layers by the boundary division of drafting, one common figure layer and a static figure layer, most latter two figure layer merges into final figure layer, refresh frame per second in real time due to only having small part graphics request to reach in the interface of most of man-machine interface, and most of figure simply changes or not changed for a long time, the figure for needing to refresh in real time is placed on common figure layer area and the figure of non real-time refreshing is placed on static figure layer area, different figure layers use different refresh rates, the expense of hardware drawing resource can be saved, so as to greatly improve drawing efficiency.

Description

A kind of high efficiency man-machine interface drawing practice based on static figure layer
Technical field
The invention belongs to computer graphics techniques field, is related to a kind of man-machine interface drawing practice, specifically a kind of base In the high efficiency man-machine interface drawing practice of static figure layer.
Background technology
Man-machine interface (Human-Machine Interface, HMI) is transmitted and interacted between user and machine Medium, and graphics processing unit is then the significant element for accelerating its display efficiency and strengthening display effect.
Constantly upgrade along with the function of man-machine interface, the display interface complexity of man-machine interface also improves constantly, interface Resolution ratio be also continuously increased, this processing speed to image-drawing unit and draw frame per second and all generate and challenge not smallly.
In limited image-drawing unit under locally limiting, the drawing practice using more saving resource is to improve having for frame per second Effect means.For the display interface of most of man-machine interface, subregion is refreshed frequent and subregion is not refreshed substantially.For Such case, the drafting mode of multiple figure layers can play the effect for improving frame per second more effectively in inexpensive drawing unit.
Chinese Shen Qing Publication patent CN103473051A, there is provided a kind of method and apparatus for saving power consumption of terminal, pass through Detection screen refresh rate simultaneously adjusts the method for screen refresh rate to save power consumption.Although this method is also for different figure layers using not Same refresh rate, but two kinds of different refresh rates are specify only, dynamic adjusts refresh rate and is limited.
Chinese Shen Qing Publication patent CN101170651A, there is provided a kind of method for realizing map overlay, using it is expected area Domain dynamically cuts the method mixed after figure layer.The method that this method propose figure layer mixing, but two figure layers are not poor The opposite sex, drawing effect can only be provided, drawing efficiency can not be improved.
The content of the invention
It is an object of the invention to provide a kind of high efficiency man-machine interface drawing practice based on static figure layer, using static state Figure layer and the mode of common map overlay realize that the multi-layer image of man-machine interface is drawn, and improve the drawing efficiency of man-machine interface.
The purpose of the present invention can be achieved through the following technical solutions:
A kind of high efficiency man-machine interface drawing practice based on static figure layer, comprises the following steps:
Step S1, the frequency updated according to figure, graphical interfaces to be drawn is divided into two figure layers, a common figure Layer and a static figure layer;
Step S2, initialized static figure layer;
Step S3, initialize common figure layer;
Step S4, static figure layer is loaded as background;
Step S5, common figure layer is loaded as display content;
Step S6, display interface is drawn, the static figure layer and common figure layer that mix-loaded is completed, show the figure completed Picture;
Step S7, judges whether the figure of static figure layer changes, if changing, step S8 is performed, if not occurring Change, perform step S9;
Step S8, refresh static figure layer, and perform step S9;
Step S9, refresh common figure layer, carry out figure layer loading again with mixing, circulation performs step S4-S7.
Further, the common figure layer is the figure for needing to refresh in real time, refreshes frame per second using real-time.
Further, the static figure layer is the figure that need not refresh in real time, and its refresh rate depends on static graphics more New frequency, just refresh when the figure only drawn changes.
Beneficial effects of the present invention:Man-machine interface drawing practice provided by the invention, realize a kind of using static figure layer Method carry out man-machine interface graphic plotting flow, be two figure layers by the boundary division of drafting, a common figure layer with One static figure layer, most latter two figure layer merge into final figure layer, due to there was only small part in the interface of most of man-machine interface Graphics request reaches refreshes frame per second in real time, and most of figure simply changes or do not changed for a long time, will The figure for needing to refresh in real time is placed on common figure layer area and the figure of non real-time refreshing is placed on static figure layer area, different figure layers Using different refresh rates, the expense of hardware drawing resource can be saved, so as to greatly improve drawing efficiency.
Brief description of the drawings
The present invention is described in further detail with specific embodiment below in conjunction with the accompanying drawings.
Fig. 1 is flow chart of the method for the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained all other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
As shown in figure 1, the invention provides a kind of high efficiency man-machine interface drawing practice based on static figure layer, will draw Boundary division be two figure layers, common a figure layer and a static figure layer, most latter two figure layer merge into final figure layer.
For 2D man-machine interface display interface, and not all figure is required for real-time dynamic refresh.With liquid crystal automobile Exemplified by instrument board, the background of dial plate will not change substantially, and indicator lamp simply changes once in a while, but the pointer of instrument Need to reach real-time display efficiency.If not differentiating between figure layer, it is required that all figures are required for being refreshed in real time, very The resource shared by graphic plotting is wasted, for real-time refresh graphics as few as possible, the present invention is by graphical interfaces to be drawn It is divided into two figure layers, common a figure layer and a static figure layer.
The image finally shown is that two figure layers processes mix, when figure layer mixed method is that common figure layer refreshes, first Static figure layer is loaded as background, this figure layer figure is then drawn and shows;When static figure layer has figure to change, Then only refresh the figure of static cache.
In most cases, the figure of only common figure layer is refreshed, and the pattern spacing of static figure layer is very long Time just refreshes, and the figure for refreshing common figure layer is so then only used, so as to save the time for refreshing static figure layer.
The present invention specifically includes following steps:
Step S1, the frequency updated according to figure, graphical interfaces to be drawn is divided into two figure layers, a common figure Layer and a static figure layer;Wherein, common figure layer is the figure for needing to refresh in real time, refreshes frame per second using real-time;Static figure layer For the figure that need not refresh in real time, its refresh rate depends on the frequency of static graphics renewal, and the figure only drawn occurs Just refresh during change.For example, when being drawn at liquid crystal instrument for automobile disk interface, instrument board background and interface background are divided into static state Figure layer, instrument index is divided into dynamic layer.
Step S2, initialized static figure layer;It is undefined under the data initial state of each figure layer, before first time refreshes Initialized.
Step S3, initialize common figure layer;It is undefined under the data initial state of each figure layer, before first time refreshes Initialized.
Step S4, static figure layer is loaded as background.
Step S5, common figure layer is loaded as display content.
Step S6, display interface is drawn, the static figure layer and common figure layer that mix-loaded is completed, show the figure completed Picture.
Step S7, judges whether the figure of static figure layer changes, if changing, step S8 is performed, if not occurring Change, perform step S9.
Step S8, refresh static figure layer, and perform step S9.
Step S9, refresh common figure layer, carry out figure layer loading again with mixing, return to step S4.
Man-machine interface drawing practice provided by the invention, realize a kind of method using static figure layer and carry out man-machine interface Graphic plotting flow, be two figure layers by the boundary division of drafting, common a figure layer and a static figure layer, last two Individual figure layer merges into final figure layer, due to only having small part graphics request to reach real-time brush in the interface of most of man-machine interface New frame per second, and most of figure simply changes or not changed for a long time, it would be desirable to the figure refreshed in real time is put Put in common figure layer area and the figure of non real-time refreshing is placed on static figure layer area, different figure layers use different refresh rates, can be with The expense of hardware drawing resource is saved, so as to greatly improve drawing efficiency.
In the description of this specification, the description of reference term " one embodiment ", " example ", " specific example " etc. means At least one implementation of the present invention is contained in reference to specific features, structure, material or the feature that the embodiment or example describe In example or example.In this manual, identical embodiment or example are not necessarily referring to the schematic representation of above-mentioned term. Moreover, specific features, structure, material or the feature of description can close in any one or more embodiments or example Suitable mode combines.
Above content is only to structure example of the present invention and explanation, affiliated those skilled in the art couple Described specific embodiment is made various modifications or supplement or substituted using similar mode, without departing from invention Structure surmounts scope defined in the claims, all should belong to protection scope of the present invention.

Claims (3)

1. a kind of high efficiency man-machine interface drawing practice based on static figure layer, it is characterised in that comprise the following steps:
Step S1, the frequency updated according to figure, graphical interfaces to be drawn is divided into two figure layers, a common figure layer with One static figure layer;
Step S2, initialized static figure layer;
Step S3, initialize common figure layer;
Step S4, static figure layer is loaded as background;
Step S5, common figure layer is loaded as display content;
Step S6, display interface is drawn, the static figure layer and common figure layer that mix-loaded is completed, show the image completed;
Step S7, judges whether the figure of static figure layer changes, if changing, performs step S8, if not changing, Perform step S9;
Step S8, refresh static figure layer, and perform step S9;
Step S9, refresh common figure layer, carry out figure layer loading again with mixing, circulation performs step S4-S7.
A kind of 2. high efficiency man-machine interface drawing practice based on static figure layer according to claim 1, it is characterised in that The common figure layer is the figure for needing to refresh in real time, refreshes frame per second using real-time.
A kind of 3. high efficiency man-machine interface drawing practice based on static figure layer according to claim 1, it is characterised in that The static figure layer is the figure that need not refresh in real time, and its refresh rate depends on the frequency of static graphics renewal, only painted Just refresh when the figure of system changes.
CN201710667997.XA 2017-08-07 2017-08-07 A kind of high efficiency man-machine interface drawing practice based on static figure layer Pending CN107423071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710667997.XA CN107423071A (en) 2017-08-07 2017-08-07 A kind of high efficiency man-machine interface drawing practice based on static figure layer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710667997.XA CN107423071A (en) 2017-08-07 2017-08-07 A kind of high efficiency man-machine interface drawing practice based on static figure layer

Publications (1)

Publication Number Publication Date
CN107423071A true CN107423071A (en) 2017-12-01

Family

ID=60437561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710667997.XA Pending CN107423071A (en) 2017-08-07 2017-08-07 A kind of high efficiency man-machine interface drawing practice based on static figure layer

Country Status (1)

Country Link
CN (1) CN107423071A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108407758A (en) * 2018-02-06 2018-08-17 深圳市恒晨电器有限公司 A kind of digital instrument pointer display system and method
CN108710524A (en) * 2018-05-17 2018-10-26 中石化石油工程技术服务有限公司 The three quick interactive drawing method of buffering of one kind
CN109064540A (en) * 2018-08-10 2018-12-21 (株)韩国诺仪器株式会社 view rendering system, spectrum analyzer and rendering method
CN110618746A (en) * 2019-08-12 2019-12-27 福州瑞芯微电子股份有限公司 Soc power consumption and performance optimization device and method based on display processing logic
CN110928397A (en) * 2019-11-21 2020-03-27 腾讯科技(深圳)有限公司 User interface refreshing method and device, storage medium and electronic device
CN113362419A (en) * 2021-06-01 2021-09-07 深圳须弥云图空间科技有限公司 Drawing method and related equipment
CN116077940A (en) * 2022-05-18 2023-05-09 荣耀终端有限公司 Drawing processing method and related device in game application
CN117152300A (en) * 2023-10-28 2023-12-01 浙江正泰中自控制工程有限公司 Dynamic layer planning algorithm for optimizing drawing performance of DCS (distributed control system) flow chart

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102272824A (en) * 2009-01-06 2011-12-07 三菱电机株式会社 Drawing layer control device
TW201312452A (en) * 2011-09-02 2013-03-16 Inventec Corp Display method and electronic device using the same
CN106383828A (en) * 2016-08-22 2017-02-08 四川九洲电器集团有限责任公司 Drawing method and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102272824A (en) * 2009-01-06 2011-12-07 三菱电机株式会社 Drawing layer control device
TW201312452A (en) * 2011-09-02 2013-03-16 Inventec Corp Display method and electronic device using the same
CN106383828A (en) * 2016-08-22 2017-02-08 四川九洲电器集团有限责任公司 Drawing method and electronic equipment

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108407758A (en) * 2018-02-06 2018-08-17 深圳市恒晨电器有限公司 A kind of digital instrument pointer display system and method
CN108710524A (en) * 2018-05-17 2018-10-26 中石化石油工程技术服务有限公司 The three quick interactive drawing method of buffering of one kind
CN109064540A (en) * 2018-08-10 2018-12-21 (株)韩国诺仪器株式会社 view rendering system, spectrum analyzer and rendering method
CN110618746A (en) * 2019-08-12 2019-12-27 福州瑞芯微电子股份有限公司 Soc power consumption and performance optimization device and method based on display processing logic
CN110928397A (en) * 2019-11-21 2020-03-27 腾讯科技(深圳)有限公司 User interface refreshing method and device, storage medium and electronic device
CN113362419A (en) * 2021-06-01 2021-09-07 深圳须弥云图空间科技有限公司 Drawing method and related equipment
CN116077940A (en) * 2022-05-18 2023-05-09 荣耀终端有限公司 Drawing processing method and related device in game application
CN116077940B (en) * 2022-05-18 2023-10-20 荣耀终端有限公司 Drawing processing method and related device in game application
CN117152300A (en) * 2023-10-28 2023-12-01 浙江正泰中自控制工程有限公司 Dynamic layer planning algorithm for optimizing drawing performance of DCS (distributed control system) flow chart
CN117152300B (en) * 2023-10-28 2024-02-09 浙江正泰中自控制工程有限公司 Dynamic layer planning algorithm for optimizing drawing performance of DCS (distributed control system) flow chart

Similar Documents

Publication Publication Date Title
CN107423071A (en) A kind of high efficiency man-machine interface drawing practice based on static figure layer
CN101388157B (en) Electronic map display method, apparatus and equipment
CN104715731B (en) Screen brightness adjustment method and device and liquid crystal display device
CN106919401A (en) A kind of method of dynamic regulation resolution ratio, device and mobile terminal
CN103021262B (en) Method and system for processing drawing of map labels
CN103995684B (en) Method and system for synchronously processing and displaying mass images under ultrahigh resolution platform
CN105487848B (en) A kind of the display method for refreshing and system of 3D application
CN105023234B (en) Figure accelerated method based on embedded system storage optimization
CN104385920B (en) Realization method of pointer type virtual instrument panel
CN108399646B (en) Image rendering method and device
CN102436669A (en) Two-dimensional vector map drawing method
CN106796536A (en) Memory pool access method, device and electronic equipment for multiple operating system
CN101794237B (en) Computer and method for realizing universal display
WO2013078788A1 (en) Text display method and apparatus
CN1337033A (en) Method and apparatus for stretch blitting using a 3D pipeline
CN116324962A (en) Method and device for switching display panel FPS
CN111105477B (en) Drawing method of 2D virtual pointer of full liquid crystal instrument
CN112346890A (en) Off-screen rendering method and system for complex graph
JP4505866B2 (en) Image processing apparatus and video signal processing method
JP7352032B2 (en) Video generation method, apparatus, electronic device and computer readable storage medium
CN110007885A (en) A kind of display control method and device based on mosaic screen
CN103700362A (en) Multi-signal window display method and multi-signal window display device
CN104951260B (en) The implementation method of the mixed interface based on Qt under embedded Linux platform
CN103675763A (en) Hardware acceleration based vectorized VTS (vessel traffic service) system radar video drawing method
CN112231036A (en) Method for realizing refreshing of different refresh rates by dividing display interface into regions

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171201