CN112181520A - Interface design method and configuration tool for energy equipment - Google Patents

Interface design method and configuration tool for energy equipment Download PDF

Info

Publication number
CN112181520A
CN112181520A CN202011032319.4A CN202011032319A CN112181520A CN 112181520 A CN112181520 A CN 112181520A CN 202011032319 A CN202011032319 A CN 202011032319A CN 112181520 A CN112181520 A CN 112181520A
Authority
CN
China
Prior art keywords
information
equipment
attribute
parameter
type
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.)
Pending
Application number
CN202011032319.4A
Other languages
Chinese (zh)
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.)
Xinao Shuneng Technology Co Ltd
Original Assignee
Xinao Shuneng Technology Co Ltd
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 Xinao Shuneng Technology Co Ltd filed Critical Xinao Shuneng Technology Co Ltd
Priority to CN202011032319.4A priority Critical patent/CN112181520A/en
Publication of CN112181520A publication Critical patent/CN112181520A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application

Abstract

The invention is suitable for the technical field of computer software, and provides an interface design method and a configuration tool for energy equipment, wherein the method comprises the following steps: creating configuration and selecting a parameter entering mode; if the parameter entering mode is equipment type parameter entering, selecting a parameter entering template; if the parameter entering mode is the parameter entering of the equipment instance, the parameter output information is defined by users; if the parameter entering mode is equipment type parameter entering, after a parameter entering template is selected, continuously selecting the equipment type to be returned and the attribute data to be returned under the equipment type; sorting the output modes of the attribute data, and defining the sequence of the referred attribute data; and displaying the finally and actually returned parameter structure based on the attribute data, and successfully creating the interface configuration tool after submitting the parameter structure. The invention realizes the custom configuration of the data calling interface of the comprehensive energy equipment, and can create a customized interface in a custom way, so that the data returned by calling the general interface are displayed according to the screened data and the sequence.

Description

Interface design method and configuration tool for energy equipment
Technical Field
The invention belongs to the technical field of computer software, and particularly relates to an interface design method and a configuration tool for energy equipment.
Background
With the rapid development of society, the demand for energy increases explosively, the consumption speed of non-renewable fossil energy is extremely high, the problem of energy shortage is obvious, and economic development and social progress are hindered. The comprehensive energy is an energy network which is based on an intelligent power grid, is communicated and interconnected with a heating power pipe network, a natural gas pipe network and other various energy networks, is cooperatively transformed in various energy forms, and is operated in a centralized mode and a distributed mode in a coordinated mode.
The comprehensive energy service is a novel energy service mode for meeting diversified energy production and consumption of terminal clients, covers the aspects of energy planning design, engineering investment construction, multi-energy operation service, investment and financing service and the like, and is essentially energy service which takes electricity as the center and meets the diversified energy utilization requirements of society and diversified service appeal of clients.
The integral energy service is the management of energy equipment. The equipment management is used as an important function module in an energy Internet platform and tends to have rich software interfaces both externally and internally. However, with the increase of the traffic volume, when the staff in different departments use the interface, because the data returned by the interface is more, a plurality of intermediate database tables are often required to be built for screening the data. The intermediate table is used for screening data, so that the threshold is high, different personnel cooperate with each other to be difficult, more and more intermediate tables are required to be built along with the increase of the service volume, the management is not easy, and the service change is difficult.
In order to solve the problems of difficulty in using interfaces and screening data, a general interface configuration tool for the comprehensive energy equipment needs to be designed urgently, all personnel needing to use equipment data interfaces and needing to screen data can create customized interfaces on the tool in a self-defined mode, and data returned by calling the general interfaces are displayed according to the screened data and the sequence.
Disclosure of Invention
In view of this, embodiments of the present invention provide an interface design method and a configuration tool for an energy device, so as to solve the problems of difficult interface usage and difficult data screening existing in the use of a software interface of an energy device in the prior art.
A first aspect of an embodiment of the present invention provides an interface design method for energy equipment, including:
s1, creating configuration, and judging whether a parameter entering mode is equipment type parameter entering or equipment instance parameter entering; if the participation mode is the equipment type participation, the step S2 is carried out; if the reference mode is the equipment instance reference, the step S3 is carried out;
s2, selecting a parameter entering template; selecting the type of the equipment to be returned and the attribute data to be returned under the type of the equipment; sorting the output modes of the attribute data, and defining the sequence of the referred attribute data;
s3, selecting user-defined parameter information; then, step S4 is performed;
and S4, displaying the finally and actually returned parameter structure based on the attribute data, and successfully creating the interface configuration tool after submitting the parameter structure.
Further, the entry template comprises: an equipment template, an equipment group template and an equipment tree template;
when the equipment group template is selected, the equipment type is determined by selecting the equipment group type, and the selected equipment group type and the attribute to be returned under the equipment type are selected;
when the equipment tree template is selected, the equipment type is determined by selecting the equipment tree type, and the attribute needing to be returned under the corresponding equipment type is selected
Further, the check self-defined parameter information includes check information of the device to be output and check attribute information to be output, and specifically includes:
checking the device information needing to be output, comprising: basic information, associated information, tag information, asset information, internet of things information, electronic fence information, and other information, wherein:
1) the basic information at least comprises equipment name, equipment ID, equipment code, equipment description, equipment brand and equipment model;
2) the associated information at least comprises the belonged product, the belonged system, the belonged area and the belonged building;
3) the label information at least comprises an equipment label, an equipment group label and an equipment tree label;
4) the asset information at least comprises asset state, affiliated units, delivery date, installation date, warranty duration and use duration;
5) the Internet of things information at least comprises equipment communication modes, gateway IDs, protocol types and access configurations;
6) the electronic fence information at least comprises positioning longitude, positioning latitude, positioning radius and positioning height;
7) other information includes at least product code, product family, creation time, update time.
The method for checking the attribute information needing to be output comprises the following steps: basic information, limit information, label information, internet of things access information and other information, wherein:
1) the basic information at least comprises an attribute name, an attribute ID, an attribute code, an attribute classification, an attribute unit, a value upper limit and an attribute description;
2) the limit information at least comprises an upper limit, a lower limit, an alarm upper limit, an alarm lower limit, a zero drift limit and a change rate limit;
3) the label information at least comprises a static attribute label and a dynamic attribute label;
4) the Internet of things information at least comprises an attribute acquisition mode, an acquisition period, an information uploading period, a heartbeat frequency and a data storage period;
5) the other information at least comprises the device code and the system code.
Further, after the parameter structure based on the attribute data which is finally and actually returned is displayed, the interface configuration information is modified, and the interface configuration information comprises a parameter entering mode, a parameter entering template, a device type which needs to be returned, attribute data which needs to be returned under the device type, a name, a label and an interface identifier.
Further, the self-defined parameter information is name, label, interface mark, and device type code.
Further, after the parameter structure based on the attribute data which is finally and actually returned is submitted, if the parameter structure which is finally and actually returned is unique in check name, unique in interface mark and correct in format and the type of the equipment is not null, the interface configuration tool is successfully established; otherwise, prompting that the establishment of the configuration tool fails, and continuously checking the check name, the interface mark, the format and the equipment type of the parameter structure.
A second aspect of an embodiment of the present invention provides an interface configuration tool for an energy device, including:
the parameter access mode management module is used for selecting parameter access modes after configuration is established, and the parameter access modes comprise equipment type parameter access and equipment instance parameter access;
the parameter entering template management module is used for selecting a parameter entering template when the parameter entering mode is equipment type parameter entering, and the parameter entering template comprises the following components: an equipment template, an equipment group template and an equipment tree template;
the user-defined parameter information input module is used for selecting user-defined parameter information when the parameter entering mode is the parameter entering of the equipment example;
the device type and device type attribute data management module is used for entering the parameters for the device type in a parameter entering mode, and continuously selecting the device type to be returned and the attribute data to be returned under the device type after selecting a parameter entering template;
the attribute data management module is used for sequencing the output modes of the attribute data and defining the sequence of the referred attribute data;
and the parameter structure display and creation module is used for displaying the finally and actually returned parameter structure based on the attribute data and creating an interface configuration tool after submitting the parameter structure.
Further, still include: the device information selection module is used for the attribute data management module to sequence the output modes of the attribute data, and after defining the sequence of the referred attribute data, the device information selection module selects the device information to be output, and comprises: basic information, associated information, tag information, asset information, internet of things information, electronic fence information, and other information, wherein:
1) the basic information at least comprises equipment name, equipment ID, equipment code, equipment description, equipment brand and equipment model;
2) the associated information at least comprises the belonged product, the belonged system, the belonged area and the belonged building;
3) the label information at least comprises an equipment label, an equipment group label and an equipment tree label;
4) the asset information at least comprises asset state, affiliated units, delivery date, installation date, warranty duration and use duration;
5) the Internet of things information at least comprises equipment communication modes, gateway IDs, protocol types and access configurations;
6) the electronic fence information at least comprises positioning longitude, positioning latitude, positioning radius and positioning height;
7) other information includes at least product code, product family, creation time, update time.
Further comprising: the attribute information selection module is used for the attribute data management module to sequence the output modes of the attribute data, and after defining the sequence of the referred attribute data, the attribute information to be output is selected, and the attribute information selection module comprises: basic information, limit information, label information, internet of things access information and other information, wherein:
1) the basic information at least comprises an attribute name, an attribute ID, an attribute code, an attribute classification, an attribute unit, a value upper limit and an attribute description;
2) the limit information at least comprises an upper limit, a lower limit, an alarm upper limit, an alarm lower limit, a zero drift limit and a change rate limit;
3) the label information at least comprises a static attribute label and a dynamic attribute label;
4) the Internet of things information at least comprises an attribute acquisition mode, an acquisition period, an information uploading period, a heartbeat frequency and a data storage period;
5) the other information at least comprises the device code and the system code.
A third aspect of the embodiments of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the interface design method for an energy device when executing the computer program.
A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the steps of the above-described interface design method for an energy device.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: the invention is based on the equipment management interface of the comprehensive energy platform, adopts the micro-service architecture technology to realize the custom configuration of the data calling interface of the comprehensive energy equipment, leads all the personnel needing to use the equipment data interface and needing to screen data to custom establish the customized interface on the tool, leads the data returned by calling the universal interface to be displayed according to the screened data and the sequence, and solves the problems of difficult interface use and data screening existing in the software interface of the energy equipment in the prior art.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a general flow chart of an interface design method for an energy device according to an embodiment of the present invention;
fig. 2 is a schematic specific flowchart of an interface design method for an energy device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an interface configuration tool for an energy device according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a preview of a participating structure provided by an embodiment of the present invention;
fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example 1
As shown in fig. 1, an embodiment of the present invention provides an interface design method for an energy device, including the following steps:
s1, creating configuration, and judging whether a parameter entering mode is equipment type parameter entering or equipment instance parameter entering; if the participation mode is the equipment type participation, the step S2 is carried out; if the reference mode is the equipment instance reference, the step S3 is carried out;
s2, selecting a parameter entering template; selecting the type of the equipment to be returned and the attribute data to be returned under the type of the equipment; sorting the output modes of the attribute data, and defining the sequence of the referred attribute data;
s3, selecting user-defined parameter information; then, step S4 is performed;
and S4, displaying the finally and actually returned parameter structure based on the attribute data, and successfully creating the interface configuration tool after submitting the parameter structure.
As shown in fig. 2, the above steps are specifically:
and creating configuration, and selecting a parameter entering mode, wherein the parameter entering mode comprises equipment type parameter entering and equipment instance parameter entering.
If the parameter entering mode is equipment type parameter entering, selecting a parameter entering template, wherein the parameter entering template comprises the following steps: an equipment template, an equipment group template and an equipment tree template; the device template refers to a data calling interface of a single device, such as a reactor, a capacitor, a breaker, a transformer and the like. The equipment group module refers to a data calling interface provided by an object consisting of a plurality of objects, such as a cooling tower group, a heating unit, a generator set and the like. The equipment tree template refers to a data calling interface which is integrally provided by the multi-stage equipment and is constructed according to business needs, such as an energy supply unit, an energy utilization unit, an electric power unit and the like.
If the parameter entering mode is the parameter entering of the equipment instance, the parameter output information is defined by users; the self-defined parameter information is name, label, interface mark and equipment type code.
If the parameter entering mode is equipment type parameter entering, after a parameter entering template is selected, continuously selecting the equipment type to be returned and the attribute data to be returned under the equipment type; the configuration method is different according to different templates, and specifically comprises the following steps:
equipment template: directly selecting the device type and selecting the attribute to be returned under the corresponding device type. Directly selecting the type of equipment such as reactors, capacitors, circuit breakers, transformers, and the like; and selecting attributes required to be returned under the corresponding equipment type, such as the model, brand, description and the like of the reactor, the capacitor, the breaker and the transformer.
Equipment group template: and determining the device type by selecting the device group type, and selecting the selected device group type and the attribute to be returned under the device type. For example, after a cooling tower set, a heating unit or a generator set is selected, the types of specific internal unit modules, components and the like of the cooling tower set, the heating unit or the generator set are selected. And after the equipment group type and the equipment type are finished in sequence, returning the equipment group type and the attribute needing to be returned under the equipment type, wherein the attribute needing to be returned by the equipment group type comprises rated power, rated current, power factor, frequency, rotating speed and the like of the generator set. The attributes to be returned under the equipment type are attributes of a diesel engine, a power supply system, a cooling system, a starting system, a generator, an excitation control system, a protection unit, an electric control unit and a communication system in a generator set.
And (3) equipment tree template: and determining the device type by selecting the device tree type, and selecting the attribute which needs to be returned under the corresponding device type. The device tree template refers to a data calling interface provided by the whole multi-stage device constructed according to business needs, such as an energy supply unit, an energy utilization unit and an electric power unit. Therefore, the attribute to be returned under the corresponding device type is selected at this time, and may be described by an attribute of a certain device in an overall system, for example, a power unit includes specific module units such as a high-voltage transmission line, a transformer, a voltage regulator, a power distribution cabinet, a circuit breaker, a contactor, and an air switch, where the voltage regulator and the power distribution cabinet may be regarded as the device group template, because the two modules include specific electrical elements such as a meter, a control board, a coil, a switch, and the like, and the circuit breaker, the contactor, and the air switch may be regarded as the device template, and may be specific to specific electrical components. Therefore, when the entry template is the device tree template, more devices are involved in selecting the attribute to be returned under the corresponding device type, and the specific attribute of the corresponding device type is not described herein again, which is the same as the principle of directly selecting the device type under the device template and selecting the attribute to be returned under the corresponding device type.
And after continuously selecting the equipment type to be returned and the attribute data to be returned under the equipment type, manually sequencing the output modes of the attribute data and defining the sequence of the attribute data to be referred. Including checking the equipment information needing to be output, including: basic information, associated information, tag information, asset information, internet of things information, electronic fence information, and other information, wherein:
1) the basic information at least comprises equipment name, equipment ID, equipment code, equipment description, equipment brand and equipment model;
2) the associated information at least comprises the belonged product, the belonged system, the belonged area and the belonged building;
3) the label information at least comprises an equipment label, an equipment group label and an equipment tree label;
4) the asset information at least comprises asset state, affiliated units, delivery date, installation date, warranty duration and use duration;
5) the Internet of things information at least comprises equipment communication modes, gateway IDs, protocol types and access configurations;
6) the electronic fence information at least comprises positioning longitude, positioning latitude, positioning radius and positioning height;
7) other information includes at least product code, product family, creation time, update time.
And checking attribute information needing to be output, wherein the attribute information comprises the following steps: basic information, limit information, label information, internet of things access information and other information, wherein:
1) the basic information at least comprises an attribute name, an attribute ID, an attribute code, an attribute classification, an attribute unit, a value upper limit and an attribute description;
2) the limit information at least comprises an upper limit, a lower limit, an alarm upper limit, an alarm lower limit, a zero drift limit and a change rate limit;
3) the label information at least comprises a static attribute label and a dynamic attribute label;
4) the Internet of things information at least comprises an attribute acquisition mode, an acquisition period, an information uploading period, a heartbeat frequency and a data storage period;
5) the other information at least comprises the device code and the system code.
And then, showing the finally and actually returned parameter structure based on the attribute data, as shown in FIG. 4, previewing a schematic diagram for the parameter structure. Fig. 4 mainly shows basic information of device information to be output and basic information of attribute information to be output. And finally, after the parameter structure is submitted, if the finally returned parameter structure is unique in check name, unique in interface mark and correct in format and the type of the equipment is not null, the interface configuration tool is successfully established. Otherwise, prompting that the establishment of the configuration tool fails, and continuously checking the check name, the interface mark, the format and the equipment type of the parameter structure.
It should be noted that after the parameter structure based on the attribute data that is actually returned finally is displayed, the interface configuration information may also be modified as needed, including a parameter entering manner, a parameter entering template, a device type that needs to be returned, attribute data, a name, a tag, an interface identifier, and the like that need to be returned under the device type.
Example 2
As shown in fig. 3, an embodiment of the present invention further provides an interface configuration tool for an energy device, including:
the parameter access mode management module 101 is configured to create a configuration and then select a parameter access mode, where the parameter access mode includes device type parameter access and device instance parameter access;
the parameter entering template management module 102 is configured to select a parameter entering template when the parameter entering mode is a device type parameter entering mode, where the parameter entering template is divided into: an equipment template, an equipment group template and an equipment tree template; the device template refers to a data calling interface of a single device, such as a reactor, a capacitor, a breaker, a transformer and the like. The equipment group module refers to a data calling interface provided by an object consisting of a plurality of objects, such as a cooling tower group, a heating unit, a generator set and the like. The equipment tree template refers to a data calling interface which is integrally provided by the multi-stage equipment and is constructed according to business needs, such as an energy supply unit, an energy utilization unit, an electric power unit and the like.
A custom parameter output information input module 106, configured to select custom parameter output information when the parameter input mode is device instance parameter input; the self-defined parameter information is name, label, interface mark and equipment type code.
The device type and device type attribute data management module 103 is used for entering the parameters for the device type in the parameter entering mode, and after selecting the parameter entering template, continuously selecting the device type to be returned and the attribute data to be returned under the device type; the configuration method is different according to different templates, and specifically comprises the following steps:
equipment template: directly selecting the device type and selecting the attribute to be returned under the corresponding device type. Directly selecting the type of equipment such as reactors, capacitors, circuit breakers, transformers, and the like; and selecting attributes required to be returned under the corresponding equipment type, such as the model, brand, description and the like of the reactor, the capacitor, the breaker and the transformer.
Equipment group template: and determining the device type by selecting the device group type, and selecting the selected device group type and the attribute to be returned under the device type. For example, after a cooling tower set, a heating unit or a generator set is selected, the types of specific internal unit modules, components and the like of the cooling tower set, the heating unit or the generator set are selected. And after the equipment group type and the equipment type are finished in sequence, returning the equipment group type and the attribute needing to be returned under the equipment type, wherein the attribute needing to be returned by the equipment group type comprises rated power, rated current, power factor, frequency, rotating speed and the like of the generator set. The attributes to be returned under the equipment type are attributes of a diesel engine, a power supply system, a cooling system, a starting system, a generator, an excitation control system, a protection unit, an electric control unit and a communication system in a generator set.
And (3) equipment tree template: and determining the device type by selecting the device tree type, and selecting the attribute which needs to be returned under the corresponding device type. The device tree template refers to a data calling interface provided by the whole multi-stage device constructed according to business needs, such as an energy supply unit, an energy utilization unit and an electric power unit. Therefore, the attribute to be returned under the corresponding device type is selected at this time, and may be described by an attribute of a certain device in an overall system, for example, a power unit includes specific module units such as a high-voltage transmission line, a transformer, a voltage regulator, a power distribution cabinet, a circuit breaker, a contactor, and an air switch, where the voltage regulator and the power distribution cabinet may be regarded as the device group template, because the two modules include specific electrical elements such as a meter, a control board, a coil, a switch, and the like, and the circuit breaker, the contactor, and the air switch may be regarded as the device template, and may be specific to specific electrical components. Therefore, when the entry template is the device tree template, more devices are involved in selecting the attribute to be returned under the corresponding device type, and the specific attribute of the corresponding device type is not described herein again, which is the same as the principle of directly selecting the device type under the device template and selecting the attribute to be returned under the corresponding device type.
The attribute data management module 104 is used for manually sequencing the output modes of the attribute data and defining the sequence of the referred attribute data; the method specifically comprises the following steps:
through equipment information selection module, select equipment information that needs the output on the check, include: basic information, associated information, tag information, asset information, internet of things information, electronic fence information, and other information, wherein:
1) the basic information at least comprises equipment name, equipment ID, equipment code, equipment description, equipment brand and equipment model;
2) the associated information at least comprises the belonged product, the belonged system, the belonged area and the belonged building;
3) the label information at least comprises an equipment label, an equipment group label and an equipment tree label;
4) the asset information at least comprises asset state, affiliated units, delivery date, installation date, warranty duration and use duration;
5) the Internet of things information at least comprises equipment communication modes, gateway IDs, protocol types and access configurations;
6) the electronic fence information at least comprises positioning longitude, positioning latitude, positioning radius and positioning height;
7) other information includes at least product code, product family, creation time, update time.
Through the attribute information selection module, the attribute information needing to be output is selected, and the attribute information comprises the following steps: basic information, limit information, label information, internet of things access information and other information, wherein:
1) the basic information at least comprises an attribute name, an attribute ID, an attribute code, an attribute classification, an attribute unit, a value upper limit and an attribute description;
2) the limit information at least comprises an upper limit, a lower limit, an alarm upper limit, an alarm lower limit, a zero drift limit and a change rate limit;
3) the label information at least comprises a static attribute label and a dynamic attribute label;
4) the Internet of things information at least comprises an attribute acquisition mode, an acquisition period, an information uploading period, a heartbeat frequency and a data storage period;
5) the other information at least comprises the device code and the system code.
Then, the parameter structure displaying and creating module 105 displays the finally actually returned parameter structure based on the attribute data, as shown in fig. 4, and previews a schematic diagram for the parameter structure. Fig. 4 mainly shows basic information of device information to be output and basic information of attribute information to be output. And finally, after the parameter structure is submitted, if the finally returned parameter structure is unique in check name, unique in interface mark and correct in format and the type of the equipment is not null, the interface configuration tool is successfully established.
It should be noted that after the parameter structure based on the attribute data that is actually returned finally is displayed, the interface configuration information may be modified as needed by the interface configuration information modification module, including a parameter entering manner, a parameter entering template, a device type that needs to be returned, attribute data, a name, a tag, an interface identifier, and the like that need to be returned under the device type.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 5, a terminal device 6 of this embodiment includes: a processor 60, a memory 61 and a computer program 62 stored in said memory 61 and executable on said processor 60, such as a program for interface design of an energy device. The processor 60, when executing the computer program 62, implements the steps in the various above-described embodiments of the interface design method for an energy device, such as the steps shown in fig. 2. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 101 to 106 shown in fig. 3.
Illustratively, the computer program 62 may be partitioned into one or more modules/units that are stored in the memory 61 and executed by the processor 60 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 62 in the terminal device 6. For example, the computer program 62 may be divided into a synchronization module, a summarization module, an acquisition module, and a return module (a module in a virtual device), and each module specifically functions as follows:
the terminal device 6 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 5 is merely an example of a terminal device 6 and does not constitute a limitation of terminal device 6 and may include more or fewer components than shown, or some components may be combined, or different components, for example, the terminal device may also include input output devices, network access devices, buses, etc.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6. The memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the terminal device 6. The memory 61 is used for storing the computer programs and other programs and data required by the terminal device. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. An interface design method for an energy device, comprising:
s1, creating configuration, and judging whether a parameter entering mode is equipment type parameter entering or equipment instance parameter entering; if the participation mode is the equipment type participation, the step S2 is carried out; if the reference mode is the equipment instance reference, the step S3 is carried out;
s2, selecting a parameter entering template; selecting the type of the equipment to be returned and the attribute data to be returned under the type of the equipment; sorting the output modes of the attribute data, and defining the sequence of the referred attribute data;
s3, selecting user-defined parameter information; then, step S4 is performed;
and S4, displaying the finally and actually returned parameter structure based on the attribute data, and successfully creating the interface configuration tool after submitting the parameter structure.
2. The interface design method for an energy device according to claim 1, wherein the entry template includes: an equipment template, an equipment group template and an equipment tree template;
when the equipment group template is selected, the equipment type is determined by selecting the equipment group type, and the selected equipment group type and the attribute to be returned under the equipment type are selected;
when the equipment tree template is selected, the equipment type is determined by selecting the equipment tree type, and the attribute which needs to be returned under the corresponding equipment type is selected.
3. The interface design method for energy equipment according to claim 1, wherein the checking of the user-defined parameter information includes checking of equipment information to be output and checking of attribute information to be output, specifically:
checking the device information needing to be output, comprising: basic information, associated information, tag information, asset information, internet of things information, electronic fence information, and other information, wherein: the basic information at least comprises equipment name, equipment ID, equipment code, equipment description, equipment brand and equipment model; the associated information at least comprises the belonged product, the belonged system, the belonged area and the belonged building; the label information at least comprises an equipment label, an equipment group label and an equipment tree label; the asset information at least comprises an asset state, a unit to which the asset belongs, a delivery date, an installation date, warranty duration and use duration; the Internet of things information at least comprises an equipment communication mode, a gateway ID, a protocol type and access configuration; the electronic fence information at least comprises positioning longitude, positioning latitude, positioning radius and positioning height; the other information at least comprises product codes, product series, creation time and update time;
the method for checking the attribute information needing to be output comprises the following steps: basic information, limit information, label information, internet of things access information and other information, wherein: the basic information at least comprises an attribute name, an attribute ID, an attribute code, an attribute classification, an attribute unit, a value upper limit and an attribute description; the limit information at least comprises an upper limit, a lower limit, an alarm upper limit, an alarm lower limit, a zero drift limit and a change rate limit; the label information at least comprises a static attribute label and a dynamic attribute label; the Internet of things information at least comprises an attribute acquisition mode, an acquisition period, an information uploading period, a heartbeat frequency and a data storage period; the other information at least comprises the device code and the system code.
4. The interface design method for energy devices according to claim 1, wherein after displaying the parameter structure based on the attribute data finally and actually returned, the method further comprises:
and modifying interface configuration information, including a parameter entering mode, a parameter entering template, the type of the equipment needing to be returned, attribute data needing to be returned and called under the type of the equipment, a name, a label and an interface identifier.
5. The interface design method for an energy device of claim 1, wherein the self-defined parameter information is a name, a tag, an interface flag, a device type code.
6. The interface design method for energy equipment according to claim 1, wherein the parameter structure based on the attribute data which is finally and actually returned is shown, and after the parameter structure is submitted, if the parameter structure which is finally and actually returned is checked to have a unique name, a unique interface mark and a correct format, and the equipment type is not null, then the creation of the interface configuration tool is successful; otherwise, prompting that the establishment of the configuration tool fails, and continuously checking the check name, the interface mark, the format and the equipment type of the parameter structure.
7. An interface configuration tool for an energy device, comprising:
the parameter access mode management module is used for selecting parameter access modes after configuration is established, and the parameter access modes comprise equipment type parameter access and equipment instance parameter access;
the parameter entering template management module is used for selecting a parameter entering template when the parameter entering mode is equipment type parameter entering, and the parameter entering template comprises the following components: an equipment template, an equipment group template and an equipment tree template;
the user-defined parameter information input module is used for selecting user-defined parameter information when the parameter entering mode is the parameter entering of the equipment example;
the device type and device type attribute data management module is used for entering the parameters for the device type in a parameter entering mode, and continuously selecting the device type to be returned and the attribute data to be returned under the device type after selecting a parameter entering template;
the attribute data management module is used for sequencing the output modes of the attribute data and defining the sequence of the referred attribute data;
and the parameter structure display and creation module is used for displaying the finally and actually returned parameter structure based on the attribute data and creating an interface configuration tool after submitting the parameter structure.
8. The interface configuration tool for an energy device of claim 7, further comprising: the device information selection module is used for the attribute data management module to sequence the output modes of the attribute data, and after defining the sequence of the referred attribute data, the device information selection module selects the device information to be output, and comprises: basic information, associated information, tag information, asset information, internet of things information, electronic fence information, and other information, wherein:
the basic information at least comprises equipment name, equipment ID, equipment code, equipment description, equipment brand and equipment model;
the associated information at least comprises the belonged product, the belonged system, the belonged area and the belonged building;
the label information at least comprises an equipment label, an equipment group label and an equipment tree label;
the asset information at least comprises an asset state, a unit to which the asset belongs, a delivery date, an installation date, warranty duration and use duration;
the Internet of things information at least comprises an equipment communication mode, a gateway ID, a protocol type and access configuration;
the electronic fence information at least comprises positioning longitude, positioning latitude, positioning radius and positioning height;
the other information at least comprises product codes, product series, creation time and update time;
and the attribute information selection module is used for sorting the output modes of the attribute data by the attribute data management module, defining the sequence of the referred attribute data, and then checking the attribute information to be output, and comprises the following steps: basic information, limit information, label information, internet of things access information and other information, wherein:
the basic information at least comprises an attribute name, an attribute ID, an attribute code, an attribute classification, an attribute unit, a value upper limit and an attribute description;
the limit information at least comprises an upper limit, a lower limit, an alarm upper limit, an alarm lower limit, a zero drift limit and a change rate limit;
the label information at least comprises a static attribute label and a dynamic attribute label;
the Internet of things information at least comprises an attribute acquisition mode, an acquisition period, an information uploading period, a heartbeat frequency and a data storage period;
the other information at least comprises the device code and the system code.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN202011032319.4A 2020-09-27 2020-09-27 Interface design method and configuration tool for energy equipment Pending CN112181520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011032319.4A CN112181520A (en) 2020-09-27 2020-09-27 Interface design method and configuration tool for energy equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011032319.4A CN112181520A (en) 2020-09-27 2020-09-27 Interface design method and configuration tool for energy equipment

Publications (1)

Publication Number Publication Date
CN112181520A true CN112181520A (en) 2021-01-05

Family

ID=73944204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011032319.4A Pending CN112181520A (en) 2020-09-27 2020-09-27 Interface design method and configuration tool for energy equipment

Country Status (1)

Country Link
CN (1) CN112181520A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020052820A1 (en) * 1998-04-24 2002-05-02 Gatto Joseph G. Security analyst estimates performance viewing system and method
CN101488085A (en) * 2008-01-17 2009-07-22 中兴通讯股份有限公司 Software interface test method and apparatus
CN105447585A (en) * 2014-08-23 2016-03-30 沈阳东大自动化有限公司 Ore dressing production full-flow comprehensive production index optimization decision-making system
CN106649488A (en) * 2016-09-30 2017-05-10 广东网金数据服务有限公司 Method and device for invoking multi-data-source interaction interface
CN107813728A (en) * 2017-12-05 2018-03-20 深圳敏飞科技有限公司 A kind of fast charging system of the special sidebar new energy vehicle of road and device
CN110348217A (en) * 2019-05-28 2019-10-18 深圳壹账通智能科技有限公司 Interface test method, device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020052820A1 (en) * 1998-04-24 2002-05-02 Gatto Joseph G. Security analyst estimates performance viewing system and method
CN101488085A (en) * 2008-01-17 2009-07-22 中兴通讯股份有限公司 Software interface test method and apparatus
CN105447585A (en) * 2014-08-23 2016-03-30 沈阳东大自动化有限公司 Ore dressing production full-flow comprehensive production index optimization decision-making system
CN106649488A (en) * 2016-09-30 2017-05-10 广东网金数据服务有限公司 Method and device for invoking multi-data-source interaction interface
CN107813728A (en) * 2017-12-05 2018-03-20 深圳敏飞科技有限公司 A kind of fast charging system of the special sidebar new energy vehicle of road and device
CN110348217A (en) * 2019-05-28 2019-10-18 深圳壹账通智能科技有限公司 Interface test method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105204458B (en) A kind of intelligent configuration method
CN107729682B (en) Electrical system for thermal power engineering electrical plant and design method
CN103970887B (en) A kind of information flow display system and method based on GIS power distribution network figures
CN102957205A (en) Method and system for establishing distribution network model
CN104504485A (en) Integrative power system relay protection setting calculation method
CN111625964B (en) Method, system and equipment for constructing transformer substation graph model based on logical relationship
CN107861933A (en) The method and apparatus for generating O&M form
CN112699278A (en) Graph database construction method and device, readable storage medium and electronic equipment
CN105760272A (en) Monitoring background service customization method based on plug-in and system based on method
CN111241488B (en) Distribution network protection fixed value setting system based on full information data flow
CN112214602B (en) Humor-based text classification method and device, electronic equipment and storage medium
CN113505273A (en) Data sorting method, device, equipment and medium based on repeated data screening
CN105305619A (en) Method and device for three-remote configuration based on distribution automation
CN112181520A (en) Interface design method and configuration tool for energy equipment
CN106355539A (en) Police resource real-time state information display method and system
CN114971053A (en) Training method and device for online prediction model of network line loss rate of low-voltage transformer area
CN114818632A (en) Method and device for compiling power limiting sequence table for over-planning power utilization
CN103023740A (en) Information interaction bus system and electric power data transmission method
CN104317879B (en) A kind of telemetry real-time exhibition method based on real-time data base
CN106651142A (en) Transformer station main equipment type selection method based on three-dimensional design platform
CN112783862A (en) Data modeling method, system, equipment and storage medium for regulating and controlling cloud application
CN109918353A (en) The method and terminal device of automated information processing
CN108647320B (en) GIS-based power distribution automation master station system
CN112084281B (en) Method, device, computer equipment and storage medium for drawing survey grid
CN116501926B (en) Main network public information topology model construction method and device based on graph database

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