CN110569025A - Variable processing method and device, readable storage medium and electronic equipment - Google Patents

Variable processing method and device, readable storage medium and electronic equipment Download PDF

Info

Publication number
CN110569025A
CN110569025A CN201910788423.7A CN201910788423A CN110569025A CN 110569025 A CN110569025 A CN 110569025A CN 201910788423 A CN201910788423 A CN 201910788423A CN 110569025 A CN110569025 A CN 110569025A
Authority
CN
China
Prior art keywords
target variable
variable
control
bound
operation processing
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
CN201910788423.7A
Other languages
Chinese (zh)
Other versions
CN110569025B (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 CN201910788423.7A priority Critical patent/CN110569025B/en
Publication of CN110569025A publication Critical patent/CN110569025A/en
Application granted granted Critical
Publication of CN110569025B publication Critical patent/CN110569025B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

the application relates to a variable processing method and device, a readable storage medium and electronic equipment, and belongs to the technical field of variable processing. The application includes: receiving a display request for displaying a control bound with a target variable; responding to a display request, and acquiring metadata describing a target variable, wherein the metadata at least comprises one member field, and the member field of the target variable is an information set of all controls for binding the target variable; displaying a control bound with the target variable according to the member field of the target variable; and executing the operation processing of the user according to the control bound with the target variable. Through the method and the device, visual display of all the controls of the bound variables is facilitated, the problem of omission of searching operation of a user is avoided, and convenience is provided for further operation of the user.

Description

variable processing method and device, readable storage medium and electronic equipment
Technical Field
The application belongs to the technical field of variable processing, and particularly relates to a variable processing method and device, a readable storage medium and electronic equipment.
Background
with the rapid improvement of the industrial automation level and the wide application of computers in the industrial field, people have higher and higher requirements on industrial automation, various control devices and process monitoring devices are widely applied in the industrial field, and HMI (Human Machine Interface) configuration software is important Human-computer interaction software, so that a user can configure pictures and functions to achieve the effect of controlling and monitoring according to own control requirements. The meaning of "configuration" is "Configure", "set", etc., which means that the user can complete the software functions required by the user in a simple manner like "building blocks", without writing a computer program, i.e., so-called "configuration".
better HMI configuration software can provide variable self-defining function, firstly, the information display of a control on a user interface is driven by the self-defining variable, and secondly, the input of a user can be transmitted to other units through the self-defining variable, which realizes the bidirectional flow of information through the variable. A control references a variable is colloquially referred to as a binding variable. When configuration software is used, it is often necessary to perform processing operations on variables, for example, delete a defined variable, and when a bound control exists in the variable, the variable should not be deleted directly, and a user needs to search for the control bound to the variable one by one until all the controls bound to the variable are searched and deleted. Therefore, when there are many controls, the user searches the operation behavior of the variable-bound control one by one, or the user's previous memory is used to search the operation behavior of the variable-bound control, which will cause very low efficiency and more easily cause the problem of missing search operation.
Disclosure of Invention
In order to overcome the problems in the related technologies at least to a certain extent, the application provides the variable processing method, the variable processing device, the readable storage medium and the electronic device, which are beneficial to quickly and accurately visually displaying all the controls bound with the variables, so that the problem of missing of the search operation of the user is avoided, and convenience is provided for the further operation of the user.
In order to achieve the purpose, the following technical scheme is adopted in the application:
In a first aspect,
the application provides a variable processing method, which comprises the following steps:
Receiving a display request for displaying a control bound with a target variable;
Responding to the display request, acquiring metadata describing the target variable, wherein the metadata at least comprises one member field, and the member field of the target variable is an information set binding all controls of the target variable;
displaying a control bound with the target variable according to the member field of the target variable;
And executing the operation processing of the user according to the control bound with the target variable.
further, the executing the operation processing performed by the user according to the control bound to the target variable includes:
Executing first operation processing performed by a user according to the control bound with the target variable, wherein the first operation processing comprises: and adding a new control to bind the target variable, or removing the binding relationship between the target variable and part or all of the controls.
further, the method further comprises:
And updating the member field of the target variable according to the first operation processing.
Further, the updating the member field of the target variable according to the first operation processing includes:
when the first operation processing is: when the new control is added to bind the target variable, determining whether the new control binds other variables;
If the other variables are not bound, adding the information of the new control to the member field of the target variable;
And if the other variables are bound, deleting the information of the new control from the member fields of the metadata describing the other variables, and then adding the information of the new control to the member fields of the target variables.
Further, the updating the member field of the target variable according to the first operation processing includes:
when the first operation processing is: and when the binding relationship between the target variable and part or all of the controls is released, deleting the information of the part or all of the controls of which the binding relationship with the target variable is released in the member field of the target variable.
Further, when the first operation processing is: when the binding relation between the target variable and part or all of the controls is released;
the executing the operation processing of the user according to the control bound with the target variable comprises the following steps:
And executing second operation processing of the user according to the control bound with the target variable.
Further, if the first operation process is: and releasing the binding relationship between the target variable and all the controls, wherein the second operation processing is as follows: and deleting the target variable.
Further, before the step of receiving a display request for displaying a control of a binding target variable is performed, the method further includes:
Receiving a request for performing the second operation processing on the target variable;
Acquiring member fields from metadata describing the target variables;
If the acquired member field of the target variable is not empty, displaying prompt information to prompt a user to manually operate to generate the display request for displaying the control bound with the target variable; alternatively, the first and second electrodes may be,
and if the acquired member field of the target variable is not empty, directly generating the display request for displaying the control bound with the target variable.
further, the method further comprises: and if the acquired member field of the target variable is empty, executing the second operation processing.
in a second aspect of the present invention,
the application provides a variable processing apparatus, including:
the receiving module is used for receiving a display request for displaying the control of the binding target variable;
an obtaining module, configured to obtain, in response to the display request, metadata describing the target variable, where the metadata at least includes one member field, and the member field of the target variable is an information set in which all controls of the target variable are bound;
the display module is used for displaying the control bound with the target variable according to the member field of the target variable;
And the execution module is used for executing the operation processing of the user according to the control bound with the target variable.
in a third aspect,
The present application provides a readable storage medium having stored thereon a program which, when executed by a processor, performs the steps of any of the methods described above.
In a fourth aspect of the present invention,
The application provides an electronic device, including:
A memory for storing a program; and
a processor for executing a program stored in the memory to perform any of the above methods.
Further, the electronic device includes: HMI.
This application adopts above technical scheme, possesses following beneficial effect at least:
according to the method and the device, all the controls bound with the target variable are quickly and accurately found from the member fields of the metadata by describing the metadata of the target variable, and are displayed, so that the method and the device are beneficial to quickly and accurately visually displaying all the controls bound with the variable, the problem of missing of the search operation of a user is avoided, and convenience is provided for the further operation of the user.
it is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
fig. 1 is a schematic flow chart of a variable processing method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a variable processing method according to another embodiment of the present application;
Fig. 3 is a schematic structural diagram of a variable processing apparatus according to an embodiment of the present application;
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail below. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic flow diagram of a variable processing method according to an embodiment of the present application, and as shown in fig. 1, the variable processing method includes the following steps:
and step S101, receiving a display request for displaying the control of the binding target variable.
Specifically, taking HMI configuration software operating application as an example, when processing a certain variable of the configuration software, a user selects the variable, that is, determines the variable as a target variable, and in practical application, can select a function item "display all controls" in a right-click menu in a manner of right-click menu selection, thereby generating a display request for displaying the controls to which the target variable is bound; or clicking a preset icon button of 'display all controls', so as to generate a display request for displaying the controls of the binding target variable.
Step S102, responding to the display request, and acquiring metadata describing the target variable, wherein the metadata at least comprises one member field, and the member field of the target variable is an information set of all controls binding the target variable.
Specifically, in the related art, metadata is data describing data, each variable in the HMI configuration software is described by corresponding metadata, and the description of the variable by the metadata belongs to a native mechanism of the HMI configuration software, so that the reliability is provided.
And S103, displaying a control bound with the target variable according to the member field of the target variable.
specifically, the member field is data of a set type, each element of the member field represents a control bound with a variable, all the controls bound with the target variable can be accurately and reliably determined according to the elements contained in the member field of the target variable, and all the determined controls are displayed, so that all the controls bound with the variable can be quickly, accurately and reliably visually displayed, the operation behavior that a user searches the controls bound with the variable one by one is facilitated, or the operation behavior that the user searches the controls bound with the variable by means of memory in front of the user is facilitated, the efficiency of the method is very low, and the problem of operation omission searching is more likely to occur.
in practical application, all the controls for binding the target variable can be displayed in a pop-up window mode, and all the controls for binding the target variable can also be displayed in a tab page mode.
and step S104, executing operation processing of the user according to the control bound with the target variable.
specifically, the user can very conveniently know the overall situation of the controls of the binding target variable according to all the controls of the binding target variable visually displayed, and convenience is provided for the user to further operate and process.
In one embodiment, the executing the operation processing performed by the user according to the control bound to the target variable includes:
Executing first operation processing performed by a user according to the control bound with the target variable, wherein the first operation processing comprises: and adding a new control to bind the target variable, or removing the binding relationship between the target variable and part or all of the controls.
Specifically, the user performs visual operation on the target variable, for example, the user adds a new control, and clicks the binding button after selecting the new control, so as to bind the new control to the target variable. For another example, there are three controls for binding the target variable, which are: the method comprises the following steps that a control A, a control B and a control C are assumed to be actually required by a user to release the binding relation between the control A and a target variable, the control A is selected, and then a binding release button is clicked; assuming that the user actually needs to release the binding relationship between the control A, the control B and the control C and the target variable, the user can select the control A, the control B and the control C at the same time and then click the unbinding button.
In one embodiment, based on the above step of executing the first operation processing performed by the user according to the control bound to the target variable, the method further includes:
and updating the member field of the target variable according to the first operation processing.
Specifically, the update of the member field of the target variable is beneficial to synchronously keeping the actual control binding condition of the target variable consistent with the information of the member field of the target variable, and further beneficial to ensuring that all the controls displaying the target variable through the member field of the target variable at the next time are accurate and reliable.
further, the updating the member field of the target variable according to the first operation processing includes:
When the first operation processing is: when the new control is added to bind the target variable, determining whether the new control binds other variables;
If the other variables are not bound, adding the information of the new control to the member field of the target variable;
And if the other variables are bound, deleting the information of the new control from the member fields of the metadata describing the other variables, and then adding the information of the new control to the member fields of the target variables.
specifically, through the above embodiment, it can be ensured that the information of each control stored in the member field is unique all the time, and further it is ensured that the control represented by the member field corresponding to each variable is up-to-date, accurate and reliable.
Further, the updating the member field of the target variable according to the first operation processing includes:
when the first operation processing is: and when the binding relationship between the target variable and part or all of the controls is released, deleting the information of the part or all of the controls of which the binding relationship with the target variable is released in the member field of the target variable.
Specifically, through the above embodiment, when the binding relationship is released, the information of the corresponding control in the member field of the target variable is deleted synchronously, so that the actual control binding condition of the target variable is kept consistent with the information of the member field of the target variable synchronously, and further, it is helpful to ensure that all the controls displaying the target variable through the member field of the target variable next time are accurate and reliable.
In one embodiment, when the first operation process is: when the binding relation between the target variable and part or all of the controls is released;
The executing the operation processing of the user according to the control bound with the target variable comprises the following steps:
And executing second operation processing of the user according to the control bound with the target variable.
Further, if the first operation process is: and releasing the binding relationship between the target variable and all the controls, wherein the second operation processing is as follows: and deleting the target variable.
The following description will be made by taking an example in which a user needs to delete a certain variable of the HMI configuration software.
the method comprises the steps that a user selects a certain variable to be deleted on a variable operation interface except for HMI configuration software, namely the variable is determined as a target variable, then a function item of displaying all controls is selected in a right-click menu selection mode, so that a display request for displaying the controls binding the target variable is generated, the HMI configuration software receives and responds to the display request for displaying the controls binding the target variable, the HMI configuration software obtains metadata describing the target variable, all the controls binding the target variable are accurately and reliably determined from member fields of the metadata of the target variable, and then all the controls of the target variable are visually displayed. And according to the visual display contents of all the controls of the target variable, clicking a binding removing button after the user selects all the displayed controls of the target variable, and indicating that the target variable does not have any control bound with the target variable. The user may then perform a delete operation on the target variable.
in summary, in the above related embodiments, by describing the metadata of the target variable, all the controls bound to the target variable are quickly and accurately found from the member fields of the metadata, and all the controls are displayed, which is helpful for quickly and accurately visually displaying all the controls bound to the variable, so as to avoid the problem of missing of the search operation of the user, and provide convenience for the further operation of the user.
Fig. 2 is a schematic flow chart of a variable processing method according to another embodiment of the present application, and as shown in fig. 2, the variable processing method includes the following steps:
step S201, receiving a request for carrying out second operation processing on a target variable; then, the next step is executed;
Step S202, acquiring member fields from metadata describing a target variable, wherein the metadata at least comprises one member field, and the member fields of the target variable are information sets of all controls bound with the target variable; then, step S203 or step S204 is executed;
step S203, if the member field of the acquired target variable is not empty, displaying prompt information to prompt a user to manually operate and generate a display request for displaying a control bound with the target variable; or if the acquired member field of the target variable is not empty, directly generating a display request for displaying the control bound with the target variable; then go to step S205;
step S204, if the member field of the acquired target variable is empty, executing second operation processing;
Step S205, receiving a display request for displaying a control of a binding target variable; then, the next step is executed;
step S206, responding to the display request, and acquiring member fields in metadata describing target variables; then, the next step is executed;
step S207, displaying a control bound with the target variable according to the member field of the target variable; then, the next step is executed;
step S208, executing a first operation processing performed by the user according to the control of the binding target variable, wherein the first operation processing is as follows: removing the binding relation between the target variable and part or all of the controls; then, the next step is executed;
and step S209, executing second operation processing performed by the user according to the control of the binding target variable.
further, if the first operation process is: and removing the binding relationship between the target variable and all the controls, and performing second operation processing as follows: the target variable is deleted.
The following description will be made by taking an example in which a user needs to delete a certain variable of the HMI configuration software.
A user selects a certain variable to be deleted on a variable operation interface except HMI configuration software, namely the variable is determined as a target variable, then a function item of 'delete' is selected in a right-click menu selection mode, the HMI configuration software does not directly execute deletion operation but acquires metadata describing the target variable after receiving a request for deleting the target variable, judges whether a member field of the target variable is empty or not, and executes the operation of deleting the target variable when the member field of the target variable is empty.
when the member field of the target variable is not empty, the HMI configuration software may display prompt information to prompt a user to manually operate and generate a display request for displaying the control bound with the target variable, for example, the display is not allowed to be deleted, the user can know the control bound with the target variable after seeing the prompt information, the binding relationship between the target variable and all the controls needs to be removed, under the prompt of the prompt information, the user selects the target variable, and then selects a function item of "display all the controls" in a right-click menu in a mode of right-click menu selection, so as to generate the display request for displaying the control bound with the target variable. When the member field of the target variable is not empty, the HMI configuration software can also directly generate a display request for displaying the control bound with the target variable, so as to avoid the user from performing corresponding manual operation.
The HMI configuration software receives and responds to a display request for displaying the control bound with the target variable, acquires metadata describing the target variable, accurately and reliably determines all the controls bound with the target variable from member fields of the metadata of the target variable, and then displays all the controls of the target variable in a visualized mode. And according to the visual display contents of all the controls of the target variable, clicking a binding removing button after the user selects all the displayed controls of the target variable, and indicating that the target variable does not have any control bound with the target variable. The user may then perform a delete operation on the target variable.
fig. 3 is a schematic structural diagram of a variable processing apparatus according to an embodiment of the present application, and as shown in fig. 3, the variable processing apparatus 3 includes:
a receiving module 301, configured to receive a display request for displaying a control of a binding target variable;
An obtaining module 302, configured to obtain, in response to the display request, metadata describing the target variable, where the metadata includes at least one member field, and the member field of the target variable is an information set of all controls to which the target variable is bound;
a display module 303, configured to display a control bound to the target variable according to the member field of the target variable;
And the execution module 304 is configured to execute operation processing performed by a user according to the control bound to the target variable.
Further, the executing module 304 is specifically configured to:
executing first operation processing performed by a user according to the control bound with the target variable, wherein the first operation processing comprises: and adding a new control to bind the target variable, or removing the binding relationship between the target variable and part or all of the controls.
further, the variable processing apparatus 3 further includes:
And the updating module is used for updating the member fields of the target variables according to the first operation processing.
further, the update module is specifically configured to:
when the first operation processing is: when the new control is added to bind the target variable, determining whether the new control binds other variables;
if the other variables are not bound, adding the information of the new control to the member field of the target variable;
And if the other variables are bound, deleting the information of the new control from the member fields of the metadata describing the other variables, and then adding the information of the new control to the member fields of the target variables.
further, the update module is specifically configured to:
when the first operation processing is: and when the binding relationship between the target variable and part or all of the controls is released, deleting the information of the part or all of the controls of which the binding relationship with the target variable is released in the member field of the target variable.
further, the executing module 304 is further specifically configured to:
when the first operation processing is: when the binding relation between the target variable and part or all of the controls is released; and executing second operation processing of the user according to the control bound with the target variable.
Further, if the first operation process is: and releasing the binding relationship between the target variable and all the controls, wherein the second operation processing is as follows: and deleting the target variable.
Further, the variable processing apparatus 3 further includes:
A second receiving module, configured to receive a request for performing the second operation processing on the target variable before the step of receiving the display request for displaying the control bound to the target variable is performed;
A second obtaining module, configured to obtain a member field from metadata describing the target variable;
The first judgment processing module is used for displaying prompt information if the acquired member field of the target variable is not empty so as to prompt a user to manually operate and generate the display request for displaying the control bound with the target variable; or if the acquired member field of the target variable is not empty, directly generating the display request for displaying the control bound with the target variable;
And the second judgment processing module is used for executing the second operation processing if the acquired member field of the target variable is empty.
With regard to the variable processing apparatus 3 in the above-described related embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
in one embodiment, the present application provides a readable storage medium having stored thereon an executable program, which when executed by a processor, performs the steps of the above-described method.
with regard to the readable storage medium in the above-mentioned embodiments, the specific manner of executing the operation by the stored program has been described in detail in the embodiments related to the method, and will not be elaborated herein.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 4, the electronic device 4 includes:
A memory 401 for storing a program; and
A processor 402 for executing the program stored in the memory 401 to perform any of the methods described above.
further, the electronic apparatus 4 includes: HMI.
with regard to the electronic device 4 in the above-described embodiment, the specific manner in which the processor 402 executes the program in the memory 401 has been described in detail in the embodiment related to the method, and will not be described in detail here.
it is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
it should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present application, the meaning of "plurality" means at least two unless otherwise specified.
any process or method descriptions in flow charts or otherwise described herein may be understood as: represents modules, segments or portions of code which include one or more executable instructions for implementing specific logical functions or steps of a process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
it will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
in addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
the storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (13)

1. a variable processing method, comprising:
Receiving a display request for displaying a control bound with a target variable;
responding to the display request, acquiring metadata describing the target variable, wherein the metadata at least comprises one member field, and the member field of the target variable is an information set binding all controls of the target variable;
Displaying a control bound with the target variable according to the member field of the target variable;
and executing the operation processing of the user according to the control bound with the target variable.
2. The method according to claim 1, wherein the executing the operation processing performed by the user according to the control bound to the target variable comprises:
executing first operation processing performed by a user according to the control bound with the target variable, wherein the first operation processing comprises: and adding a new control to bind the target variable, or removing the binding relationship between the target variable and part or all of the controls.
3. The method of claim 2, further comprising:
and updating the member field of the target variable according to the first operation processing.
4. The method of claim 3, wherein the updating the member field of the target variable according to the first operation process comprises:
when the first operation processing is: when the new control is added to bind the target variable, determining whether the new control binds other variables;
if the other variables are not bound, adding the information of the new control to the member field of the target variable;
And if the other variables are bound, deleting the information of the new control from the member fields of the metadata describing the other variables, and then adding the information of the new control to the member fields of the target variables.
5. the method of claim 3, wherein the updating the member field of the target variable according to the first operation process comprises:
When the first operation processing is: and when the binding relationship between the target variable and part or all of the controls is released, deleting the information of the part or all of the controls of which the binding relationship with the target variable is released in the member field of the target variable.
6. The method of claim 2, wherein when the first operational process is: when the binding relation between the target variable and part or all of the controls is released;
the executing the operation processing of the user according to the control bound with the target variable comprises the following steps:
And executing second operation processing of the user according to the control bound with the target variable.
7. the method of claim 6, wherein if the first operational treatment is: and releasing the binding relationship between the target variable and all the controls, wherein the second operation processing is as follows: and deleting the target variable.
8. The method of claim 6 or 7, wherein before the step of receiving a display request to display a control for a binding target variable is performed, the method further comprises:
receiving a request for performing the second operation processing on the target variable;
acquiring member fields from metadata describing the target variables;
if the acquired member field of the target variable is not empty, displaying prompt information to prompt a user to manually operate to generate the display request for displaying the control bound with the target variable; alternatively, the first and second electrodes may be,
and if the acquired member field of the target variable is not empty, directly generating the display request for displaying the control bound with the target variable.
9. The method of claim 8, further comprising: and if the acquired member field of the target variable is empty, executing the second operation processing.
10. A variable processing apparatus, comprising:
the receiving module is used for receiving a display request for displaying the control of the binding target variable;
an obtaining module, configured to obtain, in response to the display request, metadata describing the target variable, where the metadata at least includes one member field, and the member field of the target variable is an information set in which all controls of the target variable are bound;
The display module is used for displaying the control bound with the target variable according to the member field of the target variable;
and the execution module is used for executing the operation processing of the user according to the control bound with the target variable.
11. a readable storage medium, on which a program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 9.
12. An electronic device, comprising:
A memory for storing a program; and
a processor for executing a program stored in the memory to perform the method of any of claims 1-9.
13. The electronic device of claim 12, wherein the electronic device comprises: HMI.
CN201910788423.7A 2019-08-26 2019-08-26 Variable processing method and device, readable storage medium and electronic equipment Active CN110569025B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910788423.7A CN110569025B (en) 2019-08-26 2019-08-26 Variable processing method and device, readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910788423.7A CN110569025B (en) 2019-08-26 2019-08-26 Variable processing method and device, readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN110569025A true CN110569025A (en) 2019-12-13
CN110569025B CN110569025B (en) 2020-09-22

Family

ID=68776185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910788423.7A Active CN110569025B (en) 2019-08-26 2019-08-26 Variable processing method and device, readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110569025B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006071357A2 (en) * 2004-12-23 2006-07-06 Motorola, Inc. Method and system for resolving cross-modal references in user inputs
CN101322096A (en) * 2005-12-05 2008-12-10 微软公司 Metadata driven user interface
US7962856B2 (en) * 2004-10-19 2011-06-14 Microsoft Corporation Lookup control configuration
CN102479355A (en) * 2010-11-30 2012-05-30 金蝶软件(中国)有限公司 Method and device for loading business documents and mobile terminal
CN106802804A (en) * 2017-01-12 2017-06-06 合肥杰美电子科技有限公司 A kind of method and system of the visualization variable association component of man-machine interface
CN109522075A (en) * 2018-11-09 2019-03-26 医渡云(北京)技术有限公司 Data visualization methods of exhibiting, device, electronic equipment and computer-readable medium
CN109582209A (en) * 2018-12-05 2019-04-05 珠海格力电器股份有限公司 A kind of soft keyboard input method of HMI configuration software, HMI configuration software and graphic control panel
CN109814863A (en) * 2018-12-14 2019-05-28 深圳壹账通智能科技有限公司 A kind of processing method, device, computer equipment and computer storage medium for requesting returned data

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7962856B2 (en) * 2004-10-19 2011-06-14 Microsoft Corporation Lookup control configuration
WO2006071357A2 (en) * 2004-12-23 2006-07-06 Motorola, Inc. Method and system for resolving cross-modal references in user inputs
CN101322096A (en) * 2005-12-05 2008-12-10 微软公司 Metadata driven user interface
CN102479355A (en) * 2010-11-30 2012-05-30 金蝶软件(中国)有限公司 Method and device for loading business documents and mobile terminal
CN106802804A (en) * 2017-01-12 2017-06-06 合肥杰美电子科技有限公司 A kind of method and system of the visualization variable association component of man-machine interface
CN109522075A (en) * 2018-11-09 2019-03-26 医渡云(北京)技术有限公司 Data visualization methods of exhibiting, device, electronic equipment and computer-readable medium
CN109582209A (en) * 2018-12-05 2019-04-05 珠海格力电器股份有限公司 A kind of soft keyboard input method of HMI configuration software, HMI configuration software and graphic control panel
CN109814863A (en) * 2018-12-14 2019-05-28 深圳壹账通智能科技有限公司 A kind of processing method, device, computer equipment and computer storage medium for requesting returned data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ROLLINGMAN: "WPF 控件绑定自定义类变量", 《HTTPS://BLOG.CSDN.NET/U011100345/ARTICLE/DETAILS/87077196》 *
RON: "Bind Control"s Property to Variable, Bind Variable to Another Control", 《HTTPS://STACKOVERFLOW.COM/QUESTIONS/22488625/BIND-CONTROLS-PROPERTY-TO-VARIABLE-BIND-VARIABLE-TO-ANOTHER-CONTROL》 *

Also Published As

Publication number Publication date
CN110569025B (en) 2020-09-22

Similar Documents

Publication Publication Date Title
US10394417B2 (en) Surfacing and management of window-specific controls
EP3951578B1 (en) Processing method, device and apparatus for split-screen display, and storage medium
CN108874289B (en) Application history record viewing method and device and electronic equipment
CA2795183C (en) Temporary formatting and charting of selected data
CN106951335B (en) Process daemon method and mobile terminal
US8838557B2 (en) Automated viewable selectable change history manipulation
TW200912725A (en) Method to review, preview and modify change plans from a progress bar
CN106980431B (en) Management method and device for application icons in mobile terminal
WO2017124795A1 (en) Contact group processing method, apparatus, and mobile terminal
US20060212329A1 (en) Consolidated management of administrative tasks in an aynchronous, multi-application environment
CN110415315B (en) Method, device, terminal and storage medium for touch drawing map area
CN109361948B (en) Interface management method, intelligent terminal and readable storage medium
EP3132344A1 (en) Tentative program code in an editor
US20120124068A1 (en) Document management apparatus and method for controlling same
CN112836074A (en) Wallpaper display method and equipment
CN116978451A (en) Molecular docking prediction method and device
US20080307367A1 (en) Method and apparatus for a drag and drop operation implementing a hierarchical path name
CN113641936B (en) Method, device, electronic equipment and storage medium for page skip
CN112130734B (en) Document management method and device based on floating layer technology
CN115543285A (en) Interactive window display method, device, equipment and storage medium
CN110569025B (en) Variable processing method and device, readable storage medium and electronic equipment
US8843828B2 (en) Web page backup across multiple windows
CN112578961B (en) Application identifier display method and device
CN108960433B (en) Method and system for running machine learning modeling process
CN108415656B (en) Display control method, device, medium and electronic equipment in virtual scene

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