CN101692220A - Method for managing equipment numbers of distributed system - Google Patents

Method for managing equipment numbers of distributed system Download PDF

Info

Publication number
CN101692220A
CN101692220A CN200910193415A CN200910193415A CN101692220A CN 101692220 A CN101692220 A CN 101692220A CN 200910193415 A CN200910193415 A CN 200910193415A CN 200910193415 A CN200910193415 A CN 200910193415A CN 101692220 A CN101692220 A CN 101692220A
Authority
CN
China
Prior art keywords
device number
distributed system
transport protocol
equipment numbers
data transport
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200910193415A
Other languages
Chinese (zh)
Other versions
CN101692220B (en
Inventor
黄晓东
吴鹏
景博
刘伟俭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Gaohang Intellectual Property Operation Co ltd
Jiangsu Beichen Environment Science & Technology Co ltd
Original Assignee
Vtron Technologies Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN2009101934154A priority Critical patent/CN101692220B/en
Publication of CN101692220A publication Critical patent/CN101692220A/en
Application granted granted Critical
Publication of CN101692220B publication Critical patent/CN101692220B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The invention relates to the management of equipment numbers, and provides a method for managing the equipment numbers of a distributed system. The method comprises the following steps: connecting a plurality of slave plates in serial by a signal line, and connecting a master plate with the signal line; presetting a data transmission protocol for one-way transmission to allow the master plate to transmit data to the plurality of slave plates simultaneously according to the data transmission protocol; setting the equipment numbers on the master plate, packaging the equipment numbers according to the data transmission protocol, and transmitting the equipment numbers through the signal line; and analyzing the equipment numbers from the signal line by the slave plates according to the data transmission protocol and storing the equipment numbers. The technical scheme can save the chip I/O, reduce the number of back plate connectors and connecting line pins and save the PCB area and the line cost. The adopted data transmission protocol for the one-way transmission can reduce the error rate, ensure the reliability of data transmission, and support the unlimited scale of the distributed system.

Description

The method for managing equipment numbers of distributed system
Technical field
The present invention relates to the device number management, be specifically related to a kind of method for managing equipment numbers of distributed system.
Background technology
Distributed system is meant a complete hardware device system, comprises a mainboard and polylith slave plate, connects by backboard or connecting line between them, and mainboard and slave plate are finished a function by bus.In the large scale system that a plurality of distributed systems are together in series, just need go to distinguish each different distributed system by device number.
At present, the method for device number configuration is by mainboard this machine equipment number to be set, and mainboard is connected with each slave plate by many signal wires, reads the level value that signal wire fixes by logical device and obtain device number when slave plate starts.As shown in Figure 1, Fig. 1 is the parallel connection diagram of mainboard and slave plate in the distributed system, because being connected between mainboard and the slave plate is to adopt the parallel relation that connects, can take many signal wires of backboard, can not make full use of resource.When the number of devices of expansion reached some, this method can be subjected to certain restriction, and made that the number of devices of expansion is restricted.
Summary of the invention
The objective of the invention is to, propose a kind of method for managing equipment numbers of distributed system, can make full use of backboard signal wire resource, and support that the number of devices of expansion is unrestricted.
The method for managing equipment numbers of the distributed system that the present invention proposes comprises:
Step S1, it is connected in series that described some slave plates are passed through a signal wire, and described mainboard is connected with this signal wire;
Step S2 sets in advance the Data Transport Protocol that is used for one-way transmission, makes described mainboard transfer data to described some slave plates simultaneously according to described Data Transport Protocol;
Step S3 is provided with device number at described mainboard, and described device number is packed according to described Data Transport Protocol, goes out from described signal wire transmits; Parse described device number and preserve from described signal wire according to described Data Transport Protocol by described slave plate.
The method for managing equipment numbers of the distributed system that the present invention proposes, by a signal wire that all slave plates are connected in series, mainboard and each slave plate communicate, thereby many signal wires have been replaced, made full use of the signal wire resource of backboard, the area of both having saved PCB has also been saved the cost of wire rod; And carry out one-way transmission according to the Data Transport Protocol that sets in advance, can support that the distributed system scale is unrestricted, support that promptly the number of devices of expansion is unrestricted.
Description of drawings
Fig. 1 is mainboard and the parallel connection diagram of slave plate in the distributed system;
Fig. 2 is the method for managing equipment numbers process flow diagram of distributed system;
Fig. 3 is mainboard and a slave plate synoptic diagram connected in series in the distributed system.
Embodiment
The mode that the present invention adopts single serial to handle solves the problem of existing distributed system device number management, has saved the space of connecting up on the backboard, also can make the number of devices of expansion unrestricted simultaneously.
Embodiment 1:
Present embodiment is described a kind of method for managing equipment numbers of distributed system, and distributed system comprises mainboard and some slave plates, and as shown in Figure 2, this method specifically comprises:
Step S1, it is connected in series that some slave plates are passed through a signal wire, and mainboard is connected with this signal wire.As shown in Figure 3, Fig. 3 is mainboard and a slave plate synoptic diagram connected in series in the distributed system.In Fig. 2, comprise some slave plates: slave plate 1, slave plate 2 and slave plate n; Mainboard inserts each slave plate simultaneously by a signal wire.The interface of all slave plates all is an open-drain, in use bus is added pull-up resistor, the scope of this pull-up resistor for 3k Ω to 6k Ω.
Step S2 sets in advance the Data Transport Protocol that is used for one-way transmission, makes mainboard transfer data to some slave plates simultaneously according to Data Transport Protocol.The parallel connection of prior art is changed into connected in series, do not do anyly the direct communication meeting being set occurring than high bit-error, reliability reduces.The present invention has defined the Data Transport Protocol of one-way transmission, carries out the one-way data transmission according to this agreement between mainboard and the slave plate.In the present embodiment, be used for the Data Transport Protocol of one-way transmission below the proposition: setting in advance 0~23 interval is the synchronous head part, and setting in advance 23~31 interval is the device number part, and setting in advance 31~39 interval is the end mark part.In the whole Data Transport Protocol, comprise 0~39 interval of 40bit altogether, this interval is divided into synchronous head, device number and three parts of end mark as requested.Wherein, in synchronous head part, being provided with in 0~7 interval needs 55 of transmission 16 systems, and being provided with in 7~15 interval needs 55 of transmission 16 systems, and the FF that needs transmission 16 systems is set in 15~23 intervals.In the device number part, the described device number that needs transmission is set.In the end mark part, the AA that needs transmission 16 systems is set.This Data Transport Protocol that present embodiment proposes is not limited to this, and this Data Transport Protocol according to proposing can reduce the bit error rate, guarantees reliability of data transmission.In Fig. 2, the device number waveform that indicates among the figure is the specific waveforms of transmitting on the hardware line, and this waveform has transmitted the information of device number.
Step S3 is provided with device number at mainboard, and device number is packed according to Data Transport Protocol, goes out from signal wire transmits; Parse device number and preserve from signal wire according to Data Transport Protocol by slave plate.After setting up device number, this device number of electro-detection on the mainboard, the mode of detection can be to detect the value of setting of precognition, for example Pei Zhi register or the like.This device number is packaged then goes out from signal wire transmits, and mainboard enters waiting status.After slave plate powers on, parse device number from signal wire, the process of parsing is carried out according to Data Transport Protocol.Slave plate is preserved the device number that parsing obtains then.Mainboard and all slave plates all belong to a distributed system, we can say that also mainboard and polylith slave plate all belong to same equipment, according to the method described above, transmit information by a signal wire, and each piece slave plate has all obtained identical device number.
Further optimization as the foregoing description, after step S3, also comprise step: change if detect device number, at least judge whether the device number that changes all is identical value continuous 3 times, if the result of continuous 3 judgements is identical value, think that then device number changes, parse the device number of change and preserve from signal wire according to Data Transport Protocol by slave plate; Otherwise, think that the device number of this change is misdata and abandons.Mainboard is for guaranteeing the real-time update of device number, needs periodically checkout equipment number, sees whether device number changes, and under the situation that device number changes, the device number that changes is sent on the signal wire.Slave plate is then constantly resolved from signal wire, find to resolve obtain a complete device number after, judge continuously then whether 3 these device numbers all are identical values, for preventing erroneous judgement, need to judge at least continuously 3 times, if that continuous 3 judgements obtain is different results, think that then wrong data also abandon these data; If continuous 3 judgements all are to obtain same device number, then slave plate is preserved the device number of this change, and when realizing that device number is modified, all slave plates can be synchronous.
The method for managing equipment numbers of the distributed system that the present invention proposes can be saved chip I/O, saves back panel connector and connecting line pin number, can also save PCB area and wire rod cost.And, can reduce the bit error rate owing to be used for the Data Transport Protocol of one-way transmission, and guarantee reliability of data transmission, support that the scale of distributed system is unrestricted.On ark 3000 processor products of prestige wound company, the technical scheme of having used the present invention to propose, the cascade number of support reaches 255 equipment.
Above-described embodiment of the present invention does not constitute the qualification to protection domain of the present invention.Any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection domain of the present invention.

Claims (3)

1. the method for managing equipment numbers of a distributed system, described distributed system comprises mainboard and some slave plates, it is characterized in that, comprising:
Step S1, it is connected in series that described some slave plates are passed through a signal wire, and described mainboard is connected with this signal wire;
Step S2 sets in advance the Data Transport Protocol that is used for one-way transmission, makes described mainboard transfer data to described some slave plates simultaneously according to described Data Transport Protocol;
Step S3 is provided with device number at described mainboard, and described device number is packed according to described Data Transport Protocol, goes out from described signal wire transmits; Parse described device number and preserve from described signal wire according to described Data Transport Protocol by described slave plate.
2. the method for managing equipment numbers of distributed system according to claim 1, it is characterized in that, the process that sets in advance the Data Transport Protocol that is used for one-way transmission among the step S2 specifically comprises: at described Data Transport Protocol, setting in advance 0~23 interval is the synchronous head part, setting in advance 23~31 interval is the device number part, and setting in advance 31~39 interval is the end mark part; In described synchronous head part, being provided with in 0~7 interval needs 55 of transmission 16 systems, and being provided with in 7~15 interval needs 55 of transmission 16 systems, and the FF that needs transmission 16 systems is set in 15~23 intervals;
In described device number part, the described device number that needs transmission is set;
In described end mark part, the AA that needs transmission 16 systems is set.
3. the method for managing equipment numbers of distributed system according to claim 1 and 2, it is characterized in that, after step S3, also comprise step: change if detect described device number, at least judge whether the device number that changes all is identical value continuous 3 times, if the described continuous result who judges for 3 times is identical value, think that then device number changes, parse the device number of change and preserve from described signal wire according to described Data Transport Protocol by described slave plate; Otherwise, think that the device number of this change is misdata and abandons.
CN2009101934154A 2009-10-28 2009-10-28 Method for managing equipment numbers of distributed system Expired - Fee Related CN101692220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101934154A CN101692220B (en) 2009-10-28 2009-10-28 Method for managing equipment numbers of distributed system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101934154A CN101692220B (en) 2009-10-28 2009-10-28 Method for managing equipment numbers of distributed system

Publications (2)

Publication Number Publication Date
CN101692220A true CN101692220A (en) 2010-04-07
CN101692220B CN101692220B (en) 2012-05-09

Family

ID=42080910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101934154A Expired - Fee Related CN101692220B (en) 2009-10-28 2009-10-28 Method for managing equipment numbers of distributed system

Country Status (1)

Country Link
CN (1) CN101692220B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488010A (en) * 2016-01-06 2016-04-13 成都南瑞科能电气自动化有限公司 Real-time synchronous interface protocol of backboard

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5640521A (en) * 1992-06-17 1997-06-17 Texas Instruments Incorporated Addressable shadow port and protocol with remote I/O, contol and interrupt ports
CN100338845C (en) * 2004-12-24 2007-09-19 上海协同科技股份有限公司 Input / output module of inner communication through serial synchronous communication bus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488010A (en) * 2016-01-06 2016-04-13 成都南瑞科能电气自动化有限公司 Real-time synchronous interface protocol of backboard
CN105488010B (en) * 2016-01-06 2018-11-23 东阳市前途工业设计有限公司 A kind of backboard real-time synchronization interface protocol

Also Published As

Publication number Publication date
CN101692220B (en) 2012-05-09

Similar Documents

Publication Publication Date Title
CN106776436B (en) A kind of communication means of the high-speed serial bus suitable for multiple spot interconnection
CN101399654B (en) Serial communication method and apparatus
Peña et al. Uart: A hardware communication protocol understanding universal asynchronous receiver/transmitter
CN105700510B (en) The disperse errors detection method and CAN communication system of CAN communication system
CN100366029C (en) Communication controller, host-side controller, communication equipment, communication system and method
CN102984059B (en) Gigabit Ethernet redundancy network interface card and link switching condition criterion output control method thereof
CN105205021B (en) Disconnect the method and apparatus linked between PCIe device and main frame
CN101312302B (en) Parallel signal transmission method of uninterrupted power source
CN101873299B (en) Serial bus, communication method and system
CN100546262C (en) A kind of broadband aviation electronic bus testing apparatus and method of operation thereof
CN102577254A (en) Methods and systems for fail-safe communication
CN105354159A (en) RS485 distributed bus system based control method
CN108234267B (en) Communication system based on M-LVDS real-time multi-master high-speed bus
CN104850526A (en) Method for time synchronization in dynamically reconfigurable high-speed serial bus
CN102035688A (en) Design method for rapidly controlling network link access
CN105183687A (en) Time-sharing serial communication method and system
CN108920401A (en) It is more main mostly from I2C communication means, system and node device
CN102098196B (en) The data transmission method of blade server
CN201072431Y (en) Broadband aviation electronic bus testing device
CN101547526B (en) Fault handling method, wireless device and communication system
CN101692220B (en) Method for managing equipment numbers of distributed system
CN103885910B (en) The method that many equipment carry out IIC communications under holotype
CN107465487B (en) Bus data sending method, system and sub-equipment
CN208386577U (en) Communication system based on M-LVDS how main high-speed bus in real time
CN102638589A (en) Determining method of corresponding connection relation of channels, as well as related connecting ends and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Kezhu road high tech Industrial Development Zone, Guangzhou city of Guangdong Province, No. 233 510670

Patentee after: VTRON GROUP Co.,Ltd.

Address before: 510663 Guangzhou province high tech Industrial Development Zone, Guangdong, Cai road, No. 6, No.

Patentee before: VTRON TECHNOLOGIES Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201125

Address after: No.1 Dongyue Road, Jiang'an Town, Rugao City, Nantong City, Jiangsu Province

Patentee after: JIANGSU BEICHEN ENVIRONMENT SCIENCE & TECHNOLOGY Co.,Ltd.

Address before: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Effective date of registration: 20201125

Address after: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Address before: Kezhu road high tech Industrial Development Zone, Guangzhou city of Guangdong Province, No. 233 510670

Patentee before: VTRON GROUP Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120509

Termination date: 20211028