A rapid detection method based on router startup status and related equipment

By determining the router chip startup sequence and current expected value, and using the ammeter to determine the router's qualified status, the problems of complexity and long time of existing detection methods are solved, and fast and simplified router detection and fault location are achieved.

CN119087088BActive Publication Date: 2025-08-29SHENZHEN SINOBRY ELECTRONICS LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411239757.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2025-08-29
Estimated Expiration
2044-09-05

AI Technical Summary

Technical Problem

Existing router detection methods require connection of complex testing systems and setting multiple test parameters, which leads to high operational difficulty and long detection time, and requires professional operation.

Method used

By determining the startup sequence of the chip in the router to be tested, analyzing the actual current during the chip's normal operation, calculating the expected current value, and determining whether the router is qualified through the difference between the fluctuating current value measured by the ammeter and the expected value, simplifying the detection process.

Benefits of technology

There is no need to connect multiple devices and set complex parameters, which reduces operational difficulty, improves detection efficiency, can quickly determine the qualified status of the router, and locate the faulty chip or short-circuit position.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119087088B_ABST
    Figure CN119087088B_ABST
Patent Text Reader

Abstract

The present application relates to the field of router testing technology, and more particularly to a rapid detection method and system based on the router startup status, capable of rapidly monitoring a router under test. The method comprises: determining the startup sequence of each of N chips in the router under test; analyzing the actual current of the target chips during normal operation based on the performance parameters of the target chips; calculating N expected current values ​​based on the startup sequence of the target chips and the actual operating current of the target chips; and determining whether the router under test is qualified based on the difference between the fluctuating current value measured by an ammeter after the router under test is powered on and the N expected current values.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of router detection, and in particular to a rapid detection method based on the startup status of a router and related equipment. Background Art

[0002] With the continuous advancement of network technology, routers have become critical devices for connecting to the internet. Their performance and stability are crucial to smooth network communications. During production, testing, and maintenance, checking the startup status of routers is a crucial step in ensuring their quality. Currently, several technical methods exist within the industry for checking the startup status of routers.

[0003] Traditional router testing methods typically rely on complex testing systems. These systems connect multiple sensors and precision instruments to monitor various performance indicators, such as current and voltage, during the router's startup process. While these methods can provide detailed test data for professionals to analyze and determine the router's startup status, the need to connect multiple devices and set complex test parameters increases operational difficulty and prolongs testing time. This leads to inefficiencies when testing multiple routers and requires specialized operators to perform the tests. Summary of the Invention

[0004] In order to solve the problem that existing router detection requires connecting to a complex test system and setting multiple test parameters, which increases the operational difficulty and detection time during the router detection process, the present application provides a rapid detection method and device based on the router startup status.

[0005] The first aspect of the present application provides a rapid detection method based on the startup status of a router, comprising:

[0006] Determine a startup order of each chip in the router to be tested, where N is an integer greater than or equal to 2;

[0007] analyzing, according to performance parameters of a target chip, an actual current of the target chip during normal operation, the target chip being any one of the N chips;

[0008] Calculating N expected current values ​​according to the startup sequence and the actual current;

[0009] Whether the router to be tested is qualified is determined according to the difference between the fluctuating current value measured by the ammeter after the router to be tested is powered on and the N expected current values.

[0010] By employing the above technical solution, the startup sequence of the chips in the router under test and the actual current drawn by the chips during normal operation are determined. Combining the startup sequence of N chips and the actual current drawn by the chips during normal operation, N expected current values ​​are calculated. The router's compliance is then determined based on the difference between the N expected current values ​​and the actual current fluctuations detected by the ammeter after the router is powered on. Therefore, testing the router under test eliminates the need to connect multiple devices and set complex test parameters. Instead, the test is completed by simply using an ammeter to obtain the current value after the current fluctuations at startup and calculating the difference between the current value after the current fluctuations and the corresponding expected current value.

[0011] Optionally, determining the startup order of each chip in the router to be tested includes the following steps:

[0012] Obtaining an application circuit diagram of the router to be tested according to the specification of the router to be tested;

[0013] The startup sequence of any one chip among the N chips is determined according to the application circuit diagram.

[0014] By adopting the above technical solution, it is easy to obtain the application circuit diagram of the router under test, and the startup chip of the chip in the router under test can be correctly analyzed according to the specific application circuit diagram.

[0015] Optionally, analyzing the actual current of the target chip during normal operation according to the performance parameters of the target chip includes the following steps:

[0016] Acquire electrical characteristics of the target chip according to the specification sheet of the target chip;

[0017] The actual current of the target chip during normal operation is analyzed according to the electrical characteristics.

[0018] By adopting the above technical solution, the electrical characteristics of the chip in the router under test can be obtained, and the operating current of the chip during normal operation can be analyzed based on the electrical characteristics of the chip, which facilitates the subsequent calculation of the expected current value.

[0019] Optionally, the calculating N expected current values ​​according to the startup sequence and the actual current includes:

[0020] The N expected current values ​​are determined by the following formula:

[0021] A(i)=A(i-1)+B(i);

[0022] Wherein, A(i) is the expected value of the i-th current, i is any value in N, or {i|i∈N:1≤i≤N}, A(i-1) is the expected value of the i-1-th current, A(0) is the expected value of the 0th current and its value is 0, and B(i) is the actual current when the i-th startup chip is working normally.

[0023] Through the above technical solution, the expected current value of the router under test after each internal chip is started is calculated according to the formula of the expected current value, which facilitates the subsequent calculation of the difference between the expected current value and the fluctuating current value of the ammeter.

[0024] Optionally, judging whether the router to be tested is qualified according to the difference between the fluctuating current value measured by an ammeter after the router to be tested is powered on and the N expected current values ​​includes the following steps:

[0025] determining whether a first difference between a first fluctuating current value and a first expected current value is within a preset range, wherein the first fluctuating current value is a current value displayed by the ammeter after the first fluctuation, and the first expected current value is a first expected current value among the N expected current values;

[0026] If the first difference is within the preset range, determining whether a second difference between a second fluctuating current value and a second expected current value is within the preset range, the second fluctuating current value being a current value after the ammeter fluctuates again after the first fluctuation, and the second expected current value being a second expected current value among the N expected current values;

[0027] If the second difference is within the preset range, the steps of calculating the difference between the fluctuating current value and the expected current value are sequentially performed according to the order of fluctuation of the current value of the ammeter, until the difference between the i-th fluctuating current value and the i-th expected current value is not within the preset range or the difference between the N-th fluctuating current value and the N-th expected current value is within the preset range, wherein the i-th fluctuating current value is the current value after the i-1-th fluctuation of the ammeter and is adjacent to the current value of the i-1-th fluctuation of the ammeter, where i is any value in N, or {i|i∈N:1≤i≤N}; if the difference between each of the N fluctuating current values ​​and the corresponding expected current value is within the preset range, then it is determined that the router to be tested is qualified, and the number of fluctuations of the ammeter is correlated with the number of chips included in the router to be tested;

[0028] If the difference between the target fluctuating current value and the corresponding target current expected value among the N fluctuating current values ​​is not within a preset range, it is determined that the router to be tested is unqualified.

[0029] Through the above technical solution, it is determined whether the difference between N fluctuating current values ​​and the corresponding expected current values ​​is within a preset range. If the N differences are all within the preset range, the router under test can be determined to be qualified. If a difference among the N differences is not within the preset range, the router under test can be determined to be unqualified. Whether the router under test is qualified can be determined only by the difference between the fluctuating current value and the corresponding expected current value, which reduces the difficulty of testing the router under test and improves the test efficiency.

[0030] Optionally, a quick detection method based on the router startup status further includes:

[0031] When the router to be tested fails, determining that a target problem chip corresponding to the target fluctuating current value has a problem;

[0032] Determine the target location of the target problem chip according to the application circuit diagram;

[0033] Sending a prompt message according to the target location to prompt that the target problem chip has a fault;

[0034] When it is detected that the target problematic chip is replaced, the test process is re-executed on the router to be tested after the target problematic chip is replaced.

[0035] Through the above technical solution, when the router under test fails the test, the location of the problem chip can be located and an alarm message can be issued to prompt the operator to replace the problem chip. After detecting that the problem chip has been replaced, the router under test can be powered on and tested again, which makes it easier for the operator to quickly locate the problem chip in the router under test and eliminate related faults, thereby improving the testing efficiency of the router under test.

[0036] Optionally, a quick detection method based on the router startup status further includes:

[0037] If the current value of the ammeter after fluctuation reaches full load, it is determined that the router to be tested has a short circuit;

[0038] Determining the resistance value of each chip in the N chips;

[0039] Determine a chip with a resistance value of 0 among the N chips as a short-circuited chip;

[0040] The router to be tested is powered off, and a second prompt message is issued based on the short-circuited chip to prompt the user to inspect or replace the short-circuited chip to eliminate the short circuit;

[0041] After the short circuit is eliminated, the router to be tested is powered on and the above detection process is repeated.

[0042] Through the above technical solution, when a short circuit occurs in the router under test, the position of the short-circuited chip can be determined, and an alarm message can be issued to prompt the operator to replace the short-circuited chip. After detecting that the short-circuited chip has been replaced, the router under test can be powered on again and tested, which makes it easier for the operator to quickly locate the short-circuit position of the router under test and eliminate the short-circuit fault, thereby improving the testing efficiency of the router under test.

[0043] A second aspect of the present application provides a rapid detection device based on the startup status of a router, which adopts the following technical solution: a rapid detection device based on the startup status of a router, comprising:

[0044] A determination module, configured to determine a startup order of each chip in the router to be tested, where N is an integer greater than or equal to 2;

[0045] an analysis module, configured to analyze, based on performance parameters of a target chip, an actual current of the target chip during normal operation, the target chip being any one of the N chips;

[0046] a calculation module, configured to calculate N expected current values ​​according to the startup sequence and the actual current;

[0047] The judging module is used to judge whether the router to be tested is qualified according to the fluctuating current value measured by the ammeter after the router to be tested is powered on and N expected current values.

[0048] A third aspect of the present application provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method for rapid detection based on the startup status of a router described in the first aspect are implemented.

[0049] In a fourth aspect, the present application provides a computer storage medium comprising instructions, which, when executed on a computer, enables the computer to execute the steps of a rapid detection method based on a router startup status as described in any one of the above aspects.

[0050] In summary, it can be seen that in the embodiments provided herein, the chip startup sequence within the router under test is determined in advance. When the router under test is powered on, an ammeter is used to sequentially detect the current fluctuations of each of the N chips within the router under test. Ultimately, the router's compliance is determined based on the difference between the fluctuating current value and the expected current value. This eliminates the need for connecting multiple sensors and precision instruments, reduces operational complexity, and improves testing efficiency. Furthermore, since only the difference is required to determine the router's compliance, the need for specialized testers is eliminated. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 A flowchart of a rapid detection method based on router startup status provided by an embodiment of the present application;

[0052] Figure 2 A schematic diagram of a virtual structure of a rapid detection device based on the startup status of a router provided in an embodiment of the present application;

[0053] Figure 3 Schematic diagram of the hardware structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] The following will combine the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.

[0055] The following describes a quick detection method based on the router startup status.

[0056] See also Figure 1 , Figure 1 A flowchart of a rapid detection method based on the router startup status provided in an embodiment of the present application includes:

[0057] 101. Determine a startup order of each chip in the router under test;

[0058] In this embodiment, the router startup status detection device can first determine the model of the router to be tested, determine the N chips used in the router to be tested based on the model of the router to be tested, where N is an integer greater than or equal to 2, and determine the order in which each chip in the N chips starts to receive power when the router to be tested is powered on. This order is the chip startup order of the router to be tested.

[0059] In one embodiment, determining the startup order of each chip in the router under test further includes the following steps:

[0060] Obtain the application circuit diagram of the router to be tested according to its specification sheet;

[0061] The startup sequence of any one of the N chips is determined according to the application circuit diagram.

[0062] In this embodiment, the router startup status detection device may obtain an application circuit diagram from the specification sheet of the router under test. The application circuit diagram of the router under test includes, but is not limited to, the overall structure and connection method of the circuit of the router under test, the models and specifications of all components used in the circuit of the router under test, and the connection method of the power supply line and ground line in the circuit of the router under test. The application circuit diagram may be obtained by an operator storing the application circuit diagram of the router under test on the router startup status detection device in advance. Of course, the application circuit diagram may also be obtained by other methods, such as an operator taking a photo of the application circuit diagram in the specification sheet of the router under test and uploading the photo to the router startup status detection device. The router startup status detection device then recognizes the photo and extracts the application circuit diagram therein. The specific method is not limited.

[0063] Afterwards, the router startup status detection device can analyze the circuit connection and control logic of the target chip in the circuit according to the application circuit diagram of the router to be tested, thereby determining the startup sequence of the target chip, which is any one of the N chips inside the router to be tested.

[0064] 102. Analyze the actual current of the target chip during normal operation based on the performance parameters of the target chip;

[0065] In this embodiment, the router startup status detection device can obtain the model of the target chip from the application circuit diagram of the router under test obtained in step 101. The target chip is any one of the N chips inside the router under test. The device obtains the performance parameters of the target chip according to the model of the target chip. The performance parameters include but are not limited to: the static operating current, dynamic operating current, sleep current, and maximum load current of the chip at different temperatures. The actual current of the target chip during normal operation is determined by combining the current ambient temperature and the performance parameters of the target chip.

[0066] In one embodiment, analyzing the actual current of the target chip during normal operation according to the performance parameters of the target chip includes the following steps:

[0067] Obtain the electrical characteristics of the target chip according to its specification sheet;

[0068] Analyze the actual current of the target chip during normal operation based on its electrical characteristics.

[0069] In this embodiment, the router startup status detection device obtains the specification sheet of the target chip based on the model of the target chip. The specification sheet includes, but is not limited to, the following electrical characteristics: minimum operating voltage, maximum operating voltage, power consumption, operating temperature range, electrical impedance, and package type. The electrical characteristics of the target chip can be obtained by an operator storing them in advance on the router startup status detection device. Alternatively, the electrical characteristics can be obtained by other means, such as an operator taking a photo of the electrical characteristics section of the target chip's specification sheet and uploading the photo to the router startup status detection device, where the router startup status detection device recognizes the photo and extracts the electrical characteristics, or an operator inputting the electrical characteristics of the target chip on a screen of the router startup status detection device. The specific details are not limited thereto.

[0070] Afterwards, the router startup status detection device can analyze the actual operating current of the target chip when it is working normally based on the electrical characteristics of the target chip and the current temperature conditions. Of course, the actual operating current of the target chip when it is working normally can also be obtained through other methods. A simple operating environment can be built to directly measure the actual operating current of the target chip when it is working normally, or the actual operating current of the target chip when it is working normally can be obtained through a temperature-current comparison table when the target chip is working normally. There is no specific limitation.

[0071] 103. Calculate N expected current values ​​according to the startup sequence and actual operating current of the router chip under test;

[0072] In this embodiment, the router startup status detection device can calculate N expected current values ​​based on the startup sequence and actual operating current of the router chips under test, and store the corresponding router model and current expected values. In subsequent tests of the same router under test, the expected current values ​​can be directly obtained based on the router model under test. The number of expected current values ​​is equal to the number of chips in the router under test and is related to the startup sequence of the router chips under test. For example, if there are N chips inside the router under test:

[0073] The first current expected value is the actual current when the first startup chip is working normally;

[0074] The second expected current value is the sum of the first expected current value and the actual current of the second startup chip during normal operation, and the startup time of the second startup chip is after the startup time of the first startup chip;

[0075] The third expected current value is the sum of the second expected current value and the actual current of the third startup chip during normal operation, and the startup sequence of the third startup chip is after the startup of the second startup chip;

[0076] This is deduced in this way until the expected current value of the Nth startup chip is the sum of the expected current value of the N-1th startup chip and the actual current of the Nth startup chip during normal operation. The startup sequence of the Nth startup chip is after the startup of the N-1th startup chip.

[0077] Specifically, the router startup status detection device can determine N expected current values ​​by the following formula: A(i)=A(i-1)+B(i);

[0078] Where A(i) is the expected value of the i-th current, i is any value in N, or {i|i∈N:1≤i≤N}, A(i-1) is the expected value of the i-1-th current, A(0) is the expected value of the 0-th current, and its value is 0. B(i) is the actual current when the i-th startup chip is working normally.

[0079] The following example illustrates how a router startup status detection device calculates N expected current values. The router to be tested contains four chips. The actual currents of the chips during normal operation are ranked according to their startup order. The actual currents of the four chips during normal operation are 0.2A, 0.3A, 0.4A, and 0.3A, respectively. The above formula shows that the first expected current value is 0.2A, the second expected current value is 0.5A, the third expected current value is 0.9A, and the fourth expected current value is 1.2A.

[0080] 104. Determine whether the router under test is qualified based on the difference between the fluctuating current value measured by the ammeter after the router under test is powered on and the N expected current values;

[0081] In this embodiment, the router startup status detection device powers on the router under test and monitors the value of an ammeter connected to the bus of the router under test. Each time the ammeter fluctuates, the router startup status detection device records the ammeter fluctuation value and calculates the difference between each ammeter fluctuation value and each corresponding expected current value. For example, the difference between the first ammeter fluctuation value and the first expected current value is calculated, the difference between the second ammeter fluctuation value and the second expected current value is calculated, and so on until the difference between the Nth ammeter fluctuation value and the Nth expected current value is calculated. The router startup status detection device determines whether the router under test passes the test based on the difference.

[0082] In one embodiment, judging whether the router under test is qualified based on the difference between the fluctuating current value measured by the ammeter after the router under test is powered on and N expected current values ​​includes the following steps:

[0083] Determining whether a first difference between a first fluctuating current value and a first expected current value is within a preset range, where the first fluctuating current value is a current value displayed by the ammeter after the first fluctuation, and the first expected current value is a first expected current value among N expected current values;

[0084] If the first difference is within the preset range, determining whether a second difference between the second fluctuating current value and the second expected current value is within the preset range, the second fluctuating current value being the current value after the ammeter fluctuates for the first time and then again, and the second expected current value being the second expected current value among the N expected current values;

[0085] If the second difference is within the preset range, the steps of calculating the difference between the fluctuating current value and the expected current value are sequentially performed according to the fluctuation order of the current values ​​of the ammeter, until the difference between the i-th fluctuating current value and the i-th expected current value is not within the preset range or the difference between the N-th fluctuating current value and the N-th expected current value is within the preset range, the i-th fluctuating current value is the current value after the ammeter fluctuates again after the i-1-th fluctuation and is adjacent to the current value of the i-1-th fluctuation of the ammeter, i is any value in N, or {i|i∈N:1≤i≤N};

[0086] If the difference between each of the N fluctuating current values ​​and the corresponding expected current value is within a preset range, the router under test is determined to be qualified. The number of fluctuations of the ammeter is correlated with the number of chips included in the router under test. If the difference between the target fluctuating current value and the corresponding expected target current value among the N fluctuating current values ​​is not within the preset range, the router under test is determined to be unqualified.

[0087] When the router under test fails to meet the requirements, it is determined that a target problem chip corresponding to the target fluctuating current value has a problem;

[0088] Determine the target location of the target problem chip based on the application circuit diagram;

[0089] Send out prompt information according to the target location to indicate that the target problem chip has a fault;

[0090] When it is detected that the target problem chip has been replaced, the test process is re-executed on the router to be tested after the target problem chip has been replaced;

[0091] If the current value after the ammeter fluctuates reaches full load, it is determined that the router under test has a short circuit;

[0092] Determine the resistance value of each chip in the N chips;

[0093] Determine the chip with a resistance value of 0 among the N chips as a short-circuited chip;

[0094] The router to be tested is powered off, and a second prompt message is issued based on the short-circuited chip to prompt the user to detect or replace the short-circuited chip to eliminate the short circuit;

[0095] After the short circuit is eliminated, power on the router to be tested and repeat the above test process.

[0096] In this embodiment, the router startup status detection device determines whether the first difference between the first fluctuating current value and the first expected current value is within a preset range to whether the Nth difference between the Nth fluctuating current value and the Nth expected current value is within a preset range. The preset range can be [-0.1, 0.1], and there is no specific limitation.

[0097] If the Nth difference between the Nth fluctuating current value and the Nth expected current value is within the preset range, the router to be tested is determined to be qualified.

[0098] If the i-th difference between the i-th fluctuating current value and the i-th expected current value is not within the preset range, where i is any value in N, or {i|i∈N:1≤i≤N}, the router under test is determined to be unqualified. At this time, the router startup status detection device determines the location of the target problematic chip based on the application circuit diagram obtained in step 101. The target problematic chip is the problematic chip that causes the abnormal i-th fluctuating current value. At this time, the router startup status detection device will issue a prompt sound to prompt the operator to repair or replace the target problematic chip, and display the application circuit diagram on the screen with the location of the problematic chip marked. The router startup status detection device will automatically identify whether the target problematic chip has been repaired or replaced. If the target problematic chip has not been repaired or replaced by the operator, the router startup status detection device will continue to issue a prompt sound. If the target problematic chip has been repaired or replaced by the operator, the router under test will be powered on again and step 104 will be executed again.

[0099] The following example illustrates how the router startup status detection device determines whether the router under test is qualified. The router under test contains four chips. The chips are ranked according to their actual currents during normal operation, in the order in which they are started up. The actual currents of the four chips during normal operation are 0.2A, 0.3A, 0.4A, and 0.3A, respectively. Using the above expected current value formula, we can deduce that the first expected current value is 0.2A, the second expected current value is 0.5A, the third expected current value is 0.9A, and the fourth expected current value is 1.2A. The preset range is [-0.1, 0.1]. At this point, the router under test is powered on, and the specific judgment steps are as follows:

[0100] The first fluctuating current value is 0.2A. At this time, the difference between the first fluctuating current value and the first expected current value is 0, which meets the preset range requirement, and the router under test continues to be powered on;

[0101] The second fluctuating current value is 0.45A. At this time, the difference between the second fluctuating current value and the second expected current value is 0.05, which meets the preset range requirement. Then, the router under test is powered on. The first fluctuating current value is the current value after the ammeter fluctuates for the first time and then again.

[0102] The third fluctuating current value is 0.7A. At this time, the difference between the second fluctuating current value and the second current expected value is 0.2, which does not meet the preset range requirements. The router under test is powered on and a prompt sound is issued to remind the operator to repair or replace the third startup chip. The third fluctuating current value is the current value after the ammeter fluctuates for the second time.

[0103] After the operator repairs or replaces the third boot chip, the router boot status detection device powers on the router to be tested again and performs the above detection steps again.

[0104] When the router startup status detection device detects that the current value after the ammeter fluctuates reaches full load, it is determined that a short circuit occurs in the router under test. At this time, the router startup status detection device will immediately stop powering on the router under test and determine the positions of a first measurement point and a second measurement point based on the specification sheet of the target chip obtained in step 102. The first measurement point is the power pin of the target chip, and the second measurement point is the ground pin of the target chip. The router startup status detection device measures the resistance value between the first measurement point and the second measurement point to determine whether there is a problem chip with a resistance value of 0Ω among the N chips. The resistance value is the resistance value of the target chip.

[0105] If the resistance values ​​between the first measurement point and the second measurement point of the N target chips are not 0Ω, the N target chips are not short-circuited, a second prompt tone is emitted, and a message "The router has a short circuit, which is not caused by the chip" is displayed on the screen to remind the operator to conduct a comprehensive inspection of the router to determine the actual cause of the short circuit and repair the cause of the short circuit;

[0106] If the resistance value between the first measurement point and the second measurement point of 1 to N target chips among the N target chips is 0Ω, the target chip is determined to be short-circuited, a second prompt sound is issued, the location of the target problem chip is determined according to the application circuit diagram obtained in step 101, and the application circuit diagram is displayed on the screen with the location of the short-circuited chip marked to prompt the operator to repair or replace the short-circuited chip.

[0107] After the router startup status detection device identifies that the short-circuited chip has been repaired or replaced by the operator, or the router startup status detection device receives a prompt that the operator has completed repairing the short-circuit problem of the router under test, the router under test is powered on again and the detection step of step 104 is repeated.

[0108] In addition to determining whether the target chip is short-circuited by measuring the resistance value between the first measurement point and the second measurement point, the router startup status detection device can also capture images using the installed thermal imaging camera to capture abnormal hot spots on the router under test, which are the locations of the target chip where the short circuit occurs.

[0109] See also Figure 2 , Figure 2 A virtual structural diagram of a rapid detection device based on the startup status of a router provided in an embodiment of the application is provided. The router startup status detection device 200 includes:

[0110] A determination module, configured to determine a startup order of each chip in the router to be tested, where N is an integer greater than or equal to 2;

[0111] an analysis module, configured to analyze, based on performance parameters of a target chip, an actual current of the target chip during normal operation, the target chip being any one of the N chips;

[0112] a calculation module, configured to calculate N expected current values ​​according to the startup sequence and the actual current;

[0113] The judging module is used to judge whether the router to be tested is qualified according to the fluctuating current value measured by the ammeter after the router to be tested is powered on and N expected current values.

[0114] See also Figure 3 , Figure 3 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. The computer device 300 includes:

[0115] At least one processor 301, at least one communication bus 302, at least one memory 306, a power supply 307, and a user interface 308. The user interface 308 of the terminal device 300 includes a display, a speaker, a keyboard, or a pointing device. The memory 306 may include a high-speed RAM memory, or may include a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 306 stores one or more computer programs 303 or data 305. When the terminal device 300 is running, the processor 301 communicates with the memory 306, and the processor 301 calls the instructions stored in the memory 306 to execute the above-mentioned instructions. Figure 1 The operating system 304 includes various programs for implementing various basic services and processing tasks based on hardware.

[0116] In one embodiment, the present application provides a computer device, which may be a server, and its internal structure diagram may be as follows: Figure 3As shown. The computer device includes a processor, memory, and a network interface connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal via a network connection. When executed by the processor, the computer program implements a rapid detection method based on the startup status of a router.

[0117] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0118] In one embodiment, a computer device is further provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.

[0119] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the above-mentioned computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0120] The above are all preferred embodiments of the present application, and are not intended to limit the scope of protection of the present application. Therefore, any equivalent changes made based on the structure, shape, and principle of the present application should be included in the scope of protection of the present application.

Claims

1. A rapid detection method based on the startup status of a router, characterized in that: The following steps are involved: Determine a startup order of each chip in the router to be tested, where N is an integer greater than or equal to 2; analyzing, according to performance parameters of a target chip, an actual current of the target chip during normal operation, the target chip being any one of the N chips; Calculating N expected current values ​​according to the startup sequence and the actual current; Determining whether the router to be tested is qualified according to the difference between the fluctuating current value measured by the ammeter after the router to be tested is powered on and the N expected current values; Calculating N expected current values ​​according to the startup sequence and the actual current includes: The N expected current values ​​are determined by the following formula: A(i)=A(i-1)+B(i); Wherein, A(i) is the expected value of the i-th current, i is any value in N, or {i|i∈N:1≤i≤N}, A(i-1) is the expected value of the i-1-th current, A(0) is the expected value of the 0th current and its value is 0, and B(i) is the actual current when the i-th startup chip is working normally.

2. The method according to claim 1, characterized in that Determining the startup order of each chip in the router to be tested includes the following steps: Obtaining an application circuit diagram of the router to be tested according to the specification of the router to be tested; The startup sequence of any one chip among the N chips is determined according to the application circuit diagram.

3. The method according to claim 1, characterized in that Analyzing the actual current of the target chip when it is working normally according to the performance parameters of the target chip includes the following steps: Acquiring electrical characteristics of the target chip according to the specification of the target chip; The actual current of the target chip during normal operation is analyzed according to the electrical characteristics.

4. The method according to claim 2, characterized in that The determining whether the router to be tested is qualified based on the difference between the fluctuating current value measured by the ammeter after the router to be tested is powered on and the N expected current values ​​comprises the following steps: determining whether a first difference between a first fluctuating current value and a first expected current value is within a preset range, the first fluctuating current value being the current value displayed by the ammeter after the first fluctuation, and the first expected current value being the first expected current value among the N expected current values; If the first difference is within the preset range, determining whether a second difference between a second fluctuating current value and a second expected current value is within the preset range, the second fluctuating current value being a current value after the ammeter fluctuates again after the first fluctuation, and the second expected current value being a second expected current value among the N expected current values; If the second difference is within the preset range, the steps of calculating the difference between the fluctuating current value and the expected current value are sequentially performed according to the order of fluctuation of the current value of the ammeter, until the difference between the i-th fluctuating current value and the i-th expected current value is not within the preset range or the difference between the N-th fluctuating current value and the N-th expected current value is within the preset range, wherein the i-th fluctuating current value is the current value after the i-1-th fluctuation of the ammeter and is adjacent to the current value of the i-1-th fluctuation of the ammeter, where i is any value in N, or {i|i∈N:1≤i≤N}; if the difference between each of the N fluctuating current values ​​and the corresponding expected current value is within the preset range, then it is determined that the router to be tested is qualified, and the number of fluctuations of the ammeter is correlated with the number of chips included in the router to be tested; If the difference between the target fluctuating current value and the corresponding target current expected value among the N fluctuating current values ​​is not within a preset range, it is determined that the router to be tested is unqualified.

5. The method according to claim 4, characterized in that The method further comprises: When the router to be tested fails, determining that a target problem chip corresponding to the target fluctuating current value has a problem; Determine the target location of the target problem chip according to the application circuit diagram; Sending a prompt message according to the target location to prompt that the target problem chip has a fault; When it is detected that the target problematic chip is replaced, the test process is re-executed on the router to be tested after the target problematic chip is replaced.

6. The method according to claim 1, characterized in that The method further comprises: If the current value of the ammeter after fluctuation reaches full load, it is determined that the router to be tested has a short circuit; Determining the resistance value of each chip in the N chips; Determine a chip with a resistance value of 0Ω among the N chips as a short-circuited chip; The router to be tested is powered off, and a second prompt message is issued based on the short-circuited chip to prompt the user to inspect or replace the short-circuited chip to eliminate the short circuit; After the short circuit is eliminated, the router to be tested is powered on and the above detection process is repeated.

7. A rapid detection device based on the startup status of a router, characterized in that: include: A determination module, configured to determine a startup order of each chip in the router to be tested, where N is an integer greater than or equal to 2; an analysis module, configured to analyze, based on performance parameters of a target chip, an actual current of the target chip during normal operation, the target chip being any one of the N chips; a calculation module, configured to calculate N expected current values ​​according to the startup sequence and the actual current; A judgment module, configured to judge whether the router to be tested is qualified based on a fluctuating current value and N expected current values ​​measured by an ammeter after the router to be tested is powered on; The calculation module is specifically used for: The N expected current values ​​are determined by the following formula: A(i)=A(i-1)+B(i); Wherein, A(i) is the expected value of the i-th current, i is any value in N, or {i|i∈N:1≤i≤N}, A(i-1) is the expected value of the i-1-th current, A(0) is the expected value of the 0th current and its value is 0, and B(i) is the actual current when the i-th startup chip is working normally.

8. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the processor implements the steps of the rapid detection method based on the router startup status as described in any one of claims 1 to 6.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the rapid detection method based on the startup status of a router as claimed in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Dynamic chip current test system

    CN109901051A

  • Chip testing method and system, storage medium and computer program product

    CN117741397A