Method for generating communication information and communication method for building automation system

By adopting information publishing/subscribing rules and specified coding formats in the building automation system, the problem of publishing building equipment communication information to the wide area network is solved, and reliable networking and online management between devices are achieved.

CN115914305BActive Publication Date: 2025-09-26SHANGHAI ZHUANGSHENG ELECTROMECHANICAL ENG EQUIP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211539588.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-02
Publication Date
2025-09-26
Estimated Expiration
2042-12-02

AI Technical Summary

Technical Problem

Existing building automation protocols cannot meet the requirements of publishing communication information to the wide area network, and the MQTT protocol is not conducive to automatic communication between different devices in buildings.

Method used

Adopting the communication rules based on information publishing/subscription, determining the fixed and variable headers, and realizing the connection communication between the building communication devices by specifying the coding format, the coding information is generated.

Benefits of technology

It realizes online network control and reliable communication of building communication equipment in the cloud, meets higher building control requirements, and performs intermediate processing of information of all connected devices through the server, realizing online management of the building automatic control system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115914305B_ABST
    Figure CN115914305B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention discloses a method for generating communication information and a communication method for a building automatic control system, which relates to the field of building communication technology and is applied to building communication equipment. The method for generating communication information includes: obtaining a preset communication rule, which is a communication rule based on information publishing / subscription; determining a first header and a second header based on the preset communication rule, wherein the first header is a fixed header and the second header is a variable header; determining a specified coding format corresponding to the building communication equipment, and realizing connection communication between building communication equipment based on the specified coding format; obtaining original communication information, performing a coding operation based on the original communication information according to the specified coding format, and generating corresponding coding information; generating corresponding building communication information according to the preset communication rule based on the first header, the second header and the coding information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of building communications, and in particular to a method for generating communication information and a communication method for a building automation system. Background Art

[0002] With the continuous development of construction technology, the scale of buildings is constantly increasing. Based on this, the functions required in buildings are constantly increasing. Traditional building design methods can no longer meet actual needs, so building automation control technology has emerged.

[0003] Existing building automation control technologies require communication control based on building automation protocols to achieve automated control of all devices throughout a building. Currently, protocols such as BACnet and Modbus are primarily used for inter-device communication in building automation. However, with the continuous advancement of communication technology and the expansion of network bandwidth, people are able to manage devices across an entire building, or even multiple buildings, online. However, existing building automation protocols are unable to adequately publish communication information to wide area networks.

[0004] In order to solve the above technical problems, technicians proposed the Internet of Things protocol MQTT, which allows communication information to be published to the Internet to achieve wide-area communication capabilities. However, in actual application, MQTT does not limit the communication content during the communication process, which is not conducive to automatic communication between different devices in buildings. Summary of the Invention

[0005] In order to overcome the above-mentioned technical problems existing in the prior art, an embodiment of the present invention provides a method for generating communication information and a communication method for a building automatic control system. By improving the traditional building communication method and building communication control structure, a networked control structure is adopted and effective connection communication is performed based on information publishing / subscribing communication rules, thereby realizing effective communication between building communication devices while realizing networked control of building communication devices.

[0006] In order to achieve the above-mentioned purpose, an embodiment of the present invention provides a method for generating communication information, which is applied to building communication equipment. The method for generating communication information includes: obtaining a preset communication rule, which is a communication rule based on information publishing / subscription; determining a first header and a second header based on the preset communication rule, wherein the first header is a fixed header and the second header is a variable header; determining a specified coding format corresponding to the building communication equipment, and realizing connection communication between building communication equipment based on the specified coding format; obtaining original communication information, performing a coding operation based on the original communication information according to the specified coding format, and generating corresponding coding information; generating corresponding building communication information according to the preset communication rule based on the first header, the second header and the coding information.

[0007] Preferably, the determination of the designated coding format corresponding to the building communication equipment includes: determining the coding method of the building communication equipment, and generating the coding type information of the building communication equipment based on the coding method; obtaining the functional information of the building communication equipment, and generating corresponding service information based on the functional information; determining the data storage rules; and generating the designated coding format of the building communication equipment based on the attribute information of the building communication equipment, the coding type information, the service information and the data storage rules.

[0008] Preferably, the performing of encoding operations according to the specified encoding format based on the original communication information to generate corresponding encoding information includes: extracting device attribute information and communication data information from the original communication information; determining a service field corresponding to the original communication information based on the service information; processing the communication data information based on the data storage rules to obtain processed data; performing an encoding operation on the encoding type information, the device attribute information, the service field and the processed data based on the specified encoding format to generate corresponding encoding information.

[0009] On the other hand, an embodiment of the present invention provides a communication method for a building automatic control system, which is applied to a server. The server communicates with a building communication device based on the building communication information provided by an embodiment of the present invention. The building communication information includes coding type information. The communication method of the building automatic control system includes: obtaining building communication information sent from a first building communication device; extracting a service field in the building communication information; determining a corresponding communication object based on the service field; if the communication object is a server, verifying the building communication information based on the coding type information, and if the verification result is verification passed, extracting communication data in the building communication information, and performing corresponding communication control operations based on the communication data; if the communication object is a second building communication device, forwarding the building communication information to the second building communication device.

[0010] Preferably, the determining of the corresponding communication object based on the service field includes: if the service field is device registration or information subscription or obtaining a device list, determining the communication object as a server; if the service field is updating information or setting parameter values ​​or information publishing, determining the communication object as a second building communication device.

[0011] Correspondingly, an embodiment of the present invention also provides a communication information generation device, which is applied to building communication equipment. The communication information generation device includes: a rule acquisition unit, which is used to obtain preset communication rules, and the preset communication rules are communication rules based on information publishing / subscription; a header determination unit, which is used to determine a first header and a second header based on the preset communication rules, the first header is a fixed header, and the second header is a variable header; a format determination unit, which is used to determine a specified coding format corresponding to the building communication equipment, and realize connection communication between building communication equipment based on the specified coding format; a coding unit, which is used to obtain original communication information, perform coding operations according to the specified coding format based on the original communication information, and generate corresponding coding information; an information generation unit, which is used to generate corresponding building communication information according to the preset communication rules based on the first header, the second header and the coding information.

[0012] Preferably, the format determination unit includes: a coding method determination module, used to determine the coding method of the building communication equipment, and generate the coding type information of the building communication equipment based on the coding method; an information generation module, used to obtain the functional information of the building communication equipment, and generate corresponding service information based on the functional information; a rule determination module, used to determine the data storage rules; a format determination module, used to generate the specified coding format of the building communication equipment based on the attribute information of the building communication equipment, the coding type information, the service information and the data storage rules.

[0013] Preferably, the encoding unit includes: an information advance module for extracting device attribute information and communication data information from the original communication information; a field determination module for determining the service field corresponding to the original communication information based on the service information; a processing module for processing the communication data information based on the data storage rules to obtain processed data; an encoding module for performing encoding operations on the encoding type information, the device attribute information, the service field and the processed data based on the specified encoding format to generate corresponding encoding information.

[0014] On the other hand, an embodiment of the present invention provides a communication device for a building automatic control system, which is applied to a server. The server communicates with a building communication device based on the building communication information described in the embodiment of the present invention. The building communication information includes coding type information. The communication device of the building automatic control system includes: an information acquisition unit, used to acquire building communication information sent from a first building communication device; an extraction unit, used to extract a service field in the building communication information; an object determination unit, used to determine a corresponding communication object based on the service field; a first communication unit, used to verify the building communication information based on the coding type information if the communication object is a server, and if the verification result is verification passed, extract the communication data in the building communication information, and perform corresponding communication control operations based on the communication data; a second communication unit, used to forward the building communication information to the second building communication device if the communication object is a second building communication device.

[0015] Preferably, the object determination unit includes: a first object determination module, used to determine that the communication object is a server when the service field is device registration or information subscription or obtaining a device list; a second object determination module, used to determine that the communication object is a second building communication device when the service field is updating information or setting parameter values ​​or information publishing.

[0016] The technical solution provided by the present invention has at least the following technical effects:

[0017] On the one hand, the underlying communication information of the building automation system is improved, and coded information that allows communication between devices is inserted into the communication rules based on information publishing / subscription, thereby allowing building communication devices to be able to perform online network control in the cloud, and at the same time allowing building communication devices to communicate with each other reliably, meeting higher building control requirements; on the other hand, by improving the control framework of the building automation system, the server is directly connected to all building communication devices through configuration, and the building communication information of all connected building communication devices is intermediately processed or message published by the server, thereby realizing online management of the building automation system and meeting the actual needs of the enterprise.

[0018] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following detailed description, they are used to explain the embodiments of the present invention, but do not constitute a limitation of the embodiments of the present invention. In the accompanying drawings:

[0020] Figure 1This is a flowchart of a specific implementation of the method for generating communication information provided by an embodiment of the present invention;

[0021] Figure 2 This is a specific implementation flow chart of determining a specified encoding format in the method for generating communication information provided by an embodiment of the present invention;

[0022] Figure 3 This is a specific implementation flow chart of generating coded information in the method for generating communication information provided by an embodiment of the present invention;

[0023] Figure 4 This is a specific implementation flow chart of the communication method for the building automation system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0024] The following describes the specific implementation of the embodiment of the present invention in detail with reference to the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the embodiment of the present invention and is not used to limit the embodiment of the present invention.

[0025] The terms "system" and "network" in the embodiments of the present invention can be used interchangeably. "Multiple" refers to two or more. In view of this, "multiple" can also be understood as "at least two" in the embodiments of the present invention. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / ", unless otherwise specified, generally indicates that the previous and next associated objects are in an "or" relationship. In addition, it should be understood that in the description of the embodiments of the present invention, words such as "first" and "second" are only used to distinguish the purpose of description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.

[0026] The background technology of the present invention is first introduced below.

[0027] In existing building automation systems, BACnet or Modbus communication protocols are mainly used to control equipment in the entire building. However, in actual application, different communication protocols have their own advantages and disadvantages, and none of them can fully meet actual needs. For example, although the BACnet communication protocol has a better content format and can meet the communication between different devices, it cannot maintain a connection and cannot meet the needs of Internet control; although the Modbus communication protocol is relatively simple and easy to implement, its positioning function is poor and it cannot accurately identify a certain device, so it still cannot meet the needs of reliable Internet control.

[0028] To solve the above technical problems, please see Figure 1An embodiment of the present invention provides a method for generating communication information, which is applied to building communication equipment. The method for generating communication information includes:

[0029] S10) obtaining a preset communication rule, wherein the preset communication rule is a communication rule based on information publishing / subscription;

[0030] S20) determining a first header and a second header based on the preset communication rule, wherein the first header is a fixed header and the second header is a variable header;

[0031] S30) determining a designated coding format corresponding to the building communication device, and implementing connection communication between the building communication devices based on the designated coding format;

[0032] S40) obtaining original communication information, performing an encoding operation based on the original communication information according to the specified encoding format, and generating corresponding encoding information;

[0033] S50) Generate corresponding building communication information according to the preset communication rule based on the first header, the second header and the coding information.

[0034] In one possible implementation, in order to achieve communication and information distribution between building communication devices, preset communication rules are first obtained. For example, in an embodiment of the present invention, the preset communication rules are communication rules based on information publishing / subscription, such as MQTT (Message Queuing Telemetry Transport). According to the MQTT protocol, the first header and the second header are first determined. Specifically, the fixed header and the variable header are first determined, and then the specified coding format corresponding to the building communication device is determined. For example, in an embodiment of the present invention, the specified coding format includes but is not limited to protocols such as the BACnet communication protocol or the Modbus communication protocol. Based on the above-mentioned specified coding format, building communication devices can achieve mutual communication connection.

[0035] See Figure 2 In an embodiment of the present invention, determining the designated coding format corresponding to the building communication device includes:

[0036] S31) determining a coding mode of the building communication device, and generating coding type information of the building communication device based on the coding mode;

[0037] S32) obtaining functional information of the building communication device, and generating corresponding service information based on the functional information;

[0038] S33) determining data storage rules;

[0039] S34) Generate a designated encoding format for the building communication device based on the property information of the building communication device, the encoding type information, the service information, and the data storage rule.

[0040] In one possible implementation, the encoding method of the building communication device is first determined. For example, if the building communication device encodes all fields in JSON, then the encoding method is JSON. Based on this encoding method, encoding type information for the building communication device is generated. For example, if JSON encoding is used, the encoding type information can be set to JSON. Functional information of the building communication device is then obtained. This functional information includes, for example, functions supported by the current building communication device or all building communication devices, specifically including but not limited to functions such as updating information, registering devices, obtaining device lists, feeding back device lists, and setting parameter values. Based on this functional information, corresponding service information is generated. For example, service information labeled Update, SignUpDevice, GetDeviceList, DeviceList, and SetObject can be generated. During communication, upon receiving communication information from other building communication devices, the server or building communication device performs corresponding service operations based on this service information.

[0041] At this point, data storage rules are further obtained. For example, the data storage rules include but are not limited to data content, storage format, storage location, and data processing methods (such as encryption rules, decryption rules, etc.). Then, based on the property information, encoding type information, service information, and data storage rules of the building communication device, a specified encoding format of the building communication device is generated. For example, in one embodiment, the specified encoding format is a set data structure, which is represented as follows in one example:

[0042]

[0043] In the actual communication process, different building communication devices encode the communication information according to the above-mentioned specified coding format and generate the final communication information for mutual communication, thereby effectively solving the technical problem that the existing communication rules based on information publishing / subscription cannot achieve direct communication between building communication devices.

[0044] After determining the designated coding format, original communication information is obtained, for example, the original communication information is communication information initially generated by a building communication device, and corresponding coding information is further generated based on the initially generated communication information.

[0045] See Figure 3 In an embodiment of the present invention, performing an encoding operation based on the original communication information in accordance with the specified encoding format to generate corresponding encoding information includes:

[0046] S41) extracting device attribute information and communication data information from the original communication information;

[0047] S42) determining a service field corresponding to the original communication information based on the service information;

[0048] S43) processing the communication data information based on the data storage rule to obtain processed data;

[0049] S44) Performing encoding operations on the encoding type information, the device attribute information, the service field, and the processed data based on the specified encoding format to generate corresponding encoding information.

[0050] In one possible implementation, the original communication information includes device attribute information of the building communication device (for example, including but not limited to device ID, device name, device IP address, and device geographic location), communication data information (control parameters and parameter values, etc.). During the encoding operation, the device attribute information and communication data information are first extracted from the original communication information. Then, based on the service information, a service field corresponding to the original communication information is determined. For example, the original communication information also includes a control command character, which indicates the type of service to be performed by the original communication information. The corresponding service field is determined from the service information based on the control command character. The communication data information is further processed according to the data storage rules, for example, a corresponding encryption operation is performed on the data in the communication data information to obtain the corresponding processed data. Of course, at the receiving end, a corresponding decryption operation, a verification operation, etc. can also be performed on the data in the building communication information according to the data storage rules. Finally, the encoding type information, device attribute information, service field, and processed data are converted into a corresponding data structure according to the specified encoding format, and the corresponding encoding information is generated.

[0051] Finally, according to the first header, second header and encoding information generated above, corresponding building communication information is generated according to the preset communication rules (such as MQTT). In the subsequent communication process, all building communication devices can communicate between devices and between devices and servers through the above building communication information, and at the same time realize reliable connection based on the Internet, thereby effectively solving the above communication problems existing in the existing technology and meeting the actual communication control needs.

[0052] On the other hand, see Figure 4An embodiment of the present invention further provides a communication method for a building automation system, which is applied to a server. The server communicates with a building communication device based on the building communication information provided by the embodiment of the present invention. The building communication information includes coding type information. The communication method for the building automation system includes:

[0053] S10) acquiring building communication information sent from the first building communication device;

[0054] S20) extracting a service field in the building communication information;

[0055] S30) determining a corresponding communication object based on the service field;

[0056] S41) If the communication object is a server, verifying the building communication information based on the coding type information, and if the verification result is passed, extracting communication data from the building communication information, and performing corresponding communication control operations based on the communication data;

[0057] S42) If the communication object is a second building communication device, forward the building communication information to the second building communication device.

[0058] Furthermore, in an embodiment of the present invention, determining the corresponding communication object based on the service field includes: if the service field is device registration or information subscription or obtaining a device list, determining that the communication object is a server; if the service field is updating information or setting parameter values ​​or information publishing, determining that the communication object is a second building communication device.

[0059] In one possible implementation, a building automation system includes a server and multiple building communication devices. Each building communication device is connected to the server and communicates via the building communication information. In one embodiment, a new building communication device is installed in a current building. Therefore, the building communication device needs to register itself with the server for network control. Therefore, the building communication device sends building communication information with a service field indicating device registration to the server. After receiving the building communication information, the server first extracts the service field and determines that the building communication device needs to register. Therefore, the communication object is determined to be the server itself. At this time, the building communication information is further verified based on the encoding type information. For example, by reading information corresponding to the Protocol in the building communication information, the encoding type of the current building communication information is determined. If the encoding type of the building communication information is not JSON, the verification is considered to have failed. If the encoding type of the building communication information is JSON, the verification is determined to have passed. At this time, the communication data in the building communication information is extracted, and corresponding communication control operations are performed based on the communication data. Specifically, various attribute information of the building communication device can be registered and stored in the server.

[0060] In a second embodiment, after receiving building communication information sent from a first building communication device, the server determines that the communication target is a second building communication device by parsing the service field. It should be noted that the second building communication device here can be multiple building communication devices. For example, when distributing building communication information from a first building communication device, the devices to receive the building communication information are multiple second building communication devices. In this case, the server can directly forward the building communication information to all of the second building communication devices. After receiving the building communication information, all second building communication devices parse the encoded information in the building communication information according to the specified encoding format determined above and perform corresponding communication control operations, thereby achieving online network control of building devices in the building automation system and communication connections between devices.

[0061] In an embodiment of the present invention, by improving the traditional building automation system, on the one hand, the communication information of the building automation system is improved at the bottom level, and coded information that allows communication between devices is inserted into the communication rules based on information publishing / subscription, thereby allowing building communication devices to be able to perform online network control in the cloud, and at the same time allowing building communication devices to communicate with each other reliably, meeting higher building control requirements; on the other hand, by improving the control framework of the building automation system, the server is directly connected to all building communication devices through configuration, and the building communication information of all connected building communication devices is intermediately processed or message published by the server, thereby realizing online management of the building automation system and meeting the actual needs of the enterprise.

[0062] Based on the same inventive concept, an embodiment of the present invention provides a communication information generation device, which is applied to building communication equipment. The communication information generation device includes: a rule acquisition unit, which is used to obtain preset communication rules, and the preset communication rules are communication rules based on information publishing / subscription; a header determination unit, which is used to determine a first header and a second header based on the preset communication rules, the first header is a fixed header, and the second header is a variable header; a format determination unit, which is used to determine a specified coding format corresponding to the building communication equipment, and realize connection communication between building communication equipment based on the specified coding format; an encoding unit, which is used to obtain original communication information, perform encoding operations based on the original communication information according to the specified coding format, and generate corresponding coding information; an information generation unit, which is used to generate corresponding building communication information according to the preset communication rules based on the first header, the second header and the coding information.

[0063] In an embodiment of the present invention, the format determination unit includes: a coding method determination module, used to determine the coding method of the building communication equipment, and generate the coding type information of the building communication equipment based on the coding method; an information generation module, used to obtain the functional information of the building communication equipment, and generate corresponding service information based on the functional information; a rule determination module, used to determine the data storage rules; a format determination module, used to generate the specified coding format of the building communication equipment based on the attribute information of the building communication equipment, the coding type information, the service information and the data storage rules.

[0064] In an embodiment of the present invention, the encoding unit includes: an information advance module for extracting device attribute information and communication data information from the original communication information; a field determination module for determining a service field corresponding to the original communication information based on the service information; a processing module for processing the communication data information based on the data storage rules to obtain processed data; and an encoding module for performing an encoding operation on the encoding type information, the device attribute information, the service field, and the processed data based on the specified encoding format to generate corresponding encoding information.

[0065] Furthermore, an embodiment of the present invention also provides a communication device for a building automatic control system, which is applied to a server, and the server communicates with a building communication device based on the building communication information described in the embodiment of the present invention, and the building communication information includes coding type information. The communication device of the building automatic control system includes: an information acquisition unit, used to acquire building communication information sent from a first building communication device; an extraction unit, used to extract a service field in the building communication information; an object determination unit, used to determine a corresponding communication object based on the service field; a first communication unit, used to verify the building communication information based on the coding type information if the communication object is a server, and if the verification result is verification passed, extract the communication data in the building communication information, and perform corresponding communication control operations based on the communication data; a second communication unit, used to forward the building communication information to the second building communication device if the communication object is a second building communication device.

[0066] In an embodiment of the present invention, the object determination unit includes: a first object determination module, which is used to determine that the communication object is a server when the service field is device registration, information subscription, or obtaining a device list; and a second object determination module, which is used to determine that the communication object is a second building communication device when the service field is updating information, setting parameter values, or publishing information.

[0067] The above describes in detail the optional implementation methods of the embodiments of the present invention in conjunction with the accompanying drawings. However, the embodiments of the present invention are not limited to the specific details in the above implementation methods. Within the technical concept of the embodiments of the present invention, various simple modifications can be made to the technical solutions of the embodiments of the present invention, and these simple modifications all fall within the scope of protection of the embodiments of the present invention.

[0068] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any appropriate manner without contradiction. To avoid unnecessary repetition, the embodiments of the present invention will not further describe various possible combinations.

[0069] Those skilled in the art will understand that all or part of the steps in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a program, which is stored in a storage medium and includes a number of instructions for causing a single-chip microcomputer, chip or processor to execute all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program code.

[0070] In addition, various implementations of the embodiments of the present invention may be arbitrarily combined, and as long as they do not violate the concept of the embodiments of the present invention, they should also be regarded as the contents disclosed in the embodiments of the present invention.

Claims

1. A method for generating communication information, applied to building communication equipment, characterized in that: The method for generating communication information includes: Acquiring a preset communication rule, wherein the preset communication rule is a communication rule based on information publishing / subscription; Determining a first header and a second header based on the preset communication rule, wherein the first header is a fixed header and the second header is a variable header; Determining a designated coding format corresponding to the building communication device, and implementing connection communication between the building communication devices based on the designated coding format; obtaining original communication information, performing an encoding operation based on the original communication information according to the designated coding format, and generating corresponding coding information; Generate corresponding building communication information according to the preset communication rule based on the first header, the second header and the encoding information; The determining of the designated coding format corresponding to the building communication device includes: Determining a coding mode of the building communication device, and generating coding type information of the building communication device based on the coding mode; Acquiring functional information of the building communication device, and generating corresponding service information based on the functional information; Determine data storage rules; A designated encoding format of the building communication device is generated based on the attribute information of the building communication device, the encoding type information, the service information, and the data storage rule.

2. The method for generating communication information according to claim 1, wherein: The performing the encoding operation according to the specified encoding format based on the original communication information to generate corresponding encoding information includes: extracting device attribute information and communication data information from the original communication information; determining a service field corresponding to the original communication information based on the service information; Processing the communication data information based on the data storage rule to obtain processed data; An encoding operation is performed on the encoding type information, the device attribute information, the service field, and the processed data based on the specified encoding format to generate corresponding encoding information.

3. A communication method for a building automation system, applied to a server, characterized in that: The server communicates with the building communication device based on the building communication information according to any one of claims 1 to 2, wherein the building communication information includes coding type information, and the communication method of the building automatic control system includes: Acquiring building communication information sent from the first building communication device; extracting a service field from the building communication information; Determining a corresponding communication object based on the service field; If the communication object is a server, verifying the building communication information based on the coding type information, extracting communication data from the building communication information if the verification result is passed, and performing corresponding communication control operations based on the communication data; If the communication object is a second building communication device, forwarding the building communication information to the second building communication device, wherein determining the corresponding communication object based on the service field includes: If the service field is device registration or information subscription or obtaining a device list, determining that the communication object is a server; If the service field is update information or setting parameter value or information release, it is determined that the communication object is the second building communication device.

4. A communication information generating device, applied to building communication equipment, characterized in that: The communication information generating device includes: A rule acquisition unit, configured to acquire a preset communication rule, wherein the preset communication rule is a communication rule based on information publishing / subscription; a header determining unit, configured to determine a first header and a second header based on the preset communication rule, wherein the first header is a fixed header and the second header is a variable header; a format determining unit, configured to determine a designated coding format corresponding to the building communication device, and implement connection communication between the building communication devices based on the designated coding format; an encoding unit, configured to obtain original communication information, perform an encoding operation based on the original communication information in accordance with the specified encoding format, and generate corresponding encoding information; An information generating unit is configured to generate corresponding building communication information according to the preset communication rule based on the first header, the second header, and the coding information, wherein the format determining unit includes: A coding mode determination module, configured to determine a coding mode of the building communication device and generate coding type information of the building communication device based on the coding mode; An information generation module, configured to obtain function information of the building communication device and generate corresponding service information based on the function information; A rule determination module, used to determine data storage rules; The format determination module is used to generate a specified encoding format of the building communication device based on the attribute information of the building communication device, the encoding type information, the service information and the data storage rule.

5. The communication information generating device according to claim 4, characterized in that: The encoding unit includes: An information advance module, configured to extract device attribute information and communication data information from the original communication information; a field determination module, configured to determine a service field corresponding to the original communication information based on the service information; A processing module, configured to process the communication data information based on the data storage rule to obtain processed data; The encoding module is used to perform an encoding operation on the encoding type information, the device attribute information, the service field and the processed data based on the specified encoding format to generate corresponding encoding information.

6. A communication device for a building automation system, applied to a server, characterized in that: The server communicates with the building communication device based on the building communication information according to any one of claims 4 to 5, wherein the building communication information includes coding type information, and the communication device of the building automatic control system includes: an information acquiring unit, configured to acquire building communication information sent from the first building communication device; an extraction unit, configured to extract a service field from the building communication information; an object determining unit, configured to determine a corresponding communication object based on the service field; a first communication unit configured to, if the communication object is a server, verify the building communication information based on the coding type information, extract communication data from the building communication information if the verification result is passed, and perform a corresponding communication control operation based on the communication data; The second communication unit is configured to forward the building communication information to the second building communication device if the communication object is a second building communication device, wherein the object determination unit includes: A first object determination module, configured to determine that the communication object is a server when the service field is device registration, information subscription, or acquisition of a device list; The second object determination module is used to determine that the communication object is the second building communication device when the service field is update information or setting parameter value or information release.

Citation Information

Patent Citations

  • Communication method and communication device of building intercom system

    CN102904898A

  • Communication method and communication device

    CN110048927A