CN117499444A - Equipment access method and device, electronic equipment and storage medium - Google Patents

Equipment access method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117499444A
CN117499444A CN202311856908.8A CN202311856908A CN117499444A CN 117499444 A CN117499444 A CN 117499444A CN 202311856908 A CN202311856908 A CN 202311856908A CN 117499444 A CN117499444 A CN 117499444A
Authority
CN
China
Prior art keywords
equipment
protocol
metering
heating
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311856908.8A
Other languages
Chinese (zh)
Other versions
CN117499444B (en
Inventor
牟桂贤
康宇涛
郝峰
管法根
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202311856908.8A priority Critical patent/CN117499444B/en
Publication of CN117499444A publication Critical patent/CN117499444A/en
Application granted granted Critical
Publication of CN117499444B publication Critical patent/CN117499444B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • 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
    • 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
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/60Arrangements in telecontrol or telemetry systems for transmitting utility meters data, i.e. transmission of data from the reader of the utility meter

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention relates to a device access method, a device, an electronic device and a storage medium, wherein the device access method comprises the following steps: acquiring first protocol configuration data corresponding to metering equipment to be accessed; acquiring second protocol configuration data corresponding to a heating and ventilation equipment cluster to be accessed; associating any heating and ventilation equipment in the heating and ventilation equipment cluster with metering equipment and equipment attribute information of the metering equipment respectively to obtain associated data; and sending the first protocol configuration data, the second protocol configuration data and the associated data to the control equipment so that the control equipment can access the metering equipment and/or the heating and ventilation equipment based on the first protocol configuration data, the second protocol configuration data and the associated data. According to the embodiment of the application, the heating and ventilation equipment or the metering equipment of other protocol types can be connected, the corresponding metering equipment can be guaranteed to exist in each heating and ventilation equipment, and the metering of energy consumed by each heating and ventilation equipment is realized.

Description

Equipment access method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a device access method, an apparatus, an electronic device, and a storage medium.
Background
With the rapid development of society and the continuous improvement of human living standard, central air conditioners are widely used in fields of high-grade apartments, schools, hospitals and the like, and a household metering system is developed for realizing independent metering of different users of a central air conditioning system.
However, the existing central air conditioning metering system implementation modes are developed in a code form, and the central air conditioning system supporting access to heating and ventilation equipment or metering equipment for sharing electricity charge according to cold energy is built-in and supported by the system, so that the heating and ventilation equipment or metering equipment of other protocol types cannot be accessed, and the flexible and changeable access requirements in engineering cannot be met.
Disclosure of Invention
In order to solve the technical problems described above or at least partially solve the technical problems described above, the application provides a device access method, a device, an electronic device and a storage medium.
In a first aspect, the present application provides a device access method, applied to a management device, where the method includes:
acquiring first protocol configuration data corresponding to metering equipment to be accessed;
acquiring second protocol configuration data corresponding to a heating and ventilation equipment cluster to be accessed;
associating any heating and ventilation equipment in the heating and ventilation equipment cluster with the metering equipment and equipment attribute information of the metering equipment respectively to obtain associated data;
and sending the first protocol configuration data, the second protocol configuration data and the association data to a control device so that the control device can access the metering device and/or the heating and ventilation device based on the first protocol configuration data, the second protocol configuration data and the association data.
Optionally, obtaining first protocol configuration data corresponding to the metering device to be accessed includes:
acquiring protocol information and equipment description information of a protocol supported by the metering equipment;
generating device stack data based on device information of the metering device;
determining a target protocol corresponding to the metering equipment in protocols supported by the metering equipment, and generating protocol stack data based on protocol information of the target protocol;
determining a target attribute corresponding to the metering equipment based on equipment description information of the metering equipment, and generating attribute stack data based on attribute information of the target attribute;
and determining the equipment stack data, the protocol stack data and the attribute stack data as the first protocol configuration data.
Optionally, obtaining second protocol configuration data corresponding to the hvac equipment cluster to be accessed includes:
acquiring equipment cluster information of a heating and ventilation equipment cluster to be accessed, wherein the heating and ventilation equipment cluster comprises a plurality of heating and ventilation equipment;
and acquiring a protocol component corresponding to the equipment cluster information as the second protocol configuration data.
Optionally, the method further comprises:
transmitting the protocol component to the control device so that the control device runs the protocol component;
receiving equipment attribute information from the control equipment, wherein the equipment attribute information is acquired from heating and ventilation equipment after the control equipment operates the protocol assembly;
and displaying the state of the heating and ventilation equipment based on the equipment attribute information.
Optionally, associating any one of the hvac equipment in the hvac equipment cluster with the metering equipment and the equipment attribute information of the metering equipment respectively to obtain associated data, including:
receiving a configuration operation for configuring an associated metering device for any one of the hvac device clusters;
acquiring equipment information of the configured heating and ventilation equipment, equipment information of the metering equipment and equipment attribute information of the metering equipment;
and generating the association data based on the equipment information of the metering equipment, the equipment information of the heating and ventilation equipment and the equipment attribute information of the heating and ventilation equipment.
In a second aspect, the present application provides a device access method, applied to a control device, where the method includes:
receiving first protocol configuration data, second protocol configuration data and associated data from a management device;
and accessing the metering device and/or the heating and ventilation device based on the first protocol configuration data, the second protocol configuration data and the association data.
In a third aspect, the present application provides a device access apparatus, applied to a management device, the apparatus comprising:
the first acquisition module is used for acquiring first protocol configuration data corresponding to the metering equipment to be accessed;
the second acquisition module is used for acquiring second protocol configuration data corresponding to the heating and ventilation equipment cluster to be accessed;
the association module is used for associating any heating and ventilation equipment in the heating and ventilation equipment cluster with the metering equipment and the equipment attribute information of the metering equipment respectively to obtain association data;
and the first sending module is used for sending the first protocol configuration data, the second protocol configuration data and the association data to the control equipment so that the control equipment can access the metering equipment and/or the heating and ventilation equipment based on the first protocol configuration data, the second protocol configuration data and the association data.
In a fourth aspect, the present application provides a device access apparatus, applied to a control device, the apparatus comprising:
the first receiving module is used for receiving the first protocol configuration data, the second protocol configuration data and the associated data from the management equipment;
and the access module is used for accessing the metering equipment and/or the heating and ventilation equipment based on the first protocol configuration data, the second protocol configuration data and the association data.
In a fifth aspect, the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and a processor, configured to implement the device access method according to any one of the first aspect or the second aspect when executing the program stored in the memory.
In a sixth aspect, the present application provides a computer readable storage medium having stored thereon a program of a device access method, which when executed by a processor, implements the steps of the device access method of any of the first or second aspects.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
in the embodiment of the application, the first protocol configuration data of the metering device to be accessed, the second protocol configuration data of the heating and ventilation device and the association data between the first protocol configuration data and the second protocol configuration data can be automatically sent to the control device, so that the control device can access the metering device according to the first protocol configuration data, access the heating and ventilation device according to the second protocol configuration data, associate the heating and ventilation device with the corresponding metering device according to the association data, realize the access of the heating and ventilation device or the metering device of other protocol types, and enable the accessed heating and ventilation device to be associated with the corresponding metering device, or enable the accessed metering device to be associated with the corresponding heating and ventilation device, ensure that each heating and ventilation device has the corresponding metering device, and realize the metering of energy consumed by each heating and ventilation device.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a system architecture diagram provided in an embodiment of the present application;
fig. 2 is a flowchart of a device access method provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a device access method according to an embodiment of the present application;
fig. 4 is a flowchart of another device access method provided in an embodiment of the present application;
fig. 5 is a block diagram of an apparatus access device according to an embodiment of the present application;
fig. 6 is a block diagram of another device access apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
Because the existing central air conditioning metering system implementation modes are developed in a code form, the central air conditioning system supporting access to heating and ventilation equipment or metering equipment for sharing electric charge according to cold energy is built-in and supported by the system, the heating and ventilation equipment or metering equipment of other protocol types cannot be accessed, and flexible and changeable access requirements in engineering cannot be met. For this reason, the embodiment of the application provides a device access method, a device, an electronic device and a storage medium.
The embodiment of the application provides a device access method, which is applied to management devices, and is applied to a system architecture diagram shown in fig. 1, wherein the system architecture diagram is divided into a management layer, a control layer and a protocol device layer on a three-layer architecture commonly used in building automatic control systems, and a building metering system configures heating and ventilation devices such as a multi-split air conditioner, a roof machine, a water heater and metering devices such as an ammeter and a water meter to the control device through the management device and performs association adaptation, so that the control device realizes the metering of energy consumption of the heating and ventilation devices according to logic.
As shown in fig. 1, the management layer includes a management device 1 and a router 2, the control layer includes a control device 3, the protocol device layer includes a plurality of metering devices 4 and a plurality of heating and ventilation devices 5, in some application scenarios, the protocol device layer may also include at least one main control unit 6, the management device 1 is electrically connected with the control device 3 through the router 2, the control device 3 is communicatively connected with the plurality of metering devices 4 through an RS485 communication bus, the control device 3 may be communicatively connected with the plurality of heating and ventilation devices 5 through the main control unit 6, the main control unit 6 is communicatively connected with the plurality of heating and ventilation devices 5 through a CAN bus, the metering devices 4 may be electrically connected with the at least one main control unit 6 through a power supply line, and is used for metering energy consumed by the heating and ventilation devices under each main control unit 6; the metering device 4 can also be directly connected with a plurality of heating and ventilation devices 5 in a communication way through an RS485 bus, and the metering device 4 is electrically connected with each heating and ventilation device 5 through a power supply line and is used for metering the energy consumed by each heating and ventilation device 5.
As shown in fig. 2 and 3, the device access method may include the following steps:
step S101, first protocol configuration data corresponding to metering equipment to be accessed is obtained;
in this embodiment of the present application, the metering device may refer to a device for metering energy sources such as electric quantity, water quantity, and the like, such as: the electric meter, the water meter and the like can store protocol configuration data corresponding to a plurality of metering devices in advance.
In this step, after receiving the device information of the metering device to be accessed, the protocol configuration data corresponding to the device information of the metering device may be acquired as the first protocol configuration data.
Step S102, second protocol configuration data corresponding to a heating and ventilation equipment cluster to be accessed is obtained;
in this embodiment, the heating and ventilation device cluster includes at least one heating and ventilation device, where the heating and ventilation device may refer to a system or related devices responsible for heating, ventilation and air conditioning, such as: the multi-split air conditioner, the roof machine, the water heater and the like can store protocol configuration data corresponding to a plurality of heating and ventilation devices in advance.
In this step, after receiving the device information of the heating and ventilation device to be connected, the protocol configuration data corresponding to the device information of the heating and ventilation device may be acquired as the second protocol configuration data.
Step S103, associating any heating and ventilation equipment in the heating and ventilation equipment cluster with the metering equipment and the equipment attribute information of the metering equipment respectively to obtain associated data;
in the embodiment of the application, the device attribute information of the metering device may refer to electric energy or flow rate and the like.
In this step, any heating and ventilation device can be associated with the metering device according to the configuration of the user for any heating and ventilation device, and the device attribute information of the metering device selected by the user is associated with the heating and ventilation device, so as to obtain association data.
Step S104, the first protocol configuration data, the second protocol configuration data and the association data are sent to a control device, so that the control device accesses the metering device and/or the heating and ventilation device based on the first protocol configuration data, the second protocol configuration data and the association data.
The first protocol configuration data and the second protocol configuration data may be sent to the control device in order to facilitate the control device to be able to access the metering device and/or the heating and ventilation device, in order to be able to be associated with the respective heating and ventilation device after the metering device has been accessed, or in order to be able to be associated with the respective metering device after the heating and ventilation device has been accessed, the associated data may be sent to the control device.
In the embodiment of the application, the first protocol configuration data of the metering device to be accessed, the second protocol configuration data of the heating and ventilation device and the association data between the first protocol configuration data and the second protocol configuration data can be automatically sent to the control device, so that the control device can access the metering device according to the first protocol configuration data, access the heating and ventilation device according to the second protocol configuration data, associate the heating and ventilation device with the corresponding metering device according to the association data, realize the access of the heating and ventilation device or the metering device of other protocol types, and enable the accessed heating and ventilation device to be associated with the corresponding metering device, or enable the accessed metering device to be associated with the corresponding heating and ventilation device, ensure that each heating and ventilation device has the corresponding metering device, and realize the metering of energy consumed by each heating and ventilation device.
In yet another embodiment of the present application, step S101 obtains first protocol configuration data corresponding to a metering device to be accessed, including:
step S201, obtaining protocol information and equipment description information of a protocol supported by the metering equipment;
step S202, generating device stack data based on the device information of the metering device;
step S203, determining a target protocol corresponding to the metering equipment in the protocols supported by the metering equipment, and generating protocol stack data based on the protocol information of the target protocol;
step S204, determining a target attribute corresponding to the metering equipment based on equipment description information of the metering equipment, and generating attribute stack data based on attribute information of the target attribute;
step S205, determining the device stack data, the protocol stack data, and the attribute stack data as the first protocol configuration data.
In this embodiment of the present application, the management device may send first protocol configuration data to the control device in the form of a database table, where the database table includes protocol stack data, device stack data, and attribute stack data, a database header corresponding to the protocol stack data includes a plurality of protocols, a database header corresponding to the device stack data includes a plurality of devices, and a database header corresponding to the attribute stack data includes a plurality of key attributes of an enumeration type, for example: "active total electrical energy, active power", etc.
In practical application, the management device establishes an interactive link after the corresponding port sends out the frame and the control device replies the frame, and the management device issues the database table.
The metering device takes an ammeter as an example: the protocols such as the national standard protocol of DL/T645-2007, modbus RTU and Modbus TCP are commonly used in the market and are packaged in the management equipment, the related protocol is selected in the management equipment, the related metering equipment can be configured, the target protocol is directly configured according to the specification of the metering equipment, the configuration of key attributes such as 'active total electric energy, active power' and the like is included, the control equipment is configured into a database table through the management equipment, the control equipment can acquire equipment attribute information of the metering equipment, and the attribute information can be used in a follow-up metering allocation mode.
In still another embodiment of the present application, step S102 obtains second protocol configuration data corresponding to a hvac device cluster to be accessed, including:
step S301, acquiring equipment cluster information of a heating and ventilation equipment cluster to be accessed, wherein the heating and ventilation equipment cluster comprises a plurality of heating and ventilation equipment;
step S302, obtaining a protocol component corresponding to the device cluster information as the second protocol configuration data.
In order to realize the access of the heating and ventilation equipment, a user can drag the protocol component of the heating and ventilation equipment to a designated area in the management equipment, and then the protocol component is used as second protocol configuration data to be issued to the control equipment.
In yet another embodiment of the present application, the method further comprises:
step S401, sending the protocol component to the control device, so that the control device runs the protocol component;
step S402, receiving equipment attribute information from the control equipment, wherein the equipment attribute information is acquired from heating and ventilation equipment after the control equipment operates the protocol assembly;
step S403, displaying the state of the hvac equipment based on the equipment attribute information.
After receiving the protocol component, the control device can acquire device information of the bottom layer device (such as metering device or heating and ventilation device) according to the component information, and display the generated device cluster information on the management device.
In this embodiment of the present application, the protocol component includes a startup file, a program file and an equipment attribute template file, after the management device establishes a link with the control device, the protocol component is issued to the control device, so that the control device runs the program file according to the startup file, obtains an equipment address of a heating and ventilation device under a heating and ventilation device cluster through a hardware port, stores the equipment address in an attribute table according to the equipment attribute template, and reports the equipment address attribute of the heating and ventilation device to the management device one by one.
The heating and ventilation equipment cluster is an integral equipment network of the same type of heating and ventilation equipment, and can be uniformly measured by one metering equipment. The heating and ventilation equipment takes multi-split air conditioner as an example: the multi-split system is a heating and ventilation equipment cluster formed by an outer machine and an inner machine, each heating and ventilation equipment in the heating and ventilation equipment cluster is connected by adopting a CAN communication link, the multi-split system in the market supports at most 16 outer machines and inner machines, and after the running state attributes of the outer machines and the inner machines are opened according to the multi-split system, the real-time monitoring of the heating and ventilation equipment CAN be carried out, and the self heating and ventilation equipment attributes, such as: and the system number and the engineering number are returned to the management equipment for checking whether the heating and ventilation equipment and the controller normally communicate.
In still another embodiment of the present application, associating any one of the hvac devices in the hvac device cluster with the metering device and the device attribute information of the metering device, to obtain association data includes:
step S501, receiving a configuration operation for configuring an associated metering device for any one of the hvac device clusters;
step S502, obtaining the configured equipment information of the heating and ventilation equipment, the equipment information of the metering equipment and the equipment attribute information of the metering equipment;
step S503, generating the association data based on the device information of the metering device, the device information of the heating and ventilation device, and the device attribute information of the heating and ventilation device.
The heating and ventilation equipment cluster is matched with the metering device, and at the moment, the management equipment has the heating and ventilation equipment cluster and the metering equipment attribute information, so that the metering equipment attribute configuration can be automatically carried out:
the measuring device can select the measuring range of the heating and ventilation equipment cluster, namely which measuring device corresponds to the heating and ventilation equipment, when a certain measuring device is selected to measure the heating and ventilation equipment, the management equipment can measure the equipment attribute information of the heating and ventilation equipment, for example: and the corresponding heating and ventilation equipment is automatically allocated to the forward active total electric energy and the total active power, namely the management equipment writes the key attribute list of the metering equipment in the heating and ventilation equipment list and resends the heating and ventilation data list to the control equipment. For example, the attribute of the multi-split system can be related to the attribute of an ammeter, namely the active total electric energy, and a data table of the relation is issued to the control equipment, and the header information is as follows [ heating and ventilation equipment 1, metering equipment 1 and forward active electric energy ].
Meanwhile, different from the fact that point location information is configured one by one in the prior art, the management device can automatically update components of the metering device in batches: sorting the files by protocol format [ attribute names, register addresses, data types, data translations, adaptation flags ], exemplary attribute names: an apparatus; register address: addresses of registers in the device, for example: the value of the forward active power is stored in a corresponding register; data type: the register stores the value type (integer/floating point); data conversion: the data value is transformed according to a formula; the adaptation mark: whether to be matched with heating and ventilation equipment or not, and further realizing automatic configuration through a software downloading and updating component.
In still another embodiment of the present application, there is further provided a device access method applied to a control device, as shown in fig. 3 and fig. 4, where the method includes:
step S601, receiving first protocol configuration data, second protocol configuration data and associated data from a management device;
step S602, accessing the metering device and/or the heating and ventilation device based on the first protocol configuration data, the second protocol configuration data and the association data.
After the control device performs the access of the metering device and/or the heating and ventilation device, as shown in fig. 3, the control device can realize the calculation of the allocation of the power charge of the multi-split air conditioner. Metering of electric charges of heating and ventilation equipment is performed according to popular allocation modes: a cost sharing mode of cold energy, a cost sharing mode of heat flow, and the like.
Taking a charging mode of the control equipment based on cold energy allocation as an example, the control equipment is communicated with the heating and ventilation equipment through a hardware CAN interface, the control equipment CAN obtain the running states of all parts of the heating and ventilation equipment, the control equipment accumulates all state time, and electric energy comprehensive operation is carried out by matching with power parameters measured in a laboratory.
For example: the electricity charge of a multi-split system measured by a certain metering ammeter is divided into a plurality of multi-split external machines and internal machines, the electricity charge generated by the multi-split external machines is shared with the electricity charge of the multi-split internal machines, namely the electricity charge is calculated for the division, and when the 4 external machines of the system share 1 ammeter measurement, all internal machines of the system share 1 ammeter measurement; the controller is connected with the ammeter through 485 links to obtain the active power consumed by 4 external machines and the active power consumed by all internal machines in the system; and (each internal machine is connected with an ammeter with high engineering cost), the controller is connected with the heating ventilation equipment through a CAN (controller area network) link, the starting-up time of the heating ventilation equipment (external machine/internal machine) CAN be obtained, the electric energy consumed by the external machine is distributed to each internal machine according to the power parameter (electric energy=time power) measured by a laboratory, and the electric energy consumed by each internal machine is added and calculated by the controller.
And the metering equipment and the heating and ventilation equipment are applied in a protocol configuration, the metering equipment address attribute and the heating and ventilation equipment are associated at the interface of the management equipment, the metering equipment forms an associated attribute for the heating and ventilation equipment attribute according to the protocol assembly adaptation mark, and the metering equipment can realize the charging of various metering devices by selecting a charging mode according to the system topology before confirming the issuing.
In addition, the configured component protocol can be used for other projects to realize configuration-free; for the heating and ventilation engineering matched with the same metering device, after the management equipment opens an engineering template comprising the configuration of the heating and ventilation equipment and the metering equipment after wiring in the same mode, the address information of the metering device can be changed, the metering device can be added and deleted in batches, the address information of the metering device is related to key attributes, and the heating and ventilation equipment can replace the heating and ventilation equipment attributes configured in the worker Cheng Moban by leading in corresponding heating and ventilation engineering packages to generate the attributes.
The imported operation triggers the software to issue a corresponding data frame, the data frame contains a data identifier, the control equipment starts a corresponding control equipment program by identifying the data identifier of the software frame and responds to the state code communicated by the upper computer software, the control equipment program obtains a heating ventilation equipment attribute address, writes the heating ventilation equipment attribute address into a database to cover an original heating ventilation equipment cluster, adds a metering equipment key attribute in a heating ventilation equipment key attribute table, and issues the key attribute table to the control equipment. And selecting heating and ventilation equipment, arranging according to the attribute sequence of the system numbers, and continuously selecting corresponding metering device equipment information, so that the old metering device engineering template can be adapted to new heating and ventilation equipment. The on-line states of the heating and ventilation equipment and the equipment of the metering device are also self-generated at the open protocol port, and the electric quantity metering under different sharing modes can be realized after the engineering template is issued to the control equipment.
For example: a certain electric meter in the market is characterized in that a metering object is a multi-connected fresh air device to form a building automatic control system, and the metering method is based on cold energy allocation. The configuration of the management equipment ammeter and the multi-connected fresh air equipment is completed, the multi-connected fresh air equipment can realize the configuration through the self-generated attribute of the component package, the engineering template with the completed configuration is issued to the control equipment, and the access of various metering devices to the control equipment can be realized. Other projects can be wired according to the project case, the project template is issued to realize the configuration-free access of the metering device, and after the management equipment is associated with the attribute of the metering device and the attribute of the heating and ventilation equipment, the control equipment can share the electricity fee according to a metering method.
In still another embodiment of the present application, there is further provided a device access apparatus applied to a management device, as shown in fig. 5, where the apparatus includes:
a first obtaining module 11, configured to obtain first protocol configuration data corresponding to a metering device to be accessed;
a second obtaining module 12, configured to obtain second protocol configuration data corresponding to a hvac device cluster to be accessed;
the association module 13 is configured to associate any one of the heating and ventilation devices in the heating and ventilation device cluster with the metering device and the device attribute information of the metering device, so as to obtain association data;
a first sending module 14, configured to send the first protocol configuration data, the second protocol configuration data, and the association data to a control device, so that the control device performs access of the metering device and/or the heating and ventilation device based on the first protocol configuration data, the second protocol configuration data, and the association data.
In still another embodiment of the present application, there is further provided a device access apparatus applied to a control device, as shown in fig. 6, the apparatus includes:
a first receiving module 21, configured to receive first protocol configuration data, second protocol configuration data, and associated data from the management device;
an access module 22, configured to access the metering device and/or the heating and ventilation device based on the first protocol configuration data, the second protocol configuration data and the association data.
In yet another embodiment of the present application, there is provided an electronic device including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any one of the equipment access methods when executing the program stored in the memory.
According to the electronic equipment provided by the embodiment of the invention, the processor can automatically send the first protocol configuration data of the metering equipment to be connected, the second protocol configuration data of the heating and ventilation equipment and the association data between the first protocol configuration data and the second protocol configuration data to the control equipment by executing the program stored in the memory, so that the control equipment can be connected into the metering equipment according to the first protocol configuration data, is connected into the heating and ventilation equipment according to the second protocol configuration data, and associates the heating and ventilation equipment with the corresponding metering equipment according to the association data, the connection of the heating and ventilation equipment or the metering equipment of other protocol types is realized, the connected heating and ventilation equipment can be associated with the corresponding metering equipment, or the connected metering equipment can be associated with the corresponding heating and ventilation equipment, the corresponding metering equipment is ensured to be arranged in each heating and ventilation equipment, and the metering of energy consumed by each heating and ventilation equipment is realized.
The communication bus 1140 mentioned above for the electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industrial Standard Architecture (EISA) bus, etc. The communication bus 1140 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 7, but not only one bus or one type of bus.
The communication interface 1120 is used for communication between the electronic device and other devices described above.
The memory 1130 may include Random Access Memory (RAM) or non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor 1110 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSP), application Specific Integrated Circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In yet another embodiment of the present application, there is also provided a computer readable storage medium having stored thereon a program of a device access method, which when executed by a processor, implements the steps of any of the device access methods described above.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a specific embodiment of the invention to enable those skilled in the art to understand or practice the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. A device access method, applied to a management device, the method comprising:
acquiring first protocol configuration data corresponding to metering equipment to be accessed;
the method for acquiring the first protocol configuration data corresponding to the metering equipment to be accessed comprises the following steps:
acquiring protocol information and equipment description information of a protocol supported by the metering equipment;
generating device stack data based on device information of the metering device;
determining a target protocol corresponding to the metering equipment in protocols supported by the metering equipment, and generating protocol stack data based on protocol information of the target protocol;
determining a target attribute corresponding to the metering equipment based on equipment description information of the metering equipment, and generating attribute stack data based on attribute information of the target attribute;
determining the device stack data, the protocol stack data and the attribute stack data as the first protocol configuration data;
acquiring second protocol configuration data corresponding to a heating and ventilation equipment cluster to be accessed;
associating any heating and ventilation equipment in the heating and ventilation equipment cluster with the metering equipment and equipment attribute information of the metering equipment respectively to obtain associated data;
and sending the first protocol configuration data, the second protocol configuration data and the association data to a control device so that the control device can access the metering device and/or the heating and ventilation device based on the first protocol configuration data, the second protocol configuration data and the association data.
2. The device access method of claim 1, wherein obtaining second protocol configuration data corresponding to a hvac device cluster to be accessed comprises:
acquiring equipment cluster information of a heating and ventilation equipment cluster to be accessed, wherein the heating and ventilation equipment cluster comprises a plurality of heating and ventilation equipment;
and acquiring a protocol component corresponding to the equipment cluster information as the second protocol configuration data.
3. The device access method of claim 2, wherein the method further comprises:
transmitting the protocol component to the control device so that the control device runs the protocol component;
receiving equipment attribute information from the control equipment, wherein the equipment attribute information is acquired from heating and ventilation equipment after the control equipment operates the protocol assembly;
and displaying the state of the heating and ventilation equipment based on the equipment attribute information.
4. The device access method according to claim 1, wherein associating any one of the hvac devices in the hvac device cluster with the metering device and the device attribute information of the metering device, respectively, to obtain association data includes:
receiving a configuration operation for configuring an associated metering device for any one of the hvac device clusters;
acquiring equipment information of the configured heating and ventilation equipment, equipment information of the metering equipment and equipment attribute information of the metering equipment;
and generating the association data based on the equipment information of the metering equipment, the equipment information of the heating and ventilation equipment and the equipment attribute information of the heating and ventilation equipment.
5. A device access method, applied to a control device, the method comprising:
receiving first protocol configuration data, second protocol configuration data and associated data from management equipment, wherein the first protocol configuration data is obtained by the management equipment through protocol information and equipment description information of protocols supported by metering equipment, equipment stack data is generated based on the equipment information of the metering equipment, a target protocol corresponding to the metering equipment is determined in the protocols supported by the metering equipment, protocol stack data is generated based on the protocol information of the target protocol, a target attribute corresponding to the metering equipment is determined based on the equipment description information of the metering equipment, attribute stack data is generated based on the attribute information of the target attribute, and the target protocol is determined according to the equipment stack data, the protocol stack data and the attribute stack data;
and accessing the metering device and/or the heating and ventilation device based on the first protocol configuration data, the second protocol configuration data and the association data.
6. A device access apparatus for use in managing devices, the apparatus comprising:
the first acquisition module is used for acquiring first protocol configuration data corresponding to the metering equipment to be accessed;
the method for acquiring the first protocol configuration data corresponding to the metering equipment to be accessed comprises the following steps:
acquiring protocol information and equipment description information of a protocol supported by the metering equipment;
generating device stack data based on device information of the metering device;
determining a target protocol corresponding to the metering equipment in protocols supported by the metering equipment, and generating protocol stack data based on protocol information of the target protocol;
determining a target attribute corresponding to the metering equipment based on equipment description information of the metering equipment, and generating attribute stack data based on attribute information of the target attribute;
determining the device stack data, the protocol stack data and the attribute stack data as the first protocol configuration data;
the second acquisition module is used for acquiring second protocol configuration data corresponding to the heating and ventilation equipment cluster to be accessed;
the association module is used for associating any heating and ventilation equipment in the heating and ventilation equipment cluster with the metering equipment and the equipment attribute information of the metering equipment respectively to obtain association data;
and the first sending module is used for sending the first protocol configuration data, the second protocol configuration data and the association data to the control equipment so that the control equipment can access the metering equipment and/or the heating and ventilation equipment based on the first protocol configuration data, the second protocol configuration data and the association data.
7. A device access apparatus for use in a control device, the apparatus comprising:
the first receiving module is used for receiving first protocol configuration data, second protocol configuration data and associated data from management equipment, wherein the first protocol configuration data is obtained by the management equipment through protocol information and equipment description information of protocols supported by the metering equipment, equipment stack data is generated based on the equipment information of the metering equipment, a target protocol corresponding to the metering equipment is determined in the protocols supported by the metering equipment, the protocol stack data is generated based on the protocol information of the target protocol, a target attribute corresponding to the metering equipment is determined based on the equipment description information of the metering equipment, attribute stack data is generated based on the attribute information of the target attribute, and the target protocol is determined according to the equipment stack data, the protocol stack data and the attribute stack data;
and the access module is used for accessing the metering equipment and/or the heating and ventilation equipment based on the first protocol configuration data, the second protocol configuration data and the association data.
8. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
the processor is configured to implement the device access method of any one of claims 1 to 4 or the device access method of claim 5 when executing the program stored in the memory.
9. A computer-readable storage medium, characterized in that a program of a device access method is stored on the computer-readable storage medium, which when executed by a processor implements the device access method of any one of claims 1-4 or the steps of the device access method of claim 5.
CN202311856908.8A 2023-12-29 2023-12-29 Equipment access method and device, electronic equipment and storage medium Active CN117499444B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311856908.8A CN117499444B (en) 2023-12-29 2023-12-29 Equipment access method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311856908.8A CN117499444B (en) 2023-12-29 2023-12-29 Equipment access method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN117499444A true CN117499444A (en) 2024-02-02
CN117499444B CN117499444B (en) 2024-03-08

Family

ID=89674878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311856908.8A Active CN117499444B (en) 2023-12-29 2023-12-29 Equipment access method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117499444B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325190A (en) * 2011-09-19 2012-01-18 郑州春泉暖通节能设备有限公司 Central air-conditioner charging data transmission network and manager
US20120078548A1 (en) * 2010-09-28 2012-03-29 Cellnet Innovations, Inc. Utility Device Management
CN103262493A (en) * 2011-10-07 2013-08-21 Lg电子株式会社 Method for accessing multiple networks, and communication equipment for same
CN108173687A (en) * 2017-12-26 2018-06-15 青岛海尔科技有限公司 A kind of distribution method and device of Internet of Things product
CN115693958A (en) * 2022-11-22 2023-02-03 珠海格力电器股份有限公司 Energy metering method, energy metering controller and energy management system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120078548A1 (en) * 2010-09-28 2012-03-29 Cellnet Innovations, Inc. Utility Device Management
CN102325190A (en) * 2011-09-19 2012-01-18 郑州春泉暖通节能设备有限公司 Central air-conditioner charging data transmission network and manager
CN103262493A (en) * 2011-10-07 2013-08-21 Lg电子株式会社 Method for accessing multiple networks, and communication equipment for same
CN108173687A (en) * 2017-12-26 2018-06-15 青岛海尔科技有限公司 A kind of distribution method and device of Internet of Things product
CN115693958A (en) * 2022-11-22 2023-02-03 珠海格力电器股份有限公司 Energy metering method, energy metering controller and energy management system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
聂晓旭;于凤芹;钦道理;: "可配置协议转换方法的设计与实现", 计算机技术与发展, no. 04, 23 February 2015 (2015-02-23) *

Also Published As

Publication number Publication date
CN117499444B (en) 2024-03-08

Similar Documents

Publication Publication Date Title
US8502640B2 (en) System and method for transmitting and receiving information on a neighborhood area network
CN109061288B (en) Household charging method, device and system for multi-split system and charging terminal
KR20120023474A (en) System and method for firmware update of household appliances, and meter
CN104679518B (en) A kind of method and device for realizing Internet of Things semantic modeling
WO2015176451A1 (en) Topologic display method and device
CN103513099B (en) Air conditioner power consumption processing method and device
CN112436603B (en) Terminal equipment acquisition configuration method and device based on intelligent convergence terminal of transformer area
CN104025617B (en) Wireless family energy source monitoring system
CN110094848B (en) Multi-split air conditioner control method, device and system and computer readable storage medium
CN106205105A (en) The data concentrator of multiple data form
CN111781884B (en) An energy monitoring system
CN110906517B (en) Central air-conditioning centralized control system
CN105805896A (en) After-sale monitoring method and monitoring system for intelligent air conditioner
WO2024198889A1 (en) Data processing method and apparatus based on thing specification language model and electronic device
CN111128357B (en) Hospital logistics energy consumption target object monitoring method and device and computer equipment
CN110672918B (en) Method and device for measuring electric quantity of shared base station
CN117499444B (en) Equipment access method and device, electronic equipment and storage medium
CN103545933A (en) I0 interface protocol in intelligent substation on-line monitoring system
CN115954092A (en) XGboost regression algorithm-based hospital department self-adaptive dynamic energy consumption allocation accounting management method and system
CN112330885A (en) Central air conditioner charging method, system, charging management equipment and storage medium
CN109284857B (en) Power distribution room planning method based on power distribution room plane arrangement and related equipment
JP2015124901A (en) Air conditioning system
CN106056889A (en) Meter reading communication interface self-learning method of four-meter centralized collecting interface converter
WO2024078191A1 (en) Load setting method, apparatus and system
US20170108904A1 (en) Location based electric power management method and system thereof

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