Method and device for allocating addresses to slave devices, storage medium and system

A device address and device allocation technology, applied in the field of communication, can solve problems such as communication barriers between the master device and the slave device

Inactive Publication Date: 2021-03-30
CHENGDU TD TECH LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present application provides a method for assigning addresses to slave devices, which overcomes the communication barrier between the master device and the

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
  • Method and device for allocating addresses to slave devices, storage medium and system
  • Method and device for allocating addresses to slave devices, storage medium and system
  • Method and device for allocating addresses to slave devices, storage medium and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some, not all, embodiments of the application. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0038] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein, for example, can be practiced in sequences other than those illustrated or described ...

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 method and device for allocating addresses to slave devices and a storage medium, and the method specifically comprises the steps: firstly enabling the master device to broadcast a device discovery full-query message, enabling the slave devices which are not configured with device addresses to return a first response message carrying a device ID corresponding to the slavedevices when receiving the device discovery full-query message, and according to the first response message, sequentially sending a first address allocation message carrying the device ID and the newly allocated device address to each slave device corresponding to the first response message; when the slave device receives the first address allocation message, judging whether the device ID carriedby the first address allocation message is consistent with the slave device, and if the device ID carried by the first address allocation message is consistent with the slave device, setting the equipment address carried in the first address allocation message to take effect. According to the embodiment of the invention, through automatic discovery and automatic allocation of the device address of each slave device, the problems of low efficiency and error proneness during manual device address configuration are solved, and the efficiency and accuracy of communication between the master device and each slave device are improved.

Description

technical field [0001] The present application relates to the technical field of communications, and in particular to a method, device, storage medium and system for allocating addresses for slave devices. Background technique [0002] RS-485 is a standard defining the electrical characteristics of drivers and receivers in a balanced digital multipoint system, defined by the Telecommunications Industry Association and the Electronic Industries Alliance. It is mainly a serial bus standard that uses balanced transmission and differential reception. The digital communication network using this standard can effectively transmit signals under long-distance conditions and in environments with high electronic noise. RS-485 makes it possible to configure low-cost local networks and multi-branch communication links. It is widely used in industrial, mining, transportation and other enterprises, and the communication distance can reach tens of meters to thousands of meters. [0003] T...

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
IPC IPC(8): H04L12/40H04L29/12
CPCH04L12/40006H04L2012/40228H04L61/50H04L61/5046H04L61/5092
Inventor 朱日新马旭
Owner CHENGDU TD TECH LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products