Device and method for realizing multiple hosts based on single-master multi-slave protocol

A protocol implementation and multi-host technology, applied in computer control, instruments, simulators, etc., can solve problems such as low communication efficiency, unreasonable use of single-chip memory resources and logic unit resources, etc., to reduce upgrade time, reduce upgrade risks, The effect of reliable communication

Pending Publication Date: 2019-12-03
徐州可云智能科技有限公司
View PDF1 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method does not fundamentally solve data collisions, and the single-threaded execution mode of polling interruption and master-slave interaction in turn does not make reasonable use of single-chip memory resources and logic unit resources, resulting in low communication efficiency, which urgently needs to be improved.

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
  • Device and method for realizing multiple hosts based on single-master multi-slave protocol
  • Device and method for realizing multiple hosts based on single-master multi-slave protocol
  • Device and method for realizing multiple hosts based on single-master multi-slave protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The technical solution of the present invention will be clearly and completely described below.

[0044] A device that realizes multi-master based on the single-master multi-slave protocol, such as figure 1 As shown, it includes: a processor module, at least two master access modules, and at least one slave access module;

[0045] The host access module and the slave access module are respectively connected to the processor module for realizing communication between the host and the processor module, and between the slave and the processor module. The invention expands one host interface on the original single host communication network, and has three communication interfaces in total, providing a hardware basis for multi-host communication.

[0046] further, such as Figure 9 As shown, the processor module includes a processor modeled as STC15W and its minimum system. STC15W supports external RAM expansion, which facilitates the storage of communication data between...

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 provides a device and a method for realizing multiple hosts based on a single-master multi-slave protocol. The device comprises a processor module, at least two host access modules and at least one slave access module. The host access modules and the slave access module are respectively connected with the processor module and are used for realizing the communication between the hostsand the processor module and between slave machines and the processor module. A host interface is expanded on an original single-master 485 network, three RS485 interfaces are provided in total, power supply isolation and signal isolation are adopted for each interface, and a TVS and a resettable fuse are provided. A cache coordination software algorithm is combined, when the two hosts communicate at the same time, the data of a host of another path is cached, when a bus is idle, another path communicates, so that the problem of a communication failure of multiple hosts on a single-master multi-slave protocol is completely solved, the data collision is avoided, memory resources and logic unit resources of a processor are reasonably utilized, and the device has the advantages of reliable communication and high efficiency.

Description

technical field [0001] The invention relates to the field of single-master-multiple-slave communication, in particular to a device and method for realizing multi-master based on a single-master-multiple-slave protocol. Background technique [0002] With the introduction of the concept of the Internet of Things and the implementation of related industries, the Internet of Things industry has ushered in rapid development. Electronic sensors, instruments, equipment, controllers, etc., and electronic terminal equipment all over the world have the need to access the Internet of Things. , and the vast majority of stock terminals do not have redundant interfaces to join the Internet of Things, which makes the last mile of the Internet of Things face a huge challenge. [0003] In the stock market, most of the instruments, controllers, sensors, etc. use the 2-wire 485, and most of the supported protocols are MODBUS protocol and free protocol. The Modbus protocol adopts a simple mast...

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): G05B19/042
CPCG05B19/0423G05B2219/24215
Inventor 姜浩周雪艳张淑珍
Owner 徐州可云智能科技有限公司
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