Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Master-slave multi-computer communication system, master computer, slave computers and slave computer ID (identification) assigning method

A technology of communication system and distribution method, which is applied in the field of master-slave multi-machine communication system, can solve the problems of increased hardware cost and complicated hardware circuit design, and achieve the effect of increasing hardware cost

Inactive Publication Date: 2017-01-11
SUNGROW POWER SUPPLY CO LTD
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The commonly used slave ID allocation method is to use a hardware circuit such as a dial switch to allocate the ID of each slave. However, due to the need to add additional hardware circuits, the cost of the hardware increases, and the more the number of slaves, the more complex the hardware circuit design.

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
  • Master-slave multi-computer communication system, master computer, slave computers and slave computer ID (identification) assigning method
  • Master-slave multi-computer communication system, master computer, slave computers and slave computer ID (identification) assigning method
  • Master-slave multi-computer communication system, master computer, slave computers and slave computer ID (identification) assigning method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0032] see figure 2 , the embodiment of the present invention discloses a slave ID allocation method, which is applied to the master in the master-slave multi-machine communication system, so as to realize the slave ID allocation without increasing the hardware cost. The method includes:

[0033] Step S01: Generate and send a broadcast command carrying the current value of the counter to all slaves; wherein, the broadcast command is used to control slaves wit...

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 master-slave multi-computer communication system, a master computer, slave computers and a slave computer ID (identification) assigning method for assigning slave computer ID without increasing hardware cost. The method includes the steps: generating a broadcast command carrying a current value of a counter and transmitting the broadcast command to all the slave computers; judging whether ID unassigned slave computers are present in the system or not; updating the current value of the counter and generating and transmitting the broadcast command carrying the updated current value of the counter to all the slave computers when receiving data returned by a bus competition slave computer if the ID unassigned slave computers are present in the system; judging whether ID unassigned slave computers are present in the master-slave multi-computer communication system or not again until judging that ID is assigned for all the slave computers. The broadcast command is used for controlling the ID unassigned slave computers to participate in bus competition, and the bus competition slave computer is used for storing the current value of the counter carried by the broadcast command as a sole ID and stopping the data transmission function of the slave computer.

Description

technical field [0001] The present invention relates to the technical field of communication, and more specifically, relates to a master-slave multi-machine communication system, a master, a slave, and a slave ID distribution method. Background technique [0002] The master-slave multi-machine communication system is a communication network composed of an upper host computer (referred to as the host) for management and several lower slave computers (referred to as the slaves) that directly participate in the control and detection, and are connected to the same bus. Such as figure 1 shown. The communication data transmission authority of the entire communication network is controlled by the master, and the slave can only passively receive and execute the commands sent by the master and return data according to the requirements of the master. When the host performs point-to-point communication with the slave, it needs to know the ID of the slave in advance to achieve communi...

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/40H04L29/12G06F13/40
CPCH04L12/40019G06F13/4031H04L61/5038
Inventor 江才赵德勇许林冲
Owner SUNGROW POWER SUPPLY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products