CN102223268B - Network equipment as well as method and device for starting hardware testing of same - Google Patents
Network equipment as well as method and device for starting hardware testing of same Download PDFInfo
- Publication number
- CN102223268B CN102223268B CN201110164956.1A CN201110164956A CN102223268B CN 102223268 B CN102223268 B CN 102223268B CN 201110164956 A CN201110164956 A CN 201110164956A CN 102223268 B CN102223268 B CN 102223268B
- Authority
- CN
- China
- Prior art keywords
- device port
- spool pin
- loopback detection
- detection message
- message
- 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
Links
Images
Landscapes
- Small-Scale Networks (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
The invention discloses network equipment as well as a method and device for starting hardware testing of the same. The method comprises the following steps of: after the network equipment is started, sending a loopback detection message to an equipment port with insertion of an external loopback cable, and judging whether the loopback detection message returned by the equipment port is received or not; judging whether an I/O (Input/Output) line pin of the equipment port is in a controlled state or not by controlling the level of the selected I/O line pin on the equipment port; and if the loopback detection message returned by the equipment port is received and the I/O line pin of the equipment port is in the controlled state, entering a hardware testing mode; or else, entering a normal user mode. The method can be used for conveniently starting the test automatically without setting special testing software, and is simple to operate and easy to realize.
Description
Technical field
The present invention relates to hardware testing technical field, espespecially a kind of network device hardware test starting method, device and the network equipment.
Background technology
The network equipment, after producing, generally need to be done hardware detection, gets rid of and to cause equipment fault because of hardware fault.Hardware detection has the method detecting by instrument, also has the method by software detection.Embedded device is used the method for software conventionally, builds user's use scenes as far as possible and tests.The equipment hardware detection that also will try again before dispatching from the factory.If adopt the method for manual operation instrument just relatively to waste time and energy.Conventionally adopt software that device interior carries to detect self hardware, realize the hardware check of equipment, and the result detecting is kept in equipment to check.
General device out after and equipment delivery all to detect, and to carry out the survey of height temperature detector, high low-temperature test need to carry out in a special environment, common people can not enter.Output and delivering amount are all very large, and equipment Inspection is all carried out in batches.At this moment just need equipment to power on and initiate self and carry out oneself and detect.The outside port of communication equipment is the hardware testing key object of producing while dispatching from the factory.Automatically the roasting machine test of hardware testing or high low temperature all will be carried out data transmit-receive test to outside port.
In prior art, for the hardware testing of equipment, there are two kinds of modes:
The one, by independent testing software, realize.
In this case, after software startup, do not need to judge external condition, unimpeded access hardware testing pattern.So just must prepare separately a set of testing software for the equipment that needs hardware testing of producing, after having tested, be replaced with again the final software using of user, then warehouse-in or direct marketing.When product export is sold, if forget or miss the testing software that changes certain equipment to be normal working software, can cause user normally to use, and change software and increased production process, more loaded down with trivial details.
The 2nd, by toggle switch or jumper cap control, be test pattern or normally use pattern.
This mode, will judge during software startup whether dial-up or jumper cap meet the hardware testing condition of factory, meets and just enters test pattern.Thisly just do not need to prepare another set of testing software separately, but comprise test module in final user software.It is very inconvenient that first this method is that plug wire jumper or dial-up need to be opened cabinet, if besides factory testing finish after certain equipment miss and toggle switch recovered or jumper cap takes off, device hardware state is also just sold away under factory test mode like this, jumper cap and dial-up are all very little devices, are difficult to find while not noting; And the equipment dispatching from the factory has been loaded onto cabinet, now open again cabinet dial-up or plug wire jumper inconvenience.Such equipment has arrived when client starts shooting there and cannot normally use.
In this case, once leak, pull out toggle switch or forget and take off jumper cap with regard to encapsulate machine, can cause later stage machine to use, if will keep in repair, also needing to reopen cabinet, operating also cumbersome.
Visible, hardware testing implementation complex operation, trouble in prior art, be difficult for realizing.
Summary of the invention
The embodiment of the present invention provides a kind of network device hardware test starting method, device and the network equipment, in order to solve in prior art, has complex operation, trouble, is difficult for the problem realizing.
A network device hardware test starting method, comprising:
After the network equipment starts, to the device port that inserts external loop cable, send loopback detection message, and judge whether to receive the described loopback detection message returning by described device port; And by controlling the level height of I/O spool pin selected on described device port, judge whether the I/O spool pin of described device port is slave mode;
The I/O spool pin of the described loopback detection message returning by described device port if receive and described device port is slave mode, enters hardware testing pattern; Otherwise, enter normal user mode.
A network device hardware test starting device, comprising:
Message sending module, after starting, sends loopback detection message to the device port that inserts external loop cable for the network equipment;
The first judge module, for judging whether to receive the described loopback detection message returning by described device port;
Level control module, for the level height of the I/O spool pin by selected on the described device port of control;
The second judge module, for judging whether the I/O spool pin of described device port is slave mode;
Executive Module, if determine that for described the first judge module receive the I/O spool pin that the described loopback detection message that returns by described device port and the second judge module determine described device port is slave mode, enters hardware testing pattern; Otherwise, enter normal user mode.
A network equipment, comprises above-mentioned network device hardware test starting device, device port and external loop cable.
Beneficial effect of the present invention is as follows:
Network device hardware test starting method, device and the network equipment that the embodiment of the present invention provides, after starting by the network equipment, to the device port that inserts external loop cable, send loopback detection message, and judge whether to receive the described loopback detection message returning by described device port; And by controlling the level height of I/O spool pin selected on described device port, judge whether the I/O spool pin of described device port is slave mode; The I/O spool pin of the described loopback detection message returning by described device port if receive and described device port is slave mode, enters hardware testing pattern; Otherwise, enter normal user mode.The method need not arrange special testing software, and can automatically start easily hardware testing, only need on device port, connect an external loop cable, in the time of can automatically identifying by software detection, need to start test pattern or normal mode of operation, simple, convenient, reliable, do not need a set of testing software of additional designs, easily realize.The equipment having existed while meanwhile, also having avoided using toggle switch or jumper cap to start is used hidden danger.
Accompanying drawing explanation
Fig. 1 is the flow chart of network device hardware test starting method in the embodiment of the present invention;
Fig. 2 is the catenation principle schematic diagram of embodiment of the present invention peripheral loopback cable;
Fig. 3 is a kind of realization flow figure that judges whether to receive loopback detection message in the embodiment of the present invention;
Fig. 4 is the specific implementation flow chart that in the embodiment of the present invention, I/O spool pin slave mode detects;
Fig. 5 is the structural representation of the network equipment in the embodiment of the present invention;
Fig. 6 is the structural representation of network device hardware test starting device in the embodiment of the present invention.
Embodiment
In order to solve complex operation, the trouble existing when the device hardware test existing in prior art realizes, be difficult for the problem realizing, avoid the hidden danger that affects the normal use of the network equipment of bringing because of hardware testing, the embodiment of the present invention provides a kind of network device hardware test starting method, its flow process as shown in Figure 1, comprises the steps:
Step S101: insert external loop cable at device port.
External loop cable can by device port, set in the I/O spool pin of quantity for two groups of I/O spool pin of data transmit-receive respectively loopbacks connect, remaining I/O spool pin binding connects together.Wherein, external loop cable is realized, according to Ether protocoll physical layer specifies, and by device port, the transmitting-receiving I/O spool pin loopback of the electricity under 100,000,000 patterns mouthful for example, other I/O spool pin are shorted together.
The catenation principle of external loop cable as shown in Figure 2, the RJ45 device port with 8 I/O spool pin of take is example, external loop cable is connected the pin one on RJ45 equipment interface with pin 3, pin two is connected with pin 6, and external loop cable has just had 100,000,000 Ethernet message transmitting-receiving loop fuctions like this.At cable, have on the basis of 100,000,000 ether electricity mouthful packet sending and receiving loopbacks, remaining line is linked together, be that pin 4,5,7,8 on RJ45 equipment interface links together, whether so just can and judge the I/O signal of these pins by program control, realizing judgment device port has been slave mode.
On the network equipment, connect after external loopback port, just can judge whether automatically to have entered the process of hardware testing by detecting this external control cable realization.
Step S102: the network equipment starts.
Step S103: send loopback detection message to the device port that inserts external loop cable.
After starting, the network equipment can send loopback detection message to the device port that inserts external loop cable.Wherein, can receive loopback detection message by equipment interface is one of condition of judgement startup hardware testing.
While sending loopback detection message to the device port that inserts external loop cable, after can inserting training data, directly send, also can send and fill training data and adopt the loopback detection message after the cipher mode of setting is encrypted to the device port that inserts external loop cable.
Step S104: judge whether to receive the loopback detection message returning by device port.If so, perform step S105; Otherwise execution step S108.
Send after loopback detection message, at the port, wait for and receive message, and resolve the message receiving when receiving message, judge receive be whether before the loopback detection message that sends.During for transmission, do not encrypt and encrypt two kinds of modes, this process comprises following two kinds of modes:
Mode one:
After sending loopback detection message, in the time of reception that monitoring is set, whether receive message.
When receiving message, whether the data content of the message that receives of judgement is identical with the data content of the loopback detection message sending, if when identical, determine and received the loopback detection message returning by described device port; Otherwise determine and do not receive the loopback detection message returning by device port.
Mode two:
After sending loopback detection message, in the time of reception that monitoring is set, whether receive message.
When receiving message, whether the data content, the cipher mode that judge the message receiving be identical with data content, the cipher mode of the loopback detection message sending respectively, if when all identical, determine and received the described loopback detection message returning by device port; Otherwise determine and do not receive the loopback detection message returning by device port.
The message that in mode two, judgement receives need to meet following two while whether being loopback detection message: the one, and the message receiving is to encrypt message, and cipher mode is identical with the loopback detection message sending out; The 2nd, the data content that the message receiving comprises is identical with the loopback detection message sending out.
Step S105: the level of selected I/O spool pin height on control appliance port.
After receiving loopback detection message, the slave mode that starts I/O spool pin detects, the variation of the level height of an I/O spool pin in the I/O spool pin of control short circuit, judges whether other I/O spool pin is same variation, realizes the slave mode that detects I/O spool pin.Can carry out repeatedly this process by the number of times of setting, simulate one group of signal waveforms, whether the several I/O spool pin that judge short circuit with this are joined together.Can be set to by the level of the selected I/O spool pin on software modification hardware register device port the level of appointment.
In this step, on control appliance port, the level of selected I/O spool pin height can repeatedly be selected different I/O spool pin, carries out successively the deterministic process of control level height and subsequent step S106.
Step S106: whether the I/O spool pin of judgment device port is slave mode.
When receiving loopback detection message, by the level height of I/O spool pin selected on control appliance port, whether the I/O spool pin of judgment device port is slave mode; If so, perform step S107; Otherwise execution step S108.
Specifically can select at least one pin in the remaining I/O spool pin described in step S101, the level of the pin of selection is set to high level or low level successively, judges whether the level of other remaining I/O spool pin is also high level or low level; If so, the I/O spool pin of determining device port is slave mode, otherwise, determine that the I/O spool pin of device port is not slave mode.Wherein, other remaining I/O spool pin refer to other I/O spool pin that link together with the I/O spool pin of selecting.That is to say, can select a plurality of pins in remaining I/O spool pin, repeatedly repeat electrical level judging process, when the number of times of repeatedly setting, when being judged as YES, think slave mode, otherwise think and be not slave mode.
Step S107: enter hardware testing pattern.
The I/O spool pin of the loopback detection message returning by device port if receive and device port is slave mode, enters hardware testing pattern.
Step S108: enter normal user mode.
The I/O spool pin of the loopback detection message returning by device port if do not receive or device port is not slave mode, enters normal user mode.
Optionally, flow process that can be as shown in Fig. 1 above in said method, first detects loopback detection messages, more whether detect I/O spool pin be slave mode; Also first literary composition detects whether I/O spool pin is slave mode, then detects loopback detection report, or two testing processes are carried out simultaneously.
When above-mentioned steps S103 adopts cipher mode to send loopback detection message, employing mode two in step S104, the specific implementation flow process of this process as shown in Figure 3, comprises the steps:
Step S201: request for data message, and fill training data.
Step S202: the encryption method enciphered data message according to appointment, obtains loopback detection message.
The cipher mode of appointment can be the cryptographic algorithm of agreement.
Step S203: send loopback detection message to selected device port.
Selected device port refers to the device port that inserts external loop cable herein.
Step S204: wait for and receive the loopback detection message returning at selected device port place.
Step S205: whether receive message in the time of reception that monitoring is set.
If so, perform step S206, otherwise execution step S209.
Step S206: resolve the message content receiving.
Step S207: whether the data content of the message that receives of judgement, cipher mode be identical with data content, the cipher mode of the loopback detection message sending respectively.
If when all identical, execution step S208, otherwise execution step S209.
Step S208: determine and received the loopback detection message returning by device port.
Export this process judgement and pass through, carry out the judgement of follow-up I/O spool pin slave mode.
Step S209: determine and do not receive the loopback detection message returning by device port.
Export this process judgement and do not pass through, do not need to carry out again the judgement of follow-up I/O spool pin slave mode.
The I/O spool pin of above-mentioned steps S105 and step S106 judgment device port be whether slave mode process as shown in Figure 4, comprise the steps:
Step S301: start I/O spool pin slave mode and detect.
Step S302: the high level that the level of I/O spool pin selected on device port is made as to setting.
For example: the level of the I/O spool pin 5 on device port is set to the high level of appointment.
Step S303: whether the level that detects other I/O spool pin that link together with this I/O spool pin is high level.
The level height of the I/ O spool pin 4,7,8 that detection and I/O spool pin 5 link together, can judge whether I/ O spool pin 4,7,8 is high level by software retaking of a year or grade hardware register.
If so, perform step S304, otherwise, execution step S308.
Step S304: the low level that the level of I/O spool pin selected on device port is made as to setting.
Then the level of the I/O spool pin 7 on device port is set to the low level of appointment.
Step S305: whether the level that detects other I/O spool pin that link together with this I/O spool pin is low level.
The level height of the I/ O spool pin 4,5,8 that detection and I/O spool pin 7 link together, can judge whether I/ O spool pin 4,5,8 is low level by software retaking of a year or grade hardware register.
If so, perform step S306, otherwise, execution step S308.
Step S306: whether circulated execution set point number.
The selected I/O spool pin linking together that can repeatedly circulate, repeats the number of times of above process setting successively, thinks slave mode when being all judged as YES, otherwise thinks and be not slave mode.If so, perform step S307, otherwise execution step S302.
Step S307: determine that on device port, I/O spool pin is slave mode.
The level of each I/O spool pin on restorer port.
Step S308: determine that on device port, I/O spool pin is not slave mode.
Flow process shown in above-mentioned Fig. 4, whether the level that is not used in the I/ O spool pin 4,5,7,8 of data transmit-receive by detection changes consistent, whether realization is the detection of slave mode to I/O spool pin, and this testing process does not relate to the I/O line pin one, 3,2,6 for data transmit-receive.At the detection ring shown in above-mentioned Fig. 3, return in civilian process, what use is I/O line pin one, 3,2,6.
During said method device power, whether program detects specific external loop cable and is inserted into, and the method for detection is divided two stages, and the first stage is detection messages internal loopback; Second stage is whether detection I/O spool pin is controlled.Only have the detection in two stages all to pass through, could start comprehensive hardware automatic test pattern, the program test that each hardware of equipment is pre-set.Said method is realized and is started hardware testing by loopback detection message and the slave mode of I/O spool pin of inserting the device port of external loop cable, can test also to increase to the message loopback transmitting-receiving of device port to start the reliability of automatically testing but also the signal quality of I/O spool pin is tested simultaneously.
Instrument or equipment that in actual motion, the opposite side of device port connects may have the situation of the message receiving being shone upon back to transmit port, if simple according to message internal loopback, likely judge by accident and allow equipment enter comprehensive hardware automatic test pattern.Therefore, on the basis of transmitting-receiving loopback, increase again the signal judgement of specific I/O spool pin, to judge its slave mode, make judgement that whether external loop cable is inserted into more accurate, the False Rate while further having reduced device start automatic test pattern.
The network device hardware test starting method providing based on the embodiment of the present invention, the embodiment of the present invention also provides a kind of network device hardware test starting device, and this device can be arranged in any network equipment that need to start hardware testing.As shown in Figure 5, the structure of this network device hardware test starting device as shown in Figure 6 for the structure of this network equipment.
As shown in Figure 5, the above-mentioned network equipment comprises: network device hardware test starting device 10, device port 20 and external loop cable 30.Certainly in equipment, also comprise other components and parts, such as various hardware etc.Wherein, external loop cable by device port, set in the I/O spool pin of quantity for two groups of I/O spool pin of data transmit-receive respectively loopbacks connect, remaining I/O spool pin binding connects together.
As shown in Figure 6, above-mentioned network device hardware test starting device 10 comprises: message sending module 101, the first judge module 102, level control module 103, the second judge module 104 and Executive Module 105.
Preferably, above-mentioned sending module 101, specifically for: to the device port that inserts external loop cable, send and fill training data and adopt the loopback detection message after the cipher mode of setting is encrypted.
The first judge module 102, for judging whether to receive the loopback detection message returning by device port.
Preferably, above-mentioned the first judge module 102, specifically for: at message sending module 101, send after loopback detection message, in the time of reception that monitoring is set, whether receive message; When receiving message, whether the data content of the message that receives of judgement is identical with the data content of the loopback detection message sending, if when identical, determine and received the loopback detection message returning by device port; Otherwise determine and do not receive the loopback detection message returning by device port.
Preferably, above-mentioned the first judge module 102, specifically for: at message sending module 101, send after the loopback detection message of encrypting, in the time of reception that monitoring is set, whether receive message; When receiving message, whether the data content of the message that receives of judgement, cipher mode be identical with data content, the cipher mode of the loopback detection message sending respectively, if when all identical, determine and received the loopback detection message returning by device port; Otherwise determine and do not receive the loopback detection message returning by device port.
Whether the second judge module 104 is slave mode for the I/O spool pin of judgment device port.
Preferably, above-mentioned level control module, specifically for: select external loop cable by least one pin in remaining I/O spool pin on device port, the level of the pin of selection is set to high level or low level successively; Wherein, described remaining I/O spool pin refer to external loop cable by device port, set in the I/O spool pin of quantity for two groups of I/O spool pin of data transmit-receive respectively loopbacks connect after remaining I/O spool pin, described remaining I/O spool pin connects together by the binding of external loop cable;
Accordingly, above-mentioned the second judge module 104, specifically for: whether the level that judges other remaining I/O spool pin is also high level or low level; If so, the I/O spool pin of determining device port is slave mode, otherwise, determine that the I/O spool pin of device port is not slave mode.
Network device hardware test starting method, device and the network equipment that the embodiment of the present invention provides, applicable to the network equipment in embedded communication system, utilize specific outside port connected mode, realize start and enter the automatic full test of hardware, for the production of time automatic Sampling network device hardware whether intact.Special testing software need not be set, and can automatically start easily hardware testing, only need on device port, connect an external loop cable, can pass through the loopback message of software detection loopback cable and the level situation of loopback cable connectivity port, automatically whether identification needs to start test pattern or normal mode of operation, simple, convenient, do not need a set of testing software of additional designs, easily realize.
Simultaneously, which when plant produced is tested externally port insert specific external loop cable, can utilize this specific external loop cable as whether automatically entering one of condition of hardware testing, this external loop cable is connected with device port, therefore do not deposit in the prior art toggle switch or jumper cap and control the various drawbacks while realizing hardware testing, the equipment having existed while also having avoided using toggle switch or jumper cap to start is used hidden danger.
Above-mentioned implementation method, due to a set of program both can also be can be used for to user program issue by hardware testing when dispatching from the factory, has reduced the link of changing back and forth program while dispatching from the factory, has also prevented from changing back and forth error.If the maintenance testing tool using external loop cable after equipment breaks down offers user, user can insert external loop cable and start hardware detection when equipment breaks down, and after having tested, checks test result.So just can simple and fast judge hardware and whether have problem.
Because the automatic condition of hardware testing is to insert external hardware cable, this condition can be by user misoperation, produce the Shi Buhui that dispatches from the factory and omit and recover reset condition because equipment cabinets port for peripheral equipment place insert cable forget pull up be easy to found.
When loopback line connects, except transmitting-receiving is linked together between two, an ether electricity mouthful general mode RJ45 port is example, and transceiving data only uses 4 lines wherein.When receiving and dispatching correctly with regard to determination hardware port fault-free, all hardware line is not carried out to Complete test, also have other 4 also not cover.In said method, also increase hardware signal quality testing, the signal of the I/O spool pin of device port is detected, to hardware signal, all hardware line can be more comprehensively covered in test.All line tests to device port all cover, and do not omit any holding wire.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.
Claims (9)
1. a network device hardware test starting method, is characterized in that, comprising:
After the network equipment starts, to the device port that inserts external loop cable, send loopback detection message, and judge whether to receive the described loopback detection message returning by described device port; And by controlling the level height of I/O spool pin selected on described device port, whether the I/O spool pin that judges described device port is slave mode, wherein, described external loop cable by device port, set in the I/O spool pin of quantity for two groups of I/O spool pin of data transmit-receive respectively loopbacks connect, remaining I/O spool pin binding connects together;
The I/O spool pin of the described loopback detection message returning by described device port if receive and described device port is slave mode, enters hardware testing pattern; Otherwise, enter normal user mode.
2. the method for claim 1, is characterized in that, described in judge whether to receive the described loopback detection message returning by described device port, specifically comprise:
After sending loopback detection message, in the time of reception that monitoring is set, whether receive message;
When receiving message, whether the data content of the message that receives of judgement is identical with the data content of the loopback detection message sending, if when identical, determine and received the described loopback detection message returning by described device port; Otherwise determine and do not receive the described loopback detection message returning by described device port.
3. the method for claim 1, it is characterized in that, the described device port to inserting external loop cable sends loopback detection message, specifically comprises: to the device port that inserts external loop cable, send and fill training data and adopt the loopback detection message after the cipher mode of setting is encrypted; Accordingly,
Describedly judge whether to receive the described loopback detection message returning by described device port, specifically comprise:
After sending loopback detection message, in the time of reception that monitoring is set, whether receive message;
When receiving message, whether the data content, the cipher mode that judge the message receiving be identical with data content, the cipher mode of the loopback detection message sending respectively, if when all identical, determine and received the described loopback detection message returning by described device port; Otherwise determine and do not receive the described loopback detection message returning by described device port.
4. the method for claim 1, is characterized in that, the described level by I/O spool pin selected on the described device port of control just, judges whether the I/O spool pin of described device port is slave mode, specifically comprises:
Select at least one pin in described remaining I/O spool pin, the level of the pin of selection is set to high level or low level successively, judges whether the level of remaining I/O spool pin described in other is also high level or low level;
If so, the I/O spool pin of determining described device port is slave mode, otherwise, determine that the I/O spool pin of described device port is not slave mode.
5. a network device hardware test starting device, is characterized in that, comprising:
Message sending module, after starting, sends loopback detection message to the device port that inserts external loop cable for the network equipment;
The first judge module, for judging whether to receive the described loopback detection message returning by described device port;
Level control module, level height for the I/O spool pin by selected on the described device port of control, wherein, described external loop cable by device port, set in the I/O spool pin of quantity for two groups of I/O spool pin of data transmit-receive respectively loopbacks connect, remaining I/O spool pin binding connects together;
The second judge module, for judging whether the I/O spool pin of described device port is slave mode;
Executive Module, if determine that for described the first judge module receive the I/O spool pin that the described loopback detection message that returns by described device port and the second judge module determine described device port is slave mode, enters hardware testing pattern; Otherwise, enter normal user mode.
6. device as claimed in claim 5, is characterized in that, described the first judge module, specifically for:
At described message sending module, send after loopback detection message, in the time of reception that monitoring is set, whether receive message;
When receiving message, whether the data content of the message that receives of judgement is identical with the data content of the loopback detection message sending, if when identical, determine and received the described loopback detection message returning by described device port; Otherwise determine and do not receive the described loopback detection message returning by described device port.
7. device as claimed in claim 5, is characterized in that, described message sending module, specifically for: to the device port that inserts external loop cable, send and fill training data and adopt the loopback detection message after the cipher mode of setting is encrypted; Accordingly,
Described the first judge module, specifically for: at described message sending module, send after loopback detection message, in the time of reception that monitoring is set, whether receive message; When receiving message, whether the data content, the cipher mode that judge the message receiving be identical with data content, the cipher mode of the loopback detection message sending respectively, if when all identical, determine and received the described loopback detection message returning by described device port; Otherwise determine and do not receive the described loopback detection message returning by described device port.
8. the device as described in as arbitrary in claim 5-7, it is characterized in that, described level control module, specifically for: select external loop cable by least one pin in remaining I/O spool pin on device port, the level of the pin of selection is set to high level or low level successively; Wherein, described remaining I/O spool pin refer to external loop cable by device port, set in the I/O spool pin of quantity for two groups of I/O spool pin of data transmit-receive respectively loopbacks connect after remaining I/O spool pin, described remaining I/O spool pin connects together by the binding of external loop cable;
The second judge module, specifically for judging whether the level of remaining I/O spool pin described in other is also high level or low level; If so, the I/O spool pin of determining described device port is slave mode, otherwise, determine that the I/O spool pin of described device port is not slave mode.
9. the network equipment, it is characterized in that, comprise network device hardware test starting device, device port and external loop cable as described in as arbitrary in claim 5-8, wherein, described external loop cable by device port, set in the I/O spool pin of quantity for two groups of I/O spool pin of data transmit-receive respectively loopbacks connect, remaining I/O spool pin binding connects together.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110164956.1A CN102223268B (en) | 2011-06-17 | 2011-06-17 | Network equipment as well as method and device for starting hardware testing of same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110164956.1A CN102223268B (en) | 2011-06-17 | 2011-06-17 | Network equipment as well as method and device for starting hardware testing of same |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102223268A CN102223268A (en) | 2011-10-19 |
CN102223268B true CN102223268B (en) | 2014-04-02 |
Family
ID=44779701
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110164956.1A Expired - Fee Related CN102223268B (en) | 2011-06-17 | 2011-06-17 | Network equipment as well as method and device for starting hardware testing of same |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102223268B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102984581B (en) * | 2012-12-12 | 2015-08-05 | 青岛海信宽带多媒体技术有限公司 | A kind of set-top-box system and Set Top Box detection method |
CN107786357B (en) * | 2016-08-29 | 2021-05-18 | 迈普通信技术股份有限公司 | Interface performance test method and device and network equipment |
CN110505110B (en) * | 2018-05-18 | 2021-07-20 | 杭州海康威视数字技术股份有限公司 | Network interface test method and device and multi-network-port host |
CN112241157A (en) * | 2020-09-04 | 2021-01-19 | 北京新能源汽车技术创新中心有限公司 | Loopback testing device and method for diagnosing communication link fault of vehicle central gateway |
CN114035023B (en) * | 2021-10-22 | 2022-08-19 | 宁波集联软件科技有限公司 | Multi-mode automobile core plate clamp judgment method and judgment system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1466315A (en) * | 2002-06-05 | 2004-01-07 | 华为技术有限公司 | Method for realizing long distance controlled loopback of communication equipment |
CN101582809A (en) * | 2008-05-14 | 2009-11-18 | 襄樊博创伟业电子有限公司 | Loop-back detecting and inhibiting method of Ethernet exchanger chip port |
CN201733310U (en) * | 2010-08-09 | 2011-02-02 | 青岛海信宽带多媒体技术有限公司 | Self-linking optical returning module capable of power supply indication |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2008152695A1 (en) * | 2007-06-12 | 2010-08-26 | 富士通株式会社 | Electronic device, test method for electronic device |
-
2011
- 2011-06-17 CN CN201110164956.1A patent/CN102223268B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1466315A (en) * | 2002-06-05 | 2004-01-07 | 华为技术有限公司 | Method for realizing long distance controlled loopback of communication equipment |
CN101582809A (en) * | 2008-05-14 | 2009-11-18 | 襄樊博创伟业电子有限公司 | Loop-back detecting and inhibiting method of Ethernet exchanger chip port |
CN201733310U (en) * | 2010-08-09 | 2011-02-02 | 青岛海信宽带多媒体技术有限公司 | Self-linking optical returning module capable of power supply indication |
Also Published As
Publication number | Publication date |
---|---|
CN102223268A (en) | 2011-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102223268B (en) | Network equipment as well as method and device for starting hardware testing of same | |
CN104819551B (en) | For the fault warning system and air conditioner of air conditioner | |
CN103631248B (en) | Testing device, testing method and testing system for air conditioner unit | |
US20080183406A1 (en) | Online IED Fault Diagnosis Device and Method for Substation Automation System Based on IEC61850 | |
CN108965044A (en) | A kind of electric car electrically-charging equipment universal data link health status test device, system and method | |
CN103699112B (en) | Based on avionics Autonomous test Authentication devices and the verification method thereof of I/O signal fault simulation | |
CN102967815B (en) | Chip testing method, automated testing equipment and system | |
CN103631688B (en) | A kind of method and system of test interface signal | |
CN102840992B (en) | Satellite-borne self-testing method based on satellite network | |
CN104391244A (en) | Closed loop test method of relay protection apparatus and system thereof | |
CN209545248U (en) | A kind of intelligent Substation System of visualized O&M | |
CN108121326A (en) | A kind of fault diagnosis method and system | |
CN103761185B (en) | A kind of automatization test system and method | |
CN206673990U (en) | A kind of detecting system of communication message | |
CN110989547A (en) | Detection method and system for intelligent substation one-key sequence control system | |
CN105738736B (en) | A kind of secondary equipment of intelligent converting station panorama test system, structure and test method | |
CN109613909A (en) | Stability control host testing method and system | |
CN105182773A (en) | Data detection system and method for run-up test of aeroengine | |
CN101876676A (en) | Method and device for automatically testing household appliance | |
CN108989067A (en) | The method of calibration and equipment of configuration file consistency | |
CN105892609B (en) | A kind of method and intelligent terminal of terminal booting and identification memory card synchronous operation | |
CN106941434A (en) | The detecting system and method for a kind of communication message | |
CN104699609A (en) | Method and device for detecting serial port communication | |
CN105093096B (en) | A kind of FPGA test device | |
CN207200894U (en) | Tooling plate and test 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 350002 19 Building, Citrus Industrial Park, 618 Jinshan Road, Cangshan District, Fuzhou, Fujian. Patentee after: RUIJIE NETWORKS Co.,Ltd. Address before: 350002 19 Building, Citrus Industrial Park, 618 Jinshan Road, Cangshan District, Fuzhou, Fujian. Patentee before: Fujian Star Network Ruijie Networks Co.,Ltd. |
|
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: 20140402 Termination date: 20210617 |