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

A multi-device ring structure communication method and system

A technology of ring structure and communication method, applied in transmission systems, ring networks, digital transmission systems, etc., can solve the problems that affect the normal communication of other equipment at the subsequent level, and it is impossible to know whether the communication is normal or not.

Inactive Publication Date: 2020-10-13
FUZHOU FUDA HISI MICROELECTRONICS
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. Without a confirmation mechanism, the main control device cannot know whether the communication is normal
[0005] 2. Once a certain device in the cascade link is abnormal, it will affect the normal communication of other devices in the subsequent stage

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
  • A multi-device ring structure communication method and system
  • A multi-device ring structure communication method and system
  • A multi-device ring structure communication method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0084] Please refer to Figure 1 to Figure 12 , Embodiment 1 of the present invention is:

[0085] A multi-device ring structure communication method, comprising the steps of:

[0086] S1. The master control device sends the control data to slave device No. 1. The control data includes data frame and confirmation frame. The data frame includes the start bit START, the total data segment, and the stop bit END. The confirmation frame includes the confirmation bit ACK and the stop bit END. , where the confirmation frame is immediately behind the data frame, and the confirmation bit ACK is located between two stop bits END, such as Figure 7 , At this time, the total data segment includes all data from No. 1 data segment to No. N data segment, such as Figure 11 As shown, at this time, the confirmation frame has only one end mark, that is, the stop bit END, without any response field, that is, there is no confirmation bit;

[0087] S2, No. 1 slave device receives the control da...

Embodiment 2

[0094] Please refer to Figure 1 to Figure 12 , the second embodiment of the present invention is:

[0095] Embodiment 2 is based on the above-mentioned embodiment 1. The difference from the above-mentioned embodiment 1 is that the inserted response field in the above-mentioned embodiment 1 is a preset length, such as 1 byte, 2 bits bits and the like, in the second embodiment, the length of the inserted response field is set according to the length of the data segment obtained from the device, and the specific slave device No. 1 is described as follows:

[0096] No. 1 slave device receives the control data, intercepts the No. 1 data segment from the total data segment according to the preset interception length after the start bit START, obtains the character length of the No. 1 data segment, and attaches a The response field with the same length as the character length of the No. 1 data segment generates the next data. At this time, the confirmation frame of the next data co...

Embodiment 3

[0099] Please refer to Figure 1 to Figure 10 , Embodiment three of the present invention is:

[0100] Embodiment 3 is based on the above-mentioned embodiment 1, and differs from the above-mentioned embodiment 1 in that the confirmation frame in the above-mentioned embodiment 1 requires each slave device to insert a response field to obtain a confirmation bit, and the master control device Judging according to the confirmation bit in the confirmation frame, the confirmation frame in the third embodiment of the present invention has a confirmation bit in the data frame sent by the main control device, and the confirmation bit can be placed in the total data segment in the data frame At the very end of the data frame, that is, in front of the stop bit END in the data frame, the confirmation bit is equivalent to the confirmation frame at this time, and the format of the entire data frame becomes START, total data segment, confirmation bit ACK, and stop bit END: it can also be pla...

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 multidevice circular structure communication method and system. A master control device sends control data to a start slave device; a current slave device receives the current data, intercepts a current data segment from the current data according to preset interception length to obtain next data and sends the next data to a next slave device; and the master control device receives final data sent by a final slave device and judges whether an acknowledgement frame in the final data is correct or not, and if the acknowledgement frame in the final data is correct, the communication is finished. According to the method and the system, the control data is sent to the slave devices through the master control device; the cascaded slave devices finish receiving, intercepting, generating and sending operation in sequence; the final data is fed back to the master control device; the master control device judges the acknowledgement frame, thereby judging whether the whole cascaded communication is normal or not; the communication has an acknowledgement mechanism; and whether a fault occurs in a communication link or not can be identified.

Description

technical field [0001] The invention relates to the technical field of device communication, in particular to a multi-device ring structure communication method and system. Background technique [0002] In the prior art, the master device is cascaded in series with multiple slave devices through an interface to form a daisy-chain communication path, and each slave device transmits and receives data successively on the link according to the order of arrangement, such as figure 2 As shown, the slave device A receives the data sent by the master device from the I port, and forwards the processed data from the O port to the slave device B, and the slave device B also receives the data sent by the device A from the I port and forwards it after processing For device C, the communication of each slave device is realized sequentially in this order. [0003] The shortcoming that prior art exists: [0004] 1. Without a confirmation mechanism, the main control device cannot know whet...

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/42H04L12/437H04L12/26
CPCH04L12/42H04L12/437H04L43/0811H04L43/10
Inventor 钟杨源刘伟城周金穗
Owner FUZHOU FUDA HISI MICROELECTRONICS