CN106909359B - Key layering implementation method for graphical interface of anesthesia machine user - Google Patents
Key layering implementation method for graphical interface of anesthesia machine user Download PDFInfo
- Publication number
- CN106909359B CN106909359B CN201510977678.XA CN201510977678A CN106909359B CN 106909359 B CN106909359 B CN 106909359B CN 201510977678 A CN201510977678 A CN 201510977678A CN 106909359 B CN106909359 B CN 106909359B
- Authority
- CN
- China
- Prior art keywords
- key
- keys
- current
- path
- menu
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Abstract
The invention provides a key layering implementation method for a user graphical interface of an anesthesia machine, which comprises the following steps: according to the attributes of menus and keys in each level of hierarchical layout on a graphical interface, hierarchical management of the menus and keys in each level is realized, namely in the process of traversing the menus in each level by a user, when the user operates one key, the key is positioned according to the key path and the key effective area of the key. The method of the invention can greatly reduce the limitation of the graphic interface of the anesthesia machine user without the operating system on the number and the position of the keys, and has the advantages of expandability and easy maintenance.
Description
Technical Field
The invention relates to the field of anesthesia machines, in particular to a key layering implementation method for a graphical interface of an anesthesia machine user.
Background
Currently, the user graphical interface of an anesthesia machine typically includes: basic items such as a main interface, mode selection, alarming, system setting, system detection and configuration and the like, wherein 2-4 submenus with 2-3 levels of depth are arranged below each menu; each menu comprises a plurality of keys.
When the anesthesia machine user graphical interface platform runs under the Windows operating system, a developer can define the attributes of the menu, the keys and other controls in advance, and the operating system can automatically judge the current active interface and position the key operation of the user according to the current active interface.
When any key operation of a user is positioned and searched on a graphical interface platform of a user of the anesthesia machine without an OS (operating system), a reasonable key distribution structure needs to be customized to ensure the independence and uniqueness of key definition. For some simple user interfaces, all keys may be tiled on the display without overlap, and the search for a position from these buttons may be performed when a user operates the buttons. However, this approach does not allow for overlapping button zones, and has a large limitation on the number of buttons, and particularly on the location of the buttons, and is not suitable for use in anesthesia machine user interfaces where the menu is relatively complex.
Disclosure of Invention
The invention aims to overcome the difficulties that the graphical interface of the anesthesia machine user without the OS has limitations on key positioning, key number and layout, is difficult to expand and has unclear layers, and provides a key layering implementation method of the graphical interface of the anesthesia machine user.
In order to achieve the above object, the present invention provides a method for implementing a key hierarchy of a user graphical interface of an anesthesia machine, the method comprising: according to the attributes of menus and keys in each level of hierarchical layout on a graphical interface, hierarchical management of the menus and keys in each level is realized, namely in the process of traversing the menus in each level by a user, when the user operates one key, the key is positioned according to the key path and the key effective area of the key.
In the above technical solution, the method specifically includes:
step 1) setting an initial value of a current key and an initial value of a current path according to the menu and the attribute of the key;
the attributes of the menu include: the number of stages of the menu and the total number of keys on the menu; the labels of a plurality of keys on each level of menu start from 0; the attributes of the key include: the number of the keys, the serial numbers of the keys, the names of the keys, the paths of the keys, the states of the keys and the key effective areas;
the initial value of the current key is a key with the progression of 0 and the number of 0, and the current path is a path of the key with the progression of 0 and the number of 0;
step 2) opening a menu corresponding to the current key, and updating the current key to the key with the highest current stage number and the serial number of 0; the current path is the path of the key;
step 3) matching the path of the key to be activated with the current path, and entering step 4) if the matching is successful; otherwise, entering step 5);
step 4), if the current operation position information (x, y) falls in the key effective area of the current key, turning to step 8);
step 5) updating the current key to a key with the unchanged stage number and the number added with 1, wherein the current path is the path of the key, and turning to the step 3); until all keys are matched under the stage number; turning to step 6);
step 6) updating the current key to a key with the number of stages minus 1 and the number of 0, wherein the current path is the path of the key; turning to step 3); until all keys are matched under the stage number; turning to step 7);
step 7) updating the current key to the key with the number of 1 minus the number of the stage, wherein the current path is the path of the key; turning to step 2); until all keys are matched under the stage number; turning to step 9);
step 8), ending key positioning;
and 9) traversing the menu to end.
The invention has the advantages that: the method of the invention can greatly reduce the limitation of the graphic interface of the anesthesia machine user without OS on the number and the position of the keys, and has the advantages of expandability and easy maintenance.
Drawings
FIG. 1 is a flow chart of a method for implementing a key hierarchy of a graphical interface of an anesthesia machine user according to the present invention.
Detailed Description
The invention is described in further detail below with reference to the figures and specific examples.
As shown in fig. 1, a method for implementing a key hierarchy of a graphical interface of a anesthesia machine user includes:
step 1) setting an initial value of a current key and an initial value of a current path according to the menu and the attribute of the key;
the attributes of the menu include: the number of stages of the menu and the total number of keys on the menu; the labels of a plurality of keys on each level of menu start from 0;
in this embodiment, the main interface menu and the keys thereon are at level 0, and the keys of the main interface menu are respectively: mode operation, alarm and system, the labels of the keys are 0, 1 and 2 respectively; clicking the keys on the menu popped up by the system key is respectively as follows: displaying, information, setting and closing, wherein the number of the key stages is 1, and the numbers of the keys are 0, 1, 2 and 3 respectively; clicking the buttons on the display menu popped up by the display button respectively comprises: pressure, waveform, and pressure units; the number of the key stages is 2, and the numbers of the keys are 0, 1 and 2 respectively.
The attributes of the key include: the number of the keys, the serial numbers of the keys, the names of the keys, the paths of the keys, the states of the keys and the key effective areas; the states of the keys include: pressed and raised.
The initial value of the current key is a key with the progression of 0 and the number of 0, and the current path is a path of the key with the progression of 0 and the number of 0;
step 2) opening a menu corresponding to the current key, and updating the current key to the key with the highest current stage number and the serial number of 0; the current path is the path of the key;
step 3) matching the path of the key to be activated with the current path, and entering step 4) if the matching is successful; otherwise, entering step 5);
step 4), if the current operation position information (x, y) falls in the key effective area of the current key, turning to step 8);
step 5) updating the current key to a key with the unchanged stage number and the number added with 1, wherein the current path is the path of the key, and turning to the step 3); until all the key paths under the stage are matched; turning to step 6);
step 6) updating the current key to a key with the number of stages minus 1 and the number of 0, wherein the current path is the path of the key; turning to step 3); until all keys are matched under the stage number; turning to step 7);
step 7) updating the current key to the key with the number of 1 minus the number of the stage, wherein the current path is the path of the key; turning to step 2); until all keys are matched under the stage number; turning to step 9);
step 8), ending key positioning;
and 9) traversing the menu to end.
Claims (1)
1. A key layering implementation method of a graphical interface of a user of an anesthesia machine comprises the following steps:
according to the attributes of menus and keys at all levels in hierarchical layout on a graphical interface, hierarchical management of the menus and keys at all levels is realized, namely in the process of traversing the menus at all levels by a user, when the user operates one key, the key is positioned according to the key path and the key effective area of the key;
the method specifically comprises the following steps:
step 1) setting an initial value of a current key and an initial value of a current path according to the menu and the attribute of the key;
the attributes of the menu include: the number of stages of the menu and the total number of keys on the menu; the labels of a plurality of keys on each level of menu start from 0; the attributes of the key include: the number of the keys, the serial numbers of the keys, the names of the keys, the paths of the keys, the states of the keys and the key effective areas;
the initial value of the current key is a key with the progression of 0 and the number of 0, and the current path is a path of the key with the progression of 0 and the number of 0;
step 2) opening a menu corresponding to the current key, and updating the current key into a key with the highest grade and the serial number of 0; the current path is the path of the key;
step 3) matching the path of the key to be activated with the current path, and entering step 4) if the matching is successful; otherwise, entering step 5);
step 4), if the current operation position information (x, y) falls in the key effective area of the current key, turning to step 8);
step 5) updating the current key to a key with the unchanged stage number and the number added with 1, wherein the current path is the path of the key, and turning to the step 3); until all keys are matched under the stage number; turning to step 6);
step 6) updating the current key to a key with the number of stages minus 1 and the number of 0, wherein the current path is the path of the key; turning to step 3); until all keys are matched under the stage number; turning to step 7);
step 7) updating the current key to the key with the number of 0 and the number of the stage minus 1, wherein the current path is the path of the key; turning to step 3); until all keys are matched under the stage number; turning to step 9);
step 8), ending key positioning;
and 9) traversing the menu to end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510977678.XA CN106909359B (en) | 2015-12-23 | 2015-12-23 | Key layering implementation method for graphical interface of anesthesia machine user |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510977678.XA CN106909359B (en) | 2015-12-23 | 2015-12-23 | Key layering implementation method for graphical interface of anesthesia machine user |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106909359A CN106909359A (en) | 2017-06-30 |
CN106909359B true CN106909359B (en) | 2020-04-24 |
Family
ID=59199684
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510977678.XA Active CN106909359B (en) | 2015-12-23 | 2015-12-23 | Key layering implementation method for graphical interface of anesthesia machine user |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106909359B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111752558A (en) * | 2019-03-29 | 2020-10-09 | 中央电视台 | Control panel page configuration method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1256840A (en) * | 1997-04-14 | 2000-06-14 | 汤姆森消费电子有限公司 | System for processing and decoding MPEG compatible data and internet information |
US7966577B2 (en) * | 2005-10-11 | 2011-06-21 | Apple Inc. | Multimedia control center |
CN102609252B (en) * | 2012-01-16 | 2016-07-06 | 中国电子科技集团公司第四十一研究所 | Based on the logic menu resource intelligent configuration method measuring instrument |
CN103646116A (en) * | 2013-12-26 | 2014-03-19 | 杭州国电电气设备有限公司 | Method and device for creating graphical interface of equipment in distribution network |
-
2015
- 2015-12-23 CN CN201510977678.XA patent/CN106909359B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106909359A (en) | 2017-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104133612A (en) | Method and system for displaying functions of application program of intelligent terminal | |
WO2014018006A1 (en) | Initiating a help feature | |
KR101830777B1 (en) | Method and apparatus for controlling display of item | |
US9361505B2 (en) | Display device and method of controlling therefor | |
US9448705B2 (en) | Configuring graphical displays | |
CN106445392A (en) | Operating method of status bar icon and mobile terminal | |
CN104639758B (en) | Alarm clock control method and alarm clock control device applied to intelligent terminal | |
CN103617002A (en) | Method and device for achieving touch interface | |
CN110417988A (en) | A kind of interface display method, device and equipment | |
CN104238794B (en) | The response method and terminal, mobile terminal of a kind of pair of contact action | |
CN108334321A (en) | The presentation device of program code, method and device | |
BR102016007125B1 (en) | SYSTEM FOR VIEWING AN AIRCRAFT PROCEDURE AND METHOD FOR VIEWING AN AIRCRAFT PROCEDURE | |
CN111506244A (en) | Control dragging display method and system, intelligent terminal and storage medium | |
JP2009217473A (en) | Plant information display device and method | |
CN106909359B (en) | Key layering implementation method for graphical interface of anesthesia machine user | |
US10523523B2 (en) | Infographic search | |
CN106033301A (en) | An application program desktop management method and a touch screen terminal | |
CN105718109B (en) | A kind of the weight processing method and mobile terminal of touching display screen | |
EP3321752A1 (en) | Controller, control method for controller, and information processing program | |
EP3330844A1 (en) | Method for displaying monitoring screen | |
CN112148169B (en) | Identification display control method and device and electronic equipment | |
CN106775297A (en) | A kind of terminal control method and terminal | |
CN103677611A (en) | Information processing method and electronic equipment | |
CN106708558A (en) | Method and device for closing application program | |
EP3611635B1 (en) | User interfaces and parameterized dashboards |
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 |