Equipment resource acquisition method based on 485 time-sharing communication

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

Active Publication Date: 2017-07-14
FENGHUO COMM SCI & TECH CO LTD
View PDF6 Cites 6 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
  • Equipment resource acquisition method 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 an equipment resource acquisition method based on 485 time-sharing communication. The method comprises the following steps: determining time slot of primary equipment and each slave equipment connected with the primary equipment through a RS485 bus; sending a resource change message to the primary equipment in the time slot of each slave equipment; returning a resource acquisition request to the corresponding slave equipment according to the received resource change message in the time slot of the primary equipment; and sending the resource data to the primary equipment in the time slot thereof according to the resource acquisition request received from the slave equipment. By use of the resource acquisition method disclosed by the invention, the data can be sent in respective time slot of the primary equipment and the slave equipment, the primary equipment can concurrently send the resource acquisition request to the slave equipment, the slave equipment returns the resource data to the primary equipment in time-sharing; therefore, the resource acquisition on the slave equipment by the primary equipment can be fast and accurately accomplished, the communication conflict is avoided; the resource acquisition has concurrence, high efficiency, security and redundancy; the management is convenient, and the bulk data acquisition demands of the communication equipment can be satisfied.

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 Applications(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