Unlock instant, AI-driven research and patent intelligence for your innovation.

RS485 based multi-host machine wired serial communication method

A RS485, serial communication technology, applied in the field of communication, can solve the problems of wasting communication lines and time, the slave cannot communicate directly, and the host is strongly dependent, so as to save communication time and lines, improve communication and processing efficiency, and improve The effect of efficiency

Inactive Publication Date: 2010-10-06
GUANGDONG TRI SUN ELECTRONICS TECH +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Second, the two slaves cannot communicate directly, they must communicate through the host
This wastes communication lines and time
[0007] Third, the dependence on the host is strong, all slave communication must rely on the host
Once the host computer crashes, the entire communication system will also crash

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
  • RS485 based multi-host machine wired serial communication method
  • RS485 based multi-host machine wired serial communication method
  • RS485 based multi-host machine wired serial communication method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] Figure 2 to Figure 7 Shown is an embodiment of the invention. Such as figure 2As shown, each device is connected through RS485, each device is a host, and has the same status in communication. For example: host A sends data to host B, only need to send directly through RS485. This structure gets rid of the dependence on one host, even if one or more of the connected hosts crashes, the rest of the hosts can still communicate normally. If hosts B, C, and D all want to communicate with host A, hosts B, C, and D compete for control of the bus before sending data. Once the bus is free, they can start sending until the sending is complete. The method of judging whether the bus is idle is as follows: Is the machine in the process of receiving a data packet at the moment before sending the data packet? If it is in the process of receiving a data packet, it means that the bus is busy and cannot send data that interferes with other hosts. If the bus is busy when sending, y...

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

Through RS485 bus, each device is as host computer connected to each other. Communication is realized between each device through operation of sending data, receiving data, and time processing procedures. The invention makes each connected device possible to communicate each other directly so as to get rid of dependence on only one host computer. Thus, even if one or multiple connected host computers are broken down, the rest can do communication normally. Saving communication time and line, the invention raises communication efficiency as well as enhances generality and reliability of communication system.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method for connecting various devices in a smart home system and based on RS485 multi-host wired serial communication. Background technique [0002] At present, using RS485 as the communication medium for device communication is generally realized through the transfer of the master (Master) device. The master device is usually a PC, and only one master (Master) device is allowed to exist in this device network, and the rest are slaves )equipment. [0003] In this master-slave multi-machine communication system, one master and multiple slaves are connected to the same RS485 bus, such as figure 1 As shown, the host ① is connected to the slaves ②, ③, ④, and ⑤ through RS485, and the RS485 bus is managed and dispatched by the host ①. The communication method is as follows: When the host ① has a message to be sent to a slave, it first calls the slave; the slaves are generally...

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 Patents(China)
IPC IPC(8): H04L12/407
Inventor 王炅罗笑南王建民周健辉
Owner GUANGDONG TRI SUN ELECTRONICS TECH