CN101340325A - Method and apparatus for detecting critical parameters of multi-sub-card system - Google Patents
Method and apparatus for detecting critical parameters of multi-sub-card system Download PDFInfo
- Publication number
- CN101340325A CN101340325A CNA2008101423008A CN200810142300A CN101340325A CN 101340325 A CN101340325 A CN 101340325A CN A2008101423008 A CNA2008101423008 A CN A2008101423008A CN 200810142300 A CN200810142300 A CN 200810142300A CN 101340325 A CN101340325 A CN 101340325A
- Authority
- CN
- China
- Prior art keywords
- subcard
- unit
- parameter
- information
- key parameter
- 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.)
- Pending
Links
Images
Abstract
The invention discloses a method for detecting the key parameters of a multi subcard system and a device thereof. The method comprises the following steps: a management unit sends a query command to a subcard unit; when the subcard unit makes response, in the subcard unit, information is collected, and analogue and digital are converted, then packaging into frames is carried out and the frames are sent back to the management unit; the management unit receives the returned frames and reads the information. The device comprises at least two subcard units and a management unit which is used for controlling the reading of various information and disposing and displaying the obtained information; each subcard unit comprises a collection module which is used for collecting the key parameters in the subcard unit, an A/D switch module which is used for carrying out the analogue to digital conversion on the collected parameters, and a data communication interface module which is used for collecting the parameters after the analogue to digital conversion, packing the parameters into the frames, and sending the parameters to the management unit. The method and the device of the invention can monitor the key parameters on each subcard in the system in real time, and also facilitate the problems positioning of the system, the tests and problems positioning in special environment, etc.
Description
Technical field
The present invention relates to the multi-sub-card system field, specifically, relate to method and device thereof that a kind of key parameter of each subcard to multi-sub-card system detects.
Background technology
Be accompanied by people to the improving constantly of information processing, communication speed and transmission quality requirements, correspondingly, various digital system equipment also constantly towards maximize, the densification development.In general, various large-scale system equipments all are made up of a plurality of subcards with different functions.More flexible and changeable for the function that makes system equipment, under the ordinary circumstance, the subcard in the same system equipment has tens kinds.In the system equipment running, key parameters such as the voltage on certain the piece subcard in the measuring system equipment, frequency, temperature are difficulty very, and simultaneously, the parameter on each piece subcard is also different.In order to monitor the relevant parameter of subcard more quickly and effectively, therefore, need a kind of accurately efficiently equipment finish detection to the subcard key parameter.
At present, available technology adopting the method by power supply is detected, it is under the known situation of the number of power sources of system and type, and the power information that collects is compared, and realizes monitoring.But adopt the limitation of said method to be, unknown system and unknown parameter are all had no idea to detect.
Summary of the invention
Technical problem to be solved by this invention provides a kind of method that the key parameter of multi-sub-card system is detected, and by this method, in system's operation, can monitor in real time the key parameter on each piece subcard in the system.
Another technical problem to be solved by this invention provides a kind of device of realizing said method.
A kind of method that the key parameter of multi-sub-card system is detected is characterized in that, may further comprise the steps:
1.1 administrative unit sends querying command to the subcard unit;
1.2 when the subcard cell response, in this subcard unit, carry out information gathering and analog-to-digital conversion earlier, the framing of packing is again sent administrative unit back to;
1.3 administrative unit receives and returns frame and read information.
In the step 1.2 of the technical program, described frame is the HDLC frame.
In the technical program,, the address field in the HDLC frame is defined as the subcard slot number according to the HDLC frame format; Information field in the HDLC frame comprises key parameter type, key parameter quantity, key parameter predetermined value and actual sample value.
In the technical program, each subcard unit writes its parameter type and quantity in the logic chip according to the form of HDLC frame in advance.
In the step 1.2 of the technical program, the subcard unit judges whether response according to the address information of HDLC frame.
A kind of device that the key parameter of multi-sub-card system is detected comprises:
At least two subcard unit;
Administrative unit is used to control reading and the information that obtains being handled, shown of various information;
It is characterized in that,
Each subcard unit comprises:
Acquisition module is used to gather the key parameter in this subcard unit;
The A/D modular converter is used for the parameter that collects is carried out analog-to-digital conversion;
The data communication interface module is used for earlier the parameter after the analog-to-digital conversion being gathered, being packed framing, sends to administrative unit again.
In the technical program, described key parameter comprises voltage parameter, temperature parameter, frequency parameter.
In the technical program, described administrative unit is a PC.
Adopt the method for the invention and device, can realize the different parameters on the distinct device is monitored, detect in real time, thereby strengthened versatility, also convenient to the positioning problems of system and test and the positioning problems under some particular surroundingss.The frame format that proposes among the present invention can be passed through the type code of definition different parameters, thereby can realize flexible Application.
After the detailed description of reading embodiment of the present invention in conjunction with the accompanying drawings, it is clearer that characteristics of the present invention and advantage will become.
Description of drawings
Fig. 1 is the slave computer workflow diagram of the execution mode of method of the present invention;
Fig. 2 is the host computer workflow diagram of the execution mode of method of the present invention; And
Fig. 3 is the block diagram of the execution mode of device of the present invention.
Embodiment
A kind of method that the key parameter of multi-sub-card system is detected, it may further comprise the steps: 1.1 administrative units send querying command to each subcard unit; 1.2 the subcard unit judges whether corresponding according to the address information of HDLC frame, when a certain subcard cell response, in this subcard unit, to carry out information gathering, for example gather critical parameter information such as voltage, temperature, frequency, the information of gathering becomes digital form through analog-to-digital conversion earlier, is packaged into the HDLC frame again and sends administrative unit back to; 1.3 administrative unit receives and returns frame and read information.
In the present embodiment, administrative unit is a PC.
In the present embodiment, according to the HDLC frame format, the address field in the HDLC frame is defined as the subcard slot number; Information field in the HDLC frame comprises key parameter type, key parameter quantity, key parameter predetermined value and actual sample value.Each subcard unit writes its parameter type and quantity in the logic chip according to the form of HDLC frame in advance, thereby realizes PC can be monitored the subcard unit, makes the versatility of present embodiment strengthen greatly.
Following table one and table two are the descriptions about the HDLC frame.
Table one
Attribute field (F) | Address field | Control field | Information field | Frame Check Sequence field (FCS) | Attribute field |
Table two
The key parameter type | Key parameter quantity | Key parameter predetermined |
|
Key parameter predetermined value 2 | Actual sample value 2 | ...... | Key parameter predetermined value n | Actual sample value n |
8bit | 8bit | 8bit | 8bit | 8bit | 8bit | ...... | 8bit | 8bit |
PC reads the power information of a subcard unit and the temperature information of another subcard unit respectively, and the predetermined power source parameter type is 00000001, as follows the table three of face; The temperature parameter type is 00000010, as follows the table four of face.Power supply on subcard unit is " 3V3,2V5,1V8 " three kinds, the temperature preset value of another subcard unit is 90 ℃, then a subcard unit returns frame information field such as table three to PC, and another subcard unit returns frame information field such as table four to PC.
Table three
00000001 | 00000011 | 00110011 | xxxxxxxx | 00100101 | xxxxxxxx | 00011000 | xxxxxxxx |
Table four
00000010 | 00000001 | 01011010 | xxxxxxxx |
Further describe present embodiment below, in the present embodiment, slave computer is the subcard unit, and host computer is a PC.
As shown in Figure 1, it is the workflow diagram of the slave computer of present embodiment.The first step: slave computer receives querying command; Second step: the address information according to the HDLC frame judges whether response, then forwards step 3 to as response, otherwise continues step 2; The 3rd step: send enable command to acquisition module and A/D modular converter; The 4th step: convert the analog quantity that acquisition module collects to digital quantity by the A/D modular converter, for example, by acquisition module power supply is gathered, " 3V3,2V5,1V8 " converts digital quantity to analog quantity; The 5th step: the digital quantity that the A/D modular converter the is sent counterpart as shown in table 3 of packing into, and finally form the HDLC frame; The 6th step: the HDLC frame that forms is sent to PC, and returned step 2.
As shown in Figure 2, it is the workflow diagram of the host computer of present embodiment.The first step: PC sends querying command to each subcard unit, for example the power supply querying command; Second step: wait for to receive the return information frame,, otherwise continue step 2 if receive and return frame then forward step 3 to; The 3rd step: the frame that returns that will receive extracts information field according to the HDLC frame format; The 4th step: decoding, promptly the frame according to the present embodiment regulation extracts relevant information; The 5th step: display result; The 6th step: finish.
As shown in Figure 3, it is the block diagram of the execution mode of device of the present invention.A kind of device that the key parameter of multi-sub-card system is detected comprises at least two subcard unit and an administrative unit.Administrative unit is used to control reading of various information, and the information that obtains is handled, shown, wherein, this administrative unit is a PC.In the present embodiment, each subcard unit comprises: acquisition module is used to gather the various key parameters in this subcard unit, for example parameters such as voltage, temperature, frequency; The A/D modular converter is used for the parameter that collects is carried out analog-to-digital conversion, is about to the analogue value and is converted into digital form; The data communication interface module is used for earlier the parameter after the analog-to-digital conversion being gathered, being packed framing, utilizes universal serial bus that information is sent to administrative unit again.Wherein,, so in the present embodiment, can utilize the mode of universal serial bus to transmit, will transmit content and pack, utilize the HDLC frame format to transmit because the parameter acquisition monitoring is not high to transmission rate request.
Though described embodiments of the present invention in conjunction with the accompanying drawings; but those skilled in the art can make various distortion or modification within the scope of the appended claims; as long as be no more than the described protection range of claim of the present invention, all should be within protection scope of the present invention.
Claims (8)
1, a kind of method that the key parameter of multi-sub-card system is detected is characterized in that, may further comprise the steps:
1.1 administrative unit sends querying command to the subcard unit;
1.2 when the subcard cell response, in this subcard unit, carry out information gathering and analog-to-digital conversion earlier, the framing of packing is again sent administrative unit back to;
1.3 administrative unit receives and returns frame and read information.
2, method according to claim 1 is characterized in that:
In step 1.2, described frame is the HDLC frame.
3, method according to claim 2 is characterized in that:
According to the HDLC frame format, the address field in the HDLC frame is defined as the subcard slot number; Information field in the HDLC frame comprises key parameter type, key parameter quantity, key parameter predetermined value and actual sample value.
4, method according to claim 3 is characterized in that:
Each subcard unit writes its parameter type and quantity in the logic chip according to the form of HDLC frame in advance.
5, method according to claim 4 is characterized in that:
In step 1.2, the subcard unit judges whether response according to the address information of HDLC frame.
6, a kind of device that the key parameter of multi-sub-card system is detected comprises:
At least two subcard unit;
Administrative unit is used to control reading and the information that obtains being handled, shown of various information;
It is characterized in that,
Each subcard unit comprises:
Acquisition module is used to gather the key parameter in this subcard unit;
The A/D modular converter is used for the parameter that collects is carried out analog-to-digital conversion;
The data communication interface module is used for earlier the parameter after the analog-to-digital conversion being gathered, being packed framing, sends to administrative unit again.
7, device according to claim 6 is characterized in that: described key parameter comprises voltage parameter, temperature parameter, frequency parameter.
8, device according to claim 6 is characterized in that: described administrative unit is a PC.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008101423008A CN101340325A (en) | 2008-08-11 | 2008-08-11 | Method and apparatus for detecting critical parameters of multi-sub-card system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008101423008A CN101340325A (en) | 2008-08-11 | 2008-08-11 | Method and apparatus for detecting critical parameters of multi-sub-card system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101340325A true CN101340325A (en) | 2009-01-07 |
Family
ID=40214283
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2008101423008A Pending CN101340325A (en) | 2008-08-11 | 2008-08-11 | Method and apparatus for detecting critical parameters of multi-sub-card system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101340325A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895355A (en) * | 2010-07-19 | 2010-11-24 | 中兴通讯股份有限公司 | Method and device for realizing multi-point debugging |
CN107222253A (en) * | 2017-08-07 | 2017-09-29 | 索尔思光电(成都)有限公司 | Optical module and the optical module running parameter monitoring method realized based on the optical module |
-
2008
- 2008-08-11 CN CNA2008101423008A patent/CN101340325A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895355A (en) * | 2010-07-19 | 2010-11-24 | 中兴通讯股份有限公司 | Method and device for realizing multi-point debugging |
CN107222253A (en) * | 2017-08-07 | 2017-09-29 | 索尔思光电(成都)有限公司 | Optical module and the optical module running parameter monitoring method realized based on the optical module |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8744807B2 (en) | Scalable and extensible framework for storing and analyzing sensor data | |
CN101778307B (en) | Device for testing functions of set top box | |
CN105319455A (en) | Automatic test system and method | |
CN1960297A (en) | System and method for monitoring device unit on network | |
CN202150874U (en) | Electric power equipment patrolling and checking system | |
CN104104734A (en) | Log analysis method and device | |
CN102722971A (en) | Intelligent data acquisition device with solidified protocol | |
US8712338B2 (en) | Method and system for implementing power detection | |
CN106787199A (en) | A kind of portable substation simulated testing system and method | |
CN103441861A (en) | Method and device for generating data records | |
CN111813751A (en) | Application system log data processing method, application system, device and medium | |
CN110932887A (en) | BMC debugging method, system and device | |
CN205067616U (en) | General test platform | |
CN105807730A (en) | Digital equipment industrial control method, digital equipment industrial control device and digital equipment industrial control system | |
CN104750057B (en) | Sample processing pipeline control system | |
CN101340325A (en) | Method and apparatus for detecting critical parameters of multi-sub-card system | |
CN105335770A (en) | Abnormal production event real-time management system | |
CN105262646A (en) | A method for testing reliability of a switch | |
CN104750814A (en) | Multisensor-based multivariate and heterogeneous data steam automatic storage method | |
CN112579406B (en) | Log call chain generation method and device | |
CN105182131A (en) | General test platform and test method | |
CN104787634A (en) | Monitoring method of elevator all-in-one machine, elevator all-in-one machine and monitoring system thereof | |
CN101788816A (en) | Clothing production line management system | |
CN103076513A (en) | Portable electric energy quality analysis method | |
CN107193933A (en) | A kind of source pump Mobile Server control system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20090107 |