CN1319339C - Method and device for configuring one-board information - Google Patents

Method and device for configuring one-board information Download PDF

Info

Publication number
CN1319339C
CN1319339C CNB2003101037804A CN200310103780A CN1319339C CN 1319339 C CN1319339 C CN 1319339C CN B2003101037804 A CNB2003101037804 A CN B2003101037804A CN 200310103780 A CN200310103780 A CN 200310103780A CN 1319339 C CN1319339 C CN 1319339C
Authority
CN
China
Prior art keywords
configuration
control device
veneer
status
information
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
CNB2003101037804A
Other languages
Chinese (zh)
Other versions
CN1612540A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2003101037804A priority Critical patent/CN1319339C/en
Publication of CN1612540A publication Critical patent/CN1612540A/en
Application granted granted Critical
Publication of CN1319339C publication Critical patent/CN1319339C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The present invention provides a method for configuring information of a single board, which is used for configuring a system composed of a plurality of single boards. The method comprises the steps that a single board is powered up and a configuration signal is driven to enter a configuration state; the information of the single board is configured in a dynamic mode; after the configuration of the information of the single board is completed, a signal for confirming the completion of the configuration is outputted; if the system detects the signal, the configuration of the single board is a success, and the single board is allowed to work; if the system does not detect the signal, the single board is configured for the second time. The present invention also provides an apparatus for configuring the information of the single board, which comprises a control apparatus, a configuration executing apparatus and a configuration state controlling apparatus. By using the present invention, the problem of ID (mark) configuration of a functional module in a communication device can be solved by using only a few signal wires, and the fault rate of the system is lowered; in addition, the ID signal wires can also be checked in the process of the ID configuration, and the systematic fault caused at the time when a fault happens to the ID is avoided.

Description

A kind of collocation method of single board information and device
Technical field
The present invention relates to the communication equipment technical field, be specifically related to a kind of collocation method and device of single board information.
Background technology
Generally be equipped with a plurality of circuit boards in the existing communication equipment, every circuit board is a basic functions unit.Usually the circuit board that will communicate with the control appliance of communication system is called control module, and other circuit board in the equipment is called functional module.Equipment is controlled mutual with information by control module to other functional module.Each module combinations is cooperated mutually together and is finished the function of system jointly.Between control module and the functional module and communicate by letter between each functional module, at first need to set up unique sign (ID).This sign is as the essential information during communication between each module of communication system, and this information can be used for the mutual purpose module of unique identification information.Usually all communication all needs the purpose sign, and for example: the sign of ethernet communication can be MAC Address or IP address, and the sign of Computer I SA bus communication is the address.The another one problem that ID solves is that communication needs also to know that the ID address of present communication is the address of which groove position circuit board in the corresponding system after setting up, and promptly requires ID corresponding one by one with circuit board.
At present, the home address of functional module is normally distinguished by address wire in the communication equipment, promptly by on its connector, introducing several holding wires, distinguish the sign or the mailing address of difference in functionality module according to the state of these holding wires, and the status signal of these introducings is directly connected to power supply or ground by resistance usually on motherboard, promptly as long as functional module is inserted certain groove position, then the connector on the motherboard of this functional module connection is just fixing, also say so, the ID of each groove position fixes.After functional module powers on, directly read fixing id information, and as the identification information of each module in the communication later on.Simultaneously, also set up the one-to-one relationship with the module slot position of system ID number.
Along with developing rapidly of information technology and communication industry, big capacity, high performance communication equipment are widely used in the communication network, and be also more and more higher to the requirement of the reliability and maintainability of these equipment thereupon.Simultaneously, along with the increase of functions of the equipments, the structure of circuit board also becomes increasingly complex, stable the stable of each veneer that at first depend on of equipment.Adopt the at present this method of distinguishing the difference in functionality module by address wire also to have following shortcoming:
1, the ID condition line of these method needs is more, and the corresponding probability that breaks down is also than higher.For example: if a system inserts 20 modules, then this system may come each groove position of unique identification by at least 5 holding wires.The ID holding wire needs 100 altogether, and any one signal is made mistakes, and all can cause system to break down.
2, whether this method can't correctly detect ID number.If ID breaks down, may cause communication disruption or fault between this system board, even cause systemic breakdown.
3, this method poor expandability.In case the ID signal figure place of wiring board is fixed, then this wiring board can only use corresponding number of I D holding wire, can't expand.
Summary of the invention
The invention provides a kind of collocation method and device of single board information, to solve the stability that prior art exists and the problem of autgmentability difference.
For this reason, the invention provides following technical scheme:
A kind of collocation method of single board information is used for the configuration of the system that is made up of a plurality of veneers, and described system comprises control device, and described method comprises step:
A, power up and need the veneer that disposes in described a plurality of veneer, so that the described veneer that will dispose sends the drive arrangements signal to enter its configuration status;
B, after entering described configuration status, the described single board information of dynamic-configuration;
After c, the configuration of described single board information are finished, drive described configuration signal and make described configuration signal be the configuration completion status;
After d, described veneer detected described configuration signal and be described configuration completion status, confirmation signal was finished in the output configuration;
Confirmation signal is finished in e, the described configuration of detection, if detect, then shows described veneer configuration successful, allows veneer to enter operating state; If do not detect, then return step a and restart described veneer is configured.
Single board information comprises among the described step b: veneer ID and/or described single board state information.
Described step a specifically comprises step:
A1, the described veneer of power-up initializing;
A2, drive described configuration signal, make described veneer enter the wait configuration status;
After a3, described control device detect described veneer and entered described wait configuration status, send configuration order to described veneer by described control device;
A4, described veneer enter configuration status according to the described configuration order that receives.
Described step b specifically comprises step:
B1, control device send described veneer collocation information to described veneer;
B2, described veneer receive described veneer collocation information.
Confirmation signal is finished in configuration in the described steps d: clock signal.
Also comprise the steps: before restarting described veneer is configured returning step a
Setting is to the configured number threshold value of described veneer;
Described restarting after number of times that described veneer is configured surpasses the configured number threshold value of setting to described veneer, then transmitting single plate fault warning information.
The present invention also provides a kind of inking device of single board information, and this device comprises:
Control device, configuration final controlling element and configuration status control device, it is characterized in that, described configuration status control device is coupled to described control device and described configuration final controlling element by different passages respectively, and described control device also is coupled to described configuration final controlling element; Described control device is used to drive the status signal of described configuration status control device output needs, and issue configuration information, described configuration final controlling element is used to drive the status signal of described configuration status control device output needs, and carry out the configuration information that described control device issues, described configuration status control device is used for the status signal according to the drive controlling output needs of described control device and described configuration final controlling element.
Described control device also comprises:
The control interface device is coupled to described configuration final controlling element, is used to issue configuration information and gives described configuration final controlling element;
Accessory drive is coupled to described configuration status control device, is used to drive the status signal of described configuration status control device output needs.
Described configuration final controlling element also comprises:
Configuration executive's interface device is coupled to described control device, is used for receiving and carrying out described configuration information;
Drive unit is carried out in configuration, is coupled to described configuration status control device, is used to drive the status signal of described configuration status control device output needs.
Described configuration status control device is made up of two open collector triodes and a resistance, the grounded emitter of two triodes, collector coupled is connected to an end of described resistance together, and be coupled to described control device and described configuration final controlling element, the other end of resistance is coupled to the forward power supply, the base stage of one of them triode is coupled to described control device, and the base stage of another triode is coupled to described configuration final controlling element.
Utilize the present invention, can utilize seldom even holding wire can solve the ID allocation problem of functional module in the communication equipment, reduced the failure rate of system, and, in the ID layoutprocedure, also can carry out verification, the system failure that causes when avoiding ID to make mistakes to the ID holding wire.In addition, owing to adopted dynamic information configuring methods in the present invention, further improved the scalability of equipment.
Description of drawings
Fig. 1 is the inking device block diagram of the preferred embodiments of the present invention single board information;
Fig. 2 is the detail flowchart of the collocation method of the preferred embodiments of the present invention single board information;
Fig. 3 is the configuration cycle sequential chart of the single board information in the collocation method of single board information of the present invention;
Fig. 4 is that the control device shown in Fig. 1 is at each working state figure constantly of configuration cycle;
Fig. 5 is that the configuration final controlling element shown in Fig. 1 is at each working state figure constantly of configuration cycle.
Embodiment
The present invention is described in further detail below in conjunction with drawings and embodiments:
At first with reference to Fig. 1, Fig. 1 is the inking device block diagram of the preferred embodiments of the present invention single board information, and as seen from the figure, described device is made up of three parts, is respectively: control device 11, configuration final controlling element 12, configuration status control device 13.Wherein, control device 11 also comprises: control interface device 101 and accessory drive 102; Configuration final controlling element 12 also comprises: drive unit 202 is carried out in configuration executive's interface device 201 and configuration; Configuration status control device 13 is made up of resistance 301 and two triodes (triode 302 and triode 303).The grounded emitter of two triodes, two collector coupled are together and be connected to an end of pull-up resistor 301, another termination forward power supply of resistance 301.The base stage of triode 302 is coupled to the control end of accessory drive 102, and collector coupled is to the test side of accessory drive 102; The base stage of triode 303 is coupled to the control end that drive unit 202 is carried out in configuration, and collector coupled is carried out the test side of drive unit 202 to configuration.The control end difference output drive signal control configuration status control device 13 that drive unit 202 is carried out in the control end of accessory drive 102 and configuration generates the status signal that needs, and inquire about this status signal by detection port separately respectively, in order to judge and to determine whether layoutprocedure is normally moved.In addition, control interface device 101 is coupled to configuration executive's interface device 201, is used for communicating with the configuration final controlling element, issues the reporting information that configuration information is given the configuration final controlling element and received the configuration final controlling element.
In the system that forms by a plurality of veneers, all add an inking device same as described above on each veneer, make the configuration signal line all unique to each veneer, mutual with the configuration information of realizing each veneer respectively finished the configuration of each single board information.
Below introduce in detail detailed step with the realization of the collocation method of the corresponding single board information of the present invention of said apparatus.
With reference to Fig. 2, Fig. 2 is the detail flowchart of the collocation method of the preferred embodiments of the present invention single board information:
At first, in step 20, the described veneer of power-up initializing comprises the configured number threshold value of setting veneer;
After the veneer initialization is finished, enter step 21, the drive arrangements signal enters the wait configuration status, be high-impedance state promptly by the control end that drives accessory drive shown in Figure 1 102, the control end that drive arrangements is carried out drive unit 202 is a low level, thereby makes the collector electrode output low level of two triodes;
Control device detect described veneer entered wait for configuration status after, promptly enter step 22, send configuration orders to veneer by control interface device 101;
Then, enter step 23, veneer receives above-mentioned configuration order and enters configuration status according to the described configuration order that receives by configuration executive's interface device 201, promptly the control end by drive arrangements execution drive unit 202 is a high-impedance state, thereby makes the collector electrode output high level of two triodes;
After control device learns that by the detection configuration signal veneer has entered configuration status, promptly enter step 24, according to the described veneer ID of pre-defined rule dynamic-configuration, issue the ID configuration information, carry out veneer ID configuration, for example, isa bus is during as the communication bus between control device and the veneer, choose low side 0x00~0x0f space as public id information configuration space, after veneer ID configuration finished, control device also can issue the single board state configuration information, carried out the single board state configuration, will be low level state by the control end that drives accessory drive shown in Figure 1 102 this moment also, thereby make the collector electrode output low level of two triodes;
Configuration enters step 25 after finishing, and the drive arrangements signal makes configuration signal enter the configuration completion status, is high-impedance state by the control end that drives accessory drive shown in Figure 1 102 promptly, thereby makes the collector electrode output high level of two triodes;
Then, enter step 26, veneer detects configuration signal for after disposing completion status, promptly exports the clock signal of certain frequency;
Enter step 27, control device detects this clock signal;
If detect, promptly show configuration successful, enter step 28, allow veneer to enter normal operating conditions;
If do not detect, then return step 20 pair this veneer and restart to be configured, if the number of times that reconfigures surpasses the configured number threshold value of predefined veneer, then transmitting single plate fault warning information.
In order to make those skilled in the art understand the present invention better, below in conjunction with veneer ID shown in Figure 3 configuration cycle sequential chart the present invention is further illustrated.
With reference to Fig. 3, Fig. 3 is the configuration cycle sequential chart of the single board information in the collocation method of single board information of the present invention:
The t1 moment:
Control device detects the information on the throne of veneer, and drive controlling end A is a high resistant.
The Board Power up initialization, drive controlling end B is a high resistant.
The configuration signal of test side is a high level.
The t2 moment:
It is low level that rear drive control end B is finished in the Board Power up initialization, enters the wait configuration status, even the configuration signal of test side is output as low level.
Configuration signal in the control device timing detection system.After the veneer insertion system is not disposed in discovery, by the system communication bus in the control interface device, for example; ISA (industrial standard architectures) or Ethernet etc. send configuration order, notify the veneer that newly powers on to prepare to enter configuration cycle.
The t3 moment:
After veneer was received the order that enters configuration cycle that control device sends, drive controlling end B was a high resistant, enters the wait configuration status, and at this moment, the configuration signal of test side is output as high level.
The configuration signal that control device detects the test side is a high level, then can judge veneer and enter configuration status.
The t4 moment:
Control device drive controlling end A is a low level, and is configured the mutual of information by the system communication bus in the control interface device with veneer.Comprise veneer id information and/or single board state information etc.
The t5 moment:
After control device was finished configuration, drive controlling end A was a high resistant, and making the configuration signal of test side is high level, enters the configuration completion status.
The t6 moment:
It is high level that veneer is finished the configuration signal that disposes and detect the test side, and then drive controlling end B exports the clock signal of certain frequency, in order to the expression configuration successful.
After control device is finished configuration information, whether clock signal output is arranged,, otherwise this configuration failure is described if clock signal output is arranged then show this configuration successful by detecting the test side.
Below with reference to Fig. 4 and Fig. 5 explanation in each of above-mentioned cycle constantly the time, control device among Fig. 1 and the reciprocal process of configuration final controlling element in the configuration of veneer ID:
With reference to Fig. 4, Fig. 4 is the working state figure in configuration cycle in each moment of the control device shown in Fig. 1:
The t1 moment: beginning.
Whether the t2 moment: detecting has veneer to insert.
The t3 moment: send configuration order and detect veneer whether enter configuration status.
T4 is constantly: the drive arrangements holding wire makes the test side of the control device 11 in the inking device block diagram of veneer ID shown in Figure 1 be output as low level, and finishes veneer ID configuration.
The t5 moment: end driving, and whether the detection veneer has clock output to the configuration signal line.
The t6 moment: configuration finishes.
Refer again to Fig. 5, Fig. 5 is the working state figure in configuration cycle in each moment of the configuration final controlling element shown in Fig. 1:
The t1 moment: power-up initializing.
The t2 moment: the rear drive configuration signal is finished in initialization, makes veneer enter the wait configuration status.
The t3 moment: receive the configuration order that control device sends, cancellation is to the driving of configuration signal.
T4 is constantly: accept the configuration of control device, and judge whether configuration successful, wherein, judge whether that signal that configuration successful mainly sends by receiving control device carries out.For example: sent the finish command at control device, then shown configuration successful.
The t5 moment: rear drive configuration signal clock signal is finished in configuration.
The t6 moment: configuration finishes.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, wish that appended claim comprises these distortion and variation and do not break away from spirit of the present invention.

Claims (9)

1, a kind of collocation method of single board information is used for the configuration of the system that is made up of a plurality of veneers, and described system comprises control device, it is characterized in that, described method comprises step:
A, the described veneer of power-up initializing; Drive described configuration signal, make described veneer enter the wait configuration status; After described control device detects described veneer and entered described wait configuration status, send configuration order to described veneer by described control device; Described veneer enters configuration status according to the described configuration order that receives;
B, after entering described configuration status, the described single board information of dynamic-configuration;
After c, the configuration of described single board information are finished, drive described configuration signal and make described configuration signal be the configuration completion status;
After d, described veneer detected described configuration signal and be described configuration completion status, confirmation signal was finished in the output configuration;
Confirmation signal is finished in e, the described configuration of detection, if detect, then shows described veneer configuration successful, allows veneer to enter operating state; If do not detect, then return step a and restart described veneer is configured.
2, the method for claim 1 is characterized in that, single board information comprises among the described step b: veneer ID (sign) and/or described single board state information.
3, method as claimed in claim 1 or 2 is characterized in that, described step b specifically comprises step:
B1, control device send described veneer collocation information to described veneer;
B2, described veneer receive described veneer collocation information.
4, the method for claim 1 is characterized in that, the configuration in the described steps d is finished confirmation signal and is: clock signal.
5, the method for claim 1 is characterized in that, also comprises the steps: before restarting described veneer is configured returning step a
Setting is to the configured number threshold value of described veneer;
Described restarting after number of times that described veneer is configured surpasses the configured number threshold value of setting to described veneer, then transmitting single plate fault warning information.
6, a kind of inking device of single board information, described device comprises: control device, configuration final controlling element and configuration status control device, it is characterized in that: described configuration status control device is coupled to described control device and described configuration final controlling element by different passages respectively, and described control device also is coupled to described configuration final controlling element; Described control device is used for issuing configuration information to the configuration final controlling element, and cooperates with the configuration final controlling element, to drive described configuration status control device; Described configuration final controlling element is used to carry out the configuration information that described control device issues, and cooperates with control device, to drive described configuration status control device; Described configuration status control device is used for the drive controlling according to described control device and described configuration final controlling element, the status signal that output needs.
7, device as claimed in claim 6 is characterized in that, described control device also comprises:
The control interface device is coupled to described configuration final controlling element, is used to issue configuration information and gives described configuration final controlling element;
Accessory drive is coupled to described configuration status control device, is used for cooperating with the configuration final controlling element, drives the status signal that described configuration status control device output needs.
8, device as claimed in claim 6 is characterized in that, described configuration final controlling element also comprises:
Configuration executive's interface device is coupled to described control device, is used for receiving and carrying out described configuration information;
Drive unit is carried out in configuration, is coupled to described configuration status control device, is used for cooperating with control device, drives the status signal that described configuration status control device output needs.
9, device as claimed in claim 6, it is characterized in that, described configuration status control device is made up of two open collector triodes and a resistance, the grounded emitter of two triodes, collector coupled is connected to an end of described resistance together, and be coupled to described control device and described configuration final controlling element, the other end of resistance is coupled to the forward power supply, the base stage of one of them triode is coupled to described control device, and the base stage of another triode is coupled to described configuration final controlling element.
CNB2003101037804A 2003-10-30 2003-10-30 Method and device for configuring one-board information Expired - Fee Related CN1319339C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101037804A CN1319339C (en) 2003-10-30 2003-10-30 Method and device for configuring one-board information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101037804A CN1319339C (en) 2003-10-30 2003-10-30 Method and device for configuring one-board information

Publications (2)

Publication Number Publication Date
CN1612540A CN1612540A (en) 2005-05-04
CN1319339C true CN1319339C (en) 2007-05-30

Family

ID=34756789

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101037804A Expired - Fee Related CN1319339C (en) 2003-10-30 2003-10-30 Method and device for configuring one-board information

Country Status (1)

Country Link
CN (1) CN1319339C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100421494C (en) * 2005-06-13 2008-09-24 上海华为技术有限公司 Data configuration method for access network device
CN101026480B (en) * 2006-02-20 2010-05-12 华为技术有限公司 IPMI subsystem and single chip power on method
CN103379528B (en) * 2012-04-28 2017-11-14 中兴通讯股份有限公司 Veneer auto-adaptive parameter collocation method, BBU, base station and base station sub-system BSS

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1325062A (en) * 2000-05-19 2001-12-05 英业达股份有限公司 Intelligent hardware installing method
CN1379330A (en) * 2001-04-06 2002-11-13 华为技术有限公司 Method for testing single board presence
US20030005274A1 (en) * 2000-07-17 2003-01-02 Bresemann David P. Resistor identification configuration circuitry and associated method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1325062A (en) * 2000-05-19 2001-12-05 英业达股份有限公司 Intelligent hardware installing method
US20030005274A1 (en) * 2000-07-17 2003-01-02 Bresemann David P. Resistor identification configuration circuitry and associated method
CN1379330A (en) * 2001-04-06 2002-11-13 华为技术有限公司 Method for testing single board presence

Also Published As

Publication number Publication date
CN1612540A (en) 2005-05-04

Similar Documents

Publication Publication Date Title
US6952785B1 (en) Methods and apparatus for powering a data communications port
CN102508533B (en) Reset control device and method
US6460093B1 (en) Automatic configuration of primary and secondary peripheral devices for a computer
US20020116482A1 (en) Network system, composite apparatus, control method of composite apparatus, and storage medium
CN101989205B (en) Software system upgrading method for universal serial bus (USB) equipment
CN101989246A (en) Electronic device capable of automatically switching master and slave equipment modes of universal serial bus (USB)
CN103186440B (en) Detect subcard method, apparatus and system in place
CN102521186A (en) USB (Universal Serial Bus) key and method for communicating with terminal thereof
CN100444147C (en) Master device, control method thereof, and electronic device having master device
WO2013174125A1 (en) Single board communication method, system and single board
CN1319339C (en) Method and device for configuring one-board information
CN111176913A (en) Circuit and method for detecting Cable Port in server
CN101620580A (en) Computer system and control method of the same
CN106155954A (en) The system and method that a kind of module identification and COM1 distribute automatically
US8391162B2 (en) Apparatus and method for testing SMNP cards
CN101033579B (en) Washing machine computer control plate with double-plate structure
CN115473749B (en) Method and circuit for realizing network card bypass function based on single chip microcomputer control
CN101377753A (en) Accessory test device and method
CN114296976A (en) I2C communication fault recovery method and system
CN112178881B (en) Self-checking method and device of RS485 network
JP2006031250A (en) Communication equipment and its control method
CN101146145B (en) Automatic testing system and method for power on and power off of transmission device
CN113253652A (en) Unit communication control device, method and unit
US6560750B2 (en) Method for providing master-slave heat-swapping apparatus and mechanism on a mono-ATA bus
CN114138540B (en) Distinguishing structure and method for sharing multiple same boards

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
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: 20070530

Termination date: 20161030