Method and system for master device to automatically number slave devices

A technology of automatic numbering and device numbering, applied in transmission systems, electromagnetic wave transmission systems, bus-type electromagnetic networks, etc., can solve problems such as troublesome numbering of slave devices

Inactive Publication Date: 2015-11-25
WUHAN HONGXIN TELECOMM TECH CO LTD
View PDF4 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this case, it is very troublesome to manually number the slave device,

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 system for master device to automatically number slave devices
  • Method and system for master device to automatically number slave devices
  • Method and system for master device to automatically number slave devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] figure 1 It is a flowchart of a method for a master device to automatically number a slave device provided in Embodiment 1 of the present invention. Such as figure 1 As shown, a method for a master device of the present invention to automatically number a slave device comprises the following steps:

[0053] S1: The master device broadcasts the command to collect the SN serial number of the slave device;

[0054] S2: The slave device returns the SN serial number information of the slave device after a random delay time;

[0055] S3: After the master device collects the SN serial number information of all slave devices, it forms a list of SN serial numbers and numbers, and sends the list to all slave devices;

[0056] S4: After receiving the list, the slave device compares its own SN serial number according to the corresponding list of SN serial numbers and numbers, and finds out the corresponding number to generate a unique number of the slave device.

[0057] In t...

Embodiment 2

[0059] figure 2 It is a flow chart of a method for a master device to automatically number a slave device provided in Embodiment 2 of the present invention. Such as figure 2 As shown, before the step S1: the master device broadcasts the command to collect the SN sequence number of the slave device, it further includes:

[0060] The master device starts self-test to determine whether there is a physical connection to the slave device at the bus interface;

[0061] If it exists, the master device detects whether there is the SN serial number information of the slave device, and if so, exits the automatic numbering process, and if not, sends a command to the remote slave device to obtain the SN serial number information.

[0062] Before the master device broadcasts the command to collect the SN serial number of the slave device to the slave device, it will first perform a power-on self-test to determine whether the bus interface is physically connected to the slave device. In ...

Embodiment 3

[0064] image 3 It is a flowchart of a method for automatically numbering slave devices by a master device according to Embodiment 3 of the present invention. Such as image 3 As shown, the step S2: the slave device returns the SN sequence number information of the slave device after a random delay time, including:

[0065] S20: After the slave device receives an instruction from the master device to collect SN serial number information, the slave device runs the designed random delay algorithm to calculate the random delay time;

[0066] S21: Start timing from the device counter, when the random delay time is up, return the corresponding SN serial number information to the master device;

[0067] S22: In order to ensure that the master device receives the SN serial number information of the slave device, after the slave device passes through the preset maximum delay, the slave device sends the SN information to the master device through the random delay calculated by the ra...

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 a system for a master device to automatically number slave devices, belonging to the technical field of an optical fiber distribution system. The method comprises the following steps that: S1: the master device broadcasts an order of collecting SN sequence numbers of the slave devices; S2: the slave devices return back own SN sequence number information after random delay time; S3: after collecting the SN sequence number information of all the slave devices, the master device forms a SN sequence number and serial number corresponding list, and sends the list to all the slave devices; S4: after receiving the list, the slave devices respectively contrast own SN sequence numbers according to the SN sequence number and serial number corresponding list, find out corresponding serial numbers and generate own unique serial numbers. By automatically and uniquely numbering the slave devices, a problem of collision caused by reporting communication data by multiple slave devices can be avoided, moreover, the SN sequence number, the specific geographical position and the device serial number information of each slave device are maintained at the master device side, thus, state of multiple slave devices can be monitored accurately, project opening efficiency is improved, and later maintenance of the devices is facilitated.

Description

technical field [0001] The present invention relates to the technical field of optical fiber distribution systems, in particular to a system architecture for master-slave devices on a 485 bus, a method and a system for automatically numbering slave devices by master devices. Background technique [0002] In the optical fiber distribution system based on the 485 bus, the signal extension unit and the RF remote unit are respectively the master device and the slave device on the 485 bus. Generally, a master device can mount 32 slave devices, and the slave device is required during normal operation. There is a unique number, which is convenient for fixed-point communication between the master device and the slave device. Slave devices are generally distributed within a radius of 0.5km, and are generally located at the top of corridors, ceilings and other high places. In this case, it is very troublesome to manually number the slave devices, so the master device is required to a...

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): H04B10/278H04B10/032H04L29/12
Inventor 欧文军田宇兴
Owner WUHAN HONGXIN TELECOMM TECH CO 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