CN102096617B - Detection device and detection method - Google Patents

Detection device and detection method Download PDF

Info

Publication number
CN102096617B
CN102096617B CN200910242651.0A CN200910242651A CN102096617B CN 102096617 B CN102096617 B CN 102096617B CN 200910242651 A CN200910242651 A CN 200910242651A CN 102096617 B CN102096617 B CN 102096617B
Authority
CN
China
Prior art keywords
port
code
port code
microprocessor
bus
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.)
Active
Application number
CN200910242651.0A
Other languages
Chinese (zh)
Other versions
CN102096617A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN200910242651.0A priority Critical patent/CN102096617B/en
Publication of CN102096617A publication Critical patent/CN102096617A/en
Application granted granted Critical
Publication of CN102096617B publication Critical patent/CN102096617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention provides a detection device and a detection method. The detection device comprises a bus and a microprocessor, wherein the bus is used for receiving a port code, which is generated during operation of a computer, through a predetermined port; the port code describes a working condition of the computer during the operation; the microprocessor is used for receiving the transmitted port code through the bus and transmitting the port code to an analysis terminal; and the analysis terminal is used for analyzing the port code so as to detect the computer. By applying a technology provided by the embodiment, fault information generated when computer software fails during debugging and operation can appear at the predetermined port to serve as the port code, and a code generated due to hardware fault can also appear at the predetermined port to serve as the port code, so that the port code at the predetermined port is detected, and the analysis terminal can know the fault of the computer by analyzing the port code after the port code is transmitted to the analysis terminal.

Description

A kind of pick-up unit and detection method
Technical field
The present invention relates to computer technology, refer to especially a kind of pick-up unit and detection method.
Background technology
In the time that hardware problem appears in computing machine, maintenance personal must analyze computing machine at the scene at present, and to determine the particular content of fault, if need to change device, maintenance personal needs computing machine to take away, or reaching device changes.
In prior art, conventionally utility command turns location (commanding redirect) and carries out on the internet far-end control (long range remote control),, utilize the uniqueness of point-to-point communication between internet and terminal to take into account security and convenience; The IP network location of the computing machine of specifically being diagnosed by input, carries out the diagnosis to computing machine by IP network.
Inventor is realizing in process of the present invention, find that in prior art, at least there are the following problems: only limit to being carried out fault diagnosis by the software application layer of diagnosis computer, if there is the damage of hardware device in this computing machine, this computing machine can not respond the control command of far-end, and the personnel that still need repairing deal with problems at the scene.
Summary of the invention
The object of this invention is to provide a kind of pick-up unit and detection method, for detecting in the long-range various faults including hardware fault that computing machine is occurred.
A kind of pick-up unit, comprising: bus, and for the port code that passes through to produce when predetermined port receiving computer is worked, described port code has been described the duty in computer operation process; Microprocessor, the described port code coming for receive transmission by bus, is transferred to analysing terminal by described port code; Wherein, described analysing terminal is for detecting described computing machine to described port code analysis.
In above-mentioned detection device, also comprise: the first buffer unit, be connected with described predetermined port, appear at the described port code at described predetermined port place for buffer memory; Sensing unit, is connected with described the first buffer unit and described bus, for the described port code of buffer memory is sent to described microprocessor by described bus.
In above-mentioned detection device, described sensing unit, also for receiving the poll from described microprocessor by described bus; After receiving poll, described port code is sent to described microprocessor by described bus; Or, initiatively described port code is sent to described microprocessor by described bus.
In above-mentioned detection device, the second buffer unit, is connected with described bus and described microprocessor, for the described port code receiving and buffer memory comes by bus transfer, sends to described microprocessor.
In above-mentioned detection device, described microprocessor is positioned on network interface card, and this network interface card is for being transferred to long-range described analysing terminal by network by described port code.
In above-mentioned detection device, described predetermined port is preassigned physical port; CPU in described computing machine is connected with chipset, and described chipset is connected with described predetermined port; Described chipset, for the treatment of the data transmission of port code, is transferred to predetermined port by port code after treatment described CPU.
In above-mentioned detection device, described microprocessor is connected with described CPU, also for described port code is transferred to described CPU, by this CPU, described port code analysis is detected the duty of described computing machine.
A kind of detection method, is applied to pick-up unit, comprising: the port code producing while work by predetermined port receiving computer; Described port code has been described the duty in computer operation process; The port code receiving is transferred to analysing terminal, by this analysing terminal, described port code analysis is detected the duty of described computing machine.
In said method, after the port code producing in the time that predetermined port place receiving computer is worked, also comprise: after receiving the poll from microprocessor by bus, the described port code being buffered in one first buffer unit is sent to microprocessor by described bus; Or, receive described port code and be buffered in one second buffer unit by bus, wait for described microprocessor transmission.
In said method, described predetermined port is preassigned physical port; Or described predetermined port is 80 ports.
The technology that application above-described embodiment provides, because computer software generated failure message that breaks down in debugging and operational process there will be at predetermined port place as port code, and the code that hardware fault generates also there will be at predetermined port place as port code, therefore, detect the port code at predetermined port place, and after this port code is transferred to analysing terminal, this analysing terminal can be learnt the fault that computing machine occurs by analysis port code.
Accompanying drawing explanation
Fig. 1 is the structural representation of a kind of pick-up unit of the embodiment of the present invention;
Fig. 2 is that embodiment of the present invention pick-up unit is applied in the schematic diagram in single computing machine;
Fig. 3 is that embodiment of the present invention pick-up unit is applied in the schematic diagram in a group of planes or server;
Fig. 4 is the method flow schematic diagram of the embodiment of the present invention.
Embodiment
For making object of the present invention, technical characterictic and implementation result clearer, below in conjunction with the accompanying drawings and the specific embodiments technical scheme of the present invention is described in detail.
In embodiment provided by the invention, provide a kind of pick-up unit, as shown in Figure 1, comprising:
Bus 02, is connected with microprocessor 03, and for the port code (Post code) producing in the time that predetermined port 01 receiving computer is worked, described port code has been described the duty in computer operation process;
Microprocessor 03, for receiving by bus 02 the described port code that transmission comes, is transferred to analysing terminal by described port code, by this analysing terminal, described port code analysis is detected the duty of described computing machine.
The technology that application above-described embodiment provides, because computer software the generated failure message that breaks down in debugging and operational process for example there will be, at predetermined port 01 (80 ports) and locates as port code, and the code that hardware fault generates also there will be at predetermined port 01 place as port code, therefore, detect the port code at predetermined port 01 place, and after this port code is transferred to analysing terminal, this analysing terminal can be learnt the fault that computing machine occurs by analysis port code.
In pick-up unit, also comprise:
Buffer unit 04, appears at the port code at described predetermined port place for buffer memory.Due to buffer unit 04 can be single for depositing port code, also can response from the poll of microprocessor 03 after to microprocessor 03 transmit port code, can also active to microprocessor 03 transmit port code.Therefore, buffer unit 04 can specifically comprise the first buffer unit and sensing unit; Or be specially second buffer unit.
The first buffer unit, is connected with described predetermined port, appears at the described port code at described predetermined port place for buffer memory;
Sensing unit, is connected with described the first buffer unit and described bus 02, for the described port code of buffer memory is sent to described microprocessor 03 by described bus 02.
Sensing unit, also for receiving the poll from described microprocessor 03 by bus 02; After receiving poll, described port code is sent to microprocessor 03 by described bus 02;
Or, initiatively port code is sent to microprocessor 03 by bus 02.Wherein, because sensing unit is no longer waited for the poll from microprocessor 03, therefore, can adopt timed sending, quantitatively send, for example, in the time that the size of described port code reaches the size (4K) of a Block, send, also can receive transmission in real time after port code.
Or pick-up unit comprises:
The second buffer unit, is connected with bus 02 and microprocessor 03, for the described port code receiving and buffer memory comes by bus 02 transmission, sends to described microprocessor 03.
Microprocessor 03 can be an independently chip, now, this microprocessor 03 is responsible for Real-time Obtaining port code, in the time need to being transferred to long-range analysing terminal, transfer to network interface card to process generating network packet described port code, be transferred to analysing terminal, by this analysing terminal, described port code analysis detected the duty of described computing machine.
Consider the cost of realizing such scheme, also can adopt original chip on network interface card as microprocessor 03, now, to be used for the data transmission between network by this network interface card.
In pick-up unit, also comprise:
Network control chip, for arithmetic section being transferred to processor or South Bridge chip processing, to simplify line design, thereby reduces costs.
LAN (LAN (Local Area Network)), for assisting analysing terminal to connect computing machine by network remote.
Predetermined port 01 is preassigned physical port; CPU05 in computing machine is connected with chipset (Chipset) 06, and chipset 06 is connected with predetermined port 01; Described chipset 06, for the treatment of the data transmission of port code, is transferred to predetermined port 01 by port code after treatment CPU.
Predetermined port 01 can also be 80 ports; because in existing computer technology; when computing machine is in debugging (Debug) process; the debug results of its generation there will be conventionally in 80 ports; in start-up course; if there is warning message, those warning messages also there will be in 80 ports.But, because the information occurring in debugging or alarm procedure must not appear at 80 ports as port code, and, how to be connected and can easily to know with some particular ports, therefore, predetermined port 01 can refer to physical port or logic port arbitrarily.
As shown in Figure 2, bus 02 is the data bus of this computer-internal.
Microprocessor 03 is the microprocessor chip on this computing machine network interface card.Wherein, CPU05 is connected with chipset 06, and chipset 06 is connected with 80 ports, for the treatment of the data transmission of port code, that is, port code after treatment CPU05 is transferred to 80 ports.
No matter CPU05 and chipset 06 are In Band or out of is Band, as long as microprocessor 03, the I/O at network interface card and 80 port places can work.
In different operative scenario, analysing terminal can be different equipment, for example, can be one and be positioned at long-range computing machine, is connected with the computer realization that produces port code by network; Also can be and produce the computer bit of port code in same LAN (Local Area Network) or working group; It can be even the computing machine self that produces port code.
When analysing terminal is that while producing the computing machine self of port code, microprocessor 03 can send to the processor of this computing machine to process by bus (typically referring to data bus) port code receiving, described processor refers to CPU05.
The function of microprocessor 03 is to guarantee that the real-time port code by generation is transferred to the analysing terminal of analysis ability, therefore, if a chip has aforementioned capabilities, can be used as the microprocessor 03 in the present invention.Therefore, can expand provided technical scheme, in structure as shown in Figure 2, with the CPU05 device of microprocessor 03 as an alternative, for receiving by bus 02 the described port code that transmission comes, described port code is transferred to analysing terminal, by this analysing terminal, described port code analysis is detected the duty of described computing machine.If analysing terminal is positioned at long-range, this CPU05 need to coordinate transmission with network interface card.
This pick-up unit not only can be applied in single computing machine, and can be applied in various servers, and is applied in computer group.If pick-up unit is applied in server or in computer group, chipset 06 can adopt the chip with stronger processing power.Now, chipset 06 is connected with the multiple CPU05 in server or computer group, for each in multiple CPU05, the data that all self can be processed send to chipset 06, and chipset 06 sends to 80 ports using these data as port code.
The technical scheme providing based on above-mentioned each embodiment, as shown in Figure 3, is applied in pick-up unit in server or a group of planes, and the course of work of pick-up unit and server/group of planes is described below:
CPU051, CPU052 and CPU053, three CPU are in order to limit the number of CPU, and refer to the CPU that has multiple deal with data in expression server/group of planes.
Chipset 06, can adopt the dissimilar chip of different vendor to form.
Pick-up unit, comprising: buffer unit 04, bus 02 and microprocessor 03.
Without loss of generality, in a group of planes, there is fault in the computing machine at CPU051 place, CPU051 deal with data, and wherein, the failure message relevant to occurred fault, after CPU051 processes, is sent to 80 ports of computing machine by chipset 06; Above process is by responsible completing such as the operating system of computing machine self and other corresponding drivings, bottom service logics.
80 ports receive failure message as port code, by be sent after buffer unit 04 buffer memory etc.
Buffer unit 04 receives the inquiry from microprocessor 03 by bus 02, and this inquiry shows that microprocessor 03 needs port code; The port code in buffer unit 04 arrives microprocessor 03 by bus 02.
Microprocessor 03 can adopt the microprocessor chip being positioned on network interface card conventionally, microprocessor 03 coordinates with other devices on network interface card, port code is encapsulated as to packet, sends to analysing terminal by network, by analysing terminal, the port code in packet is carried out to analyzing and processing.
Can find out from the described course of work, due to CPU, chipset, 80 ports of computing machine, and the operation of pick-up unit do not rely on BIOS and operating system, therefore, can there is hardware fault at computing machine, in the situation that BIOS and operating system cannot normally be worked, still port code can be sent on long-range analysing terminal.On long-range analysing terminal, can monitor the duty of all computing machines above whole network, in the time there is hardware problem, Maintenance Engineer can directly detect problem and pass through port code orientation problem at far-end.
In embodiment provided by the invention, provide a kind of method of detection computations machine fault, as shown in Figure 3, comprising:
Step 301, the port code producing in the time that 80 port receiving computers are worked; Described port code has been described the duty in computer operation process;
Step 302, by the port code coming by bus transfer, arrives analysing terminal by Internet Transmission.
The technology that application above-described embodiment provides, because computing machine is at each layer, for example application layer the generated information that breaks down there will be in 80 ports as port code, and the code that hardware fault generates also there will be in 80 ports as port code, therefore, detect the port code of 80 ports, and after this port code is transferred to analysing terminal, this analysing terminal can be learnt the fault that computing machine occurs by analysis port code.
Wherein, described port code has been described the operation conditions of computing machine, specifically refers to, port code has been described in computer run process, the information generating while breaking down.
Before step 302, can also comprise: wait for the transmission inquery from microprocessor, specifically comprise: wait for the poll of microprocessor, in the time of microprocessor poll 80 port, the buffer unit being connected by 80 ports receives poll.
In step 302, by buffer unit, port code is transferred to microprocessor 03 by System Management Bus (SystemManagement Bus), by microprocessor 03 by Internet Transmission to analysing terminal.
Wherein, the specifically compatible buffer unit of alert standard format (Alerting StandardFormat Compliant Sensor) of buffer unit 04.
Because 80 ports are common and the compatible buffer unit cooperating of alert standard format, therefore can adopt corresponding chipset to realize above-mentioned functions, specifically can adopt Intel 965 Express chipsets.
As shown below, equipment initiatively captures the post code of 80port, and inside is sent to ASF compliantsensor.After corresponding setting, the content of the sensor of a microprocessor meeting timing taking turn of network interface card inside on SMBus is also dealt into long-range analysing terminal by network.
No matter CPU, Chipset is In Band or out of is Band, as long as network interface card and I/O can work.
Embodiments of the invention have following beneficial effect, are directly obtained fault and by analysis port code, fault are positioned by long-range analysing terminal, do not rely on application software; Can be out of order under the state not starting at computer corruption, hardware, still can long-rangely learn computer failure.The failure cause that can draw according to analysis is directly carried relevant maintenance of equipment to client, has saved maintenance time and maintenance cost.
It should be noted that above embodiment is only unrestricted in order to technical scheme of the present invention to be described, all parameter values can be according to actual conditions adjustment, and within the scope of this rights protection.Those of ordinary skill in the art should be appreciated that and can modify or be equal to replacement technical scheme of the present invention, and do not depart from the spiritual scope of technical solution of the present invention, and it all should be encompassed in the middle of claim scope of the present invention.

Claims (9)

1. a pick-up unit, is characterized in that, comprising:
CPU in computing machine or server is connected with chipset, and described chipset is connected with predetermined port;
Described chipset, for the treatment of the data transmission of port code, is transferred to predetermined port by port code after treatment described CPU;
Bus, for the port code that passes through to produce when predetermined port receiving computer is worked, described port code has been described the duty in computer operation process;
Microprocessor, the described port code coming for receive transmission by bus, is transferred to analysing terminal by described port code; Wherein, described analysing terminal is for detecting described computing machine to described port code analysis;
Described microprocessor is positioned on network interface card, and this network interface card is for being transferred to long-range described analysing terminal by network by described port code.
2. pick-up unit according to claim 1, is characterized in that, also comprises:
The first buffer unit, is connected with described predetermined port, appears at the described port code at described predetermined port place for buffer memory;
Sensing unit, is connected with described the first buffer unit and described bus, for the described port code of buffer memory is sent to described microprocessor by described bus.
3. pick-up unit according to claim 2, is characterized in that,
Described sensing unit, also for receiving the poll from described microprocessor by described bus; After receiving poll, described port code is sent to described microprocessor by described bus;
Or, initiatively described port code is sent to described microprocessor by described bus.
4. pick-up unit according to claim 1, is characterized in that,
The second buffer unit, is connected with described bus and described microprocessor, for the described port code receiving and buffer memory comes by bus transfer, sends to described microprocessor.
5. pick-up unit according to claim 1, is characterized in that,
Described predetermined port is preassigned physical port.
6. pick-up unit according to claim 5, is characterized in that,
Described microprocessor is connected with described CPU, also for described port code is transferred to described CPU, by this CPU, described port code analysis is detected the duty of described computing machine.
7. a detection method, is characterized in that, is applied to pick-up unit, and described pick-up unit is arranged in computing machine or server, and the CPU in computing machine or server is connected with chipset, and described chipset is connected with predetermined port; Method comprises:
The data transmission of being processed port code by described chipset, is transferred to predetermined port by port code after treatment described CPU;
The port code producing while work by predetermined port receiving computer; Described port code has been described the duty in computer operation process;
By the port code receiving, by network interface card by Internet Transmission to analysing terminal, by this analysing terminal, described port code analysis is detected the duty of described computing machine.
8. method according to claim 7, is characterized in that, after the port code producing, also comprises in the time that predetermined port place receiving computer is worked:
After receiving the poll from microprocessor by bus, the described port code being buffered in one first buffer unit is sent to microprocessor by described bus;
Or, receive described port code and be buffered in one second buffer unit by bus, wait for described microprocessor transmission.
9. method according to claim 7, is characterized in that,
Described predetermined port is preassigned physical port;
Or described predetermined port is 80 ports.
CN200910242651.0A 2009-12-14 2009-12-14 Detection device and detection method Active CN102096617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910242651.0A CN102096617B (en) 2009-12-14 2009-12-14 Detection device and detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910242651.0A CN102096617B (en) 2009-12-14 2009-12-14 Detection device and detection method

Publications (2)

Publication Number Publication Date
CN102096617A CN102096617A (en) 2011-06-15
CN102096617B true CN102096617B (en) 2014-07-02

Family

ID=44129721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910242651.0A Active CN102096617B (en) 2009-12-14 2009-12-14 Detection device and detection method

Country Status (1)

Country Link
CN (1) CN102096617B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI546660B (en) * 2015-09-22 2016-08-21 新唐科技股份有限公司 Debugging system and method
CN106776279A (en) * 2016-11-23 2017-05-31 北海高创电子信息孵化器有限公司 A kind of fault detect of computer glitch detecting system and method for maintaining

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744057A (en) * 2005-10-14 2006-03-08 威盛电子股份有限公司 Detecting system and method
CN1873617A (en) * 2005-06-03 2006-12-06 鸿富锦精密工业(深圳)有限公司 Method and system for recognizing error codes of failure diagnosis card for main board
CN101598755A (en) * 2008-06-04 2009-12-09 北京康拓科技开发总公司 A kind of plug and play testing equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060109522A (en) * 2005-04-15 2006-10-23 삼성전자주식회사 Method and apparatus for testing computer system
CN101017377A (en) * 2007-02-28 2007-08-15 华为技术有限公司 Method and system for performing veneer maintenance and monitoring

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1873617A (en) * 2005-06-03 2006-12-06 鸿富锦精密工业(深圳)有限公司 Method and system for recognizing error codes of failure diagnosis card for main board
CN1744057A (en) * 2005-10-14 2006-03-08 威盛电子股份有限公司 Detecting system and method
CN101598755A (en) * 2008-06-04 2009-12-09 北京康拓科技开发总公司 A kind of plug and play testing equipment

Also Published As

Publication number Publication date
CN102096617A (en) 2011-06-15

Similar Documents

Publication Publication Date Title
TWI618380B (en) Management methods, service controller devices and non-stransitory, computer-readable media
EP3575975B1 (en) Method and apparatus for operating smart network interface card
CN112994972B (en) Distributed probe monitoring platform
CN114024834A (en) Fault positioning method and device, electronic equipment and readable storage medium
CN104536514A (en) Server with selective switch management network connection function
CN102096617B (en) Detection device and detection method
US12086093B2 (en) Serial port control system based on complex programmable logic device (CPLD) and communication method therefor
US8321555B2 (en) Network analysis device
CN102693166B (en) Method, device and system for processing information
CN104348645A (en) Server and data transmission method of server
TWI393003B (en) Remote hardware inspection system and method
CN104483960A (en) Automobile diagnosis communication module data transceiving parallel processing method
CN104571098B (en) Long-range self-diagnosing method based on Atom platforms
CN101661420A (en) External bus detector and method
CN107769960B (en) BMC management architecture based on CAN bus
CN110244638B (en) Data monitoring device and method
CN102088366B (en) Single board information monitoring device and distributed single board information monitoring system
CN113821390A (en) Switch debugging method and device, server and computer readable storage medium
JP2018136882A (en) Information processing device, information processing system, and method of controlling information processing device
CN203387536U (en) Interface device
CN101272272A (en) Method for far-end monitoring system
CN113810250B (en) Message tracking method, system and equipment
CN103914362A (en) Serial port self-detection method, circuit and device
CN117872009B (en) Monitoring method, system, equipment and storage medium of excitation rectifying equipment
CN105281972B (en) The comparison acquisition structure and comparison acquisition method of 1553B buses

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