CN112416224B - Function extension method and storage medium for configuration software button control - Google Patents

Function extension method and storage medium for configuration software button control Download PDF

Info

Publication number
CN112416224B
CN112416224B CN202011288216.4A CN202011288216A CN112416224B CN 112416224 B CN112416224 B CN 112416224B CN 202011288216 A CN202011288216 A CN 202011288216A CN 112416224 B CN112416224 B CN 112416224B
Authority
CN
China
Prior art keywords
action
button control
actions
button
windows
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
Application number
CN202011288216.4A
Other languages
Chinese (zh)
Other versions
CN112416224A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011288216.4A priority Critical patent/CN112416224B/en
Publication of CN112416224A publication Critical patent/CN112416224A/en
Application granted granted Critical
Publication of CN112416224B publication Critical patent/CN112416224B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The invention discloses a function expansion method and a storage medium for a configuration software button control. The function expansion method of the configuration software button control comprises the following steps: adding an option for starting multi-action in the attribute of the button control; when the option for starting the multi-action is selected, shielding an element action editor of the button control, and simultaneously popping up a pre-designed multi-action editor; when a user adds an action in the multi-action editor and configures, popping up an element action editor corresponding to the action for the user to edit; when the button control is triggered, triggering content corresponding to the plurality of actions configured by the user is triggered. The invention can optimize the application of the button control in the scene, so that the control configuration of the complex scene becomes simpler, and the function realization of the button control can be expanded.

Description

Function extension method and storage medium for configuration software button control
Technical Field
The invention relates to configuration software, in particular to a function extension method for a button control in the configuration software.
Background
In recent years, with the rapid development of automation control and human-computer interaction technologies, people have more and more demands on system-level automation interaction networks, hmi (human Machine interface) configuration software is one of the important human-computer interaction software, and with the diversification of configuration application scenes, the control function of a button control is applied in the configuration software very frequently.
The button control in the existing configuration software can be set so that the button control responds to a corresponding action when triggered. The specific action of the button control needs to be set in advance, as shown in fig. 3, when the existing button control needs to configure the action corresponding to the button during attribute configuration, the interface of fig. 3 is popped up, and the user can select any one of the action triggered by the button control on the interface, such as a window, a variable, a system script function, a custom script function, user permission, touch screen setting, touch screen testing and alarm view setting, for example, when the user sets the trigger content of the action configuration of one button control as a window, the button control pops up a set window when being triggered. When a user takes the trigger content configured for the action of one button control as a variable and the button control is triggered, a value corresponding to the variable is issued to corresponding equipment, so that the equipment is controlled.
Based on the prior art, in some specific applications, the number of button controls to be set in a set of configuration software is large, for example, in a building control system, hundreds of lamps and air conditioners in a building need to be controlled, so that a corresponding number of buttons need to be added, and when a user triggers, the user needs to operate the corresponding number of buttons, which causes great inconvenience.
Therefore, how to expand the functions of the button control of the configuration software is an urgent technical problem to be solved in the industry.
Disclosure of Invention
In order to solve the technical problem of inconvenient application caused by single triggering content of a button control in configuration software in the prior art, the invention provides a function expansion method and a storage medium of the button control of the configuration software.
The invention provides a function expansion method of a configuration software button control, which comprises the following steps:
adding an option for starting multi-action in the attribute of the button control;
when the option for starting the multi-action is selected, shielding an element action editor of the button control, and simultaneously popping up a pre-designed multi-action editor;
when a user adds an action in the multi-action editor and configures, popping up an element action editor corresponding to the action for the user to edit;
when the button control is triggered, triggering content corresponding to the plurality of actions configured by the user is triggered.
Further, the settable contents in the multi-action editor include: adding at least one of actions which can be triggered by the button, deleting actions which can be triggered by the button, triggering sequences corresponding to a plurality of actions triggered by the button, adjusting the positions of the triggering sequences and judging whether the added actions are started or not.
Further, the trigger content to which the action can be configured includes: any one of window, variable, system script function, custom script function, user authority, touch screen setting, touch screen testing and alarm view setting.
Further, when the button control is triggered, the method further comprises the following steps:
traversing the trigger contents of all actions of the button control;
if the trigger content of the action is configured as a window, the window pop-up event is preferentially executed, and the trigger content of the rest actions triggers the trigger content of each action according to the trigger sequence corresponding to a plurality of actions triggered by the button set in the multi-action editor by the user.
Further, if the trigger contents of a plurality of actions are configured into windows at the same time, judging whether a plurality of windows are in the same category;
and if the windows are in the same category, popping up a prompt box to prompt the user that the user needs to be reconfigured and return to the multi-action editor corresponding to the button control.
Further, if the plurality of windows do not belong to the same category, acquiring the sizes of the plurality of windows and calculating the area of the windows;
and popping up a plurality of windows in the window popping-up sequence of the plurality of actions according to the sequence of the areas from large to small.
Further, if there are a plurality of windows having the same window area, the plurality of windows having the same area are sequentially popped up in accordance with the trigger sequence corresponding to the plurality of actions triggered by the buttons set in the multi-action editor by the user.
Further, whether the windows are of the same category is judged by comparing the ids of the windows.
The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for expanding the function of the configuration software button control in the technical scheme is implemented.
The invention realizes that the button can bind a plurality of actions by modifying the property of the button control, further realizes the effect that the button control can issue a plurality of control variables simultaneously, in addition, the control variables corresponding to a plurality of actions of the button control can also be bound by other controls so as to change the styles of other controls, if one button control is bound with 10 variables, the 10 variables are set to be 1 once the button control is triggered, namely the 10 variables are set to be 1 by clicking the button, the 10 variables are bound with 10 label controls, when the variable is 1, the label displays the specified content, and the actual application scene is that one key of the air conditioner is fully opened, one key of the illuminating lamp is fully opened, and the like. The invention greatly enriches the functions of the buttons, can realize the centralized control function without adding a plurality of controls, and can save space for the industrial touch screen interface. The button control adds the multivariable binding function on the basis of starting the multi-action trigger event logic, so that the button control can issue control data while performing window skipping, and the multi-action function of the button and the multivariable binding function are combined together, so that the engineering-built scene is more diversified.
Drawings
The invention is described in detail below with reference to examples and figures, in which:
FIG. 1 is a property configuration interface for a button control modified in accordance with the present invention.
FIG. 2 is a multi-action editor interface for configuring a plurality of buttons of a button control in accordance with the present invention.
FIG. 3 is a single action editor interface of the present invention.
Fig. 4 is a flow chart of the configuration of the present invention.
FIG. 5 is an interface of a scene control embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention more clearly apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Thus, a feature indicated in this specification will serve to explain one of the features of one embodiment of the invention, and does not imply that every embodiment of the invention must have the stated feature. Further, it should be noted that this specification describes many features. Although some features may be combined to show a possible system design, these features may also be used in other combinations not explicitly described. Thus, the combinations illustrated are not intended to be limiting unless otherwise specified.
The principles of the present invention will be described in detail below with reference to the accompanying drawings and embodiments.
As shown in fig. 1 to fig. 3, the method for expanding the function of a configuration software button control of the present invention mainly aims to enable one button control to implement multiple actions, where the actions include, but are not limited to, popping up a window, issuing a control variable of a device, triggering a corresponding script function, and the like.
According to the invention, an option for starting multiple actions is added in the attribute of the button control of the configuration software, as shown in fig. 1, when a user does not check the selection for starting multiple actions, the user clicks the trigger below, and the popped-up interface is shown in fig. 3 and is an editing interface (the name of the interface is an element action editor) of a single action trigger carried by the button control of the configuration software. When the user clicks the trigger below, the element action editor of the button control is shielded, and the pre-designed multi-action editor is popped up.
As shown in fig. 2, in the multi-action editor, the contents that the user can select the setting include: adding at least one of actions which can be triggered by the button, deleting actions which can be triggered by the button, triggering sequences corresponding to a plurality of actions triggered by the button, adjusting the positions of the triggering sequences and judging whether the added actions are started or not.
The user can click 'add' to realize the action which can be triggered by the add button, click 'delete' to realize the action which can be triggered by the delete button, click 'move up' or 'move down' to adjust the trigger sequence corresponding to the actions triggered by the buttons, and the triggering content of the corresponding action in the current multi-action editor can be started after the clicking is started.
When the user selects a single action for configuration, the element action editor of the button control is called at the moment for the user to configure the trigger content corresponding to the action, so that the trigger content of the action of the button control can be configured. The attribute interface added by the invention can realize the triggering content of a plurality of actions by one button control. When the button control is triggered, triggering contents corresponding to a plurality of actions configured by a user are triggered.
The trigger content that each action in the multi-action editor can be configured to include: any one of window, variable, system script function, custom script function, user authority, touch screen setting, touch screen testing and alarm view setting.
As shown in fig. 4, when a user uses the optimized button control of the present invention, the multi-action editor can be popped up by selecting and starting the multi-action, the user adds a plurality of actions in a window of the multi-action editor, and performs action configuration, each action configuration is the same as the trigger content (i.e., event logic) of the single trigger in fig. 3, if the trigger content (event logic) is a variable, each action can bind a communication variable to implement multivariate binding, and clicking a button can implement a plurality of actions of a plurality of devices. If no ticking enables multi-action, the button control implements only one trigger event logic.
Based on the technical scheme, the invention realizes rich scene control content by using fewer button controls in some application scenes.
One button control is named as a one-key full-on button, the multi-action of the button control is selected, 16 actions are added in the multi-action editor, the 16 actions are respectively bound with 16 variables MV1-MV16, namely, each action is bound with one variable, and the value of each variable is set to be 1.
One button control is named as a one-key all-off button, the multi-action enabling of the button control is selected, 16 actions are added in the multi-action editor, 16 actions are bound with 16 variables MV1-MV16, and the variable number values are all set to be 0.
The variables bound by the one-key all-on button and the one-key all-off button are completely the same. It is assumed that the 16 variables MV1-MV16 correspond to control variables for turning on and off the air conditioner. The button controls of the air conditioner 1 are provided with a one-trigger, the event logic selects variables, the variable binding MV1 is set, the variable values are alternately changed from 0 to 1, and the button controls of the air conditioners 2 to 16 are set as the same as the air conditioner 1 and respectively bind the variables MV2-MV 16. Clicking one key to open all the air conditioners, clicking one key to close all the air conditioners, and clicking one air conditioner button alone to control the opening and closing of the air conditioner one, so that the centralized control and single control functions can be realized easily.
As shown in fig. 5, similarly in another scenario, a button control is named scheme one, and the multi-action for enabling the button control is checked, two actions are set, wherein one action binding variable MV1 issues control data 0, another action is set to skip to a window corresponding to scheme one, one button control is named scheme two, and the multi-action for enabling the button control is checked, two actions are set, wherein one action binding variable MV1 issues control data 1, and another action is set to skip to a window corresponding to scheme two.
And the user clicks the corresponding button control, so that the effects of issuing the corresponding control data and skipping the window can be realized.
In a preferred embodiment, the present invention also takes into account the problem of conflicts when one button control performs multiple actions.
When the button control is triggered, firstly traversing the trigger contents of all actions of the button control, firstly judging whether the trigger contents of all the actions have the action trigger contents which are windows, if the trigger contents of all the actions are windows, preferentially executing window pop-up events, ignoring the trigger sequence which is set by a user and corresponds to all the actions of the button control, and then executing other trigger contents according to the trigger sequence set by the user.
If the trigger content with the action is a window, when the trigger content with the actions is simultaneously configured as the window in the traversal process, which indicates that a conflict exists between the trigger contents of the button control, whether the multiple windows have the windows of the same category is continuously judged, if the windows of the same category exist, the conflict program cannot be automatically solved, and a prompt box needs to be popped up to prompt a user that the user needs to be reconfigured and returns to a multi-action editor corresponding to the button control, so that the user can reconfigure the windows.
And if all windows are in different categories in the traversal process, acquiring the sizes of all windows and calculating the areas of the windows, and then popping up a plurality of windows in the window popping-up sequence of a plurality of actions according to the sequence of the areas from large to small.
And if a plurality of windows with the same area exist in the calculated window areas, sequentially popping up the windows with the same area according to the triggering sequence corresponding to the actions triggered by the buttons set in the multi-action editor by the user.
The method of the invention can be applied to HMI configuration software and other configuration software. The button control can realize the independent control of common button controls and the centralized control, so that the button control can be more suitable for more current and more complex application scenes.
The technical solution of the present invention is specifically expressed in the form of a computer program, where the computer program may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the method for extending functions of the configuration software button control according to the technical solution of the present invention, and therefore, the computer-readable storage medium also belongs to the protection scope of the present invention.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (7)

1. A function expansion method of a configuration software button control is characterized by comprising the following steps:
adding an option for starting multi-action in the attribute of the button control;
when the option for starting the multi-action is selected, shielding an element action editor of the button control, and simultaneously popping up a pre-designed multi-action editor;
when a user adds an action in the multi-action editor and configures, popping up an element action editor corresponding to the action for the user to edit;
when the button control is triggered, triggering contents corresponding to a plurality of actions configured by a user are triggered;
when the button control is triggered, the method further comprises the following steps:
traversing the trigger contents of all actions of the button control;
if the trigger content of the action is configured as a window, preferentially executing a window pop-up event, and triggering the trigger content of each action according to the trigger sequence corresponding to a plurality of actions triggered by a button set in a multi-action editor by a user by the trigger content of the rest actions; if the trigger contents of a plurality of actions are simultaneously configured into windows, judging whether the windows are in the same category or not;
and if the windows are in the same category, popping up a prompt box to prompt the user that the user needs to be reconfigured and return to the multi-action editor corresponding to the button control.
2. The method of claim 1, wherein the configurable contents of the multi-action editor comprise: adding at least one of actions which can be triggered by the button, deleting actions which can be triggered by the button, triggering sequences corresponding to a plurality of actions triggered by the button, adjusting the positions of the triggering sequences and judging whether the added actions are started or not.
3. The method of claim 1, wherein the trigger to which the action can be configured comprises: any one of window, variable, system script function, custom script function, user authority, touch screen setting, touch screen testing and alarm view setting.
4. The method of claim 1, wherein if there are no windows of the same category, then obtaining the sizes of the windows and calculating the area of the windows;
and popping up a plurality of windows in the window popping-up sequence of the plurality of actions according to the sequence of the areas from large to small.
5. The method of claim 4, wherein if there are multiple windows with the same area, the multiple windows with the same area are popped up in sequence according to the triggering sequence corresponding to the multiple actions triggered by the button set in the multi-action editor by the user.
6. The method of claim 1, wherein the window ids are compared to determine whether the windows are of the same category.
7. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method for extending functionality of a configuration software button control of any of claims 1 to 6.
CN202011288216.4A 2020-11-17 2020-11-17 Function extension method and storage medium for configuration software button control Active CN112416224B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011288216.4A CN112416224B (en) 2020-11-17 2020-11-17 Function extension method and storage medium for configuration software button control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011288216.4A CN112416224B (en) 2020-11-17 2020-11-17 Function extension method and storage medium for configuration software button control

Publications (2)

Publication Number Publication Date
CN112416224A CN112416224A (en) 2021-02-26
CN112416224B true CN112416224B (en) 2022-03-18

Family

ID=74831976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011288216.4A Active CN112416224B (en) 2020-11-17 2020-11-17 Function extension method and storage medium for configuration software button control

Country Status (1)

Country Link
CN (1) CN112416224B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113824591A (en) * 2021-09-22 2021-12-21 珠海格力电器股份有限公司 Communication configuration method and device for configuration software

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092461A (en) * 2012-12-19 2013-05-08 广州杰赛科技股份有限公司 Method and system of title bar button achieving
CN106569801A (en) * 2016-10-18 2017-04-19 中国运载火箭技术研究院 Complex parameter-based configuration display control system
WO2018048632A1 (en) * 2016-09-06 2018-03-15 Apple Inc. Devices, methods, and graphical user interfaces for providing feedback during interaction with an intensity-sensitive button
CN109669693A (en) * 2017-10-16 2019-04-23 航天信息股份有限公司 A kind of method and system generating forms pages based on dynamic page
CN110457036A (en) * 2019-07-31 2019-11-15 上海智显光电科技有限公司 A kind of property setting method of QML extension control

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092461A (en) * 2012-12-19 2013-05-08 广州杰赛科技股份有限公司 Method and system of title bar button achieving
WO2018048632A1 (en) * 2016-09-06 2018-03-15 Apple Inc. Devices, methods, and graphical user interfaces for providing feedback during interaction with an intensity-sensitive button
CN106569801A (en) * 2016-10-18 2017-04-19 中国运载火箭技术研究院 Complex parameter-based configuration display control system
CN109669693A (en) * 2017-10-16 2019-04-23 航天信息股份有限公司 A kind of method and system generating forms pages based on dynamic page
CN110457036A (en) * 2019-07-31 2019-11-15 上海智显光电科技有限公司 A kind of property setting method of QML extension control

Also Published As

Publication number Publication date
CN112416224A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
EP3065017B1 (en) Safety relay configuration editor
CN108345456A (en) Page code generation method, device, computer equipment and storage medium
US20170097621A1 (en) Configuring a control sysem
CN110941193B (en) Control method and device for intelligent household equipment
CN109725541A (en) Generation method, device, electronic equipment and the storage medium of automation
WO2022022121A1 (en) Interactive method for establishing device linkage scene, and storage medium and electronic device
JP2010158002A (en) Method for operating home automation system
US20060028212A1 (en) System and method for graphically grouping electrical devices
CN112416224B (en) Function extension method and storage medium for configuration software button control
US9488992B2 (en) Wall module configuration tool
CN110971675A (en) Control method and device for intelligent household equipment
CN106843675B (en) Method and device for generating shortcut
CN113110093A (en) Control method, device and equipment of intelligent household control panel and storage medium
JP2004303217A (en) Displaying/editing device, method for displaying, and program product
CN110865766B (en) Control method and device for intelligent household equipment
CN112819926A (en) Data editing method, device, equipment and storage medium
JPH08328795A (en) Method for setting tool button and editing device
CN109240098B (en) Equipment configuration method and device, terminal equipment and storage medium
CN108279901A (en) UI file editing methods, device, electronic equipment and storage medium
CN108105947B (en) Control method, device and system of air treatment equipment and readable storage medium
EP3352421A1 (en) Device location management for automated electrical installation
CN105786332A (en) Method for online editing on human machine interface and human machine interface with function
JP2007193425A (en) Screen data preparation device, screen data edition method, and screen data edition program
CN113777939A (en) Intelligent household scene setting method and system
JPH08297554A (en) Group work support system

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