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

Method for managing equipment numbers of distributed system Download PDF

Info

Publication number
CN101692220B
CN101692220B CN2009101934154A CN200910193415A CN101692220B CN 101692220 B CN101692220 B CN 101692220B CN 2009101934154 A CN2009101934154 A CN 2009101934154A CN 200910193415 A CN200910193415 A CN 200910193415A CN 101692220 B CN101692220 B CN 101692220B
Authority
CN
China
Prior art keywords
device number
transport protocol
distributed system
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.)
Expired - Fee Related
Application number
CN2009101934154A
Other languages
Chinese (zh)
Other versions
CN101692220A (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 through backboard or connecting line between them, and mainboard and slave plate are accomplished a function through 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 through device number.
At present, the method for device number configuration is through mainboard this machine equipment number to be set, and mainboard is connected with each slave plate through many signal wires, when slave plate starts, reads the level value that signal wire fixes through logical device and obtains device number.As shown in Figure 1, to be that mainboard and slave plate are parallel in the distributed system is connected synoptic diagram to Fig. 1, because being connected between mainboard and the slave plate is the relation that adopts parallel connection, 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 receive certain restriction, and made the number of devices of expansion that restriction arranged.
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 the number of devices of support expanded 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 said some slave plates are passed through a signal wire, and said mainboard is connected with this signal wire;
Step S2 is provided for the Data Transport Protocol of one-way transmission in advance, makes said mainboard transfer data to said some slave plates simultaneously according to said Data Transport Protocol;
Step S3 is provided with device number at said mainboard, and said device number is packed according to said Data Transport Protocol, goes out from said signal wire transmits; Parse said device number and preserve from said signal wire according to said Data Transport Protocol by said slave plate.
The method for managing equipment numbers of the distributed system that the present invention proposes; Through a signal wire that all slave plates are connected in series; Mainboard communicates with each slave plate; Thereby replaced many signal wires, made full use of the signal wire resource of backboard, the area of both having practiced thrift PCB has also been saved the cost of wire rod; And the Data Transport Protocol according to being provided with in advance carries out one-way transmission, can support that the distributed system scale is unrestricted, and promptly the number of devices of support expanded is unrestricted.
Description of drawings
Fig. 1 is a mainboard and the parallel synoptic diagram that is connected 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 is as shown in Figure 2, and 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 through 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 is provided for the Data Transport Protocol of one-way transmission in advance, 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: it is the synchronous head part that 0~23 interval is set in advance, and it is the device number part that 23~31 interval is set in advance, and it is the end mark part that 31~39 interval is set in advance.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 said 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 device number has been set, this device number of electro-detection on the mainboard, the mode of detection can be to detect the settings of prevision, for example register of configuration or the like.This device number is packed and is gone out from signal wire transmits then, and mainboard gets into 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 all belongs to same distributed system with all slave plates, we can say that also mainboard and polylith slave plate all belong to same equipment, according to the method described above, transmits information through 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: if detecting device number changes, whether the device number that continuous at least 3 judgements change all is equal values, if the result of continuous 3 judgements is an equal values; 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 equal values,, need to judge at least continuously 3 times for preventing erroneous judgement; 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 within spirit of the present invention and principle, being done, be equal to replacement and improvement etc., all should be included within the claim protection domain of the present invention.

Claims (2)

1. the method for managing equipment numbers of a distributed system, said distributed system comprises mainboard and some slave plates, it is characterized in that, comprising:
Step S1, it is connected in series that said some slave plates are passed through a signal wire, and said mainboard is connected with this signal wire;
Step S2 is provided for the Data Transport Protocol of one-way transmission in advance, makes said mainboard transfer data to said some slave plates simultaneously according to said Data Transport Protocol;
Step S3 is provided with device number at said mainboard, and said device number is packed according to said Data Transport Protocol, goes out from said signal wire transmits; Parse said device number and preserve from said signal wire according to said Data Transport Protocol by said slave plate;
The process that is provided for the Data Transport Protocol of one-way transmission among the step S2 in advance specifically comprises: in said Data Transport Protocol; Be provided with in advance and be the synchronous head part between 0~23 bit area; Be provided with in advance and be the device number part between 23~31 bit area, be provided with in advance between 31~39 bit area and be the end mark part; In said synchronous head part, between 0~7 bit area, being provided with needs 55 of transmission 16 systems, and between 7~15 bit area, being provided with needs 55 of transmission 16 systems, and the FF that needs transmission 16 systems is set between 15~23 bit area;
In said device number part, the said device number that needs transmission is set;
In said end mark part, the AA that needs transmission 16 systems is set.
2. the method for managing equipment numbers of distributed system according to claim 1; It is characterized in that, after step S3, also comprise step: change if detect said device number; At least judge whether the device number that changes all is equal values continuous 3 times; If the continuous result who judges for 3 times is an equal values, think that then device number changes, parse the device number of change and preserve from said signal wire according to said Data Transport Protocol by said 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 CN101692220A (en) 2010-04-07
CN101692220B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488010B (en) * 2016-01-06 2018-11-23 东阳市前途工业设计有限公司 A kind of backboard real-time synchronization interface protocol

Citations (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
CN1797900A (en) * 2004-12-24 2006-07-05 上海协同科技股份有限公司 Input / output module of inner communication through serial synchronous communication bus

Patent Citations (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
CN1797900A (en) * 2004-12-24 2006-07-05 上海协同科技股份有限公司 Input / output module of inner communication through serial synchronous communication bus

Also Published As

Publication number Publication date
CN101692220A (en) 2010-04-07

Similar Documents

Publication Publication Date Title
CN101399654B (en) Serial communication method and apparatus
CN106776436B (en) A kind of communication means of the high-speed serial bus suitable for multiple spot interconnection
CN105700510B (en) The disperse errors detection method and CAN communication system of CAN communication system
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
CN100573382C (en) Based on I 2The communication system of C and communication means
CN103490959B (en) A kind of dual-redundant CAN bus fault detection method
CN101873299B (en) Serial bus, communication method and system
CN102387074B (en) Line processing unit (LPU) card in-place detecting and resetting method and main processing unit (MPU) card and LPU card
CN103248526A (en) Communication equipment and method for achieving out-of-band monitoring and management, and master-slave switching method
CN105119793A (en) Identifier distribution method of sensor network CAN bus frame format
CN105354159A (en) RS485 distributed bus system based control method
CN108234267B (en) Communication system based on M-LVDS real-time multi-master high-speed bus
CN102253913A (en) Device for carrying out state acquisition and output control on multi-board-card port
CN101312302A (en) Parallel signal transmission method of uninterrupted power source
CN103428114A (en) ATCA (advanced telecom computing architecture) 10-gigabit switching board and system
CN101582797A (en) Management board and two-unit standby system and method
CN102148724A (en) Link detecting method and network access device
CN103729333A (en) Backplane bus structure sharing multiple channel time slots and implementation method thereof
CN104424680A (en) Entrance guard redundancy control system
JP2000196700A (en) Start-stop synchronization data transmitting method
CN108920401A (en) It is more main mostly from I2C communication means, system and node device
CN101692220B (en) Method for managing equipment numbers of distributed system
CN101667953A (en) Reporting method of rapid looped network physical link state and device therefor
CN201072431Y (en) Broadband aviation electronic bus testing device

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

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.

CP03 Change of name, title or address
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.

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

Granted publication date: 20120509

Termination date: 20211028

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