CN1337622A - Method of establishing embedded graphic user interface in real-time multitask operation system - Google Patents

Method of establishing embedded graphic user interface in real-time multitask operation system Download PDF

Info

Publication number
CN1337622A
CN1337622A CN 01141429 CN01141429A CN1337622A CN 1337622 A CN1337622 A CN 1337622A CN 01141429 CN01141429 CN 01141429 CN 01141429 A CN01141429 A CN 01141429A CN 1337622 A CN1337622 A CN 1337622A
Authority
CN
China
Prior art keywords
user
event
window
cui
incident
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
CN 01141429
Other languages
Chinese (zh)
Other versions
CN1142487C (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.)
Beijing Sifang Automation Co Ltd
Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
SIFANG TONGCHUANG PROTECTION AND CONTROL EQUIPMENT 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 SIFANG TONGCHUANG PROTECTION AND CONTROL EQUIPMENT CO Ltd filed Critical SIFANG TONGCHUANG PROTECTION AND CONTROL EQUIPMENT CO Ltd
Priority to CNB011414294A priority Critical patent/CN1142487C/en
Publication of CN1337622A publication Critical patent/CN1337622A/en
Application granted granted Critical
Publication of CN1142487C publication Critical patent/CN1142487C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The method for creating embedded graphical user interface in the real-time multitask operation system includes the following steps: initializing graphical user interface (CUI), starting necessary system timer by CUI, reading-in configuration file of every protection interval of transformer substation and storing in its internal storage area; system logging and judging that it is legal user or not, it logging is in failure, it can allow user to log again or directly sign-off, and release dynamically-distributed internal storage; if the system logging is successful, creating main user interface window and opening window of event input for user, utilizing interface to input event message; and according to inputted event message outputting related event. The CUI created by said invented method is simple in operation, can make user conveniently inquire all the informations of transformer substation.

Description

In real-time multi-task operating system, set up the method for embedded graphic user interface
Technical field
The present invention relates to power communication system, relate more specifically to the telemechanical in the automation of transformation substations and the method for control.
Background technology
Be applied to the complex control system of transformer station, especially be suitable for the product of the above transformer station of 110KV electric pressure, all can provide supporting graphic user interface usually, make things convenient for the operator on duty's of transformer station use.Present stage, common many frameworks of graphic user interface were on the operating platform of transformer station's control system, mainly comprised two types:
A kind of is that framework is on Window ' NT (Windows ' 2000) operating system platform, run on PC or workstation, the Object oriented programming instrument and the corresponding programmed environment that adopt Microsoft or other companies to provide---for example Visual C, Visual Basic, the graphic user interface of Delphi (the object-oriented development software package that Borland company produces) exploitation; The advantage of such product is to run on mainstream operation system, and exploitation and aid are powerful.
Another kind be framework on UNIX (Solaris, SCO Unix, HP-UX etc.) operating system platform, majority runs on workstation, adopts Motif (graphic interface of Open Software Foundation) graphic interface Software tool to unwrap the user interface of sending out; The advantage of this series products is that stability is high, and is portable strong, friendly interface.
But the common problem that exists of above-mentioned two types of products is very high for the resource requirement of hardware platform, comprises the arithmetic speed of processor, scale of internal memory or the like, will cause the increase of cost.
Summary of the invention
The objective of the invention is to overcome above-mentioned defective of the prior art, a kind of method of setting up embedded graphic user interface in the micro-kernel real-time multi-task operating system is provided.
The objective of the invention is to realize by the following technical solutions, described a kind of method of setting up embedded graphic user interface in the micro-kernel real-time multi-task operating system comprises step:
(CUI) carries out initialization to this graphic user interface, and CUI starts necessary system timer, reads in the configuration file at each protection interval of transformer station and is stored in its memory field;
System login also judges whether it is validated user, if login failure allows the user to login again, or directly logs off, and discharges the internal memory of dynamic assignment;
If the system login success, the interface of setting up main user interface windows and the open incident of user being imported is by interface incoming event message;
According to incoming event message, export relevant incident.
Incoming event is " the Data Update timer time arrives " in the described incoming event message, per 1 second, (can adjust) this incident was triggered, corresponding outgoing event is to make data all in the available data list window be updated to currency, so that the user observes up-to-date real time data;
Incoming event is " user's operation " in the described incoming event message, the user at any time can be by the operation of mouse or keyboard, request is input in the event handling major cycle, and major cycle is according to the different information of input, produce all kinds of outgoing events respectively as requested, described all kinds of outgoing events comprise: show real time data, i.e. the relay protection interval information of selecting according to the user, sub-category pop-up window shows corresponding real time data tabulation; The user facility operation menu is provided, i.e. the relay protection interval information of selecting according to the user, the pop-up device remotely-controlled object is selected window, by the operation to message queue between database and the CUI, makes the user can the actuating equipment remote control; The presented event record promptly accesses the alarm window that shows nearest some logouts; The nusrmgr.cpl function is provided, promptly allows the active user to add new validated user, and will deposit specific file in after the new user name that add and the password encryption; Log off, the module that promptly logs off has disconnected and the getting in touch of database core, and has discharged the internal memory of dynamic assignment, closes the window that all are opened.
Incoming event is " incident inquiry timer time arrives " in the described incoming event message, per 1 second, (can adjust) this incident was triggered, corresponding outgoing event is " if any the automatic pop-up window of incident ", it is the message queue of setting up between Query Database and the CUI, if the generation of remote signalling displacement incident, the out-of-limit incident of remote measurement, protection action event, device alarm event or sequence of events recording (SOE) is arranged, then eject the event alarm window, so that in time point out the user that critical event has taken place; If the event alarm window is opened, then upgrade the content of prompt immediately.
Advantage of the present invention is: consider transformer station's control and the actual needs of communicating by letter, and the characteristics of QNX and graphical development tool thereof, the function of CUI is succinct, simple to operate, objective interface, can provide the user to inquire about the comprehensive information of transformer station easily, and can assisting users the equipment of transformer station be carried out operations necessary.
Description of drawings
Further specify the concrete steps and the advantage of the inventive method below in conjunction with accompanying drawing.
Fig. 1 is the software flow synoptic diagram of the concrete steps of the inventive method.
The specific embodiment
Fig. 1 is the software flow schematic diagram of the concrete steps of the inventive method. As shown in Figure 1, side of the present invention Method is summarised as:
(CUI) initializes to this graphic user interface, and CUI starts necessary system timer, reads Enter the configuration file at each protection interval of transformer station and be stored in its memory field;
System login also judges whether it is validated user, if login failure allows the user again to login, or straight Connect and log off, and the internal memory that distributes of release dynamics;
If the system login success, the interface of setting up primary family interfaces windows and the open event of user being imported would be logical Cross interface incoming event message;
According to incoming event message, export relevant event.
Incoming event is " the Data Update timer time arrives " in the described incoming event message, and per 1 second (can Adjust) this event is triggered, and corresponding outgoing event is to make data all in the available data list window by more New is currency, so that the user observes up-to-date real time data;
Incoming event is " user's operation " in the described incoming event message, the user at any time can by mouse or The operation of keyboard is input to request in the event handling major cycle, and major cycle according to the input different information, Produce as requested respectively all kinds of outgoing events, described all kinds of outgoing events comprise: show real time data, namely According to the relay protection interval information of user selection, sub-category pop-up window shows corresponding real time data tabulation; The user facility operation menu is provided, namely according to the relay protection interval information of user selection, pop-up device remote control pair Resemble selection window, by the operation to message queue between database and the CUI, make the user can actuating equipment distant Control; The presented event record namely accesses the alarm window that shows nearest some logouts; User account is provided Management function namely allows the active user to add new validated user, and with new user name and the password encryption added After deposit specific file in; Log off, the module that namely logs off has disconnected and the contacting of database core, and releases Put the internal memory of dynamic assignment, closed the window that all are opened.
Incoming event is " event inquiry timer time arrives " in the described incoming event message, and per 1 second (can Adjustment) this event is triggered, and corresponding outgoing event is " if any event automatic spring window ", namely inquires about number According to the message queue of setting up between storehouse and the CUI, if having remote signalling displacement event, the out-of-limit event of remote measurement, protection to move Do the generation of event, device alarm event or sequence of events recording (SOE), then eject the event alarm window, with Just in time critical event has taken place in prompting user; If the event alarm window is opened, then upgrade immediately window The content of prompting.
The software flow of its concrete steps is: from step S00, step S01 is the initialization section of CUI Divide. Do not set up oneself independently database owing to consider the hardware resource that embedded system is limited, CUI, And just link specific core customer's real-time data base, the user interface letter that provides by database in case of necessity Count, carry out the read-write operation of data. In initialization section, CUI has started necessary system timer, reads in The configuration file at each protection interval of transformer station is stored in the memory field, fills the simple data structure of oneself, with Avoid frequent file operation. Step S02 carries out system login, and user right is checked. It is right to eject The words frame, the prompting user login. Step S03 judges whether login is successful, checks that the user name of User input reaches Password, the record in the password comparison file judges whether it is validated user. If by checking the login dialogue Frame meeting autoshutdown; As not by checking, then eject logon error prompt alarm frame. Step S04-logins mistake Lose the content of rear removing input last time, allow the user again to login. Also allow behind the step S05-login failure to use The family is directly selected to withdraw from. The module that logs off has disconnected and the contacting of database core, and has discharged dynamic assignment Internal memory, close the window that all are opened. Step S06-logins successfully the main interfaces windows of rear appearance, to using The interface of event input has been opened at the family; By the event message of total interface input, will be sent to be in to receive and hinder The event handling major cycle of the CUI of plug state (being the accepting state that we often say) generates phase by major cycle The outgoing event of answering. This major cycle is responsible for processing all screen inputs, keyboard input, mouse action event, Dispatch simultaneously various interrupt routines, be responsible for the interface filtration, cut out and output services, be all graphical users The Scheduling Core of interface software. One of step S07-incoming event is " the Data Update timer time arrives ", Per 1 second, (capable of regulating) this event was triggered. Corresponding outgoing event is that S14-makes the available data list window In all data be updated to currency so that the user observes up-to-date real time data. Step S08-input Two of event is " user's operations ". The user can by the operation of mouse or keyboard, be input to request at any time In the event handling major cycle, and major cycle produces respectively all kinds of outputs as requested according to the different information of input Event mainly is included in step S10 according to the relay protection interval information of user selection, sub-category pop-up window, Show corresponding real time data tabulation; Provide the user facility operation menu at step S11, according to user selection The relay protection interval information, pop-up device remotely-controlled object selection window is by to message between database and the CUI The operation of formation makes the user can the actuating equipment remote control; Access recently some events notes of demonstration at step S12 The alarm window of record; Step S13-provides the nusrmgr.cpl function, and it is new legal to allow the active user to add The user, and will deposit specific file in after the new user name that add and the password encryption; Also fair at step S05 in step Family allowable is directly selected to withdraw from. The module that logs off has disconnected and the contacting of database core, and has discharged dynamically The internal memory that distributes is closed the window that all are opened. Incoming event in step S09 incoming event message is " thing Part inquiry timer time arrives ", per 1 second, (capable of regulating) this event was triggered, accordingly at step S15 Outgoing event is " if any event automatic spring window ", the message team that namely sets up between Query Database and the CUI Row are if having remote signalling displacement event, the out-of-limit event of remote measurement, protection action event, device alarm event or event The event alarm window is then ejected in the generation of journal (SOE), so that in time important thing has taken place prompting user Part; If the event alarm window is opened, then upgrade immediately window.
Owing to do to minimize when installing based on the real-time multi-task operating system QNX of Microkernel, only need take The memory space of less than 2,000,000 is no more than 3,000,000 behind the adding networking component, increases necessary font file and figure After changing the interface and supporting, approximately take 4.5 Mbytes, can be installed in electric board fully or other type low capacity is deposited On the storage media. And if adopt 486 CPU (dominant frequency is 133MHz) and 32,000,000 internal memory, just fully can To reach substation field control and the requirement of real-time of communicating by letter. This shows graphical based on QNX exploitation User interface compare with the product of other types for hardware require much lowerly, can be applied to Embedded hard The part platform.
Photon is a kind of towards the QNX real-time oss graphic user interface interface that QNX uses of unifying (GUI), it provides a kind of flexibly easy-to-use environment for end user and developer. For the ease of exploitation QNX uses runs on graphic user interface under the photon, and photon provides a kind of and opened eaily The instrument of sending out " Photon Application Builder (being called for short PhAB---the graphical application development tool of Photon) ". Utilize PhAB, can be relatively easy to make a user interface that is similar to the close friend of CUI.
Consider Substation control and the actual needs of communicating by letter, and the characteristics of QNX and graphical development tool thereof, the function of CUI is succinct, simple to operate, objective interface, can provide the user to inquire about easily the comprehensive information of transformer station, and can carry out the operation of necessity to the equipment of transformer station by assisting users, specific as follows:
1. according to user's requirement, show the real-time number of corresponding switching value virtual condition, analog quantity and electricity
According to;
2. the user can be by simple mouse clicking operation, to gate-controlled switch, disconnecting link and other equipment at full station
Carry out remote control;
3. when event takes place in the protection interval that need to monitor, can be to user's notice that initiates a message.
4. according to the real work needs, increase the validated user of system, and the setting operation authority.
For the purpose of illustration and description, provide the description of the front of the preferred embodiment of the present invention. It is not Detailed or limit the invention to the accurate form of exposure. According to top instruction many modifications and variations be Possible. Scope of the present invention is not to be limited by this detailed description, but defined by the appended claims.

Claims (4)

1. method of in the micro-kernel real-time multi-task operating system, setting up embedded graphic user interface, the method comprising the steps of:
(CUI) carries out initialization to this graphic user interface, and CUI starts necessary system timer, reads in the configuration file at each protection interval of transformer station and is stored in its memory field;
System login also judges whether it is validated user, if login failure allows the user to login again, or directly logs off, and discharges the internal memory of dynamic assignment;
If the system login success, the interface of setting up main user interface windows and the open incident of user being imported is by interface incoming event message;
According to incoming event message, export relevant incident.
2, method according to claim 1, it is characterized in that: incoming event is " the Data Update timer time arrives " in the described incoming event message, per 1 second, (can adjust) this incident was triggered, corresponding outgoing event is to make data all in the available data list window be updated to currency, so that the user observes up-to-date real time data;
3, method according to claim 2, it is characterized in that: incoming event is " user's operation " in the described incoming event message, the user at any time can be by the operation of mouse or keyboard, request is input in the event handling major cycle, and major cycle is according to the different information of input, produce all kinds of outgoing events respectively as requested, described all kinds of outgoing event comprises: show real time data, the i.e. relay protection interval information of selecting according to the user, sub-category pop-up window shows corresponding real time data tabulation; The user facility operation menu is provided, i.e. the relay protection interval information of selecting according to the user, the pop-up device remotely-controlled object is selected window, by the operation to message queue between database and the CUI, makes the user can the actuating equipment remote control; The presented event record promptly accesses the alarm window that shows nearest some logouts; The nusrmgr.cpl function is provided, promptly allows the active user to add new validated user, and will deposit specific file in after the new user name that add and the password encryption; Log off, the module that promptly logs off has disconnected and the getting in touch of database core, and has discharged the internal memory of dynamic assignment, closes the window that all are opened.
4, method according to claim 3, it is characterized in that: incoming event is " incident inquiry timer time arrives " in the described incoming event message, per 1 second, (can adjust) this incident was triggered, corresponding outgoing event is " if any the automatic pop-up window of incident ", it is the message queue of setting up between Query Database and the CUI, if the generation of remote signalling displacement incident, the out-of-limit incident of remote measurement, protection action event, device alarm event or sequence of events recording (SOE) is arranged, then eject the event alarm window, so that in time point out the user that critical event has taken place; If the event alarm window is opened, then upgrade the content of prompt immediately.
CNB011414294A 2001-09-25 2001-09-25 Method of establishing embedded graphic user interface in real-time multitask operation system Expired - Fee Related CN1142487C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB011414294A CN1142487C (en) 2001-09-25 2001-09-25 Method of establishing embedded graphic user interface in real-time multitask operation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB011414294A CN1142487C (en) 2001-09-25 2001-09-25 Method of establishing embedded graphic user interface in real-time multitask operation system

Publications (2)

Publication Number Publication Date
CN1337622A true CN1337622A (en) 2002-02-27
CN1142487C CN1142487C (en) 2004-03-17

Family

ID=4676163

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB011414294A Expired - Fee Related CN1142487C (en) 2001-09-25 2001-09-25 Method of establishing embedded graphic user interface in real-time multitask operation system

Country Status (1)

Country Link
CN (1) CN1142487C (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100435096C (en) * 2006-12-28 2008-11-19 上海广电(集团)有限公司中央研究院 Image processing method based on C language micro operation system
CN101826980A (en) * 2009-03-06 2010-09-08 西门子公司 The method of communication system of the transmission network of automated system is distributed in selection
CN101276296B (en) * 2007-03-29 2011-03-09 上海新跃仪表厂 Method for realizing message response mechanism on embedded computer system
CN101447889B (en) * 2008-03-21 2011-08-24 中兴通讯股份有限公司 Network management system and GUI client login control method
CN101051043B (en) * 2006-12-28 2011-11-16 深圳迈瑞生物医疗电子股份有限公司 Realizing method and device for individual operation of biochemical analyzer user
CN101398767B (en) * 2007-09-29 2012-05-09 联想(北京)有限公司 User login method and device of virtual machine system
CN102819390A (en) * 2012-07-20 2012-12-12 紫光测控有限公司 Method and system for remotely controlling substation equipment
CN111737684A (en) * 2020-08-10 2020-10-02 武汉生之源生物科技股份有限公司 Data safety control method in biochemical analyzer system
CN113806136A (en) * 2021-09-28 2021-12-17 延锋伟世通电子科技(南京)有限公司 HMI simulation and automatic verification method based on QPIC

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100435096C (en) * 2006-12-28 2008-11-19 上海广电(集团)有限公司中央研究院 Image processing method based on C language micro operation system
CN101051043B (en) * 2006-12-28 2011-11-16 深圳迈瑞生物医疗电子股份有限公司 Realizing method and device for individual operation of biochemical analyzer user
CN101276296B (en) * 2007-03-29 2011-03-09 上海新跃仪表厂 Method for realizing message response mechanism on embedded computer system
CN101398767B (en) * 2007-09-29 2012-05-09 联想(北京)有限公司 User login method and device of virtual machine system
CN101447889B (en) * 2008-03-21 2011-08-24 中兴通讯股份有限公司 Network management system and GUI client login control method
CN101826980A (en) * 2009-03-06 2010-09-08 西门子公司 The method of communication system of the transmission network of automated system is distributed in selection
CN101826980B (en) * 2009-03-06 2015-07-22 西门子公司 Method for selecting a communication system assigned to a transmission network of an automation system
US9128478B2 (en) 2009-03-06 2015-09-08 Siemens Ag Method for selecting a communication system assigned to a transmission network of an automation system
CN102819390A (en) * 2012-07-20 2012-12-12 紫光测控有限公司 Method and system for remotely controlling substation equipment
CN111737684A (en) * 2020-08-10 2020-10-02 武汉生之源生物科技股份有限公司 Data safety control method in biochemical analyzer system
CN111737684B (en) * 2020-08-10 2020-12-08 武汉生之源生物科技股份有限公司 Data safety control method in biochemical analyzer system
CN113806136A (en) * 2021-09-28 2021-12-17 延锋伟世通电子科技(南京)有限公司 HMI simulation and automatic verification method based on QPIC

Also Published As

Publication number Publication date
CN1142487C (en) 2004-03-17

Similar Documents

Publication Publication Date Title
US6212546B1 (en) Providing a modular gateway architecture which isolates attributes of the client and server systems into independent components
US6769118B2 (en) Dynamic, policy based management of administrative procedures within a distributed computing environment
US5666534A (en) Method and appartus for use by a host system for mechanizing highly configurable capabilities in carrying out remote support for such system
Steffen et al. Hierarchical service definition
EP0489351A2 (en) Software work tool
KR20010042737A (en) Visual data integration system and method
CN101951366A (en) Single-point logon method and system based on character terminal
CN1337622A (en) Method of establishing embedded graphic user interface in real-time multitask operation system
CN101854359A (en) Access control method based on virtualized calculation
CN114741056A (en) Internet of things management platform based on big data and cloud computing
JP2000048026A (en) Method for retrieving data inside database
CN112925666A (en) Third-party API integrated management method based on groovy script technology
CN101227349B (en) Device and method for automatically testing system change
JP2000209624A (en) Method for configuring hardware device database
CN116011943A (en) Robot automation flow service system, method and medium based on low codes
CN113991858A (en) Substation control system based on platform + APP framework
CN1286040C (en) Managing and application method of test system
CN113050927A (en) Permission control method and device based on user-defined instruction and computer equipment
EP1119167B1 (en) A real-time object-oriented system for tapi service providers
CN112419582A (en) Method for reading social security card information based on BS architecture, card reading device and medical self-service equipment
JP2000032512A (en) Structuring method of operator service database
JP2000032514A (en) Method for structuring dialing project database
CN114553930B (en) System integration method, device, computer equipment and storage medium
US7363631B1 (en) Interface for accessing an open distributed transaction processing system log file
CN1177443C (en) Method for managing standard operation interface for ATM network and its system

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: BEIJING SIFANG JIBAO AUTOMATION CO., LTD.

Free format text: FORMER OWNER: SIFANG TONGCHUANG PROTECTION AND CONTROL EQUIPMENT CO., LTD., BEIJING

Effective date: 20040514

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

Effective date of registration: 20040514

Patentee after: Beijing Sifang Jibao Automation Co., Ltd.

Patentee before: Sifang Tongchuang Protection and Control Equipment Co., Ltd.

ASS Succession or assignment of patent right

Owner name: CHINA RESEARCH INSTITUTE OF ZHEJIANG ELECTRIC POWE

Effective date: 20141115

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

Effective date of registration: 20141115

Address after: 100085 Beijing city on the base of the information industry on the street, No. four, No. 9, Haidian District

Patentee after: Beijing Sifang Jibao Automation Co., Ltd.

Patentee after: State Grid Zhejiang Electric Power Corporation Research Institute

Address before: 100085 Beijing city on the base of the information industry on the street, No. four, No. 9, Haidian District

Patentee before: Beijing Sifang Jibao Automation Co., Ltd.

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

Granted publication date: 20040317

Termination date: 20180925

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