CN102722371A - Method for constructing embedded user operating interface by using bitmap - Google Patents

Method for constructing embedded user operating interface by using bitmap Download PDF

Info

Publication number
CN102722371A
CN102722371A CN2012101661089A CN201210166108A CN102722371A CN 102722371 A CN102722371 A CN 102722371A CN 2012101661089 A CN2012101661089 A CN 2012101661089A CN 201210166108 A CN201210166108 A CN 201210166108A CN 102722371 A CN102722371 A CN 102722371A
Authority
CN
China
Prior art keywords
bitmap
background
interface
embedded
resource bag
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.)
Granted
Application number
CN2012101661089A
Other languages
Chinese (zh)
Other versions
CN102722371B (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 Corp of China SGCC
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Original Assignee
Xuji Group Co Ltd
XJ Electric Co Ltd
Xuchang XJ Software 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 Xuji Group Co Ltd, XJ Electric Co Ltd, Xuchang XJ Software Technology Co Ltd filed Critical Xuji Group Co Ltd
Priority to CN201210166108.9A priority Critical patent/CN102722371B/en
Publication of CN102722371A publication Critical patent/CN102722371A/en
Application granted granted Critical
Publication of CN102722371B publication Critical patent/CN102722371B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Digital Computer Display Output (AREA)

Abstract

The invention relates to a method for constructing an embedded user operating interface by using a bitmap. The method comprises the following steps of: converting an original true color background bitmap into a format which can be directly displayed by an embedded microcontroller, and forming an interface background optimized bitmap resource pack; downloading the interface background optimized bitmap resource pack to an embedded device specified catalogue through a download tool, and directly loading files of the interface background optimized bitmap resource pack to a management module from the specified catalogue through a graphical user interface (GUI) engine in an embedded target program after a system is electrified; and when the GUI engine draws a background or a control, checking whether a corresponding optimized bitmap background resource exists or not, if so, directly and quickly copying optimized bitmap data to a display terminal for outputting; otherwise, drawing background or control data by using a default point-by-point drawing mode. By the method, flexibility of interface configuration is realized, rich and diverse human-machine interface requirements are met, and requirements of the embedded target program for stability, fastness and flexibility are effectively ensured at the same time.

Description

Utilize bitmap to make up the method for embedded user interface
Technical field
The invention belongs to the embedded equipment of the relay protection automatic field of power engineering, relate to a kind of method of utilizing bitmap to make up embedded user interface.
Background technology
Embedded system relates in particular to the embedded equipment of the relay protection automatic field that belongs to power engineering; Requirement to stability, rapidity and the flexibility of system is all very harsh; Also more and more higher to the rich diversified requirement of the hommization of man-machine interaction, information exhibition simultaneously; Thereby when the steady standard of assurance system is fast; But have flexible configuration, rich and varied man machine operation interface, have the great market competitiveness undoubtedly;
The man-machine interface of tradition embedded equipment; With the point is element figure, depicts lines, rectangular area, character library etc. with the pointwise of colour dot lattice mode, though it is stiff to have a RGB characteristic picture; Very flexible, to complicacy hommization demand more flexibly more; Especially have relatively high expectations in stability, rapidity and dirigibility, and under large-sized display devices and the diversified demand applied environment, it is powerless just to seem.
Summary of the invention
The purpose of this invention is to provide a kind of method of utilizing bitmap to make up embedded user interface, can not satisfy the problem of present demand with the man-machine interface that solves traditional embedded equipment.
For realizing above-mentioned purpose, the method step that utilizes bitmap to make up embedded user interface of the present invention is following:
(1) optimize the structure of bitmap resource bag: will with all original RGB background bitmaps convert to through crossover tool and can be embedded into the form that the controller outlet terminal that declines directly shows without any operation bidirectional, form the interface background and optimize the bitmap resource bag;
(2) download, the loading of optimization bitmap resource bag: through download tool the interface background is optimized the bitmap resource bag and download to the embedded equipment assigned catalogue, directly the interface background is optimized bitmap resource APMB package loading inlet pipe reason module through the built-in GUI engine of embedded target program from assigned catalogue after system powers on;
(3) the quick undistorted demonstration output of GUI engine: the GUI engine is when rendering context or control, and at first inspection has or not corresponding optimization bitmap background resource, if having, just directly will optimize data bitmap and copy to display terminal output apace; Otherwise, use point-by-point mapping mode rendering context or the control data given tacit consent to.
Further, re-power after the resource packet deletion through download tool in the said step (2), thereby realize that background optimizes the unloading of bitmap resource bag.
Further; Through two covers and above interface background optimization bitmap resource bag are downloaded to embedded equipment; Embedded equipment powers on and optimizes the bitmap resource bag through the interface background after the success and select Dynamic Selection current use the in interface to optimize the interface background optimization bitmap resource bag that bitmap resource belongs to; Selected setting option power down keeps, and realizes optimizing the dynamic switching of bitmap resource bag.
The present invention utilizes bitmap to make up the method for embedded user interface, adopts the colored bitmap of the hommization of user's design, converts the resource bundle that device can directly load fast into through crossover tool; And download in the device; Device powers on the back through the direct loaded and optimized bitmap resource bag of GUI engine, when GUI shows output, directly uses the correspondence of resource packet the inside to optimize bitmap through the GUI engine and fills control fast; Display speed is fast; Undistorted, its rapidity generally is superior to traditional color graphics interface point-by-point mapping method, and especially performance is more directly perceived under the applied environment of large-sized display devices; This method through built-in transform engine and with man-machine interface information carry out the conversion of backgroundization, resource and resource packet external; Realize the dirigibility of interface configurations; The hommization at interface and abundance are then irrelevant with the embedded target program; Thereby when satisfying rich diversified man-machine interface demand, on mechanism, effectively guaranteed of the requirement of embedded target program to stability, rapidity and dirigibility.
Description of drawings
Fig. 1 is the process flow diagram of the embodiment of the invention.
Embodiment
The present invention is a kind of method of utilizing bitmap to make up embedded user interface; Its core concept is not revise under the situation that can carry out target program; Only through the loaded and optimized bitmap resource bag of the built-in engine that can carry out target program, when GUI rendering context or control, if corresponding optimization bitmap resource bag exists; Just directly from resource packet, will optimize bitmap directly outputs to display terminal fast as the control background; Otherwise use traditional point-by-point mapping method draw control background, process flow diagram is as shown in Figure 1, and concrete steps are following:
The structure of S1, optimization bitmap resource bag:
All original RGB background bitmaps that need are used convert the form that can be embedded into the controller outlet terminal that declines direct demonstration without any operation bidirectional to through the picture format crossover tool, form the interface background and optimize the bitmap resource bag;
Download, the loading and unloading of S2, optimization bitmap resource bag:
Through download tool resource packet is downloaded to the device assigned catalogue, directly resource packet file load inlet pipe is managed module through the built-in GUI engine of embedded target program from assigned catalogue after system powers on; Re-power after also can resource packet being deleted, thereby the realization background is optimized the unloading of bitmap resource bag through download tool;
The quick undistorted demonstration output of S3, GUI engine:
The GUI engine is when rendering context or control, and at first inspection has or not corresponding optimization bitmap background resource, if having, just directly will optimize data bitmap and copy to display terminal output apace; Otherwise, use the point-by-point mapping mode rendering context or the control data of acquiescence, thereby realize that bitmap shows fast;
The dynamic switching of S4, optimization bitmap resource bag:
Through two covers and above resource packet are downloaded to device, device powers on after the success and to select the interface can the current resource packet of using the optimization bitmap resource to belong to of Dynamic Selection through resource packet, selected setting option power down maintenance.

Claims (3)

1. a method of utilizing bitmap to make up embedded user interface is characterized in that, the step of this method is following:
(1) optimize the structure of bitmap resource bag: will with all original RGB background bitmaps convert to through crossover tool and can be embedded into the form that the controller outlet terminal that declines directly shows without any operation bidirectional, form the interface background and optimize the bitmap resource bag;
(2) download, the loading of optimization bitmap resource bag: through download tool the interface background is optimized the bitmap resource bag and download to the embedded equipment assigned catalogue, directly the interface background is optimized bitmap resource APMB package loading inlet pipe reason module through the built-in GUI engine of embedded target program from assigned catalogue after system powers on;
(3) the quick undistorted demonstration output of GUI engine: the GUI engine is when rendering context or control, and at first inspection has or not corresponding optimization bitmap background resource, if having, just directly will optimize data bitmap and copy to display terminal output apace; Otherwise, use point-by-point mapping mode rendering context or the control data given tacit consent to.
2. method according to claim 1 is characterized in that, re-powers after the resource packet deletion through download tool in the said step (2), thereby realizes that background optimizes the unloading of bitmap resource bag.
3. method according to claim 1 and 2; It is characterized in that; Through two covers and above interface background optimization bitmap resource bag are downloaded to embedded equipment; Embedded equipment powers on and optimizes the bitmap resource bag through the interface background after the success and select the Dynamic Selection current interface background of optimizing the bitmap resource place of using in interface to optimize the bitmap resource bag, and selected setting option power down keeps, the dynamic switching of realization optimization bitmap resource bag.
CN201210166108.9A 2012-05-25 2012-05-25 Utilize the method that bitmap builds embedded user operation interface Expired - Fee Related CN102722371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210166108.9A CN102722371B (en) 2012-05-25 2012-05-25 Utilize the method that bitmap builds embedded user operation interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210166108.9A CN102722371B (en) 2012-05-25 2012-05-25 Utilize the method that bitmap builds embedded user operation interface

Publications (2)

Publication Number Publication Date
CN102722371A true CN102722371A (en) 2012-10-10
CN102722371B CN102722371B (en) 2016-06-22

Family

ID=46948151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210166108.9A Expired - Fee Related CN102722371B (en) 2012-05-25 2012-05-25 Utilize the method that bitmap builds embedded user operation interface

Country Status (1)

Country Link
CN (1) CN102722371B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114185469A (en) * 2021-11-15 2022-03-15 郑州佛光发电设备有限公司 Software implementation method for setting simple GUI (graphical user interface) in menu under real-time operating system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1758794A (en) * 2005-02-07 2006-04-12 中国联合通信有限公司 Method and system for generating interface of mobile terminal
CN1838067A (en) * 2005-03-21 2006-09-27 四川长虹电器股份有限公司 User menu display method for household electrical appliance
CN101196811A (en) * 2007-12-07 2008-06-11 炬才微电子(深圳)有限公司 Embedded software developing method
US20110126191A1 (en) * 2009-11-25 2011-05-26 Red Hat, Inc. Method for extracting font metadata from font files into searchable metadata for package distribution

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1758794A (en) * 2005-02-07 2006-04-12 中国联合通信有限公司 Method and system for generating interface of mobile terminal
CN1838067A (en) * 2005-03-21 2006-09-27 四川长虹电器股份有限公司 User menu display method for household electrical appliance
CN101196811A (en) * 2007-12-07 2008-06-11 炬才微电子(深圳)有限公司 Embedded software developing method
US20110126191A1 (en) * 2009-11-25 2011-05-26 Red Hat, Inc. Method for extracting font metadata from font files into searchable metadata for package distribution

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114185469A (en) * 2021-11-15 2022-03-15 郑州佛光发电设备有限公司 Software implementation method for setting simple GUI (graphical user interface) in menu under real-time operating system

Also Published As

Publication number Publication date
CN102722371B (en) 2016-06-22

Similar Documents

Publication Publication Date Title
CN105404455B (en) The method and device of screenshotss is realized to mobile terminal using terminal
CN102799473A (en) Method and device for managing third-party applications of intelligent display equipment
CN101702126B (en) Graphical interface editing method and device thereof
CN101620494A (en) Dynamic display method for navigation menu
CN104777980A (en) Method and device for electricity saving of high-resolution terminal
CN103577048A (en) Desktop icon intelligent arranging system and method
CN102722371A (en) Method for constructing embedded user operating interface by using bitmap
CN107135112A (en) A kind of privately owned cloud service visual control system of digital home and method
CN102736926A (en) Upgrade method, device and batch upgrade system based on task template
CN103024011B (en) A kind of method and system of control MHL playback equipment
CN103559280A (en) Method for flexibly storing and displaying icons
CN111736887B (en) Access system, method and device for utilizing old equipment and storage medium
CN103793270A (en) Terminal application migrating method, device and terminal
CN105338077A (en) Smart home management method and terminal
CN102880508A (en) Method and system for realizing PC (Personal Computer)-controlled Android terminal
CN110149405A (en) A kind of method of cloud control mobile terminal application
CN102117477B (en) Method and system showing waiting animation of embedded device
CN101963994B (en) Method and device for automatically generating equipment property adjusting interface based on XML (Extensive Makeup Language)
US20120021803A1 (en) Communication terminal control system
US9489984B2 (en) Display apparatus, information terminal, display system, and program
CN101520710B (en) Method for realizing reselection and device thereof
CN103677768A (en) Electronic device and control method and device thereof
CN103049253B (en) A kind of system for cell-phone customer terminal exploitation
CN105657557A (en) Video playing control method and system based on smart television
CN201435200Y (en) Network data conversion device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: XUJI ELECTRIC CO., LTD. XUCHANG XUJI SOFTWARE TECH

Free format text: FORMER OWNER: XUJI ELECTRIC CO., LTD. XUCHANG XUJI SOFTWARE TECHNOLOGY CO., LTD.

Effective date: 20121128

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20121128

Address after: No. 1298 Xuchang City, Henan province 461000 XJ Avenue

Applicant after: Xuji Group Co., Ltd.

Applicant after: Xuji Electric Co., Ltd.

Applicant after: Xuchang Xuji Software Technology Co., Ltd.

Applicant after: State Grid Corporation of China

Address before: No. 1298 Xuchang City, Henan province 461000 XJ Avenue

Applicant before: Xuji Group Co., Ltd.

Applicant before: Xuji Electric Co., Ltd.

Applicant before: Xuchang Xuji Software Technology Co., Ltd.

ASS Succession or assignment of patent right

Owner name: XUJI ELECTRIC CO., LTD.

Free format text: FORMER OWNER: XUJI GROUP CO., LTD.

Effective date: 20131129

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20131129

Address after: No. 1298 Xuchang City, Henan province 461000 XJ Avenue

Applicant after: Xuji Electric Co., Ltd.

Applicant after: Xuchang Xuji Software Technology Co., Ltd.

Applicant after: State Grid Corporation of China

Address before: No. 1298 Xuchang City, Henan province 461000 XJ Avenue

Applicant before: Xuji Group Co., Ltd.

Applicant before: Xuji Electric Co., Ltd.

Applicant before: Xuchang Xuji Software Technology Co., Ltd.

Applicant before: State Grid Corporation of China

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160622

Termination date: 20190525

CF01 Termination of patent right due to non-payment of annual fee