CN117354143A - Device access method, device, computer device and storage medium - Google Patents

Device access method, device, computer device and storage medium Download PDF

Info

Publication number
CN117354143A
CN117354143A CN202311274550.8A CN202311274550A CN117354143A CN 117354143 A CN117354143 A CN 117354143A CN 202311274550 A CN202311274550 A CN 202311274550A CN 117354143 A CN117354143 A CN 117354143A
Authority
CN
China
Prior art keywords
equipment
instantiation
energy storage
class
object model
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
CN202311274550.8A
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.)
Shenzhen Haichen Energy Storage Control Technology Co ltd
Original Assignee
Shenzhen Haichen Energy Storage Control 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 Shenzhen Haichen Energy Storage Control Technology Co ltd filed Critical Shenzhen Haichen Energy Storage Control Technology Co ltd
Priority to CN202311274550.8A priority Critical patent/CN117354143A/en
Publication of CN117354143A publication Critical patent/CN117354143A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Medical Informatics (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computing Systems (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The disclosure provides a device access method, a device, computer equipment and a storage medium, and relates to the technical field of computers. The method comprises the steps of obtaining class information of a plurality of auxiliary energy storage devices, and creating class objects according to the class information, wherein one class object corresponds to at least one auxiliary energy storage device; selecting a target class object corresponding to each auxiliary energy storage device according to the class to which each auxiliary energy storage device belongs, configuring a point table for the target class object, and constructing a device object model of each auxiliary energy storage device; creating a system object model, and binding the system object model with at least one equipment object model; performing equipment instantiation processing on at least one equipment object model to obtain instantiation equipment; and carrying out system instantiation processing on the system object model to obtain an instantiation system and configuration information of the instantiation system, and sending the configuration information of the instantiation system to the EMU.

Description

Device access method, device, computer device and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a device access method, a device access apparatus, a computer device, and a computer readable storage medium.
Background
With the increasing use of energy storage, lithium batteries and the like have been widely used. The single batteries often form a huge battery network through simple serial connection, parallel connection or serial-parallel connection. The number of lithium batteries required is large, which results in a more complex energy storage system.
In the related art, operational performance data of a lithium battery may be monitored through an energy management system (Energy Management System, EMS). However, most EMS have no effective management for device access, and for the case of multi-site, there is a problem in that maintenance and expansion are difficult.
Disclosure of Invention
The present disclosure provides a device access method, apparatus, computer device, and storage medium, which at least to some extent overcome the problem that the EMS provided in the related art has difficulty in maintenance and expansion for a multi-site situation.
Other features and advantages of the present disclosure will be apparent from the following detailed description, or may be learned in part by the practice of the disclosure.
According to one aspect of the present disclosure, there is provided a device access method, including: obtaining class information of a plurality of auxiliary energy storage devices, and creating class objects according to the class information, wherein one class object corresponds to at least one auxiliary energy storage device; selecting target class objects corresponding to the auxiliary energy storage devices according to the classes to which the auxiliary energy storage devices belong, configuring a point table for the target class objects, and constructing a device object model of the auxiliary energy storage devices; creating a system object model, and binding the system object model with at least one equipment object model; performing equipment instantiation processing on the at least one equipment object model to obtain instantiation equipment; and carrying out system instantiation processing on the system object model to obtain an instantiation system and configuration information of the instantiation system, and sending the configuration information of the instantiation system to an energy management system EMU so that the EMU can bind and collect data according to the configuration information.
In one embodiment of the present disclosure, after the creating of the category object from the category information, the method further includes: storing the created class object into a database or a file server; before said creating a class object from said class information, said method further comprises: and if the class object to be created is not stored in the database or the file server, executing the operation of creating the class object according to the class information.
In one embodiment of the disclosure, the point table is used to configure the memory address of the real device for each parameter of the class object, where the memory address represents an offset from the memory start address.
In one embodiment of the present disclosure, the performing an equipment instantiation process on the at least one equipment object model to obtain an instantiated equipment includes: and selecting a data source for each equipment object model, and configuring the serial numbers of the real equipment corresponding to each equipment object model to obtain the instantiation equipment.
In one embodiment of the present disclosure, the class of auxiliary energy storage devices includes one of gateway devices, gateway sub-devices, direct-connect devices; the system object model is subjected to system instantiation processing to obtain an instantiation system and configuration information of the instantiation system, and the system instantiation system comprises: selecting a system object model, adding at least one channel, selecting gateway equipment for each channel, and configuring a communication protocol of the gateway equipment to obtain configuration information of the gateway equipment; and configuring communication protocols of other auxiliary energy storage devices except the gateway device for the channels, and configuring corresponding data according to the communication protocols of the other auxiliary energy storage devices to obtain configuration information of the other auxiliary energy storage devices so as to obtain configuration information of the instantiation system and the instantiation system.
In one embodiment of the present disclosure, the method further comprises: acquiring equipment increasing and decreasing requirements, and determining an equipment object model bound with the system object model; performing equipment instantiation processing on the equipment object model bound with the system object model to obtain adjusted instantiation equipment; and carrying out system instantiation processing on the system object model to obtain an adjusted instantiation system, and sending configuration information of the adjusted instantiation system to the EMU.
In one embodiment of the present disclosure, the class object is managed using a version, and the change of the current version class object takes effect on the auxiliary energy storage device newly added by the current version class object relative to the previous version class object.
According to another aspect of the present disclosure, there is provided a device access apparatus, comprising:
the class object creation module is used for acquiring class information of a plurality of auxiliary energy storage devices, creating class objects according to the class information, wherein one class object corresponds to at least one auxiliary energy storage device;
the equipment object model creation module is used for selecting target class objects corresponding to the auxiliary energy storage equipment according to the class to which the auxiliary energy storage equipment belongs, configuring a point table for the target class objects, and constructing equipment object models of the auxiliary energy storage equipment;
The system object model creation module is used for creating a system object model and binding the system object model with at least one equipment object model;
the equipment instantiation module is used for carrying out equipment instantiation processing on the at least one equipment object model to obtain instantiation equipment;
the system instantiation module is used for carrying out system instantiation processing on the system object model to obtain configuration information of an instantiation system and the instantiation system, and sending the configuration information of the instantiation system to an energy management system EMU so that the EMU can bind and collect data according to the configuration information.
According to another aspect of the present disclosure, there is provided a computer apparatus comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above-described device access method via execution of the executable instructions.
According to another aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described device access method.
According to another aspect of the present disclosure, there is provided a computer program product comprising executable instructions stored in a computer readable storage medium, the executable instructions being read from the computer readable storage medium by a processor of a computer device, the executable instructions being executed by the processor, causing the computer device to perform the device access method described above.
In the embodiment of the disclosure, class information of a plurality of auxiliary energy storage devices is acquired, class objects are created according to the class information, one class object corresponds to at least one auxiliary energy storage device, target class objects corresponding to the auxiliary energy storage devices are selected according to the class to which the auxiliary energy storage devices belong, a point table is configured for the target class objects, and a device object model of the auxiliary energy storage devices is constructed; creating a system object model, and binding the system object model with at least one equipment object model; performing equipment instantiation processing on at least one equipment object model to obtain instantiation equipment; the system object model is subjected to system instantiation processing to obtain configuration information of an instantiation system and an instantiation system, the configuration information of the instantiation system is sent to an EMU, and the EMU carries out data binding and collection according to the configuration information; on the other hand, the method and the device can realize equipment-level multiplexing and system-level multiplexing, can flexibly realize data acquisition and addition of channel protocols, greatly improve convenience of system management and have wide application range.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
Fig. 1 illustrates a schematic diagram of an energy storage system provided in an embodiment of the present disclosure.
Fig. 2 illustrates a device access system architecture diagram provided in an embodiment of the present disclosure.
Fig. 3 illustrates another device access system architecture diagram provided in an embodiment of the present disclosure.
Fig. 4 shows a flowchart of a device access method provided in an embodiment of the present disclosure.
Fig. 5 shows a class object creation method flowchart provided in an embodiment of the present disclosure.
Fig. 6 shows a flowchart of another device access method provided in an embodiment of the present disclosure.
Fig. 7 shows a flowchart of a device instantiation processing method provided in an embodiment of the present disclosure.
Fig. 8 shows a flowchart of a system instantiation processing method provided in an embodiment of the present disclosure.
Fig. 9 shows a flowchart of yet another device access method provided in an embodiment of the present disclosure.
Fig. 10 shows a schematic structural diagram of a device access apparatus provided in an embodiment of the disclosure.
Fig. 11 shows a block diagram of a computer device provided in an embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
Because of the strong timeliness and space properties of energy required by people, in order to reasonably utilize the energy and improve the utilization rate of the energy, one energy form needs to be stored by one medium or equipment and then converted into another energy form, and the energy is released in a specific energy form based on future application. At present, the main way of generating green electric energy is to develop green energy sources such as photovoltaic, wind power and the like to replace fossil energy sources.
At present, the generation of green electric energy generally depends on photovoltaic, wind power, water potential and the like, but wind energy, solar energy and the like generally have the problems of strong intermittence and large fluctuation, which can cause unstable power grid, insufficient peak electricity consumption, too much electricity consumption and unstable voltage can cause damage to the electric power, so that the problem of 'wind abandoning and light abandoning' possibly occurs due to insufficient electricity consumption requirement or insufficient power grid acceptance, and the problem needs to be solved by relying on energy storage. The energy is converted into other forms of energy through physical or chemical means and is stored, the energy is converted into electric energy when needed and released, in short, the energy storage is similar to a large-scale 'charge pal', the electric energy is stored when the photovoltaic and wind energy are sufficient, and the stored electric power is released when needed.
Taking electrochemical energy storage as an example, the present disclosure provides an energy storage device, in which a group of chemical batteries are disposed, chemical elements in the batteries are mainly utilized as energy storage media, and the charge and discharge process is accompanied with chemical reaction or change of the energy storage media, which simply means that electric energy generated by wind energy and solar energy is stored in the chemical batteries, and when the use of external electric energy reaches a peak, the stored electric quantity is released for use, or is transferred to a place where the electric quantity is short for use.
The present energy storage (i.e. energy storage) application scenario is comparatively extensive, including aspects such as power generation side energy storage, electric wire netting side energy storage and power consumption side energy storage, and the kind of corresponding energy storage device includes:
(1) The large energy storage power station applied to the wind power and photovoltaic power station side can assist renewable energy sources to generate electricity to meet grid-connected requirements, and meanwhile, the utilization rate of the renewable energy sources is improved; the energy storage power station is used as a high-quality active/reactive power regulating power supply in a power supply side, so that the load matching of electric energy in time and space is realized, the capacity of absorbing renewable energy sources is enhanced, the instantaneous power change is reduced, the impact on a power grid is reduced, the problem of generating and absorbing new energy sources is solved, and the energy storage power station has great significance in the aspects of standby of a power grid system, relieving peak load power supply pressure and peak regulation and frequency modulation;
(2) The energy storage container applied to the power grid side has the functions of mainly peak regulation, frequency modulation and power grid blocking and peak regulation relieving, and can realize peak clipping and valley filling of the power consumption load, namely the energy storage battery is charged when the power consumption load is low, and the stored electric quantity is released in the peak period of the power consumption load, so that the balance between power production and power consumption is realized;
(3) The small energy storage cabinet applied to the electricity utilization side has the main functions of spontaneous electricity utilization, peak Gu Jiacha arbitrage, capacity cost management and power supply reliability improvement. According to the different application scenes, the electricity-side energy storage can be divided into an industrial and commercial energy storage cabinet, a household energy storage device, an energy storage charging pile and the like, and is generally matched with the distributed photovoltaic. The energy storage can be used by industrial and commercial users for valley peak price difference arbitrage and capacity cost management. In the electric power market implementing peak-valley electricity price, the energy storage system is charged when the electricity price is low, and the energy storage system is discharged when the electricity price is high, so that peak-valley electricity price difference arbitrage is realized, and the electricity cost is reduced. In addition, the energy storage system is suitable for two industrial enterprises with electricity price, can store energy when electricity is used in low valley and discharge the energy when the electricity is used in peak load, so that peak power and the declared maximum demand are reduced, and the purpose of reducing the capacity electricity fee is achieved. The household photovoltaic distribution and storage can improve the spontaneous self-use level of the electric power. Due to high electricity prices and poor power supply stability, the photovoltaic installation requirements of users are pulled. Considering that the photovoltaic power generation is performed in daytime, and the load of a user is generally higher at night, the photovoltaic power can be better utilized through configuration of energy storage, the spontaneous self-use level is improved, and meanwhile the power consumption cost is reduced. In addition, the fields of communication base stations, data centers and the like need to be configured with energy storage for standby power.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an energy storage system 100 according to an embodiment of the disclosure, and the embodiment of fig. 1 of the disclosure is illustrated by taking a power generation/distribution side shared energy storage scenario as an example, and the energy storage system 100 of the disclosure is not limited to the power generation/distribution side energy storage scenario.
The present disclosure provides an energy storage system 100, the energy storage system 100 comprising: the energy storage device 110, the high-voltage cable 120, the first electric energy conversion device 130 and the second electric energy conversion device 140, under the power generation condition, the first electric energy conversion device 130 and the second electric energy conversion device 140 are used for converting other forms of energy into electric energy, are connected with the high-voltage cable 120 and are supplied to the power distribution network power utilization side for use, when the power utilization load is low, the first electric energy conversion device 130 and the second electric energy conversion device 140 store more generated electric energy into the energy storage device 110 when the power generation is excessive, the wind abandoning rate and the light abandoning rate are reduced, and the problem of power generation and consumption of new energy is improved; when the power consumption load is high, the power grid gives an instruction, the electric quantity stored by the energy storage device 110 is cooperated with the high-voltage cable 120 to transmit electric energy to the power consumption side for use in a grid-connected mode, so that various services such as peak regulation, frequency modulation and standby are provided for the operation of the power grid, the peak regulation effect of the power grid is fully exerted, peak clipping and valley filling of the power grid are promoted, and the power supply pressure of the power grid is relieved.
Alternatively, the first electric energy conversion device 130 and the second electric energy conversion device 140 may convert at least one of solar energy, optical energy, wind energy, thermal energy, tidal energy, biomass energy, mechanical energy, and the like into electric energy.
The number of the energy storage devices 110 may be plural, and the energy storage devices 110 may be connected in series or parallel, and the energy storage devices 110 are supported and electrically connected by using a separator (not shown). In the present embodiment, "a plurality of" means two or more. The energy storage device 110 may be further provided with an energy storage tank outside for accommodating the energy storage device 110.
Alternatively, the energy storage device 110 may include, but is not limited to, a battery cell, a battery module, a battery pack, a battery system, and the like. The practical application form of the energy storage device 110 provided in the embodiments of the present disclosure may be, but not limited to, the listed products, and may also be other application forms, and the embodiments of the present disclosure do not strictly limit the application form of the energy storage device 110. The embodiments of the present disclosure will be described with reference to the energy storage device 110 being a multi-cell battery. When the energy storage device 110 is a single battery, the energy storage device 110 may be at least one of a cylindrical battery, a prismatic battery, and the like.
Fig. 2 shows an exemplary system architecture diagram to which a device access method in an embodiment of the present disclosure may be applied. The system architecture can be applied to an energy storage system based on an energy management system, wherein the energy storage system internally comprises a plurality of energy storage units 201, for example, the energy storage units 1-n in fig. 2 are positive integers, and can be determined according to requirements. The energy storage unit 210 may be a battery unit or the energy storage device 110 of fig. 1, for example.
As shown in fig. 2, the system architecture may include a plurality of auxiliary energy storage devices 202 and an energy management system 203.
The auxiliary energy storage device 202 may be any device in an energy storage system including, for example, but not limited to, a battery management system (Battery Management System, BMS), an energy storage converter (Power Conversion System, PCS), an air conditioner, a utility meter, and the like.
The battery management system may also be called a battery nurse or a battery manager, and mainly comprises a detection module, a control module, a communication module and the like, and has the main functions of monitoring and controlling the State of the battery in real time, including but not limited to monitoring and controlling parameters such as the voltage, the current, the temperature, the State of Charge (SOC), the State of Health (SOH) and the like of the battery. Meanwhile, the battery management system can also perform protection control on the battery, such as overcharge, overdischarge, overcurrent and the like, so that the safety and the service life of the battery are ensured.
The energy storage converter mainly comprises an inverter, a transformer, a controller and the like, and is electric equipment for converting electric energy stored by a battery into alternating current and supplying the alternating current to a power grid or a user side. The main functions of the energy storage converter include converting direct current into alternating current, controlling input or output of electric energy, and ensuring safety and stability of the energy storage system. The performance of the energy storage converter directly affects the operating efficiency and the service life of the energy storage system.
The energy management system 203 is responsible for the control strategy of the energy storage system, which can affect the decay rate and cycle life of the batteries within the system, thereby determining the energy storage economy. In addition, the energy management system 203 can monitor faults in the operation of the energy storage system, and plays roles of protecting equipment in time and guaranteeing safety.
The energy management system 203 may generate a control policy of the energy storage system according to the operation parameters of the battery collected by the auxiliary energy storage device 202 or the real-time operation parameters of the auxiliary energy storage device 202, such as a battery management system, an energy storage converter, an air conditioner, a general control ammeter, etc., so as to control the operation state of the auxiliary energy storage device 202.
For example, a plurality of auxiliary energy storage devices 202 may be the auxiliary energy storage devices 1 to n in fig. 1, i.e. one auxiliary energy storage device 202 is configured for each of the energy storage units 201.
For example, a plurality of energy storage units 201 may also be configured with one auxiliary energy storage device 202. The number of auxiliary energy storage devices 202 may be determined based on the actual demand and the type of auxiliary energy storage device 202.
Fig. 3 illustrates another device access system architecture diagram provided by an embodiment of the present disclosure. The system architecture also includes a network 204 and a server 205.
The network 204 may be a wired network or a wireless network, and is a medium used to provide a communication link between the energy management system 203 and the server 205.
In one embodiment, the wireless network or wired network described above uses standard communication techniques and/or protocols. The network is typically the Internet, but may be any network including, but not limited to, a local area network (Local Area Network, LAN), metropolitan area network (Metropolitan Area Network, MAN), wide area network (Wide Area Network, WAN), mobile, wired or wireless network, private network, or any combination of virtual private networks. In some embodiments, data exchanged over a network is represented using techniques and/or formats including HyperText Mark-up Language (HTML), extensible markup Language (Extensible MarkupLanguage, XML), and the like. All or some of the links may also be encrypted using conventional encryption techniques such as secure sockets layer (Secure Socket Layer, SSL), transport layer security (Transport Layer Security, TLS), virtual private network (Virtual Private Network, VPN), internet security protocol (Internet Protocol Security, IPSec), etc. In other embodiments, custom and/or dedicated data communication techniques may also be used in place of or in addition to the data communication techniques described above.
The server 205 may be a server that provides various services, such as a background management server that provides support for devices operated by the energy management system 203. The background management server may analyze and process the received data such as the request, and feed back the processing result (e.g., control policy) to the energy management system 203; the energy management system 203 sends control strategies to the auxiliary energy storage device 202 to control the operating state of the auxiliary energy storage device 202, etc.
Alternatively, the server 205 may be an independent physical server, or may be a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content Delivery Network, content delivery networks), and basic cloud computing services such as big data and artificial intelligence platforms.
Those skilled in the art will appreciate that the number of auxiliary energy storage devices 202, energy management systems 203, networks 204, and servers 205 in fig. 3 is merely illustrative, and that any number of auxiliary energy storage devices 202, energy management systems 203, networks 204, and servers 205 may be provided as desired. The embodiments of the present disclosure are not limited in this regard.
In the related art, when an auxiliary energy storage device is newly added to an energy storage system, generally, most of EMS adds one device to the newly added auxiliary energy storage device from a data layer to connect with one device, and there is no one-to-one mapping of attributes, services and events between the auxiliary energy storage device added by the EMS and a real device, so that the influence on the EMS of a single site is not obvious due to less mapping of the auxiliary energy storage device and a communication protocol, however, under the condition of multiple sites, the technical problems of high maintenance difficulty and large expansion difficulty exist.
When the number of auxiliary energy storage devices is large, management, interaction, expansion and the like between the devices become extremely difficult, and the following mainly appear:
1. the requirement on the management expertise between the devices is high, and different communication protocol devices are accessed, and each time, technicians are required to write codes to finish the process;
2. the compatibility is poor, when the requirement is changed or the communication protocol is changed, the adaptation change from the bottom communication protocol to the application service is needed to be realized, and the efficiency is low;
3. the expansibility is poor, and for the newly added function requirement, the slave device access layer is difficult to change, more manpower is required to be input, and the cost is high.
In order to solve at least part of the technical problems, the method comprises the steps of creating class objects according to class information by acquiring class information of a plurality of auxiliary energy storage devices, wherein one class object corresponds to at least one auxiliary energy storage device, selecting target class objects corresponding to each auxiliary energy storage device according to classes to which each auxiliary energy storage device belongs, configuring a point table for the target class objects, and constructing a device object model of each auxiliary energy storage device; creating a system object model, and binding the system object model with at least one equipment object model; performing equipment instantiation processing on at least one equipment object model to obtain instantiation equipment; the system object model is subjected to system instantiation processing to obtain configuration information of an instantiation system and an instantiation system, the configuration information of the instantiation system is sent to an EMU, and the EMU carries out data binding and collection according to the configuration information; on the other hand, the method and the device can realize equipment-level multiplexing and system-level multiplexing, can flexibly realize data acquisition and addition of channel protocols, greatly improve convenience of system management and have wide application range.
Under the system architecture described above, a device access method is provided in the embodiments of the present disclosure, and the method may be performed by any computer device having computing processing capabilities.
Fig. 4 shows a flowchart of a device access method provided in an embodiment of the present disclosure. As shown in fig. 4, the device access method provided in the embodiment of the present disclosure includes the following steps:
s402, obtaining class information of a plurality of auxiliary energy storage devices, and creating class objects according to the class information, wherein one class object corresponds to at least one auxiliary energy storage device.
In one embodiment, the categories of auxiliary energy storage devices may be divided by type, function, etc. of auxiliary energy storage devices.
It should be noted that the class of auxiliary energy storage devices may include one of gateway devices, gateway sub-devices, and direct connection devices. The gateway device is used for assisting in forwarding of a communication protocol, and belongs to a bridge for direct data interaction between a system and equipment, such as EMU equipment. The gateway sub-device is used for being responsible for uploading data, such as PCS, by the network manager. And the direct connection device is used for directly establishing connection with the EMS, such as a general control ammeter.
The class information of the auxiliary energy storage equipment is used for describing one or more information in the attribute, event and service of the same type of product and attribute values of various information, and each information is provided with an identifier for realizing unique identification.
The attribute information may include a data type dataType, an identifier, a name, a product value product key, a required request, a static variable static, a read-write flag rwFlag, a data range dataSpecs, and the like, and the data range may include, but is not limited to, a maximum value max, a minimum value min, a unit, and the like.
The event information may include a data type dataType, an identifier, a name, a product value product key, an event type eventType, a data range dataSpecs, etc., and the data range may include normal and abnormal.
The service information may include a service name, a service identifier, a call style, an input parameter, an output parameter, and an extension description.
The class object is used for carrying common information of product types of the auxiliary energy storage devices and creating templates of the auxiliary energy storage devices. The common information carried by the category object may include one or more of attributes, events, and services in the category information. One class object may correspond to one auxiliary energy storage device, or may correspond to a plurality of auxiliary energy storage devices, which may be determined according to actual situations. According to the method and the device, the class object is constructed by extracting the common information of the product types of the auxiliary energy storage devices, so that the code writing requirement of technicians is reduced, and the compatibility and expansibility of device access are improved.
For example, for air-conditioning, products of different enterprises can be adopted, correspondingly, based on the air-conditioning provided by different enterprises, a class object can be corresponding, and for specific products, specific values of various information in class information can be the same or different.
S404, selecting target class objects corresponding to the auxiliary energy storage devices according to the classes of the auxiliary energy storage devices, configuring a point table for the target class objects, and constructing a device object model of the auxiliary energy storage devices.
The target class object is one of the class objects constructed in S402, and is determined by the class to which the auxiliary energy storage device belongs.
The point table is used for representing the corresponding relation between each information in the target class object and the memory address on the real equipment. The point table is used for configuring the memory address of the real equipment corresponding to each parameter of the class object, and the memory address represents the offset between the memory address and the memory starting address.
For the auxiliary energy storage devices of the same type, the memory addresses of the same information in the point table on different real devices can be the same or different, and the present disclosure is not limited specifically according to the actual situation.
The construction of the equipment model of the auxiliary energy storage equipment can be understood as a process of assigning various information of the target class object.
For example, taking the PCS construction equipment object model as an example, the values of the attribute information of the PCS are respectively as follows: the data type is DOUBLE, the identifier is PCS_a_POW, the name is active power, the product value product Key is a1TXX, the request is true, the static variable static is true, the READ-write flag rwFlag is READ_ONLY, the data range dataSpes is maximum max=50, the minimum value min=0, and the unit is kW.
The values of the event information are respectively as follows: the data type dataType is BOOL, the identifier is inster abn, the name is insulation resistance exception, the product value ProducKey is a1TX, the event type eventType is info, the data range dataSpecs is 0 and normal, and 1 is exception.
It should be noted that, in an energy storage system, at least one auxiliary energy storage device of different types may be included, for accessing a plurality of auxiliary energy storage devices of the same type at the same time, on one hand, the present disclosure can conveniently and rapidly select a class object through a pre-constructed class object, and rapidly construct a device model for adding attribute values of each information of a target class object, on the other hand, the present disclosure may also construct a device model of one auxiliary energy storage device of the same type, and construct device models of other auxiliary energy storage devices of the same type in a multiplexing manner, thereby improving device access efficiency.
S406, creating a system object model, and binding the system object model with at least one equipment object model.
In one embodiment, the process of creating the system object model, that is, the process of establishing a correspondence between the system object model and at least one equipment object model, the system object model may be regarded as a set of multiple equipment object models, including all functions and equipment information of the system, which is the basis of system instantiation.
Creating the system thing model includes configuring system function information, such as determining a name of the system thing model, such as an a energy storage system.
It should be noted that, the number of at least one equipment object model in one system object model may be determined according to the number of real equipment, and the number of the same auxiliary energy storage equipment in the same enterprise may include at least one, and when the system object model includes a plurality of the same auxiliary energy storage equipment, the equipment object model may be called in a multiplexing manner, so as to quickly construct the system object model, improve the efficiency of converting and instantiating the equipment model, and facilitate equipment access and expansion.
In some embodiments, the system object model may be invoked in a multiplexed manner, and then modified and adjusted based on the system object model to obtain a desired system object model.
S408, performing equipment instantiation processing on at least one equipment object model to obtain instantiation equipment.
The equipment object model is subjected to equipment instantiation processing, and the equipment instantiation processing is used for establishing the corresponding relation between the equipment object model and real equipment.
S410, carrying out system instantiation processing on the system object model to obtain configuration information of the instantiation system and the instantiation system, and sending the configuration information of the instantiation system to an energy management system EMU so that the EMU can bind and collect data according to the configuration information.
The system instantiation process is a process of configuring a communication protocol for at least one equipment object model in the system object model.
The configuration information of the instantiation system may include information such as a communication protocol configured during the system instantiation process, a device-related attribute value configured during the device instantiation process, and so on. By the mode, data acquisition and addition of channel protocols can be flexibly realized, and convenience of system management is greatly improved.
According to the equipment access method provided by the embodiment of the disclosure, class information of a plurality of auxiliary energy storage equipment is acquired, class objects are created according to the class information, one class object corresponds to at least one auxiliary energy storage equipment, target class objects corresponding to the auxiliary energy storage equipment are selected according to the class to which the auxiliary energy storage equipment belongs, a point table is configured for the target class objects, and an equipment object model of the auxiliary energy storage equipment is constructed; creating a system object model, and binding the system object model with at least one equipment object model; performing equipment instantiation processing on at least one equipment object model to obtain instantiation equipment; the system object model is subjected to system instantiation processing to obtain configuration information of an instantiation system and an instantiation system, the configuration information of the instantiation system is sent to an EMU, and the EMU carries out data binding and collection according to the configuration information; on the other hand, the method and the device can realize equipment-level multiplexing and system-level multiplexing, can flexibly realize data acquisition and addition of channel protocols, greatly improve convenience of system management and have wide application range.
Fig. 5 shows a class object creation method flowchart provided in an embodiment of the present disclosure. As shown in fig. 5, in one embodiment, obtaining class information of the plurality of auxiliary energy storage devices in S402, creating a class object according to the class information includes:
s502, acquiring configuration files of a plurality of auxiliary energy storage devices, and determining class information according to the configuration files.
In one embodiment, the configuration file carries class information of the auxiliary energy storage device, where the configuration file may be a TSL file containing attributes, services, events, and the like of the class, and essentially, the TSL file is a section of JSON file content containing attributes: properties, events: events, services: services, etc., each of which has an identifier for unique identification.
And obtaining class information of the auxiliary energy storage equipment by analyzing the TSL file, and creating class objects according to the class information.
Illustratively, by parsing the TSL file of the PCS, the class information of the PCS and the attribute values of the respective information can be obtained.
It should be noted that, in the development process, a technician may only write one TSL file for the same type of auxiliary energy storage device, and for a plurality of auxiliary energy storage devices of the same type, the common information carried by the class object may be adjusted by deleting part of the information, and for one type of auxiliary energy storage device, the common information carried by the class object may be adjusted by deleting or adding part of the information.
In the embodiment of the disclosure, the class information of the auxiliary energy storage equipment can be conveniently and rapidly obtained by acquiring the configuration files of the plurality of auxiliary energy storage equipment and determining the class information according to the configuration files, so that the equipment access efficiency is improved, and the professional requirements on technicians are reduced.
Fig. 6 shows a flowchart of another device access method provided in an embodiment of the present disclosure. In one embodiment, as shown in fig. 6, after creating the category object according to the category information in S402, the method further includes:
s403, storing the created class object in a database or a file server.
It should be noted that the class objects may be stored in a database or a file server in the form of a list or a dictionary, in which related information of the class objects may be recorded, and in which class names corresponding to the class objects may also be recorded.
For example, the class object constructing the PCS described above may record the related information of the gateway child device and the corresponding class object, etc., in a list or dictionary.
In one embodiment, before creating the class object from the class information, the method further comprises: if the class object to be created is not stored in the database or the file server, an operation of creating the class object from the class information is performed. Whether the class object needs to be established or not can be quickly and conveniently determined by judging whether the class object exists in the database or the file server, so that time waste caused by repeated development of technicians is avoided, and the multiplexing efficiency of the class object is improved.
Alternatively, if the class object to be created is already stored in the database or the file server, the operation of creating the class object according to the class information need not be performed, and the corresponding class object may be directly called when the equipment object model is created.
In the embodiment of the disclosure, the created class object is stored in the database or the file server, so that on one hand, the method not only evolves the process of creating the class object, but also avoids repeatedly creating the class object, thereby facilitating the subsequent management of the class object; on the other hand, the target class object corresponding to the energy storage device can be rapidly determined by searching the list or the dictionary.
Fig. 7 shows a flowchart of a device instantiation processing method provided in an embodiment of the present disclosure. As shown in fig. 7, in one embodiment, the step S408 performs an equipment instantiation process on at least one equipment object model to obtain an instantiated equipment, where the method includes:
s702, selecting a data source for each equipment object model, and configuring a serial number of a real equipment corresponding to each equipment object model to obtain an instantiation device.
The process of the equipment instantiation process includes a process of selecting a data source for each equipment object model and a process of configuring a serial number of a corresponding real equipment for each equipment object model. The order of the two processes may be determined according to the actual situation, that is, the process of selecting the data source may be before the process of configuring the serial number of the real device, or may be after the process of configuring the serial number of the real device, which is not specifically limited in the disclosure.
It should be noted that, the data source includes interface data or protocol data, where the interface data may be data obtained from other servers, and in this case, the point table is not required to be configured for the equipment object model; the protocol data can be reported by the MQTT protocol, and is usually obtained by analyzing point table data in a construction equipment object model.
The serial number of the real device is used to characterize the unique code, also called SN code, of the real auxiliary energy storage device.
In the embodiment of the disclosure, the serial numbers of the real devices corresponding to the equipment object models are configured by selecting the data sources of the equipment object models, so that the equipment instantiation is realized, and the equipment management efficiency is greatly improved.
Fig. 8 shows a flowchart of a system instantiation processing method provided in an embodiment of the present disclosure. As shown in fig. 8, in one embodiment, the step S410 performs a system instantiation process on the system object model to obtain an instantiation system and configuration information of the instantiation system, where the configuration information includes:
s802, selecting a system object model, adding at least one channel, selecting gateway equipment for each channel, and configuring a communication protocol of the gateway equipment to obtain configuration information of the gateway equipment;
S804, configuring communication protocols of other auxiliary energy storage devices except the gateway device for each channel, and configuring corresponding data according to the communication protocols of the other auxiliary energy storage devices to obtain configuration information of the other auxiliary energy storage devices so as to obtain configuration information of the instantiation system and the instantiation system.
In the system instantiation process, a system object model to be instantiated is selected, for example, the system object model of the a energy storage system created in the above embodiment is selected.
It should be noted that each energy storage system includes at least one gateway device, and each gateway device corresponds to a channel; each energy storage system may further comprise at least one direct connection device, such as a smart meter, etc., for which a channel may be added.
Configuration information of the instantiation system includes configuration information of the gateway device and configuration information of other auxiliary energy storage devices, which may include gateway sub-devices, direct connection devices, and the like.
The communication protocol includes: one or more of a modbus-tcp protocol, a modbus-rtu protocol, a DLT645 protocol and an IEC61850 protocol are supported by the system, so that the adaptability of the system is improved, the access and the expansion of equipment are facilitated, and the compatibility of the equipment is improved.
The communication protocol configured by the gateway device is illustratively as follows:
modbus-tcp/LEC61850:
inputting iP address and port
modbus-rtu/DLT645:
Serial port type: RS485, RS232, RS422
Serial port: COM1, COM2, COM3, etc
Check bit: no check, odd check, even check
Baud rate: 600bps, 1200bps, etc
After the communication protocol of the gateway equipment is configured for each channel, the configuration information of the gateway equipment of each channel can be obtained.
For the communication protocols of other auxiliary energy storage devices except gateway devices in each channel configuration system, relevant data are filled in according to the communication modes of different communication protocols, configuration information of other auxiliary energy storage devices is obtained, the configuration information of the gateway devices and the configuration information of other auxiliary energy storage devices are combined to form configuration information of an instantiation system, the configuration information of the instantiation system is issued to an EMU, and the EMU can bind and collect data according to the configuration information.
In the embodiment of the disclosure, by selecting a system object model, adding at least one channel, selecting gateway equipment for each channel, configuring a communication protocol of the gateway equipment, adding communication protocols of other auxiliary energy storage equipment except the gateway equipment for each channel, configuring corresponding data according to the communication protocols of the other auxiliary energy storage equipment, obtaining configuration information of an instantiation system, and completing system instantiation.
Fig. 9 shows a flowchart of yet another device access method provided in an embodiment of the present disclosure. As shown in fig. 9, in an embodiment, the device access method provided in the embodiment of the present disclosure further includes:
s902, acquiring equipment increase and decrease requirements, and determining an equipment object model bound with a system object model;
s904, performing equipment instantiation processing on the equipment object model bound with the system object model to obtain adjusted instantiation equipment;
s906, carrying out system instantiation processing on the system object model to obtain an adjusted instantiation system, and sending configuration information of the adjusted instantiation system to the EMU.
In one embodiment, the information about the auxiliary energy storage device that the device increases or decreases the demand is used to determine the addition or deletion, and may specifically include the type of demand, and the information about the increased or decreased auxiliary energy storage device. The demand type may include add demand, delete demand.
The specific implementation manners of the device instantiation and the system instantiation of S904 to S906 are the same as the specific implementation manners of S408 to S410 in the foregoing embodiments, and are not repeated here.
It should be noted that, when the upgrading iteration and the attribute change of the equipment are involved, the related information of the class object is directly modified, so that the automatic synchronization of the auxiliary energy storage equipment corresponding to the class can be realized, and the speed is faster. When the attribute is added or deleted, the class objects can be added or deleted uniformly, and one type of information in the class information can be deleted independently for one equipment object model, but cannot be added.
The class object is managed by adopting a version, and the change of the class object of the current version takes effect on the auxiliary energy storage device newly added by the class object of the current version relative to the class object of the previous version. In order to ensure that the running equipment is normal, the modification of the general class object only takes effect on the newly added equipment object model, and the equipment which is put into production cannot be changed under normal conditions, and the version number can be updated after each change due to the version management of the class object, so that the equipment object model and the version number can be managed.
Illustratively, the auxiliary energy storage devices for category object management of version 1 are 1-3, the auxiliary energy storage devices for category object management of version 2 are 1-5, and the change of category object of version 2 is only effective for auxiliary energy storage devices 4 and 5.
In the embodiment of the disclosure, equipment increasing and decreasing requirements are acquired, and an equipment object model bound with a system object model is determined; performing equipment instantiation processing on the equipment object model bound with the system object model to obtain adjusted instantiation equipment; and carrying out system instantiation processing on the system object model to obtain an adjusted instantiation system and corresponding configuration information, and sending the configuration information of the adjusted instantiation system to the EMU, so that the flexibility of equipment access is realized, the equipment access layer is not required to be changed, and the labor input and development cost are reduced.
Based on the same inventive concept, an apparatus access device is also provided in the embodiments of the present disclosure, such as the following embodiments. Since the principle of solving the problem of the embodiment of the device is similar to that of the embodiment of the method, the implementation of the embodiment of the device can be referred to the implementation of the embodiment of the method, and the repetition is omitted.
Fig. 10 shows a schematic structural diagram of an apparatus access device provided by an embodiment of the present disclosure, and as shown in fig. 10, the apparatus access device provided by the embodiment of the present disclosure includes: class object creation module 1001, equipment object model creation module 1002, system object model creation module 1003, equipment instantiation module 1004, and system instantiation module 1005.
The class object creation module 1001 is configured to obtain class information of a plurality of auxiliary energy storage devices, create a class object according to the class information, where one class object corresponds to at least one auxiliary energy storage device;
the equipment object model creation module 1002 is configured to select a target class object corresponding to each auxiliary energy storage device according to the class to which each auxiliary energy storage device belongs, configure a point table for the target class object, and construct an equipment object model of each auxiliary energy storage device;
A system object model creation module 1003, configured to create a system object model, and bind the system object model with at least one equipment object model;
the device instantiation module 1004 is configured to perform device instantiation processing on at least one device object model to obtain an instantiated device;
the system instantiation module 1005 is configured to perform system instantiation processing on the system object model to obtain configuration information of the instantiation system and the instantiation system, and send the configuration information of the instantiation system to the energy management system EMU, so that the EMU binds and collects data according to the configuration information.
In one embodiment, the apparatus further includes a class object storage module, not shown in the drawings, for storing the created class object in a database or a file server after creating the class object according to the class information; and the class object storage module is used for adding the created class object into a list or a dictionary if the created class object is not stored in the database or the file server.
It should be noted that, the point table is used to configure each parameter of the class object to correspond to the memory address of the real device, where the memory address represents the offset between the real device and the memory start address.
In one embodiment, the device instantiation module 1004 is configured to select a data source for each device object model, and configure a serial number of a real device corresponding to each device object model to obtain an instantiated device.
In one embodiment, the system instantiation module 1005 is configured to select a system object model, add at least one channel, select a gateway device for each channel, configure a communication protocol of the gateway device, and obtain configuration information of the gateway device; and configuring communication protocols of other auxiliary energy storage devices except the gateway device for each channel, and configuring corresponding data according to the communication protocols of the other auxiliary energy storage devices to obtain configuration information of the other auxiliary energy storage devices so as to obtain configuration information of the instantiation system and the instantiation system.
In one embodiment, the device further comprises an updating module which is not shown in the drawing, wherein the updating module is used for acquiring the equipment increasing and decreasing requirements and determining an equipment object model bound with the system object model;
the device instantiation module 1004 is configured to perform device instantiation processing on a device object model bound to the system object model to obtain an adjusted instantiation device;
the system instantiation module 1005 is configured to perform system instantiation processing on the system object model to obtain an adjusted instantiation system, and send configuration information of the adjusted instantiation system to the EMU.
The product class object is managed by version, the variation of the product class object of the current version is effective for the auxiliary energy storage device newly added to the product class object of the current version relative to the product class object of the previous version.
It should be noted that the class of auxiliary energy storage devices includes one of gateway devices, gateway sub-devices, and direct connection devices.
In the embodiment of the disclosure, class information of a plurality of auxiliary energy storage devices is acquired, class objects are created according to the class information, one class object corresponds to at least one auxiliary energy storage device, target class objects corresponding to the auxiliary energy storage devices are selected according to the class to which the auxiliary energy storage devices belong, a point table is configured for the target class objects, and a device object model of the auxiliary energy storage devices is constructed; creating a system object model, and binding the system object model with at least one equipment object model; performing equipment instantiation processing on at least one equipment object model to obtain instantiation equipment; the system object model is subjected to system instantiation processing to obtain configuration information of an instantiation system and an instantiation system, the configuration information of the instantiation system is sent to an EMU, and the EMU carries out data binding and collection according to the configuration information; on the other hand, the method and the device can realize equipment-level multiplexing and system-level multiplexing, can flexibly realize data acquisition and addition of channel protocols, greatly improve convenience of system management and have wide application range.
Those skilled in the art will appreciate that the various aspects of the invention may be implemented as a system, method, or program product. Accordingly, aspects of the invention may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
A computer device 1100 according to this embodiment of the present invention is described below with reference to fig. 11. The computer device 1100 shown in fig. 11 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in FIG. 11, the computer device 1100 is in the form of a general purpose computing device. Components of computer device 1100 may include, but are not limited to: the at least one processing unit 1110, the at least one memory unit 1120, a bus 1130 connecting the different system components, including the memory unit 1120 and the processing unit 1110.
Wherein the storage unit stores program code that is executable by the processing unit 1110 such that the processing unit 1110 performs steps according to various exemplary embodiments of the present invention described in the above-described "exemplary methods" section of the present specification. For example, the processing unit 1110 may perform acquiring class information of a plurality of auxiliary energy storage devices as shown in fig. 4, creating class objects from the class information, one class object corresponding to at least one auxiliary energy storage device; selecting a target class object corresponding to each auxiliary energy storage device according to the class to which each auxiliary energy storage device belongs, configuring a point table for the target class object, and constructing a device object model of each auxiliary energy storage device; creating a system object model, and binding the system object model with at least one equipment object model; performing equipment instantiation processing on at least one equipment object model to obtain instantiation equipment; and carrying out system instantiation processing on the system object model to obtain configuration information of the instantiation system and the instantiation system, and sending the configuration information of the instantiation system to an energy management system EMU so that the EMU can bind and collect data according to the configuration information.
The storage unit 1120 may include a readable medium in the form of a volatile storage unit, such as a Random Access Memory (RAM) 11201 and/or a cache memory 11202, and may further include a Read Only Memory (ROM) 11203.
The storage unit 1120 may also include a program/utility 11204 having a set (at least one) of program modules 11205, such program modules 11205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The bus 1130 may be a local bus representing one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a bus using any of a variety of bus architectures.
The computer device 1100 may also communicate with one or more auxiliary energy storage devices 1140 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the system, and/or any devices (e.g., routers, modems, etc.) that enable the computer device 1100 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 1150. Also, the system may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 1160. As shown in FIG. 11, network adapter 1160 communicates with other modules of computer device 1100 via bus 1130. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with computer device 1100, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification is also provided. In some possible embodiments, the aspects of the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the "exemplary method" section of this specification, when the program product is run on the terminal device.
A program product for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read-only memory (CD-ROM) and comprise program code and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Furthermore, although the steps of the methods in the present disclosure are depicted in a particular order in the drawings, this does not require or imply that the steps must be performed in that particular order or that all illustrated steps be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a mobile terminal, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A method for device access, comprising:
obtaining class information of a plurality of auxiliary energy storage devices, and creating class objects according to the class information, wherein one class object corresponds to at least one auxiliary energy storage device;
selecting target class objects corresponding to the auxiliary energy storage devices according to the classes to which the auxiliary energy storage devices belong, configuring a point table for the target class objects, and constructing a device object model of the auxiliary energy storage devices;
creating a system object model, and binding the system object model with at least one equipment object model;
performing equipment instantiation processing on the at least one equipment object model to obtain instantiation equipment;
And carrying out system instantiation processing on the system object model to obtain configuration information of an instantiation system and the instantiation system, and sending the configuration information to an energy management system EMU so that the EMU can bind and collect data according to the configuration information.
2. The device access method of claim 1, wherein after the creating of the category object from the category information, the method further comprises:
storing the created class object into a database or a file server;
wherein, before the creating of the class object from the class information, the method further comprises:
and if the class object to be created is not stored in the database or the file server, executing the operation of creating the class object according to the class information.
3. The device access method of claim 1, wherein the point table is used to configure the memory address of the real device for each parameter of the class object, and the memory address represents an offset from a memory start address.
4. The device access method according to claim 1, wherein the performing device instantiation processing on the at least one device object model to obtain an instantiated device includes:
And selecting a data source for each equipment object model, and configuring the serial numbers of the real equipment corresponding to each equipment object model to obtain the instantiation equipment.
5. The device access method of claim 1, wherein the class of auxiliary energy storage devices comprises one of gateway devices, gateway sub-devices, direct-connect devices;
the system object model is subjected to system instantiation processing to obtain an instantiation system and configuration information of the instantiation system, and the system instantiation system comprises:
selecting a system object model, adding at least one channel, selecting gateway equipment for each channel, and configuring a communication protocol of the gateway equipment to obtain configuration information of the gateway equipment;
and configuring communication protocols of other auxiliary energy storage devices except the gateway device for the channels, and configuring corresponding data according to the communication protocols of the other auxiliary energy storage devices to obtain configuration information of the other auxiliary energy storage devices so as to obtain configuration information of the instantiation system and the instantiation system.
6. The device access method of any of claims 1-5, wherein the method further comprises:
Acquiring equipment increasing and decreasing requirements, and determining an equipment object model bound with the system object model;
performing equipment instantiation processing on the equipment object model bound with the system object model to obtain adjusted instantiation equipment;
and carrying out system instantiation processing on the system object model to obtain an adjusted instantiation system, and sending configuration information of the adjusted instantiation system to the EMU.
7. The device access method of claim 6, wherein the class object is managed using a version, and wherein a change to a current version class object validates an auxiliary energy storage device that is newly added to the current version class object relative to a previous version class object.
8. A device access apparatus, comprising:
the class object creation module is used for acquiring class information of a plurality of auxiliary energy storage devices, creating class objects according to the class information, wherein one class object corresponds to at least one auxiliary energy storage device;
the equipment object model creation module is used for selecting target class objects corresponding to the auxiliary energy storage equipment according to the class to which the auxiliary energy storage equipment belongs, configuring a point table for the target class objects, and constructing equipment object models of the auxiliary energy storage equipment;
The system object model creation module is used for creating a system object model and binding the system object model with at least one equipment object model;
the equipment instantiation module is used for carrying out equipment instantiation processing on the at least one equipment object model to obtain instantiation equipment;
the system instantiation module is used for carrying out system instantiation processing on the system object model to obtain configuration information of an instantiation system and the instantiation system, and sending the configuration information of the instantiation system to an energy management system EMU so that the EMU can bind and collect data according to the configuration information.
9. A computer device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the device access method of any of claims 1-7 via execution of the executable instructions.
10. A computer readable storage medium having stored thereon a computer program, characterized in that the computer program, when executed by a processor, implements the device access method of any of claims 1 to 7.
CN202311274550.8A 2023-09-26 2023-09-26 Device access method, device, computer device and storage medium Pending CN117354143A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311274550.8A CN117354143A (en) 2023-09-26 2023-09-26 Device access method, device, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311274550.8A CN117354143A (en) 2023-09-26 2023-09-26 Device access method, device, computer device and storage medium

Publications (1)

Publication Number Publication Date
CN117354143A true CN117354143A (en) 2024-01-05

Family

ID=89355087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311274550.8A Pending CN117354143A (en) 2023-09-26 2023-09-26 Device access method, device, computer device and storage medium

Country Status (1)

Country Link
CN (1) CN117354143A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117857608A (en) * 2024-03-07 2024-04-09 安徽慕京信息技术有限公司 Method and system for collecting equipment data based on Internet of things platform

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117857608A (en) * 2024-03-07 2024-04-09 安徽慕京信息技术有限公司 Method and system for collecting equipment data based on Internet of things platform
CN117857608B (en) * 2024-03-07 2024-05-03 安徽慕京信息技术有限公司 Method and system for collecting equipment data based on Internet of things platform

Similar Documents

Publication Publication Date Title
Reddy et al. A review of Integration, Control, Communication and Metering (ICCM) of renewable energy based smart grid
CN102801790B (en) Microgrid energy management system based on IEC (International Electrotechnical Commission) 61850 and multi-agent method
CN102591278B (en) Microgrid control system having power generation and load forecast functions and microgrid control method
WO2013097489A1 (en) Real-time power control method and system for megawatt battery energy storage power station
CN117354143A (en) Device access method, device, computer device and storage medium
CN105427063A (en) Micro-grid scheduling decision method and micro-grid scheduling decision system
Subburaj et al. Analysis and review of grid connected battery in wind applications
CN112018895B (en) Plug-and-play information modeling and interaction method for distributed power supply controller
CN112186785A (en) Source network load storage balance system based on platform district intelligent terminal
CN210652753U (en) Store and trade electric formula new energy automobile and fill electric pile
CN117040013A (en) Plug-and-play energy router and energy scheduling system based on energy router
Ziogou et al. Design of an energy decision framework for an autonomous RES-enabled Smart-Grid network
CN110165708A (en) A kind of V2G alternating current-direct current mixing micro-capacitance sensor control system and method
CN110363679A (en) Micro-capacitance sensor platform, management-control method, device, medium and electronic equipment
CN215681813U (en) Parallel energy storage system
CN113919228B (en) Double-layer planning method for 5G base station and power distribution network rack and terminal
CN212063509U (en) Coordination control device of distributed inverter energy storage system
CN113839934B (en) Micro-grid remote data management method
CN112637311B (en) IEC61850 standard-based energy storage system and comprehensive energy system communication method
Petersen et al. Integrating intelligent electric devices into distributed energy resources in a cloud-based environment
Petrovici et al. Implementation of a remote controlled photovoltaic nano-grid
Jing et al. Research on information interaction mechanism of plug-and-play of battery energy storage system
Romanov et al. Application of IEC 60870 and 61850 Standards in Energy Storage Systems
CN116505509A (en) Load centralized control method and system based on electric automobile standard model
Wertani System Modeling and Functional Analysis of Renewable Energies for Management of Smart Grids

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
CB02 Change of applicant information

Country or region after: China

Address after: 518000 Research and Development Building 501, No. 6 Lanqing Second Road, Luhu Community, Guanhu Street, Longhua District, Shenzhen City, Guangdong Province, China

Applicant after: Shenzhen Haichen Energy Storage Technology Co.,Ltd.

Address before: Room 501, R&D Building, No. 2 Sany Yundu, No. 6 Lanqing Second Road, Luhu Community, Guanhu Street, Longhua District, Shenzhen City, Guangdong Province, 518110

Applicant before: Shenzhen Haichen Energy Storage Control Technology Co.,Ltd.

Country or region before: China