CN111626444B - Model maintenance dynamic self-adaption method, device and system based on regulation and control cloud and storage medium - Google Patents

Model maintenance dynamic self-adaption method, device and system based on regulation and control cloud and storage medium Download PDF

Info

Publication number
CN111626444B
CN111626444B CN202010449522.5A CN202010449522A CN111626444B CN 111626444 B CN111626444 B CN 111626444B CN 202010449522 A CN202010449522 A CN 202010449522A CN 111626444 B CN111626444 B CN 111626444B
Authority
CN
China
Prior art keywords
control
attribute
type
constructing
data
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
CN202010449522.5A
Other languages
Chinese (zh)
Other versions
CN111626444A (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.)
Nari Information and Communication Technology Co
Original Assignee
Nari Information and Communication Technology Co
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 Nari Information and Communication Technology Co filed Critical Nari Information and Communication Technology Co
Priority to CN202010449522.5A priority Critical patent/CN111626444B/en
Publication of CN111626444A publication Critical patent/CN111626444A/en
Application granted granted Critical
Publication of CN111626444B publication Critical patent/CN111626444B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Water Supply & Treatment (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a model maintenance dynamic self-adaptive method based on a regulation cloud, which comprises the steps of obtaining all form lists required to be maintained by a regulation cloud model object; dynamically creating a form attribute control according to the form list; assigning a value to the form attribute control; registering a control monitoring event of the form attribute control; loading a form operation button on the form attribute control; and according to the form list, assembling the form and all attribute Key-Value Key Value pair data corresponding to the form, and storing the pair data. A model maintenance dynamic self-adaptive system, device and storage medium based on the regulation cloud are also disclosed. According to the method and the device, the function of maintaining the dynamic self-adaptive model can be realized according to the dynamic change of the metadata and the data dictionary of the regulation and control cloud model, and the function of maintaining the model of the regulation and control cloud can be dynamically and adaptively adjusted.

Description

Model maintenance dynamic self-adaption method, device and system based on regulation and control cloud and storage medium
Technical Field
The invention relates to a model maintenance dynamic self-adaption method, device, system and storage medium based on a regulation cloud, in particular to a maintenance function dynamic self-adaption method for a public data model, a factory station and equipment model, an abstract container model and the like of the regulation cloud, and belongs to the technical field of power grids.
Background
With the rapid formation and development of the ultra-high voltage large power grid, the characteristics of the power grid are increasingly complex, the integrated characteristic of the power grid operation is obvious, the demand of the scheduling collaborative management main network above the provincial level is strong, further improvement of the scheduling control supporting means is objectively required, and the real-time service collaboration of the power grid scheduling, the overall planning of the power grid scheduling service and the unified scheduling management specification are supported. At present, each scheduling mechanism respectively builds respective equipment libraries, the equipment structures are not uniform, the equipment parameter expression modes are not uniform, and the heavy difficulty is brought to the construction of the equipment model of the whole network.
The national division integrated dispatching management model data cloud platform realizes standardized modeling, unified dictionary management, unified equipment coding and standardized management of equipment parameters of model data according to the technical specifications of model data construction, provides data quality of the equipment parameters, and realizes convergence of the whole-network equipment model on the cloud platform. The data cloud platform data maintenance range of the national and national integrated dispatching management model comprises information such as an organization, a power equipment container, an abstract container, power generation equipment, power transmission equipment, power transformation equipment, compensation equipment, direct current equipment, primary energy, public environment and the like, and a subordinate relation, a jurisdictional relation and a connection relation among all object information.
Model maintenance integrated management of regulatory clouds relies on metadata and data dictionaries defined in regulatory cloud "Power scheduling general data object structural design" specifications. In the course of the study of the present invention, the following problems were found:
(1) Dynamic changes to metadata and data dictionaries cannot be automatically perceived. Because metadata and data dictionaries support dynamic expansion functions, namely metadata object types, object attributes, table basic information, table fields and inter-field association can be added, updated, deleted, validated and disabled, primary and secondary model data maintenance of a power grid also needs to dynamically adapt to dynamic changes of a meta-model structure. The validation and invalidation states of tables or attributes in the metadata can be dynamically perceived. The new addition, update and deletion of the table or the attribute in the metadata can be dynamically perceived, and dynamic adaptation can be performed on a maintenance interface.
(2) Information such as attribute type, length, constraint and the like in the metadata cannot be automatically perceived. Different editing controls such as a text box, a text field or a time selection editor can be automatically displayed on a maintenance interface according to information such as attribute types, lengths and the like in metadata.
Disclosure of Invention
The invention aims to overcome the defect that a regulation and control cloud model cannot automatically sense metadata in a regulation and control cloud power grid model maintenance function in the prior art, and provides a dynamic self-adaptive model maintenance method based on the regulation and control cloud, which has the following technical scheme:
the model maintenance dynamic self-adaption method based on the regulation cloud comprises the following steps of:
acquiring all form lists which need to be maintained for regulating and controlling cloud model objects;
dynamically creating a form attribute control according to a form list;
assigning a form attribute control;
monitoring events by a control of the registry form attribute control;
loading a form operation button on the form attribute control;
and according to the form list, assembling the form and all attribute Key-Value Key values corresponding to the form to data, and storing the table data.
Model maintenance dynamic self-adaptive device based on regulation and control cloud comprises
The form list acquisition module is used for acquiring all form lists to be maintained of the regulation and control cloud model object;
the form attribute control creation module is used for dynamically creating a form attribute control according to the form list;
the form attribute control is assigned, and is used for assigning the form attribute control;
the control monitoring event registration module is used for registering control monitoring events of the form attribute control;
the form operation button loading module is used for loading form operation buttons to form attribute controls;
and the table data storage module is used for assembling the table data and all attribute Key-Value Key values corresponding to the table according to the table list and storing the table data.
The model maintenance dynamic self-adaptive system based on the regulation cloud comprises a processor and a storage medium;
the storage medium is used for storing instructions;
the processor is operative according to instructions to perform steps of a method according to any one of the preceding claims.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of any of the methods of the preceding claims.
Compared with the prior art, the invention has the beneficial effects that:
the method can realize the form dynamic loading of the regulation and control cloud object model according to the regulation and control cloud metadata table by taking the regulation and control cloud metadata and the data dictionary as the basis and following the function of supporting dynamic expansion of the metadata and the data dictionary and carrying out the correlation analysis among the regulation and control cloud metadata object type, object attribute, table basic information, table field and field; according to the regulation and control cloud metadata attribute table, dynamic loading of attribute controls in the form is realized; after the user maintains the model data and performs the save operation, the model table data is automatically assembled and the operation log data is modified according to the form and all attribute controls in the form and is transmitted to the background save data, so that the dynamic self-adaption of the model maintenance function of the regulation and control cloud is realized. According to the method and the device, the function of maintaining the dynamic self-adaptive model can be realized according to the dynamic change of the metadata and the data dictionary of the regulation and control cloud model, and the function of maintaining the model of the regulation and control cloud can be dynamically and adaptively adjusted.
Drawings
FIG. 1 is a flow chart of a regulatory cloud based model maintenance dynamic adaptation method of the present invention;
FIG. 2 is a diagram of metadata tables E-R of a regulatory cloud.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for more clearly illustrating the technical aspects of the present invention, and are not intended to limit the scope of the present invention.
Example 1
As shown in fig. 1 and 2, the model maintenance dynamic self-adaptive method based on the regulation cloud comprises the following steps:
the first step: acquiring all form lists which need to be maintained for regulating and controlling cloud model objects; as shown in fig. 2, metadata based on a regulatory cloud platform is obtained by querying a metadata table (MetaTable) of a regulatory cloud according to a regulatory cloud model object code, and all regulatory cloud table lists required to be maintained of the regulatory cloud object model are obtained: the method comprises the steps of using information such as a table mode name, a table English name, a table Chinese name, a table main key and the like as a data basis for creating a table Tab label page, and providing most basic data for table data storage. If the metadata table is newly added, updated, deleted, validated and invalidated, the table list can be used as a data basis for dynamically creating the Tab tag page of the table, and the most basic data is provided for the table data storage.
Taking a regulation cloud power PLANT object (object code: 0111) as an example, inquiring a metadata table to find a power PLANT related model table, wherein the model table comprises power PLANT basic information (SG_CON_PLANT_B), thermal power PLANT basic information (SG_CON_PLANT_B_HEAT), hydropower PLANT basic information (SG_CON_PLANT_B_HYDRO), NUCLEAR power PLANT basic information (SG_CON_PLANT_B_NUCLEAR) and the like.
And a second step of: dynamically creating a form attribute control according to a form list; if the attribute in the metadata is newly added, updated, deleted, validated and invalidated, the form attribute control can be dynamically created according to the attribute list. And aiming at each form of the regulation and control cloud model object, dynamically creating a form Tab label page in a circulating way, inquiring the regulation and control cloud metadata table according to the English name of each form to obtain all form attribute lists, and dynamically creating different form attribute controls according to different attribute types. And according to the form attribute list, circularly constructing a form attribute control, wherein the ID of the control is set to be the table English name+attribute English name of the form attribute, the field label of the control is set to be the Chinese name of the form attribute, and if the constraint of the attribute is PK or NOT NULL, the control is set to be the necessary filling item. Specifically, when a form is constructed, a metadata attribute table (MetaProperty) of the regulation cloud is queried according to the English name of the form to obtain a list of form attributes. And acquiring detailed instance data of the model IDs according to the model IDs and the English names of the forms. Taking the regulation cloud power PLANT basic information (sg_con_plant_b) as an example, the query metadata table finds an attribute list of the power PLANT basic information, including a power PLANT ID (ID), a power PLANT NAME (NAME), a power PLANT short NAME (name_abbria), a affiliated dispatching entity (dcc_id), a DATE of operation (operation_date), an operation status (operation_state), and the like.
The form attribute controls are assigned, i.e. form data are assigned to each form attribute control. And assigning the form parameter instance data to each control, and setting whether the form attribute control is editable or not according to the permission matrix. If the user role has read-only rights to the model table, all attribute controls in the table are not editable. Otherwise, judging whether the fields can be edited according to the interface scheme, if so, performing editing operation, otherwise, defaulting to be editable.
Monitoring events by a control of the registry form attribute control; if a business logic relationship exists between the components, a listening event of the property control is registered. The method comprises the steps of (1) acquiring a control according to the English name of the table and the English name of the attribute. (2) Listening events, such as select, change, focus, and blast events, are registered for the property control. (3) And (3) defining a handler processing method of the event, if multi-attribute control linkage is required, acquiring other attribute controls according to the table English name and the attribute name, and performing related operations on the other attribute controls.
And a third step of: creating an operation button list of the form, and loading model maintenance operation buttons with different authority levels based on the authority matrix. Form property controls load form operation buttons. Fourth step: and aiming at each form of the regulated cloud model object, assembling each form and corresponding Key-Value Key Value pair data of all attributes, modifying information such as log data and the like, and submitting the information to background storage data. And according to the form list, assembling the form and all attribute Key-Value Key values corresponding to the form to data, and storing the table data.
In this embodiment, specifically, all the form lists to be maintained for the regulation and control cloud model object are obtained, including an attribute list of a query form and data of the query form.
In this embodiment, the table data is stored specifically, and the specific operation steps are as follows:
after the user has maintained the form data and performed the save operation:
(1) Acquiring a parent container of a Tab tag page where a current form is located; the regulatory cloud model object typically has a plurality of forms, each of which is a Tab page, and the current form is a Tab page that is currently active.
(2) Traversing all child Tab tags of the parent container; if the Tab tag is not activated, the form data is not changed, the user is not modified and does not need to repeatedly save, otherwise, all attribute controls in the form of the sub-tag Tab are traversed, and if a certain attribute value is illegal, namely, the check rule description information is prompted. And if all the attribute control values are legal, the encapsulation form encapsulates the form data into model form data. If all the attribute values in the sub Tab label form are legal, then for each attribute control, the < attribute English name, attribute value > is packaged into model table data, and if the attribute control is modified, the < attribute Chinese name, attribute English name, attribute control original value, attribute control new value > is packaged into modification log data. Thus, each table Shan Jun can be assembled into a data format of < table english name, table data, modified log data, table primary key >; checking all sub-tables of a parent container traversing the current table, and if the checking is passed, packaging data and submitting the data to the background;
if the test does not pass, traversing all the child forms of the parent container of the current form again.
(3) And finally, transmitting the assembled data object list to a background to store data and recording an operation log.
In this embodiment, the list of forms includes a chinese name of the form, an english name of the form, and attribute information of the form. As shown in fig. 2, the form attributes specifically include a primary key attribute and a non-primary key attribute, such as a primary key attribute (ID), a non-primary key attribute (NAME, STAMP, OWNER).
In this embodiment, dynamically creating the form attribute controls according to the form list includes loading different form controls based on forms of different attribute types. I.e., according to the different form attribute types, different form controls are loaded. If the attribute types are different, different form controls are dynamically created.
In this embodiment, as a preferred manner, dynamically creating the form attribute control according to the form list includes:
(1) If the form attribute type is the DATE DATE type, constructing a DATE control; such as the ext.form.
(2) If the form property type is a FILE type, a FILE selection control, such as an ext.form.file, is constructed.
(3) If the form property type is a SELECT type, a drop down selection box control, such as an ext.form.combobox, is constructed. The drop-down selection frame obtains dictionary data of drop-down options according to dictionary table mode names (DicTableModel), dictionary tables (DicTableName), reference attributes (DicCode), display attributes (DicName) and custom filtering SQL scripts (FilterSQL) associated with the form attributes. If the data value for the attribute is not null, then the initialization is to simply pre-add the data value to the drop-down option.
(4) If the form attribute type is COMBOTREE type, a drop down tree control is constructed, such as a custom component Ext.form.ComboBox Tree.
(5) If the form property type is a CHECKBOX type, a multiple box control is constructed, such as an ext.form.checkbox.
(6) If the form property type is a radio roup type, a radio box control is constructed, such as an ext.form.radio group.
(7) If the form attribute type is INTINUM or FLOATINUM, a digital edit box control, such as Ext.form.number, is constructed. If the check rule of the attribute value interval exists, the interval data check rule description prompt information and the check rule expression are added, for example: (0.9,1).
(8) If the form property type is a GROUP type, then a GROUP control is constructed, such as Ext.
(9) If the form attribute type is a VARCHAR type, a text edit box control is constructed. If the form property length is greater than or equal to 256, a text field editing control, such as Ext.form.TextArea, is constructed. If the form property length is less than 256, a textbox editing control, such as Ext.form.text, is constructed. If the form attribute has a regular check rule, a regular check rule expression, a check rule description prompt message and the like are added.
Model maintenance dynamic self-adaptive device based on regulation and control cloud comprises
The form list acquisition module is used for acquiring all form lists to be maintained of the regulation and control cloud model object;
the form attribute control creation module is used for dynamically creating a form attribute control according to the form list;
the form attribute control is assigned, and is used for assigning the form attribute control;
the control monitoring event registration module is used for registering control monitoring events of the form attribute control;
the form operation button loading module is used for loading form operation buttons to form attribute controls;
and the table data storage module is used for assembling the table data and all attribute Key-Value Key values corresponding to the table according to the table list and storing the table data.
The model maintenance dynamic self-adaptive system based on the regulation cloud comprises a processor and a storage medium;
the storage medium is used for storing instructions;
the processor is operative according to instructions to perform steps of a method according to any one of the preceding claims.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of any of the methods of the preceding claims.
The method can realize the form dynamic loading of the regulation and control cloud object model according to the regulation and control cloud metadata table by taking the regulation and control cloud metadata and the data dictionary as the basis and following the function of supporting dynamic expansion of the metadata and the data dictionary and carrying out the correlation analysis among the regulation and control cloud metadata object type, object attribute, table basic information, table field and field; according to the regulation and control cloud metadata attribute table, dynamic loading of attribute controls in the form is realized; after the user maintains the model data and performs the save operation, the model table data is automatically assembled and the operation log data is modified according to the form and all attribute controls in the form and is transmitted to the background save data, so that the dynamic self-adaption of the model maintenance function of the regulation and control cloud is realized. According to the method and the device, the function of maintaining the dynamic self-adaptive model can be realized according to the dynamic change of the metadata and the data dictionary of the regulation and control cloud model, and the function of maintaining the model of the regulation and control cloud can be dynamically and adaptively adjusted.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing is merely a preferred embodiment of the present invention, and it should be noted that modifications and variations could be made by those skilled in the art without departing from the technical principles of the present invention, and such modifications and variations should also be regarded as being within the scope of the invention.

Claims (6)

1. The model maintenance dynamic self-adaption method based on the regulation cloud is characterized by comprising the following steps of:
acquiring all form lists which need to be maintained for regulating and controlling the cloud model object, wherein the form lists comprise an attribute list of a query form and data of the query form;
dynamically creating form attribute controls according to the form list, wherein the form attribute controls comprise forms based on different attribute types, and loading different form controls;
assigning values to the form attribute control, specifically: assigning the form parameter instance data to each control, and setting whether the form attribute control is editable or not according to the permission matrix; if the user role has read-only permission to the model table, all attribute controls in the table are not editable; if not, judging whether the field can be edited according to the interface scheme, if so, performing editing operation, otherwise, defaulting to be editable;
registering a control monitoring event of the form attribute control;
the form attribute control is loaded with a form operation button, which is specifically as follows: loading model maintenance operation buttons with different authority levels based on the authority matrix, and loading form operation buttons for the form attribute control;
according to the form list, assembling the form and all attribute Key-Value Key Value pair data corresponding to the form, and storing the form data;
the dynamic creation of the form attribute control according to the form list specifically comprises the following steps:
if the form attribute type is the DATE DATE type, constructing a DATE control;
if the form attribute type is the FILE type, constructing a FILE selection control;
if the form attribute type is the SELECT type, constructing a drop-down selection box control;
if the form attribute type is COMBOTREE type, constructing a drop-down tree control;
if the form attribute type is the CHECKBox type, constructing a multi-selection box control;
if the form attribute type is RADIOGRUP type, constructing a single menu control;
if the form attribute type is INNUM or FLOATINUM, constructing a digital editing box control;
if the form attribute type is GROUP type, constructing a GROUP control;
if the form attribute type is a VARCHAR type, a text edit box control is constructed.
2. The method for dynamic adaptation of regulatory cloud based model maintenance of claim 1,
the storing of the form data includes:
checking all sub-tables of a parent container traversing the current table, and if the checking is passed, packaging data and submitting the data to the background;
if the test does not pass, traversing all the child forms of the parent container of the current form again.
3. The regulation cloud-based model maintenance dynamic self-adaptation method according to claim 1, wherein the form list comprises a form chinese name, a form english name, and a form attribute.
4. Model maintenance dynamic self-adapting device based on regulation and control cloud is characterized by comprising
The form list acquisition module is used for acquiring all form lists to be maintained for regulating and controlling the cloud model object, and the form lists comprise an attribute list of a query form and data of the query form;
the form attribute control creation module is used for dynamically creating form attribute controls according to the form list, and comprises loading different form controls based on forms of different attribute types;
the form attribute control is assigned, and is used for assigning values to the form attribute control; the method comprises the following steps: assigning the form parameter instance data to each control, and setting whether the form attribute control is editable or not according to the permission matrix; if the user role has read-only permission to the model table, all attribute controls in the table are not editable; if not, judging whether the field can be edited according to the interface scheme, if so, performing editing operation, otherwise, defaulting to be editable;
the control monitoring event registration module is used for registering a control monitoring event of the form attribute control;
the form loading operation button module is used for loading the form operation buttons for the form attribute controls; the method comprises the following steps: loading model maintenance operation buttons with different authority levels based on the authority matrix, and loading form operation buttons for the form attribute control;
the table data storage module is used for assembling the table and all attribute Key-Value Key Value pair data corresponding to the table according to the table list, and storing the table data;
dynamically creating a form attribute control according to a form list, which specifically comprises the following steps:
if the form attribute type is the DATE DATE type, constructing a DATE control;
if the form attribute type is the FILE type, constructing a FILE selection control;
if the form attribute type is the SELECT type, constructing a drop-down selection box control;
if the form attribute type is COMBOTREE type, constructing a drop-down tree control;
if the form attribute type is the CHECKBox type, constructing a multi-selection box control;
if the form attribute type is RADIOGRUP type, constructing a single menu control;
if the form attribute type is INNUM or FLOATINUM, constructing a digital editing box control;
if the form attribute type is GROUP type, constructing a GROUP control;
if the form attribute type is a VARCHAR type, a text edit box control is constructed.
5. The model maintenance dynamic self-adaptive system based on the regulation cloud is characterized by comprising a processor and a storage medium;
the storage medium is used for storing instructions;
the processor being operative according to the instructions to perform the steps of the method according to any one of claims 1 to 3.
6. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 3.
CN202010449522.5A 2020-05-25 2020-05-25 Model maintenance dynamic self-adaption method, device and system based on regulation and control cloud and storage medium Active CN111626444B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010449522.5A CN111626444B (en) 2020-05-25 2020-05-25 Model maintenance dynamic self-adaption method, device and system based on regulation and control cloud and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010449522.5A CN111626444B (en) 2020-05-25 2020-05-25 Model maintenance dynamic self-adaption method, device and system based on regulation and control cloud and storage medium

Publications (2)

Publication Number Publication Date
CN111626444A CN111626444A (en) 2020-09-04
CN111626444B true CN111626444B (en) 2023-05-02

Family

ID=72259931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010449522.5A Active CN111626444B (en) 2020-05-25 2020-05-25 Model maintenance dynamic self-adaption method, device and system based on regulation and control cloud and storage medium

Country Status (1)

Country Link
CN (1) CN111626444B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114168133A (en) * 2021-11-12 2022-03-11 苏州万店掌网络科技有限公司 Form packaging method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593443A (en) * 2013-11-18 2014-02-19 南京新模式软件集成有限公司 Method for electronic file metadata expansion
CN109669693A (en) * 2017-10-16 2019-04-23 航天信息股份有限公司 A kind of method and system generating forms pages based on dynamic page
CN111191163A (en) * 2019-11-11 2020-05-22 苏州亿歌网络科技有限公司 Method, device, equipment and storage medium for updating webpage form data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593443A (en) * 2013-11-18 2014-02-19 南京新模式软件集成有限公司 Method for electronic file metadata expansion
CN109669693A (en) * 2017-10-16 2019-04-23 航天信息股份有限公司 A kind of method and system generating forms pages based on dynamic page
CN111191163A (en) * 2019-11-11 2020-05-22 苏州亿歌网络科技有限公司 Method, device, equipment and storage medium for updating webpage form data

Also Published As

Publication number Publication date
CN111626444A (en) 2020-09-04

Similar Documents

Publication Publication Date Title
CN104133772B (en) Automatic test data generation method
CN106528129B (en) A kind of Web application interface generation system and method
CN105677875B (en) A kind of visual modeling platform based on the unified constraint of normal data element
CN104123227A (en) Method for automatically generating testing cases
CN108229799B (en) Multi-source heterogeneous power grid operation real-time data access system and method
CN109951315A (en) A kind of method and system realizing YANG model and being mapped to internal model
US20120254849A1 (en) Ontology updating apparatus, method and system
CN110007924A (en) The automated construction method and system of YANG model configuration interface
CN102984737B (en) A kind of improve parameter unification collocation method of wireless network and device
CN108763323B (en) Meteorological grid point file application method based on resource set and big data technology
CN111626444B (en) Model maintenance dynamic self-adaption method, device and system based on regulation and control cloud and storage medium
CN115114146B (en) Interface testing method, device, equipment and storage medium
CN106951593B (en) Method and device for generating configuration file of protection measurement and control device
CN104573053A (en) Configuration item template dynamic customizing method based on XML
US11900269B2 (en) Method and apparatus for managing knowledge base, device and medium
CN112100984A (en) Data conversion method and system from EBOM to SBOM
CN114168117A (en) Credit low-code development tool based on designer and storage device
CN105868410A (en) Model-driven intelligent SCD (substation configuration description) file and CIM/E (common information model/efficiency) file conversion tool and method
KR101397379B1 (en) System for transformation meta-modeling
Girbea et al. Efficient address space generation for an OPC UA server
CN103631854A (en) ICD and SCD consistency calibration method based on model objectification semantics
WO2023005764A1 (en) Linkage batch configuration method, terminal, server, electronic device, and storage medium
CN110765083A (en) Data forwarding equipment of intelligent substation and memory optimization method thereof
CN108647018A (en) Can live preview code generating system
CN104040537A (en) Systems and methods of automatic generation and execution of database queries

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