Protocol conversion method and device and air conditioner system
A protocol conversion, protocol technology, applied in the field of communication
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 1 It is a flowchart of a method for protocol conversion provided by Embodiment 1 of the present invention. This embodiment is applicable to the mutual conversion between the RS-485 communication protocol and the BACnet / IP communication protocol. The method can be implemented by a protocol conversion device Execution, the device can be implemented by software and / or hardware, and the device can be integrated in any lower computer that provides a protocol conversion function. Wherein, the lower computer may be an air conditioner or a car.
[0030] see figure 1 , the method for protocol conversion, comprising:
[0031] S101. Receive the first data packet based on the RS-485 communication protocol to be sent to the host computer.
[0032] In this embodiment, the lower computer is the execution subject, and the lower computer receives the RS-485 message transmitted by the RS-485 bus, that is, the first data packet based on the RS-485 communication protocol. Wherei...
Embodiment 2
[0045] figure 2 A flowchart of a method for protocol conversion provided by Embodiment 2 of the present invention. On the basis of the above embodiments, this embodiment also includes: when receiving the query data packet based on the BACnet / IP communication protocol, parsing The query data packet obtains the second object identifier and the second PresentValue in the query data packet; according to the ID correspondence between the preset RS-485 communication protocol and the BACnet / IP communication protocol, determine the second The second data packet identification corresponding to the object identification conforms to the RS-485 communication protocol, wherein the second data packet identification includes a boot code and an address code; according to the data between the preset RS-485 communication protocol and the BACnet / IP communication protocol Correspondence, determining the second transmission data corresponding to the second PresentValue conforming to the RS-485 co...
Embodiment 3
[0073] Figure 3a is a flow chart of a protocol conversion method provided in this embodiment, Figure 3b It is a flowchart of another protocol conversion method provided by this embodiment, and this embodiment is a specific example of the second embodiment above.
[0074] Such as Figure 3a As shown, it represents a schematic diagram of the process of converting a data packet of the RS-485 communication protocol into a data packet based on the BACnet / IP communication protocol in a protocol conversion method. From bottom to top, first receive a data packet 310 based on the RS-485 communication protocol, analyze the data packet 310 based on the RS-485 communication protocol to obtain the RS-485 data packet identification 320 and RS-485 transmission data (Data) 330, wherein, the RS-485 packet identification 320 includes a boot code 321, a device address 322 and a parameter ID 323, according to the ID correspondence between the preset RS-485 communication protocol and the BACne...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com