Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Protocol conversion method and device and air conditioner system

A protocol conversion, protocol technology, applied in the field of communication

Inactive Publication Date: 2017-05-31
GREE ELECTRIC APPLIANCES INC
View PDF8 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the current market cannot freely convert the two protocols of RS-485 communication and BACnet / IP communication, and combine their respective advantages for data transmission

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Protocol conversion method and device and air conditioner system
  • Protocol conversion method and device and air conditioner system
  • Protocol conversion method and device and air conditioner system

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

An embodiment of the invention discloses a protocol conversion method and device and an air conditioner system. The method comprises steps as follows: receiving a first data packet to be sent to an upper computer and based on an RS-485 communication protocol; parsing the first data packet, and acquiring a first data packet identifier and first transmission data in the first data packet; determining a first object identifier corresponding to the first data packet and according with a BACnet / IP communication protocol, and determining a first present value corresponding to the first transmission data and according with the BACnet / IP communication protocol; constructing a second data packet containing the first object identifier and the first Present Value and based on the BACnet / IP communication protocol. By means of the scheme, data based on the RS-485 communication protocol are converted into data based on the BACnet / IP communication protocol, and data transmitted on an RS-485 bus can be transmitted to the internet.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of communication, and in particular, to a protocol conversion method, device and air conditioning system. Background technique [0002] As a field bus communication method, RS-485 communication has good error correction, real-time performance and anti-interference performance. Due to its obvious advantages, it has been widely used in automobiles, air conditioners, buildings and other industries. However, the RS-485 communication method cannot directly communicate with smart terminals such as computers, tablets, and mobile phones. As a remote monitoring and smart home, it cannot directly access the Internet. BACnet (Building Automation and Control Networks, building automatic control network) protocol is an open building equipment automatic control network data communication protocol. With the development of the Internet in the communication field, the interconnection between the c...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06G06F13/42F24F11/00
Inventor 闫满意牟桂贤申伟刚刁作清
Owner GREE ELECTRIC APPLIANCES INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products