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

Host-slave communication protocol

A communication protocol and host technology, applied in the field of communication, can solve the problems of wasting time, wrong judgment, affecting the work of the host and the slave, and achieve the effect of improving communication efficiency and reducing waste.

Inactive Publication Date: 2013-01-23
BEIJING JINGYI DAMING ELECTRONICS TECH
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] As we all know, there are two main communication protocols between master and slave. The first is that the master sends the terminator. When the slave receives the terminator, it knows that the communication is complete and performs data processing; the second is the end of timeout, that is, When the host does not send a signal to the slave for a period of time, the slave judges it as the end; the first method requires the slave to receive and judge the end character, which is a waste of time, and the second method does not require the slave to receive Arriving and judging the terminator, but it needs to wait, which is also a waste of time and often leads to wrong judgments due to inaccurate judgments, thus affecting the work between the master and slaves; Communication methods such as computer control of switching power supply

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
  • Host-slave communication protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0015] Such as figure 1 As shown, the master-slave communication protocol of the present invention comprises the following steps:

[0016] 1) The master sends characters used to identify the address of the slave to the slave;

[0017] 2) The master sends characters used to represent the total number of bytes to the slave;

[0018] 3) The master sends the command code for system operation to the slave.

[0019] Through the above three steps from 1) to 3), the master can send the character used to represent the total number of bytes to the slave to determine whether the operation is over, that is, when the total number of bytes is reached, the operation will automatically...

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

The invention discloses a host-slave communication protocol, which belongs to the technical field of the communication. The host-slave communication protocol needs no judgment and waiting, so that the time waste can be reduced, and the efficiency can be improved; and the host-slave communication protocol comprises characters transmitted from a host to a slave and used for recognizing an address of the slave, characters transmitted from the host to the slave and used for indicating total number of bytes and an instruction code transmitted from the host to the slave and used for the system operation.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a communication protocol between a master and a slave. Background technique [0002] As we all know, there are two main communication protocols between master and slave. The first is that the master sends the terminator. When the slave receives the terminator, it knows that the communication is complete and performs data processing; the second is the end of timeout, that is, When the host does not send a signal to the slave for a period of time, the slave judges it as the end; the first method requires the slave to receive and judge the end character, which is a waste of time, and the second method does not require the slave to receive Arriving and judging the terminator, but it needs to wait, which is also a waste of time and often leads to wrong judgments due to inaccurate judgments, thus affecting the work between the master and slaves; The computer controls the work of...

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): G06F13/10
Inventor 王常兴
Owner BEIJING JINGYI DAMING ELECTRONICS TECH