CN105425095A - Wiring testing method and apparatus - Google Patents
Wiring testing method and apparatus Download PDFInfo
- Publication number
- CN105425095A CN105425095A CN201510837229.5A CN201510837229A CN105425095A CN 105425095 A CN105425095 A CN 105425095A CN 201510837229 A CN201510837229 A CN 201510837229A CN 105425095 A CN105425095 A CN 105425095A
- Authority
- CN
- China
- Prior art keywords
- port
- physical port
- target
- output
- wiring
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/58—Testing of lines, cables or conductors
Abstract
The invention discloses a wiring testing method and apparatus. The method is suitable for a server; at least two nodes are arranged at the server; at least one CPU and at least one NC board are arranged at each node; and each NC board is provided with at least one physical port. The method comprises: configuration information of target physical ports needing to connect two nodes among physical ports is obtained, wherein the configuration information of the target physical ports includes connection information of a physical port needing cable connection; according to the connection information, the half of the target physical ports are set as output ports and the other half of the target physical ports are set as input ports; pulse signals are outputted from the target physical ports; whether pulse signals are detected form the target input ports is determined, wherein the target input ports need to be connected with the target output ports by cables; and if not, prompting information for informing the user of an wiring error is outputted. According to the embodiment of the invention, the testing efficiency is improved.
Description
Technical field
The present invention relates to electronic technology field, be specifically related to a kind of wiring method of testing and device.
Background technology
Along with the development of electronic technology, more and more higher to the requirement of server performance.In order to meet the requirement to server, the quantity of the central processing unit (CentralProcessingUnit, CPU) arranged in server gets more and more.Along with the increase of CPU quantity in server, the quantity of the wiring in CPU also gets more and more.At present, the test of the wiring in server completely by manually having come, so that reduces testing efficiency.
Summary of the invention
The embodiment of the present invention discloses a kind of wiring method of testing and device, for improving testing efficiency.
Embodiment of the present invention first aspect discloses a kind of wiring method of testing, the method is applicable to server, Servers installed has at least two nodes (node), each Node configuration has at least one CPU to be connected (NodeConnect with at least one node, NC) plate, each NC plate is provided with at least one physical port, and the method can comprise:
Obtain the configuration information needing the target physical port of connection two nodes in the physical port that NC plate is arranged, the configuration information of target physical port can comprise the link information needing the physical port connected by cable in target physical port, and namely which two physical port connects;
Half physical port in target physical port can be set to output port according to link information, and second half physical port in target physical port is set to input port;
From targeted output port output pulse signal, targeted output port is the arbitrary output port in output port;
Judge whether pulse signal to be detected from target input mouth, target input mouth is the input port needing in input port to be connected with targeted output port by cable;
When pulse signal not detected from target input mouth, export the information for pointing out the wiring error between ownership goal output port and target input mouth.
In one embodiment, on the server during electricity, just obtain the configuration information needing the target physical port of connection two nodes in physical port.
Embodiment of the present invention second aspect discloses a kind of wiring proving installation, this wiring proving installation is arranged in server, Servers installed has at least two nodes, each Node configuration has at least one central processor CPU and at least one NC plate, each NC plate is provided with at least one physical port, and this wiring proving installation can comprise:
Acquiring unit, for obtaining in the physical port that NC plate is arranged the configuration information of the target physical port needing connection two nodes, the configuration information of target physical port comprises the link information needing the physical port connected by cable in target physical port, and namely which two physical port connects;
Setting unit, is set to output port for the link information obtained according to acquiring unit by half physical port in target physical port, and second half physical port in target physical port is set to input port;
First output unit, for from targeted output port output pulse signal, targeted output port is the arbitrary output port in the output port that arranges of setting unit;
Judging unit, detects pulse signal for judging whether from target input mouth, and target input mouth is the input port needing in the input port of setting unit setting to be connected with the targeted output port of the first output unit output pulse signal by cable;
Second output unit, for when the judged result of judging unit is no, will export the information being used for the wiring error pointed out between ownership goal output port and target input mouth.
In one embodiment, acquiring unit, specifically for when server powers on, obtains the configuration information needing the target physical port of connection two nodes in physical port.
In the embodiment of the present invention, automatically pulse information can be exported by configuration information physical port in two physical ports needing cable to connect of physical port, when in two physical ports needing cable to connect, another physical port does not detect pulse signal, by exporting the information of these two physical port wiring errors, the testing efficiency of wiring can be improved.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the application scenarios figure of a kind of wiring test disclosed in the embodiment of the present invention;
Fig. 2 is the process flow diagram of a kind of wiring method of testing disclosed in the embodiment of the present invention;
Fig. 3 is the structural drawing of a kind of wiring proving installation disclosed in the embodiment of the present invention;
Fig. 4 is the structural drawing of another kind of wiring proving installation disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention discloses a kind of wiring method of testing and device, for improving testing efficiency.Below be described in detail respectively.
In order to understand the embodiment of the present invention better, first the application scenarios of the embodiment of the present invention is described below.In embodiments of the present invention, Servers installed has at least two nodes, each node is provided with at least one CPU, wherein, in each node, the quantity of CPU can be the integral multiple of 1 or 2, and each node is also provided with at least one NC plate, and each NC plate is provided with at least one physical port.These physical ports can be connected with the CPU belonging to same node, also can connect from the physical port belonged in different node on NC plate.Wherein, connect in advance when node dispatches from the factory with the line of the CPU belonging to same node, therefore, do not need the connection of the physical port considering intra-node, only need the connection of the physical port considered between different node.And the physical port between different node is connected by cable, when two physical ports are connected by cable, if be input as this cable input pulse signal by the physical port being connected to cable one end, this physical port output pulse signal i.e., can detect pulse signal from the physical port of the other end being connected to this root cable.Refer to Fig. 1, Fig. 1 is the application scenarios figure of a kind of wiring test disclosed in the embodiment of the present invention.As shown in Figure 1, Servers installed has NODE0, NODE1, NODE2 and NODE3 tetra-nodes, each Node configuration has two NC plates and eight CPU, has three physical ports on a NC plate to need to be connected with the physical port on the NC plate in other node in each node.
Refer to Fig. 2, Fig. 2 is the process flow diagram of a kind of wiring method of testing disclosed in the embodiment of the present invention.As shown in Figure 2, this wiring method of testing can comprise the following steps.
201, the configuration information needing the target physical port of connection two nodes in physical port is obtained.
In the present embodiment, on the server during electricity, can obtain the configuration information needing the target physical port of connection two physical nodes in the node that server comprises, these physical ports are the physical ports in node on NC plate.The configuration information of target physical port prestores in the server, the configuration information of target physical port comprises the link information needing the physical port connected by cable in target physical port, as the first physical port on NC plate 2 in node 1 needs to be connected with the second physical port on NC plate 3 in node 2.
202, according to link information, half physical port in target physical port is set to output port, and second half physical port in target physical port is set to input port.
In the present embodiment, after getting the configuration information of target physical port, according to link information, half physical port in target physical port can be set to output port, and second half physical port in target physical port is set to input port.Such as: suppose to need the quantity of the target physical port of connection two nodes to be 8, wherein, every two ports need to be connected by single line cable, these 8 physical ports need four cables to connect, four physical ports in 8 physical ports can be set to output port, four physical ports are set to input port, and the physical port be set in input port (or output port) belongs to the physical port in different node on NC plate.
203, from targeted output port output pulse signal.
In the present embodiment, according to link information, half physical port in target physical port is set to output port, and by after in target physical port, second half physical port is set to input port, will from targeted output port output pulse signal, targeted output port is the arbitrary output port in the output port arranged.
204, judging whether pulse signal to be detected from target input mouth, when pulse signal being detected from target input mouth, will terminate, when pulse signal not detected from target input mouth, will step 205 be performed.
In the present embodiment, after targeted output port output pulse signal, to judge whether pulse signal to be detected from target input mouth, when pulse signal being detected from target input mouth, showing that target input mouth and targeted output port are coupled together by cable, wiring connects correct, to terminate, when pulse signal not detected from target input mouth, showing that target input mouth and targeted output port are not coupled together by cable, wiring connection error, will perform step 205.Wherein, target input mouth is the input port needing in the input port arranged to be connected with targeted output port by cable.
Illustrate, suppose in server, to be provided with four nodes, NC plate 1 belongs to first node, NC plate 2 belongs to Section Point, NC plate 3 belongs to the 3rd node, NC plate 4 belongs to the 3rd node, each NC plate is provided with three physical ports for being connected with other node, first the physical port of three on NC plate 1 can be set to output port, physical port on other node needed by being connected with these three physical ports is set to output port, go wrong in order to avoid detecting, can successively from these three output port output pulse signals, pulse signal is detected from the input port of correspondence, upon this detection, show that wiring is correct, when can't detect, show wiring error, in addition, can also simultaneously at NC plate 2, all physics Port detectings on NC plate 3 and NC plate 4, after pulse signal being detected, the port information of this port is mated with needing the port information of the input port be connected, when the match is successful, show that wiring is correct, when mating unsuccessful, show wiring error.Afterwards the port do not detected in NC plate 2 being set to output port, being set to input port by needing in the physical port on NC plate 3 and NC plate 4 with the physical port do not detected on NC plate 2, repeat aforesaid operations, until detect complete.Also NC plate 1, NC plate 2, NC plate 3 and the physical port needing to be connected by cable on NC plate 4 can be obtained, half physical port is set to output port, half physical port is set to input port, can allow all output ports pulse signal that simultaneously output duty cycle is different, detect pulse signal from their input port of correspondence simultaneously, when the pulse signal detected is identical with the dutycycle of the pulse signal that corresponding output port exports, show that wiring is correct, detection efficiency can be improved further; Also the output port pulse signal that output duty cycle is identical successively can be allowed, the time interval exporting each pulse signal is Preset Time, to ensure, when current output port output pulse signal, to have detected the input port that the output port of an output pulse signal is corresponding.Wherein, input port or output port belong to the physical port in different node on NC plate.
205, the information being used for the wiring error pointed out between ownership goal output port and target input mouth will be exported.
In the present embodiment, when wiring error being detected, information can be exported, so which physical port connection error user understands according to information.
In the wiring method of testing described by Fig. 2, automatically pulse information can be exported by configuration information physical port in two physical ports needing cable to connect of physical port, when in two physical ports needing cable to connect, another physical port does not detect pulse signal, by exporting the information of these two physical port wiring errors, the testing efficiency of wiring can be improved.
Refer to Fig. 3, Fig. 3 is the structural drawing of a kind of wiring proving installation disclosed in the embodiment of the present invention.Wherein, this wiring proving installation is arranged in server, and Servers installed has at least two nodes, and each Node configuration has at least one central processor CPU and at least one NC plate, each NC plate is provided with at least one physical port, and this wiring proving installation 300 can comprise:
Acquiring unit 301, for obtaining in the physical port that NC plate is arranged the configuration information of the target physical port needing connection two nodes, the configuration information of target physical port comprises the link information needing the physical port connected by cable in target physical port, and namely which two physical port connects;
Setting unit 302, is set to output port for the link information obtained according to acquiring unit 301 by half physical port in target physical port, and second half physical port in target physical port is set to input port;
First output unit 303, for from targeted output port output pulse signal, targeted output port is the arbitrary output port in the output port that arranges of setting unit 302;
Judging unit 304, pulse signal detected for judging whether from target input mouth, target input mouth is the input port needing in the input port of setting unit 302 setting to be connected with the targeted output port of the first output unit 303 output pulse signal by cable;
Second output unit 305, for when the judged result of judging unit 304 is no, will export the information being used for the wiring error pointed out between ownership goal output port and target input mouth.
As a kind of possible embodiment, acquiring unit 301, specifically for when server powers on, obtains the configuration information needing the target physical port of connection two nodes in physical port.
In the wiring proving installation described by Fig. 3, automatically pulse information can be exported by configuration information physical port in two physical ports needing cable to connect of physical port, when in two physical ports needing cable to connect, another physical port does not detect pulse signal, by exporting the information of these two physical port wiring errors, the testing efficiency of wiring can be improved.
Refer to Fig. 4, Fig. 4 is the structural drawing of another kind of wiring proving installation disclosed in the embodiment of the present invention.Wherein, this wiring proving installation is arranged in server, and Servers installed has at least two nodes, and each Node configuration has at least one central processor CPU and at least one NC plate, and each NC plate is provided with at least one physical port.As shown in Figure 4, this wiring proving installation 400 can comprise at least one processor 401, storer 402 and output unit 403, wherein:
Store batch processing code in storer 402, processor 401 performs following operation for calling the program code stored in storer 402:
Obtain the configuration information needing the target physical port of connection two nodes in the physical port that NC plate is arranged, the configuration information of target physical port can comprise the link information needing the physical port connected by cable in target physical port, and namely which two physical port connects;
Half physical port in target physical port can be set to output port according to link information, and second half physical port in target physical port is set to input port;
From targeted output port output pulse signal, targeted output port is the arbitrary output port in output port;
Judge whether pulse signal to be detected from target input mouth, target input mouth is the input port needing in input port to be connected with targeted output port by cable;
Output unit 403, for when pulse signal not detected from target input mouth, exports the information for pointing out the wiring error between ownership goal output port and target input mouth.
In a kind of possible embodiment, processor 401 obtains in the physical port that NC plate is arranged needs the mode of the configuration information of the target physical port of connection two nodes to be specially:
On the server during electricity, just obtain the configuration information needing the target physical port of connection two nodes in physical port.
In the wiring proving installation described by Fig. 4, automatically pulse information can be exported by configuration information physical port in two physical ports needing cable to connect of physical port, when in two physical ports needing cable to connect, another physical port does not detect pulse signal, by exporting the information of these two physical port wiring errors, the testing efficiency of wiring can be improved.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, ROM (read-only memory) (Read-OnlyMemory, ROM), random access device (RandomAccessMemory, RAM), disk or CD etc.
The wiring method of testing provided the embodiment of the present invention above and device are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (4)
1. a wiring method of testing, it is characterized in that, described method is applicable to server, described Servers installed has at least two nodes, each described Node configuration has at least one central processor CPU to be connected NC plate with at least one node, each described NC plate is provided with at least one physical port, and described method comprises:
Obtain in described physical port the configuration information of the target physical port needing connection two nodes, the configuration information of described target physical port comprises the link information needing the physical port connected by cable in described target physical port;
According to described link information, half physical port in described target physical port is set to output port, and second half physical port in described target physical port is set to input port;
From targeted output port output pulse signal, described targeted output port is the arbitrary output port in described output port;
Judge whether pulse signal to be detected from target input mouth, described target input mouth is the input port needing in described input port to be connected with described targeted output port by cable;
When pulse signal not detected from target input mouth, the information being used for pointing out targeted output port described in user and the wiring error between described target input mouth will be exported.
2. method according to claim 1, is characterized in that, needs the configuration information of the target physical port of connection two nodes to comprise in the described physical port of described acquisition:
When described server powers on, obtain in described physical port the configuration information of the target physical port needing connection two nodes.
3. a wiring proving installation, it is characterized in that, described wiring proving installation is arranged in server, described Servers installed has at least two nodes, each described Node configuration has at least one central processor CPU to be connected NC plate with at least one node, each described NC plate is provided with at least one physical port, and described wiring proving installation comprises:
Acquiring unit, for obtaining in described physical port the configuration information of the target physical port needing connection two nodes, the configuration information of described target physical port comprises the link information needing the physical port connected by cable in described target physical port;
Setting unit, is set to output port for the link information obtained according to described acquiring unit by half physical port in described target physical port, and second half physical port in described target physical port is set to input port;
First output unit, for from targeted output port output pulse signal, described targeted output port is the arbitrary output port in the output port that arranges of described setting unit;
Judging unit, detects pulse signal for judging whether from target input mouth, and described target input mouth is the input port needing in the input port of described setting unit setting to be connected with described targeted output port by cable;
Second output unit, for when the judged result of described judging unit is no, will export the information being used for pointing out targeted output port described in user and the wiring error between described target input mouth.
4. device according to claim 2, is characterized in that, described acquiring unit, specifically for when described server powers on, obtains in described physical port the configuration information of the target physical port needing connection two nodes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510837229.5A CN105425095B (en) | 2015-11-26 | 2015-11-26 | A kind of wiring test method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510837229.5A CN105425095B (en) | 2015-11-26 | 2015-11-26 | A kind of wiring test method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105425095A true CN105425095A (en) | 2016-03-23 |
CN105425095B CN105425095B (en) | 2019-02-12 |
Family
ID=55503427
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510837229.5A Active CN105425095B (en) | 2015-11-26 | 2015-11-26 | A kind of wiring test method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105425095B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108646126A (en) * | 2018-04-16 | 2018-10-12 | 常州科研试制中心有限公司 | Line sequence detection device |
CN111123167A (en) * | 2019-12-27 | 2020-05-08 | 潍柴动力股份有限公司 | Method, device, system and equipment for detecting signal line of crankshaft sensor |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080010791A (en) * | 2006-07-28 | 2008-01-31 | 버스텍 주식회사 | Web-based monitoring module, hardware system including the same and monitoring method of web-based monitoring module |
JP2008304363A (en) * | 2007-06-08 | 2008-12-18 | Canon Inc | Cable connection detecting device |
CN102447590A (en) * | 2010-10-13 | 2012-05-09 | 无锡江南计算技术研究所 | Method, device and system for testing exchange board circuit |
CN103036700A (en) * | 2011-09-29 | 2013-04-10 | 广达电脑股份有限公司 | Server cluster and control mechanism thereof |
CN103491459A (en) * | 2013-09-30 | 2014-01-01 | 北京星网锐捷网络技术有限公司 | Electronic distributing frame system |
-
2015
- 2015-11-26 CN CN201510837229.5A patent/CN105425095B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080010791A (en) * | 2006-07-28 | 2008-01-31 | 버스텍 주식회사 | Web-based monitoring module, hardware system including the same and monitoring method of web-based monitoring module |
JP2008304363A (en) * | 2007-06-08 | 2008-12-18 | Canon Inc | Cable connection detecting device |
CN102447590A (en) * | 2010-10-13 | 2012-05-09 | 无锡江南计算技术研究所 | Method, device and system for testing exchange board circuit |
CN103036700A (en) * | 2011-09-29 | 2013-04-10 | 广达电脑股份有限公司 | Server cluster and control mechanism thereof |
CN103491459A (en) * | 2013-09-30 | 2014-01-01 | 北京星网锐捷网络技术有限公司 | Electronic distributing frame system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108646126A (en) * | 2018-04-16 | 2018-10-12 | 常州科研试制中心有限公司 | Line sequence detection device |
CN108646126B (en) * | 2018-04-16 | 2024-01-12 | 常州科研试制中心有限公司 | Line sequence detection device |
CN111123167A (en) * | 2019-12-27 | 2020-05-08 | 潍柴动力股份有限公司 | Method, device, system and equipment for detecting signal line of crankshaft sensor |
CN111123167B (en) * | 2019-12-27 | 2022-04-05 | 潍柴动力股份有限公司 | Method, device, system and equipment for detecting signal line of crankshaft sensor |
Also Published As
Publication number | Publication date |
---|---|
CN105425095B (en) | 2019-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100507585C (en) | Method and system for detecting single-plate on position | |
CN110658400B (en) | Embedded test method, microcontroller and system | |
CN107991572B (en) | Chip top layer covering integrity protection method and device | |
CN112653600A (en) | Network card performance testing method and device based on USB network card and electronic equipment | |
CN105425095A (en) | Wiring testing method and apparatus | |
CN106872849B (en) | Equipment internal IO sampling method, device and system | |
CN111238320B (en) | On-site detection method and device for electronic detonator | |
CN114124767A (en) | Automatic testing method and device for gateway network management strategy | |
CN110708715B (en) | Service fault finding method and device for 5G base station | |
CN111381150B (en) | Chip automatic verification system and method thereof | |
US9921263B2 (en) | Electronic identification slave connector | |
CN113630187A (en) | PHY initialization method, system, equipment and medium | |
CN106598793B (en) | Test system and test method based on BIOS serial port log data | |
CN116319475A (en) | Signal analysis method, device, equipment and storage medium | |
CN115623464A (en) | Fault processing method and device for Bluetooth module of electric energy meter and electric energy meter | |
US7613865B2 (en) | Automated switching for executing tests involving electronic devices | |
CN111770074B (en) | Data path test message generation device and method | |
CN115357513A (en) | Program fuzzing test method, device, equipment and storage medium | |
JP2018010331A (en) | Diagnosis device and diagnosis method | |
CN111106979B (en) | Method and equipment for switch threshold alarm test | |
CN103869142A (en) | Method and Device for Monitoring Signal Levels | |
CN113009246A (en) | PSE equipment detection device and PSE equipment detection method | |
CN110209142B (en) | PLC module connection and detection method, device and detection equipment | |
RU2265236C1 (en) | Method for diagnosing equipment | |
US20180034568A1 (en) | Method and associated apparatus for performing cable diagnostics in a network system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211224 Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province Patentee after: Super fusion Digital Technology Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right |