Embodiment
For make within the present invention hold more clear, below the example that can implement according to this really as the present invention especially exemplified by embodiment.
Fig. 1 is the Organization Chart of the man-machine interface design of preferred embodiment of the present invention.Please refer to Fig. 1, the framework of present embodiment is to utilize man-machine interface statement instrument 110, crossover tool 120, and separates reader/three unit such as device 130, and can create the man-machine interface design method that a menu and program are separated fully jointly.Wherein, man-machine interface statement instrument 110 and the Software tool of crossover tool 120 for carrying out on personal computer are used by the man-machine interface designer, separate read apparatus 130 then to be arranged in the electronic installation, and the designer is developed by device.
Indication of the present invention it " button " is meant that user or man-machine interface deviser (following general designation user) can define the button of its function voluntarily, do not comprise that users such as similar machine open/close, replacement can't change the button of its function.The present invention's man-machine interface comprises: one group of button, single menu and can present the display screen (display) of various pictures; Wherein, picture includes but not limited to: pattern, literal, animation, sound, light efficiency, vibrations, smell etc.; Menu of the present invention is the tree structure that comprises a root node and a plurality of connected nodes, each node one or more child node families (sub-nodefamily) of can deriving; Different with traditional tree structure is that a node can produce several child node families, but not has only a child node family.
Often have human family tree to explain tree structure, menu structure of the present invention can illustrate that then Fig. 2 is an embodiment of the present invention's menu structural drawing with the family tree in polygamy epoch.In the Old Testament, Jacob (Jacob) 10 has been given birth to Leah (Leah): stream just (Reuben) 21, Simeon (Simeon) 22, profit not (Levi) 23, Judas (Judah) 24, Issachar (Issachar) 25, with western Boulogne (Zebulun) 26 these six children, these six children promptly form a first node family (nodefamily) 20, also can be described as the direct line of descent (direct lineage) the child node family of Jacob.For instance, from Jacob 10 these father nodes, can be with general right button by eldest son's " stream just " 21 of migration to this child node family, then between the brother (sibling) of this first node family 20, with on general/following key, can migration arrive other child node, and all can get back to Jacob 10 these father nodes by general left button from any one child node of first node family 20.
Jacob has been given birth to drawknot (Rachel) again: about plucked instrument (Joseph) 31 and Benjamin (Benjamin) 32 these two children, in like manner, these two children also form one the 2nd node family 30, and it just can be regarded as (concubine) child node family that is born of a concubine of Jacob.For instance, if from Jacob 10 these nodes, get final product eldest son's " about plucked instrument " 31 of migration to the 2 node families 30 by super key 1 of the present invention (SK1), then between the brother of the 2nd node family 30, with on general/following key, can migration between about plucked instrument 31 and Benjamin 32 these two brotghers of node.Same, all can get back to Jacob 10 these father nodes from any one child node of the 2nd node family 30 by general left button.
In addition, Jacob gives birth to knowing handkerchief (Zilpah) that character used in proper names and in rendering some foreign names gets (Gad) 41, (Asher) 42 these two children are established in the Asia again, and in like manner, these two children also form one the 3rd node family 40, and it also can be regarded as (concubine) child node family that is born of a concubine of Jacob.For instance, if from Jacob 10 these nodes, get final product eldest son's " character used in proper names and in rendering some foreign names gets " 41 of migration to the 3 node families 40 with super key 2 of the present invention (SK2), then between the brother of the 3rd node family 40, with on general/following key, can character used in proper names and in rendering some foreign names get 41 and the Asia establish migration between 42 these two brotghers of node, same, all can get back to Jacob 10 these father nodes from any one child node of the 3rd node family 40 by general left button.
Jacob again with ward off draw (Bilhah) to give birth to but (Dan) 51, Naphtali (Naphtali) 52 these two children, in like manner, these two children also form one the 4th node family 50, and it can be regarded as (concubine) child node family that is born of a concubine of Jacob too.For instance, if from Jacob 10 these nodes, with super key 3 of the present invention (SK3) can migration to the 4 node families 50 the eldest son " but " 51, then between the brother of the 4th node family 50, with on general/following key, can but 51 and Naphtali 52 these two brotghers of node between migration, same, all can get back to Jacob 10 these father nodes from any one child node of the 4th node family 50 by general left button.
In the present invention, each node is definable all: the operation of its acceptable button, picture displayed, execution, and various attribute; And the function of button only is to indicate from a node migration to its adjacent node, that is has changed (renewal) present node (current node), does not comprise the indication of executable operations.And the adjacent node of this node promptly comprises father node, brother's node, younger brother's node, eldest son's (closely related eldest son) node of its child node family or eldest son's (eldest son is born of a concubine) node of its child node family that is born of a concubine of this node.The function of definition push key allows the user to define different buttons, comprises the button of represent direction in these buttons, provides the user how to be used for representing from a node motion to another node that is close to.Direction herein refers to the direction of the migration between node of broad sense, except two-dimensional space traditionally up and down or four orientation, upper right bottom right, upper left lower-left, wherein represent the button of dextrad normally to be directed to closely related eldest son's node of this node, represent the button of left-hand to be directed to the father node of this node usually, in the representative to button be directed to brother's node of node usually, representative down to button then be directed to younger brother's node of this node usually; Can also set several super keys (Super Key; SK), these super bond energys are enough in prior definition, the guiding migration is to the corresponding child node of being born of a concubine (the eldest son's node of normally being born of a concubine), and these child nodes of being born of a concubine are exactly the change of selectable parameter or mode of operation in certain operation of above-mentioned representative usually, but also are not limited to this kind application situation.
In addition, can also set the attribute of node, for example: visible (visible), sightless (invisible), carry out, leave the back immediately and carry out, carry out or the like by right button.And visible node is option; Therefore, visible (visible) node family is option family.
The present invention's man-machine interface statement instrument 110 is to define the menu framework for the user, comprises data such as the picture that defines each node, the button of being accepted, attribute and operation, thereby sets up a menu data structure.The menu data structure comprises: the picture of representation node, attribute, acceptable button, internodal relation/displacement, and the selected back operation that will carry out of node etc., 120 of converse routines are in order to the menu data structure is converted to the exclusive menu data structure of electronic installation.
In addition, separate reader/130 in device and be responsible for receiving the button that the user imported, enter which node according to this button is pairing by the key definition decision then, thereby carry out which kind of operation according to present node.Wherein, entering which node can be by the node and the defined moving direction of input button at present place, calculate with the internodal displacement of writing down in the exclusive menu data structure of device and get that the operation of carrying out then can directly be quoted (invoke) by this electronic installation and be installed the executive routine that is write down in the exclusive menu data structure and finish.
The present invention is because the particular design that adopts the menu structure to separate with the device program, so the user can determine menu framework, button meaning according to own needs, and need not the change program, just can make out the man-machine interface that belongs to self-style to measure.Fig. 3 is the process flow diagram of the man-machine interface design method of preferred embodiment of the present invention.Please refer to Fig. 3, present embodiment is by above-mentioned man-machine interface design architecture, and in order to design human-computer interface of electronic devices such as mobile phone, personal digital assistant, digital camera, MP3 player.
At first, utilize man-machine interface statement instrument definition man-machine interface (step S310).This man-machine interface comprises menu, and this menu be comprise a root node and link to each other more than the tree structure of a node, and each node also can derive at least one child node family.Then, then can continue to define the data (step S320) of each node in this tree structure, comprise: (1) attribute, for example: visible (Visible), sightless (Invisible), carry out immediately, leave the back carry out, by the right button execution etc., wherein visible node promptly can be considered the option in the menu; (2) node the meaning or the code of receptible electronic installation button.
The function of above-mentioned button comprises that the guiding node migration is to its adjacent node, the father node, brother's node, younger brother's node, the closely related eldest son's node that then comprise each node at this so-called adjacent node, and a kind of or its combination in the child node of being born of a concubine (can be the eldest son's node of being born of a concubine on the practice), and by in the child node family that each node derived, having only a child node family is direct line of descent's child node family, and other child node family all is the child node family that is born of a concubine.In addition, above-mentioned button also can include super key, and a kind of in the child node of being born of a concubine of can the guiding node migration deriving to this node can be the eldest son's node of being born of a concubine on the practice.
(3) picture of node, when nodal community comprises when sightless, the data of this node picture can be made as essence and not have (NULL), and when nodal community comprises when visible, the data of this node picture can produce by the following method; For each visible node (being option) in the menu links one or more pixel (icon, or title meta); Because all being fraternal family member adjacent thereto usually, option is presented on together on the picture for you to choose, therefore the present invention allows the user how be arranged at the design of picture according to the option family member, definition masterplate (template) (size of each masterplate approximates the size of electronic installation screen), the different designs that are provided with just can be described by different masterplates, so just each option family can be attached to the masterplate that share, present the picture style and features of own family; The picture of visible node (being option) just can produce according to the masterplate that is linked then; Also have (4) to set the performed operation of node; Same, when node need not be carried out any operation, the data of this nodal operation can be made as essence and not have (NULL).When all node datas all set up finish after, computing machine just can become the first menu data structure with the output of the definition of data of these nodes, comprises each node on the menu: picture, or its combination in the button of accepting, displacement, executable operations and the attribute; Wherein, displacement is deposited side-play amount (offset) within being meant between the adjacent node that node and its button guide to.
Except the attribute of node, the picture of node can comprise: a kind of or its combination in pattern, literal, image, sound, light efficiency and the animation; The performed operational example of node as: carry out electronic installation machine open/close, broadcast, suspend or stop etc. function, when the development with science and technology produces many variations, more than be not in order to limit the present invention for example.And, more than disclosed method or step, also comprise means or instrument or the device that allows the user finish these method/steps is provided.
Then, utilize crossover tool to have the first menu data structure of man-machine interface to be converted to the second exclusive menu data structure (step S330) of electronic installation definition, comprise the operation of the first menu data structure and all reflection archives (Map File) of electronic installation are checked, find out the address of installing program of each operation institute's correspondence, and deposit and remember in the exclusive menu data structure of electronic installation (i.e. the second menu data structure).
Next step then is that the second menu data structure that will convert loads electronic installation (step S340), after treating that electronic installation is opened, separating reader or installing in the electronic installation can be according to the button of user's input, and cooperate the data of the second menu data structure, the guiding node migration is to its adjacent node, and carries out the operation that this node defines.
In another embodiment, a kind of method of man-machine interface is proposed also, by the built-in man-machine interface routine processes of electronic installation it, this man-machine interfacial process comprises provides at least one button, a menu is provided, and a display screen is provided.Wherein, menu is the tree structure that comprises a root node and a plurality of connected nodes, wherein each node can derive at least one child node family, and definition has attribute, the button that can accept, shown picture, and one or its combination in the operation that can carry out.In addition, the function of above-mentioned button arrives the one adjacent node for the guiding node migration, and display screen then is suitable for showing the picture of node.
Adopt above-mentioned man-machine interface method, can the design and the man-machine interface handling procedure of man-machine interface is independent mutually, when the design of this man-machine interface is changed, this man-machine interface handling procedure need not rewritten and can show the man-machine interface effect of changing the back, therefore can significantly save the time that the man-machine interface designer program of rewriting spends.And, more than disclosed method or step, also comprise means or instrument or the device that allows the user finish these method/steps is provided.
Fig. 4 is the operation workflow figure of the man-machine interface statement instrument of preferred embodiment of the present invention, and present embodiment is to illustrate how to use man-machine interface statement instrument to set up a menu data structure.
At first, use a menu organization definition instrument definition menu framework (step S410), this menu structure is the tree structure that comprises a root node and a plurality of connected nodes, and definition menu data structure comprises that each node of definition derives at least one child node family.
Then, re-use the node definition instrument and set the attribute of each node, at least one button that is received, and performed operation (step S420), wherein, the above-mentioned setting data of enumerating is only in order to as one of the present invention embodiment, do not limit its scope, the user sets a kind of or its combination in the above-mentioned data when visual actual needs.
Then, use the picture of each node of picture instrument definition; When nodal community comprises when sightless, the data of this node picture can be made as essence and not have (NULL), when nodal community comprises when visible, the data of this node picture can be attached at least one pixel with each visible node by step S430, the user can be according to individual's hobby, select one or several pixels as the display pixel of representing this option, comprising pattern, literal, a kind of or its combination in image and the animation, the form of these pixels then can by electronic installation choose bitmap (Bitmap for example in the form that can support; BMP) form etc.
In addition, also can use the masterplate instrument to define a plurality of masterplates (step S440), and for each visible node links a kind of in these masterplates that define, thereby the picture of each visible node (being option) produced.Fig. 5 is an embodiment of masterplate, it can hold four options and appear on the picture side by side, so in screen, mark off five rectangle picture frames such as 510,520,530,540 and 550, four picture frames of 520-550 are represented the physical location of four options respectively, 510 expressions are selected the one other pixel of option (being present option), are the text pixel of option names in this embodiment.The effect of masterplate not only indicates the position of option on screen, also provides the user to formulate the source and the display mode of Show Options in the option family for each picture frame.Wherein, there are two kinds of labeling methods in the option source, and one is relative labeling method, and one is the absolute indication method.Relatively labeling method is to be benchmark with present option, and option is present option and subtracts 1 on it, goes up an option again and is present option and subtracts 2, by that analogy; Its next option is present option and adds 1, next again option is present option and adds 2, by that analogy, when adding several results, option surpasses the maximum sequence number of option, or option subtracts several results and becomes negative, then is imagined as annular arrangement (be in the mathematics " Mod " computing) with the family member and annotates its result.The absolute indication rule is represented it with the ordering of option in node family, and for example there are six sub-options in an option family, and then the code name of first option is 1, and last is 6.
It should be noted that, be subject to the screen size of electronic installation, the Total Options of an option family may not be simultaneously displayed on the screen, therefore the picture frame number of masterplate is not the option number that must equal option family, and different option families can adopt different masterplates according to the needs that show.In addition, masterplate allows that also the user selects the presentation mode of each picture frame, in preferred embodiment, presentation mode can be anti-white, brighten, with certain existing graphics overlay or the like, the person of ordinary skill in the field can not break away under the spirit of the present invention, finds out other various different presentation modes to increase the variability of picture.And, more than disclosed method or step, also comprise means or instrument or the device that allows the user finish these method/steps is provided.
The invention provides a kind of instrument of quick and efficient generation picture, the designer can be used masterplate to arrange the relative position of each option on the picture, select the source of option, and presentation mode.Masterplate is easy to produce according to this picture of option by computing machine.When needs are revised the arrangement of picture, only need rearrange position, option source or presentation mode by the correction of masterplate, just can the very fast picture of producing Total Options again.And because the accuracy of location definition can allow each option relevant position of each picture standardized in good order.Though each option all needs to produce picture, the masterplate that commander produces these pictures but only needs a few.
After definition, the binding of masterplate are finished, can use the output instrument with above-mentioned each node data output that defines, become a menu data structure; This menu data structure comprise each node attribute, receptible by key definition, the displacement of adjacent node that each button is directed to, display frame, and required data of taking such as action (step S450).
The feature of this menu data structure is: no matter how man-machine interface changes, as long as store according to this menu data structure mode, just can be separated read apparatus and read, and carry out out the desired behavior pattern of this man-machine interface by the man-machine interface of any the present invention's of being equipped with disclosure.
What deserves to be mentioned is, the operation workflow of above-mentioned man-machine interface statement instrument only is as one of the present invention embodiment, does not limit the wherein order of each step, and the user is when visual actual needs, not breaking away under the spirit of the present invention, flexibly adjust its precedence relationship.And, more than disclosed method or step, also comprise means or instrument or the device that allows the user finish these method/steps is provided.
Last Fig. 6 then introduces the present invention's reader is carried out the every function of electronic installation according to the exclusive data structure of the device that crossover tool converted the embodiment that separates.Separating reader is a program of carrying out in user's device (for example mobile phone, MP3 player and PDA etc.), its function is the exclusive menu data structure of reading device, and make various responses according to the button of user input, comprise mobile node and carry out operations that each node is scheduled to etc.
At first, when electronic installation is opened, can use apparatus for initializing to carry out initialized operation earlier, and set a present node, and with its position in the menu data structure as present position (being the position of node in the second menu data structure) (step S610), this present node normally is arranged in the ground floor of menu data structure.Then, reading device can be by the data (step S620) that read this present node in the exclusive menu data structure of device, the displacement data that moves toward all directions comprising this node, at least one button that can receive, shown picture, and the operation that can carry out.
Next step then is to use one first judgement instrument according to the node data that is read, whether the attribute of judging present node is for carrying out (step S630) immediately, do not carry out if do not belong to immediately, separate on the screen that read apparatus promptly can be shown in the picture data that is taken out electronic installation (step S640), this moment, the user can see the picture of node till now, and electronic installation will be waited for next step operation of user; Otherwise, carry out if belong to immediately, then separate read apparatus and can carry out the operation (step S650) of present node earlier, and after executable operations, show the picture (step S640) of present node.
If the user imports a button, then separating read apparatus can adopt a receiving trap to receive the button (step S660) that the user imported, and use one second to judge that instrument judges that whether the attribute of this present node is to leave the back to carry out (step S670), if answer is for being, then separate read apparatus and can carry out the operation (step S680) of present node equally earlier, and then according to present node location, and the displacement data of the button that receives calculates the node location that makes new advances, and is used as " node now " (step S690) with this new node.Otherwise, if answer is then separated read apparatus and will directly be upgraded present node (step S690) for not.After new present node decision, separate read apparatus and will get back to step S620, read the data of new present node again.
In addition, among above-mentioned another embodiment that separates read apparatus, the second judgement instrument also is substitutable for one the 3rd judgement instrument, the 3rd judges that instrument judges whether the attribute of present node is to carry out by right button, and when the button of user's input is right button, carry out the operation of present node earlier, upgrade present node again; Otherwise separate read apparatus and will directly upgrade present node.Yet these application of judging instrument do not limit its scope only as one of the present invention embodiment, and the user adopts other kind judgement instrument to judge the operation of carrying out present option when visual actual needs.
In sum, this deciphering method is only relevant with the menu data structure and irrelevant with the menu data content.Historical facts or anecdotes is executed the device of this deciphering method, can read any man-machine interface that stores according to above-mentioned menu data structure, carries out out the desired behavior pattern of this man-machine interface according to above-mentioned deciphering method.
Fig. 7 is the method flow diagram of the generation options screen of preferred embodiment of the present invention, present embodiment is the utilization masterplate, options screen shown on the screen for electronic installation produces picture data, and this options screen shows at least one the option member in the option family.
Present embodiment produces the method for picture, is based on the defined masterplate of man-machine interface statement instrument, and this instrument handles one by one that all properties is visible node (being option) on the menu.At first, define at least one masterplate (step S710), each masterplate comprises at least one picture frame, and the data of these picture frames comprise position, shown option member code name and display mode.Wherein, the step of definition masterplate for example comprises earlier represents that at least one picture frame of drafting on the masterplate option family member is presented on the position on the picture, just set the option member then, and give an option code name and represent the option that this picture frame is shown for each picture frame.
Next step then is that wherein, the size of this masterplate is the size smaller or equal to screen for the option family under each option member is attached to a kind of (step S720) in these masterplates.Then, set up picture buffer (step S730) for option.Promptly can read a drawing frame data (step S740) in this masterplate this moment, comprising the option code name of elder generation according to this picture frame, read the pairing pixel of this option code name, and, deposit in this picture buffer according to the position of this picture frame again with after the defined display mode processing of this picture frame.Wherein, the display mode of above-mentioned picture frame can be anti-white, brighten, and with existing graphics overlay in a kind of or its combination, so do not limit its scope.And, more than disclosed method or step, also comprise means or instrument or the device that allows the user finish these method/steps is provided.
Then, judge whether also have untreated picture frame (step S750) in this masterplate.If still have picture frame to be untreated, then get back to step S740, continue to read and handle next picture frame; If all picture frames all dispose, then can be with the content output of picture buffer, and as the picture data (step S760) of this option.
After the picture data of this option disposes, then can continue to judge whether also have untreated option (step S770) in the option family.If still have option to be untreated, then return step S730, continue as next option and set up picture data; If there is not option to be untreated, then the picture data (step S780) of Total Options has been finished in representative.
In addition, in one embodiment, can also use the recording medium of the embodied on computer readable that can write down the menu data structure, come the menu at construction one personal-machine interface, this menu be comprise a root node and link to each other more than the tree structure of a node, and each node also can derive at least one child node family.Wherein, this menu data structure can record the data of each node, comprises performed operation, shown picture, at least one button that can accept, and at least one displacement.
What deserves to be mentioned is, above-mentioned button be in order to the guiding node migration to its adjacent node, displacement is the internal memory side-play amount (offset) between the adjacent node that arrives of representation node and the migration of button institute.Wherein, above-mentioned adjacent node can comprise a kind of or its combination in father node, brother's node, younger brother's node, closely related eldest son's node or the child node of being born of a concubine (also can be the eldest son's node of being born of a concubine) of this node, and the user can utilize a super key to come guiding node migration to the one child node (or the eldest son's node of being born of a concubine) of being born of a concubine.In addition, the menu data structure also can write down the attribute of each node, comprise visible, sightless, carry out at once, leave the back carry out with by executory a kind of or its combination of right button, do not limit its scope, and comprise that when sightless, the picture of then representing this node is that essence does not exist (Null) when attribute.
In sum, in the present invention's man-machine interface and relevant design thereof, man-machine interface expression method and picture producing method have significantly improved the design efficiency of man-machine interface.And disclosed data structure is because of adopting whole menu, the station-keeping data, the display picture data that comprise each node and all directions adjacent node, and the service data of required execution is included in the menu data structure, when the user need redesign menu, as long as store with this kind data structure mode, cooperate the disclosed man-machine interface of the present invention to understand mode again, just can not need to revise the program of electronic installation, just can finish personalized man-machine interface, thereby realize the ideal that device program and man-machine interface design separate fully.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; any person of ordinary skill in the field; without departing from the spirit and scope of the invention; when can doing a little change and improvement, so the present invention's protection domain is as the criterion when looking the claim person of defining.