A method of equipment resource collection based on 485 time-sharing communication

A collection method, RS485 technology, applied in the field of communication, can solve problems such as communication conflicts and low efficiency, achieve the effects of easy management, meet the needs of large-scale data collection, and avoid communication conflicts

Active Publication Date: 2020-04-14
FENGHUO COMM SCI & TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The technical problem to be solved by the present invention is to solve the problem that the existing method of resource collection for communication equipment using the half-duplex 485 communication mode is inefficient and prone to communication conflicts

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 method of equipment resource collection based on 485 time-sharing communication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0022] The embodiment of the present invention provides a device resource collection method based on 485 time-sharing communication, such as figure 1 shown, including the following steps:

[0023] S1. Establish an electrical connection between the master device and each slave device through the RS485 bus, and determine the time slot of the master device and each slave device.

[0024] S2. Obtain configuration parameters of the RS485 communication interface of the master device, and perform parameter configuration on the RS485 communication interface of the slave device according to the configuration parameters.

[0025] The above configuration parameters include baud rate, data bits, stop bits, and parity bits.

[0026] S3. In each time slot of the slave device, call its RS485 communication interface to send a resource change message to the...

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 device resource acquisition method based on 485 time-sharing communication, which comprises the following steps: determining the time slot of the master device and each slave device connected to it through the RS485 bus; in each time slot of the slave device, sending The resource change message is sent to the master device; within the time slot of the master device, a resource acquisition request is simultaneously returned to the corresponding slave device according to the received resource change message; according to the resource acquisition request received by the slave device, the resource is allocated in its time slot Data is sent to the master device. The present invention realizes that the master device and the slave device send data in their respective time slots. Since the master device can concurrently send resource acquisition requests to the slave device, and the slave device returns resource data to the master device in a time-sharing manner, the master device can quickly and accurately complete the Resource collection from devices avoids communication conflicts, has concurrency, high efficiency, security and redundancy, is easy to manage, and can meet the large-scale data collection needs of communication devices.

Description

technical field [0001] The invention relates to the communication field, in particular to a device resource collection method based on 485 time-sharing communication. Background technique [0002] When the half-duplex 485 communication method is applied to multiple master-slave nodes, only one node can send data at a time. If multiple nodes send data at the same time, communication conflicts will occur. The traditional method of resource collection for communication equipment generally uses this half-duplex 485 communication method, including the following two methods: [0003] The first is to use the polling method of the master device. The master device is always the master and the slave device is always the slave. Every time the master device initiates communication and the slave device responds, it is not easy to have communication conflicts, but the master device The polling method of the polling method is only queried at a certain interval, so the efficiency of collec...

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/801H04L12/40H04L1/22H04L1/00H04L29/08
CPCH04L1/0063H04L1/22H04L12/40176H04L12/403H04L47/127H04L67/5651
Inventor 周鸣张智齐晓旭孟庆锐
Owner FENGHUO COMM SCI & 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