CN112181520B - 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
CN112181520B
CN112181520B CN202011032319.4A CN202011032319A CN112181520B CN 112181520 B CN112181520 B CN 112181520B CN 202011032319 A CN202011032319 A CN 202011032319A CN 112181520 B CN112181520 B CN 112181520B
Authority
CN
China
Prior art keywords
information
equipment
parameter
attribute
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.)
Active
Application number
CN202011032319.4A
Other languages
Chinese (zh)
Other versions
CN112181520A (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.)
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/CN112181520B/en
Publication of CN112181520A publication Critical patent/CN112181520A/en
Application granted granted Critical
Publication of CN112181520B publication Critical patent/CN112181520B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention is applicable to 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 exiting information is customized; if the parameter entering mode is equipment type parameter entering, after selecting parameter entering templates, continuously selecting equipment types needing to be returned and attribute data needing to be returned to parameter exiting under the equipment types; sequencing the output modes of the attribute data, and defining the attribute data sequence of the parameters; and displaying the finally actually returned parameter structure based on the attribute data, and creating an interface configuration tool after submitting the parameter structure. The invention realizes the custom configuration of the integrated energy device data calling interface, and can custom create the customized interface, so that the data returned by calling the universal interface is displayed according to the screened data and 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
The comprehensive energy service is a novel energy service mode for meeting the 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 a center and meets the diversified energy consumption requirements of society and the diversified service requirements of clients.
An essential requirement in integrated energy service is the management of energy devices. As an important functional module in the energy internet platform, the device management tends to have rich software interfaces both externally and internally. However, with the rising traffic, when the operators of different departments use the interfaces, because the interfaces return more data, many intermediate database tables are often needed to be built for screening the data. The intermediate table is used for screening data, so that the data threshold is high, the difficulty of cooperation of different people is high, the intermediate table which needs to be built is more and more along with the increase of the traffic, the management is not easy, and the business is difficult to change.
In order to solve the problems of difficult use of interfaces and difficult screening of data, a general interface configuration tool for comprehensive energy equipment needs to be designed, so that all personnel needing to use equipment data interfaces and needing to screen data can custom create a customized interface on the tool, and the data returned by calling the general interface is displayed according to the screened data and sequence.
Disclosure of Invention
In view of the above, the 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 use and difficult data screening 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 an energy device, including:
S1, creating configuration, and judging whether a parameter entering mode is equipment type parameter entering or equipment instance parameter entering; if the parameter entering mode is the equipment type parameter entering mode, performing step S2; if the parameter entering mode is the parameter entering of the equipment instance, performing step S3;
S2, selecting a ginseng template; selecting the equipment type needing to be returned and attribute data needing to be returned to the parameter under the equipment type; sequencing the output modes of the attribute data, and defining the attribute data sequence of the parameters;
S3, hooking and defining parameter information; then step S4 is carried out;
s4, displaying a final actually returned parameter structure based on attribute data, and creating an interface configuration tool after submitting the parameter structure.
Further, the parameter 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 needing to be returned under the equipment type are selected;
When selecting the equipment tree template, determining the equipment type by selecting the equipment tree type, and selecting the attribute required to be returned under the corresponding equipment type
Further, the parameter information is defined to include equipment information to be output and attribute information to be output, specifically:
the method for checking the equipment information to be output comprises the following steps: 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 a device name, a device ID, a device code, a device description, a device brand and a device model;
2) The associated information at least comprises a product, a system, an area and a building;
3) The tag information at least comprises a device tag, a device group tag and a device tree tag;
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 a device communication mode, a gateway ID, a protocol type and an access configuration;
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 series, creation time, update time.
And selecting attribute information to be output, including: basic information, limit information, tag information, object coupling information, other information, wherein:
1) The basic information at least comprises attribute names, attribute IDs, attribute codes, attribute classifications, attribute units, value upper limits and attribute descriptions;
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 tag information at least comprises a static attribute tag and a dynamic attribute tag;
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 code of the device and the code of the system.
Further, after the final actually returned parameter structure based on the attribute data is displayed, the method further comprises the step of modifying interface configuration information, including a parameter entering mode, a parameter entering template, a device type needing to be returned, attribute data, a name, a label and an interface identifier needing to be returned to a parameter under the device type.
Further, the customized parameter information is a name, a label, an interface mark and a device type code.
Further, after the final actual returned parameter structure based on the attribute data is displayed and submitted, if the final actual returned parameter structure is unique in check name, unique in interface mark and correct in format and the equipment type is not null, an interface configuration tool is successfully established; otherwise, prompting failure of creating the configuration tool, and continuing 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 entering mode management module is used for selecting a parameter entering mode after configuration, wherein the parameter entering mode comprises equipment type parameter entering and equipment instance parameter entering;
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 is divided into: an equipment template, an equipment group template and an equipment tree template;
the customized parameter-outputting information input module is used for hooking out the defined parameter-outputting information when the parameter-inputting mode is that the equipment instance inputs parameters;
The device type and device type attribute data management module is used for entering parameters in a device type, and continuously selecting the device type needing to be returned and the attribute data needing to be returned to the parameter under the device type after the parameter entering template is selected;
The attribute data management module is used for sequencing the output modes of the attribute data and defining the attribute data sequence of the parameters;
and the parameter structure display and creation module is used for displaying the finally actually returned parameter structure based on the attribute data, and creating an interface configuration tool after submitting the parameter structure.
Further, the method further comprises the following steps: the device information selection module is used for ordering the output modes of the attribute data by the attribute data management module, and after defining the attribute data sequence of the parameter, the device information needing to be output is checked, and the device information selection module 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 a device name, a device ID, a device code, a device description, a device brand and a device model;
2) The associated information at least comprises a product, a system, an area and a building;
3) The tag information at least comprises a device tag, a device group tag and a device tree tag;
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 a device communication mode, a gateway ID, a protocol type and an access configuration;
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 series, creation time, update time.
Further comprises: the attribute information selecting module is used for ordering the output modes of the attribute data by the attribute data management module, and after defining the attribute data sequence of the parameter, the attribute information needing to be output is checked, and the attribute information selecting module comprises the following steps: basic information, limit information, tag information, object coupling information, other information, wherein:
1) The basic information at least comprises attribute names, attribute IDs, attribute codes, attribute classifications, attribute units, value upper limits and attribute descriptions;
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 tag information at least comprises a static attribute tag and a dynamic attribute tag;
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 code of the device and the code of the system.
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 described above when executing the computer program.
A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the interface design method for an energy device.
Compared with the prior art, the embodiment of the invention has the beneficial effects that: the invention adopts a micro-service architecture technology based on the device management interface of the comprehensive energy platform to realize the custom configuration of the data calling interface of the comprehensive energy device, so that all personnel needing to use the device data interface and needing to screen data can custom create a custom interface on the tool, the data returned by calling the universal interface can be displayed according to the screened data and sequence, and the problems of difficult interface use and difficult data screening in the use of the software interface of the energy device in the prior art are solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments or the description of the prior art 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 other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a general flow diagram of an interface design method for an energy device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an interface design method for energy devices according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an interface configuration tool for an energy device according to an embodiment of the present invention;
Fig. 4 is a preview schematic diagram of a play-out structure according to 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 the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present 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 illustrate the technical scheme of the invention, the following description is made by 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 parameter entering mode is the equipment type parameter entering mode, performing step S2; if the parameter entering mode is the parameter entering of the equipment instance, performing step S3;
S2, selecting a ginseng template; selecting the equipment type needing to be returned and attribute data needing to be returned to the parameter under the equipment type; sequencing the output modes of the attribute data, and defining the attribute data sequence of the parameters;
S3, hooking and defining parameter information; then step S4 is carried out;
s4, displaying a final actually returned parameter structure based on attribute data, and creating an interface configuration tool after submitting the parameter structure.
As shown in fig. 2, the steps specifically include:
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 parameter entering templates, wherein the parameter entering templates are divided into: an equipment template, an equipment group template and an equipment tree template; wherein the device templates refer to data call interfaces of single devices, such as reactors, capacitors, circuit breakers, transformers, and the like. The equipment group template refers to a data calling interface which is externally provided by the whole object composed 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 call interface, such as an energy supply unit, an energy utilization unit, an electric power unit and the like, which is externally provided by the whole multi-stage equipment constructed according to service requirements.
If the parameter entering mode is the parameter entering of the equipment instance, the parameter exiting information is customized; the custom parameter information is name, label, interface mark and equipment type code.
If the parameter entering mode is equipment type parameter entering, after selecting parameter entering templates, continuously selecting equipment types needing to be returned and attribute data needing to be returned to parameter exiting under the equipment types; the configuration method is different according to different templates, and specifically comprises the following steps:
Equipment template: and directly selecting the device type and selecting the attribute required to be returned under the corresponding device type. For example, directly selecting the type of device such as a reactor, a capacitor, a circuit breaker, a transformer, etc.; and selects the attributes that need to be returned for the corresponding device type, such as the type, make, description, etc. of the reactor, capacitor, circuit breaker, transformer.
Equipment group template: the device type is determined by selecting the device group type, and the selected device group type and the attribute required to be returned under the device type are selected. For example, after selecting a cooling tower set, a heating unit or a generator set, the types of specific unit modules, components and the like in the cooling tower set, the heating unit or the generator set are selected. After the equipment group type and the equipment type are finished in sequence, the equipment group type and the attribute needing to be returned under the equipment type are returned, and the attribute needing to be returned of the equipment group type such as rated power, rated current, power factor, frequency, rotating speed and the like of the generator set. The properties that need to be returned under the type of the device are properties such as diesel engine, power supply system, cooling system, starting system, generator, excitation control system, protection unit, electric control unit, communication system in the generator set.
Device tree template: the device type is determined by selecting the device tree type, and the attribute required to be returned under the corresponding device type is selected. Because the equipment tree template refers to a data call interface, such as an energy supply unit, an energy utilization unit and a power unit, which is externally provided by the whole multi-stage equipment constructed according to service requirements. Thus, the attribute that needs to be returned when selecting the corresponding equipment type may be described by the attribute of a certain equipment in an overall system, such as a power unit, and includes specific module units of high-voltage transmission lines, transformers, voltage regulators, power distribution cabinets, circuit breakers, contactors, air switches and the like, wherein the voltage regulators and the power distribution cabinets can be regarded as the equipment set templates, because specific electrical elements such as meters, control boards, coils, switches and the like are included inside the two modules, and the circuit breakers, the contactors and the air switches can be regarded as the equipment templates and specific to the specific electrical components. Therefore, when the parameter entering template is a 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 the equipment type needing to be returned and the attribute data needing to be returned under the equipment type are continuously selected, manually sequencing the output modes of the attribute data, and defining the attribute data sequence of the parameters. Including choosing the equipment information that needs to be output, 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 a device name, a device ID, a device code, a device description, a device brand and a device model;
2) The associated information at least comprises a product, a system, an area and a building;
3) The tag information at least comprises a device tag, a device group tag and a device tree tag;
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 a device communication mode, a gateway ID, a protocol type and an access configuration;
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 series, creation time, update time.
And selecting attribute information to be output, including: basic information, limit information, tag information, object coupling information, other information, wherein:
1) The basic information at least comprises attribute names, attribute IDs, attribute codes, attribute classifications, attribute units, value upper limits and attribute descriptions;
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 tag information at least comprises a static attribute tag and a dynamic attribute tag;
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 code of the device and the code of the system.
Then, the final actual returned parameter structure based on the attribute data is shown as a preview schematic diagram of the parameter structure as shown in fig. 4. The basic information of the device information to be output and the basic information of the attribute information to be output are mainly shown in fig. 4. Finally, after submitting the parameter structure, if the parameter structure check name which is finally returned actually is unique, the interface mark is unique and the format is correct, the device type is not null, and the interface configuration tool is successfully established. Otherwise, prompting failure of creating the configuration tool, and continuing checking the check name, the interface mark, the format and the equipment type of the parameter structure.
It should be noted that, after the final actually returned parameter structure based on the attribute data is displayed, the interface configuration information may be modified according to the needs, including the parameter entering mode, parameter entering template, the type of the device to be returned, the attribute data, name, label, interface identifier and the like of the parameter to be returned under the type of the device.
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 entering mode management module 101 is configured to create a parameter entering mode selected after configuration, where the parameter entering mode includes equipment type parameter entering and equipment instance parameter entering;
The parameter entering template management module 102 is configured to select a parameter entering template when the parameter entering mode is equipment type parameter entering, where the parameter entering template is divided into: an equipment template, an equipment group template and an equipment tree template; wherein the device templates refer to data call interfaces of single devices, such as reactors, capacitors, circuit breakers, transformers, and the like. The equipment group template refers to a data calling interface which is externally provided by the whole object composed 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 call interface, such as an energy supply unit, an energy utilization unit, an electric power unit and the like, which is externally provided by the whole multi-stage equipment constructed according to service requirements.
The custom parameter-out information input module 106 is configured to hook the defined parameter-out information when the parameter-in mode is that the equipment instance enters the parameter; the custom parameter information is name, label, interface mark and equipment type code.
The device type and device type attribute data management module 103 is configured to perform parameter entering in a device type parameter entering mode, and continuously select a device type to be returned and attribute data to be returned to a parameter outlet under the device type after selecting a parameter entering template; the configuration method is different according to different templates, and specifically comprises the following steps:
Equipment template: and directly selecting the device type and selecting the attribute required to be returned under the corresponding device type. For example, directly selecting the type of device such as a reactor, a capacitor, a circuit breaker, a transformer, etc.; and selects the attributes that need to be returned for the corresponding device type, such as the type, make, description, etc. of the reactor, capacitor, circuit breaker, transformer.
Equipment group template: the device type is determined by selecting the device group type, and the selected device group type and the attribute required to be returned under the device type are selected. For example, after selecting a cooling tower set, a heating unit or a generator set, the types of specific unit modules, components and the like in the cooling tower set, the heating unit or the generator set are selected. After the equipment group type and the equipment type are finished in sequence, the equipment group type and the attribute needing to be returned under the equipment type are returned, and the attribute needing to be returned of the equipment group type such as rated power, rated current, power factor, frequency, rotating speed and the like of the generator set. The properties that need to be returned under the type of the device are properties such as diesel engine, power supply system, cooling system, starting system, generator, excitation control system, protection unit, electric control unit, communication system in the generator set.
Device tree template: the device type is determined by selecting the device tree type, and the attribute required to be returned under the corresponding device type is selected. Because the equipment tree template refers to a data call interface, such as an energy supply unit, an energy utilization unit and a power unit, which is externally provided by the whole multi-stage equipment constructed according to service requirements. Thus, the attribute that needs to be returned when selecting the corresponding equipment type may be described by the attribute of a certain equipment in an overall system, such as a power unit, and includes specific module units of high-voltage transmission lines, transformers, voltage regulators, power distribution cabinets, circuit breakers, contactors, air switches and the like, wherein the voltage regulators and the power distribution cabinets can be regarded as the equipment set templates, because specific electrical elements such as meters, control boards, coils, switches and the like are included inside the two modules, and the circuit breakers, the contactors and the air switches can be regarded as the equipment templates and specific to the specific electrical components. Therefore, when the parameter entering template is a 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 configured to manually sort output modes of attribute data, and define an attribute data sequence of the parameter; the method comprises the following steps:
The device information to be output is checked through a device information selection module, which comprises the following steps: 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 a device name, a device ID, a device code, a device description, a device brand and a device model;
2) The associated information at least comprises a product, a system, an area and a building;
3) The tag information at least comprises a device tag, a device group tag and a device tree tag;
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 a device communication mode, a gateway ID, a protocol type and an access configuration;
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 series, creation time, update time.
Selecting attribute information to be output through an attribute information selection module, including: basic information, limit information, tag information, object coupling information, other information, wherein:
1) The basic information at least comprises attribute names, attribute IDs, attribute codes, attribute classifications, attribute units, value upper limits and attribute descriptions;
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 tag information at least comprises a static attribute tag and a dynamic attribute tag;
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 code of the device and the code of the system.
The parameter structure presentation and creation module 105 then presents the final actual returned parameter structure based on the attribute data, as shown in fig. 4, as a preview of the out-of-reference structure. The basic information of the device information to be output and the basic information of the attribute information to be output are mainly shown in fig. 4. Finally, after submitting the parameter structure, if the parameter structure check name which is finally returned actually is unique, the interface mark is unique and the format is correct, the device type is not null, and the interface configuration tool is successfully established.
It should be noted that, after the final actually returned parameter structure based on the attribute data is displayed, the interface configuration information may be modified by the interface configuration information modification module according to the need, where the interface configuration information includes a parameter entering mode, a parameter entering template, a device type needing to be returned, attribute data, a name, a label, an interface identifier and the like needing to be returned under the device type.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment 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, for example a program for interface design of an energy device. The processor 60, when executing the computer program 62, implements the steps described above in various embodiments of an interface design method for an energy device, such as the steps shown in fig. 2. Or the processor 60, when executing the computer program 62, performs the functions of the modules/units of the apparatus embodiments described above, such as the functions of the modules 101-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 complete the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions for describing 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 summary module, an acquisition module, and a return module (modules in the virtual device), each of which specifically functions as follows:
The terminal device 6 may be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud server, etc. The terminal device may include, but is not limited to, a processor 60, a memory 61. It will be appreciated by those skilled in the art that fig. 5 is merely an example of the terminal device 6 and does not constitute a limitation of the terminal device 6, and may include more or less components than illustrated, or may combine certain components, or different components, e.g., the terminal device may further include an input-output device, a network access device, a bus, etc.
The Processor 60 may be a central processing unit (Central Processing Unit, CPU), other general purpose Processor, digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. 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 memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or 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 program as well as other programs and data required by the terminal device. The memory 61 may also be used for temporarily storing 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-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
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 solution. 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 manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (8)

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 parameter entering mode is the equipment type parameter entering mode, performing step S2; if the parameter entering mode is the parameter entering of the equipment instance, performing step S3;
S2, selecting a ginseng template; selecting the equipment type needing to be returned and attribute data needing to be returned to the parameter under the equipment type; sequencing the output modes of the attribute data, and defining the attribute data sequence of the parameters;
the ginseng template comprises: an equipment template, an equipment group template and an equipment tree template;
When the equipment template is selected, directly selecting the equipment type, and selecting the attribute required to be returned under the corresponding equipment type;
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 needing to be returned under the equipment type are selected;
when selecting the equipment tree template, determining the equipment type by selecting the equipment tree type, and selecting the attribute required to be returned under the corresponding equipment type;
S3, hooking and defining parameter information; then step S4 is carried out;
S4, displaying a final actually returned parameter structure based on attribute data, and creating an interface configuration tool successfully after submitting the parameter structure;
After submitting the parameter structure, if the parameter structure check name of the final actual return is unique, the interface mark is unique and the format is correct, and the equipment type is not null, the interface configuration tool is successfully established; otherwise, prompting failure of creating the configuration tool, and continuing checking the check name, the interface mark, the format and the equipment type of the parameter structure.
2. The interface design method for energy device according to claim 1, wherein the hooking definition parameter information includes hooking device information to be output, and hooking attribute information to be output, specifically:
the method for checking the equipment information to be output comprises the following steps: 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 a device name, a device ID, a device code, a device description, a device brand and a device model; the associated information at least comprises a product, a system, an area and a 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 asset state, affiliated units, delivery date, installation date, warranty duration and use duration; the Internet of things information at least comprises a device communication mode, a gateway ID, a protocol type and an access configuration; the electronic fence information at least comprises positioning longitude, positioning latitude, positioning radius and positioning height; the other information at least comprises a product code, a product series, a creation time and an update time;
And selecting attribute information to be output, including: basic information, limit information, tag information, object coupling information, other information, wherein: the basic information at least comprises attribute names, attribute IDs, attribute codes, attribute classifications, attribute units, value upper limits and attribute descriptions; 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 tag information at least comprises a static attribute tag and a dynamic attribute tag; 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 code of the equipment and the code of the system.
3. The interface design method for energy device according to claim 1, wherein after the final actual returned parameter structure based on the attribute data is displayed, the method further comprises:
the interface configuration information is modified, including a parameter entering mode, a parameter entering template, a device type needing to be returned, attribute data, a name, a label and an interface identifier needing to be returned to a parameter under the device type.
4. The interface design method for energy devices of claim 1, wherein the custom parameter information is a name, a tag, an interface flag, a device type code.
5. An interface configuration tool for an energy device, comprising:
the parameter entering mode management module is used for selecting a parameter entering mode after configuration, wherein the parameter entering mode comprises equipment type parameter entering and equipment instance parameter entering;
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 is divided into: an equipment template, an equipment group template and an equipment tree template;
When the equipment template is selected, directly selecting the equipment type, and selecting the attribute required to be returned under the corresponding equipment type;
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 needing to be returned under the equipment type are selected;
when selecting the equipment tree template, determining the equipment type by selecting the equipment tree type, and selecting the attribute required to be returned under the corresponding equipment type;
the customized parameter-outputting information input module is used for hooking out the defined parameter-outputting information when the parameter-inputting mode is that the equipment instance inputs parameters;
The device type and device type attribute data management module is used for entering parameters in a device type, and continuously selecting the device type needing to be returned and the attribute data needing to be returned to the parameter under the device type after the parameter entering template is selected;
The attribute data management module is used for sequencing the output modes of the attribute data and defining the attribute data sequence of the parameters;
The parameter structure display and creation module is used for displaying a final actually returned parameter structure based on attribute data, and creating an interface configuration tool after submitting the parameter structure;
After submitting the parameter structure, if the parameter structure check name of the final actual return is unique, the interface mark is unique and the format is correct, and the equipment type is not null, the interface configuration tool is successfully established; otherwise, prompting failure of creating the configuration tool, and continuing checking the check name, the interface mark, the format and the equipment type of the parameter structure.
6. The interface configuration tool for an energy device of claim 5, further comprising: the device information selection module is used for ordering the output modes of the attribute data by the attribute data management module, and after defining the attribute data sequence of the parameter, the device information needing to be output is checked, and the device information selection module 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 a device name, a device ID, a device code, a device description, a device brand and a device model;
the associated information at least comprises a product, a system, an area and a 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 asset state, affiliated units, delivery date, installation date, warranty duration and use duration;
the Internet of things information at least comprises a device communication mode, a gateway ID, a protocol type and an access configuration;
the electronic fence information at least comprises positioning longitude, positioning latitude, positioning radius and positioning height;
the other information at least comprises a product code, a product series, a creation time and an update time;
And an attribute information selection module, configured to sort output modes of the attribute data by using an attribute data management module, and after defining an attribute data sequence of the parameter, sort out attribute information to be output, where the attribute information includes: basic information, limit information, tag information, object coupling information, other information, wherein:
the basic information at least comprises attribute names, attribute IDs, attribute codes, attribute classifications, attribute units, value upper limits and attribute descriptions;
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 tag information at least comprises a static attribute tag and a dynamic attribute tag;
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 code of the equipment and the code of the system.
7. 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 4 when the computer program is executed.
8. 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 method according to any one of claims 1 to 4.
CN202011032319.4A 2020-09-27 2020-09-27 Interface design method and configuration tool for energy equipment Active CN112181520B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011032319.4A CN112181520B (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 CN112181520B (en) 2020-09-27 2020-09-27 Interface design method and configuration tool for energy equipment

Publications (2)

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

Family

ID=73944204

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN112181520B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7509277B1 (en) * 1998-04-24 2009-03-24 Starmine Corporation Security analyst estimates performance viewing system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN112181520A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN105204458B (en) A kind of intelligent configuration method
CN103970887B (en) A kind of information flow display system and method based on GIS power distribution network figures
CN111625964B (en) Method, system and equipment for constructing transformer substation graph model based on logical relationship
CN107273540A (en) Distributed search and index updating method, system, server and computer equipment
CN107203462A (en) A kind of data creation method and device
CN111241488B (en) Distribution network protection fixed value setting system based on full information data flow
CN110232450A (en) A kind of security control method of station, system and terminal device
CN116227835A (en) Product production control method and system based on supply chain control system
CN112700012A (en) Federal feature selection method, device, equipment and storage medium
CN110309142A (en) The method and apparatus of regulation management
CN112181520B (en) Interface design method and configuration tool for energy equipment
CN114638501A (en) Business data processing method and device, computer equipment and storage medium
CN114201336A (en) Configuration checking control method, system and equipment for online monitoring control function of master station
CN112214602B (en) Humor-based text classification method and device, electronic equipment and storage medium
CN105260401A (en) Method and device for querying and storing electric data
CN107679635A (en) Client's follow-up method, system and readable storage medium storing program for executing based on priority
CN114971053A (en) Training method and device for online prediction model of network line loss rate of low-voltage transformer area
CN109558403A (en) Data aggregation method and device, computer installation and computer readable storage medium
CN112085346A (en) Calendar-based safety inspection work display method and device and electronic equipment
KR101743056B1 (en) Mapping apparatus for electric power facility
CN117135050B (en) Application deployment method and device
CN116151804A (en) Automatic operation ticket generation method, device, equipment and storage medium
CN113159729B (en) Point table checking system and method for shortening point table checking time
CN107358538A (en) Document handling method and device
Jha Quantification of emissions in the ICT sector–a comparative analysis of the Product Life Cycle Assessment and Spend-based methods.: Optimal value chain accounting (Scope 3, category 1)

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