CN113590401B - CPE equipment multifunctional test method, CPE equipment multifunctional test device, computer equipment and storage medium - Google Patents

CPE equipment multifunctional test method, CPE equipment multifunctional test device, computer equipment and storage medium Download PDF

Info

Publication number
CN113590401B
CN113590401B CN202110871659.4A CN202110871659A CN113590401B CN 113590401 B CN113590401 B CN 113590401B CN 202110871659 A CN202110871659 A CN 202110871659A CN 113590401 B CN113590401 B CN 113590401B
Authority
CN
China
Prior art keywords
test
cpe
tested
result
testing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110871659.4A
Other languages
Chinese (zh)
Other versions
CN113590401A (en
Inventor
赵金
李建华
简亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tongkang Chuangzhi Technology Co ltd
Original Assignee
Shenzhen Tongkang Chuangzhi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tongkang Chuangzhi Technology Co ltd filed Critical Shenzhen Tongkang Chuangzhi Technology Co ltd
Priority to CN202110871659.4A priority Critical patent/CN113590401B/en
Publication of CN113590401A publication Critical patent/CN113590401A/en
Application granted granted Critical
Publication of CN113590401B publication Critical patent/CN113590401B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The embodiment of the invention discloses a multifunctional testing method and device for CPE (customer premises equipment), computer equipment and a storage medium. The method comprises the following steps: setting test options and parameters; starting the CPE equipment to be tested to carry out multifunctional test according to the test options and the parameters; obtaining a test result of the CPE equipment to be tested; judging whether the test result meets a preset result or not; if the test result accords with a preset result, judging whether the current test frequency reaches a set frequency; and if the current test frequency does not reach the set frequency, outputting a control signal to drive the tested CPE equipment to restart, and executing the test option and the parameter to start the tested CPE equipment to carry out multifunctional test. The method of the embodiment of the invention can realize automatic multifunctional test of startup and shutdown, and has high accuracy and high efficiency.

Description

CPE equipment multifunctional test method, CPE equipment multifunctional test device, computer equipment and storage medium
Technical Field
The invention relates to a device testing method, in particular to a multifunctional testing method and device for CPE (customer premise equipment), computer equipment and a storage medium.
Background
CPE (Customer Premise Equipment) Equipment products are numerous, test items are complex, the current test method is manual test, the actual use condition of the simulation Equipment is adopted for carrying out startup, test functions and shutdown operation so as to test the Equipment, but the time consumption of the manual test Equipment is long, a great deal of energy of testers is occupied, repeated work is easy to be tired, the time consumption of functional test is long, misjudgment is easy to occur, the requirement on the testers is high, the testers need to be familiar with all modules, and therefore large training cost and long on-duty time are needed, and meanwhile, one tester can only operate one Equipment at the same time and cannot run in multiple lines; the cost is high, compared with automatic testing, manual testing needs a large number of professional operators, and the labor cost and the training cost are high; the method is easy to operate incorrectly, the manual operation needs subjective judgment, and for some complex power-on time sequences and module tests, the incorrect operation exists, and the test result is influenced; manually recorded data requires statistical analysis and cannot yield real-time results.
Therefore, it is necessary to design a new method to realize the multifunctional test of automatic on/off with high accuracy and efficiency.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a CPE equipment multifunctional test method, a CPE equipment multifunctional test device, computer equipment and a storage medium.
In order to achieve the purpose, the invention adopts the following technical scheme: the multifunctional testing method of the CPE equipment comprises the following steps:
setting test options and parameters;
starting the CPE equipment to be tested to carry out multifunctional test according to the test options and the parameters;
obtaining a test result of the CPE equipment to be tested;
judging whether the test result meets a preset result or not;
if the test result accords with a preset result, judging whether the current test frequency reaches a set frequency;
and if the current test frequency does not reach the set frequency, outputting a control signal to drive the tested CPE equipment to restart, and executing the test option and the parameter to start the tested CPE equipment to carry out multifunctional test.
The further technical scheme is as follows: the test options comprise general function test items, special function test items, statistical test items, condition test items and interface connection mode test items.
The further technical scheme is as follows: the general function test items comprise a tested CPE device connectivity test item used for testing whether a device gateway is communicated, a WIFI connectivity test item used for connecting a WIFI SSID appointed by the tested CPE device to test whether WIFI is communicated, an external network connectivity test item used for testing whether the Internet is normal and whether internet access can be communicated, and a DHCP test item used for testing whether DHCP of the tested CPE device runs normally.
The further technical scheme is as follows: the special function test item is used for testing whether the written information is normal after the CPE equipment to be tested is powered on and off repeatedly, whether the system can run normally after the power on and off is repeatedly carried out in the process of upgrading configuration and upgrading program, and whether the factory configuration is in error after the power on and off is repeatedly carried out in the process of factory recovery; and checking whether the WIFI SSID is normal after repeated power-off.
The further technical scheme is as follows: the parameter includes a set number of times.
The further technical scheme is as follows: the outputting of the control signal to drive the tested CPE equipment to restart includes:
and outputting a control signal to the power supply switch control module so that the power supply switch control module controls whether the relay works or not to drive the tested CPE equipment to restart.
The further technical scheme is as follows: after judging whether the test result meets the preset result, the method further comprises the following steps:
and if the test result does not accord with the preset result, generating a corresponding test result log.
The invention also provides a multifunctional testing device of CPE equipment, comprising:
the setting unit is used for setting test options and parameters;
the testing unit is used for starting the CPE equipment to be tested to carry out multifunctional testing according to the testing options and the parameters;
a result obtaining unit, configured to obtain a test result of the CPE device under test;
the result judging unit is used for judging whether the test result meets a preset result or not;
the frequency judging unit is used for judging whether the current testing frequency reaches the set frequency or not if the testing result accords with the preset result;
and the control unit is used for outputting a control signal to drive the tested CPE equipment to restart if the current test frequency does not reach the set frequency, and executing the multifunctional test by starting the tested CPE equipment according to the test options and the parameters.
The invention also provides computer equipment which comprises a memory and a processor, wherein the memory is stored with a computer program, and the processor realizes the method when executing the computer program.
The invention also provides a storage medium storing a computer program which, when executed by a processor, is operable to carry out the method as described above.
Compared with the prior art, the invention has the beneficial effects that: according to the invention, the tested CPE equipment is started to automatically carry out multifunctional test by setting test options and parameters, whether the current test times reach the set times is judged when the test result accords with the preset result, if the current test times do not reach the set times, the relay is controlled by controlling the power supply switch control module, the tested CPE equipment is driven to restart, the next test is carried out, the multifunctional test of automatic on-off is realized, the accuracy is high, and the efficiency is high.
The invention is further described below with reference to the accompanying drawings and specific embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a multifunctional testing method for CPE equipment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a multifunctional testing method for CPE equipment according to an embodiment of the present invention;
fig. 3 is a schematic block diagram of a multifunctional testing apparatus for CPE devices according to an embodiment of the present invention;
FIG. 4 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic view of an application scenario of a multifunctional testing method for CPE equipment according to an embodiment of the present invention. Fig. 2 is a schematic flow chart of a multifunctional testing method for CPE equipment according to an embodiment of the present invention. The multifunctional testing method of the CPE equipment is applied to a server. This server is connected with surveyed CPE equipment, concretely, be connected with power supply switch control module and relay between server and the surveyed CPE equipment, set up test option and parameter through the server, and issue to surveyed CPE equipment by the server and carry out multi-functional test, obtain the test result from the surveyed CPE equipment, when the test result accords with the requirement and the test number of times does not satisfy the requirement, through output control signal to power supply switch control module, work and the stop work of relay are controlled by power supply switch control module, with this carry out and make to be surveyed CPE equipment and carry out multi-functional test after restarting again, the number of being surveyed CPE equipment can be one or a plurality of, the server can form the distributed architecture with being surveyed CPE equipment.
Fig. 2 is a schematic flow chart of a multifunctional testing method for CPE devices according to an embodiment of the present invention. As shown in fig. 2, the method includes the following steps S110 to S170.
And S110, setting test options and parameters.
In this embodiment, the parameters include the setting times, the power-on and power-off time, whether to skip the continuous test or not, and the like.
The test options comprise general function test items, special function test items, statistical test items, condition test items and interface connection mode test items.
The general function test items comprise a tested CPE device connectivity test item used for testing whether a device gateway is communicated, a WIFI connectivity test item used for connecting a WIFI SSID appointed by the tested CPE device to test whether WIFI is communicated, an external network connectivity test item used for testing whether the Internet is normal and whether internet access can be communicated, and a DHCP test item used for testing whether DHCP of the tested CPE device runs normally. The following test items were also included: the method comprises the steps of electrifying in fixed time, electrifying in random time, powering off in fixed time, powering off in random time, and testing whether equipment can run normally after being abnormally powered off.
The special function test item is used for testing whether the written information is normal after the CPE equipment to be tested is powered on and off repeatedly, whether the system can run normally after the power on and off is repeatedly carried out in the process of upgrading configuration and upgrading program, and whether the factory configuration is in error after the power on and off is repeatedly carried out in the process of factory recovery; and checking whether the WIFI SSID (Service Set Identifier) is normal after repeated power-on and power-off. In this embodiment, the written information is specifically information such as MAC (Media Access Control), IMEI (International Mobile Equipment Identity), SN (Serial Number), and the like.
And S120, starting the CPE equipment to be tested to carry out multifunctional test according to the test options and the parameters.
In this embodiment, the test options may include: the method comprises the steps of network port communication, serial port communication selection, tester type selection, test frequency setting, equipment connectivity test selection, WIFI connectivity test selection, external network connectivity test selection, power-on operation duration setting in a random or fixed mode, power-off duration setting in a random or fixed mode, specific machine type test function setting such as MAC writing, IMEI writing, SN writing, factory restoration, downloading configuration, downloading programs and the like.
S130, obtaining a test result of the CPE equipment to be tested;
s140, judging whether the test result meets a preset result or not;
s150, if the test result accords with the preset result, judging whether the current test frequency reaches the set frequency.
In this embodiment, the preset result refers to a qualified result corresponding to each test item; when the test result is qualified, it is necessary to determine whether the number of tests has reached the requirement.
And S160, if the current test frequency does not reach the set frequency, outputting a control signal to drive the tested CPE equipment to restart, and executing the step S120.
And S170, if the test result does not accord with the preset result, generating a corresponding test result log.
In this embodiment, software is used to set parameters, after the parameters are set, the software is started to start testing, a device connectivity test, a WIFI connectivity test, an extranet connectivity test, a DHCP test, and the like can be performed according to a selected model, such as a general or specific model, and different corresponding network port IP or serial port numbers are designated to be set, a MAC, IMEI, and SN write-in test can be designated according to a specific model, a factory setting recovery, a download configuration, a download program, and other functional tests can be performed, a combined multifunctional test is performed by setting conditions such as cycle test times, power-on and power-off time, whether to fail and skip the test, and the like, a test result is displayed on a corresponding test window, and a test log is generated for inquiry.
And if the current test times reach the set times, executing the corresponding test result log generation.
Installing a driving program of a power supply switch control module on the server; the server is connected with the power supply switch control module through a serial port; the power supply switch control module comprises an AC220V input power supply and controls the on-off of the four relays and the CPE equipment to be tested; the server is connected with the CPE equipment through a network port; opening control system software of an operating server, selecting a general or special CPE model according to test requirements, and setting test options; controlling the relay to carry out power-on and power-off operation according to the test item instruction content and the returned instruction result; and after the content of the option to be tested correctly executes the finishing instruction or obtains expected success and failure results, continuing the circular test or stopping the test according to the set conditions. The action of manually turning on and turning off the CPE and the relay power supply is fully automatically simulated, so that the labor cost is saved; the application range is wide, and a plurality of CPE devices with the same model or different models can be tested at the same time; the test content is rich, and various test option contents are provided; failure immediate stop or skip operation is provided, and failure site reservation is provided for test developers, so that failure analysis is facilitated.
The method can realize automatic test of the repeatability test, and compared with manual test, the automatic test does not increase along with the test times, so that the test efficiency is reduced, the operation is stable, and the efficiency is higher; the cost is low, a plurality of devices with the same model or different models can be tested at the same time, and the cost of the devices is ignored relative to the cost of personnel; the operation is accurate, and the judgment is more accurate through the inspection content of the software and hardware setting module; the real-time acquisition of data can realize the real-time acquisition and data analysis of the data.
According to the CPR equipment multifunctional test method, the tested CPE equipment is started to automatically carry out multifunctional test by setting the test options and parameters, whether the current test frequency reaches the set frequency is judged when the test result accords with the preset result, if the current test frequency does not reach the set frequency, the relay is controlled by controlling the power supply switch control module, the tested CPE equipment is driven to restart, the next test is carried out, the multifunctional test of automatic startup and shutdown can be realized, the accuracy is high, and the efficiency is high.
Fig. 3 is a schematic block diagram of a CPE device multifunctional testing apparatus 300 according to an embodiment of the present invention. As shown in fig. 3, the present invention further provides a multifunctional testing apparatus 300 for CPE devices, corresponding to the multifunctional testing method for CPE devices. The CPE device multifunctional testing apparatus 300 includes a unit for performing the above-described CPE device multifunctional testing method, and the apparatus may be configured in a server. Specifically, referring to fig. 3, the CPE device multifunctional testing apparatus 300 includes a setting unit 301, a testing unit 302, a result obtaining unit 303, a result judging unit 304, a number judging unit 305, a control unit 306, and a log generating unit 307.
A setting unit 301, configured to set test options and parameters; the testing unit 302 is configured to start the CPE device to be tested to perform a multifunctional test according to the testing options and the parameters; a result obtaining unit 303, configured to obtain a test result of the CPE device under test; a result determining unit 304, configured to determine whether the test result meets a preset result; a frequency judging unit 305, configured to judge whether the current test frequency reaches a set frequency if the test result meets a preset result; and the control unit 306 is configured to output a control signal to drive the tested CPE device to restart if the current test frequency does not reach the set frequency, and execute the multi-function test by starting the tested CPE device according to the test option and the parameter. The log generating unit 307 is configured to generate a corresponding test result log if the test result does not meet the preset result.
In an embodiment, the control unit 306 is configured to output a control signal to the power supply switch control module, so that the power supply switch control module controls whether the relay works or not to drive the CPE device to be tested to restart.
It should be noted that, as can be clearly understood by those skilled in the art, the specific implementation process of the multifunctional testing apparatus 300 and each unit of the CPE device may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
The above-mentioned CPE device multifunctional testing apparatus 300 may be implemented in the form of a computer program, which can be run on a computer device as shown in fig. 4.
Referring to fig. 4, fig. 4 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a server, wherein the server may be an independent server or a server cluster composed of a plurality of servers.
Referring to fig. 4, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer programs 5032 include program instructions that, when executed, cause the processor 502 to perform a CPE device multifunction test method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for running the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 can be enabled to execute a CPE device multifunctional testing method.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 4 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the computer device 500 to which the present application may be applied, and that a particular computer device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to run the computer program 5032 stored in the memory to implement the following steps:
setting test options and parameters; starting the CPE equipment to be tested to carry out multifunctional test according to the test options and the parameters; obtaining a test result of the CPE equipment to be tested; judging whether the test result meets a preset result or not; if the test result accords with a preset result, judging whether the current test frequency reaches a set frequency; and if the current test frequency does not reach the set frequency, outputting a control signal to drive the tested CPE equipment to restart, and executing the test option and the parameter to start the tested CPE equipment to carry out multifunctional test.
The test options comprise general function test items, special function test items, statistical test items, condition test items and interface connection mode test items.
The general function test items comprise a tested CPE device connectivity test item used for testing whether a device gateway is communicated, a WIFI connectivity test item used for connecting a WIFI SSID appointed by the tested CPE device to test whether WIFI is communicated, an external network connectivity test item used for testing whether the Internet is normal and whether internet access can be communicated, and a DHCP test item used for testing whether DHCP of the tested CPE device runs normally.
The special function test item is used for testing whether the written information is normal after the CPE equipment to be tested is powered on and off repeatedly, whether the system can run normally after the power on and off is repeatedly carried out in the process of upgrading configuration and upgrading program, and whether the factory configuration is in error after the power on and off is repeatedly carried out in the process of factory recovery; and checking whether the WIFI SSID is normal after repeated power-off.
The parameter includes a set number of times.
In an embodiment, when the processor 502 implements the output control signal to drive the tested CPE device to restart, the following steps are specifically implemented:
and outputting a control signal to the power supply switch control module so that the power supply switch control module controls whether the relay works or not to drive the tested CPE equipment to restart.
In an embodiment, after the step of determining whether the test result meets the preset result is implemented, the processor 502 further implements the following steps:
and if the test result does not accord with the preset result, generating a corresponding test result log.
It should be understood that in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program includes program instructions, and the computer program may be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program, when executed by a processor, causes the processor to perform the steps of:
setting test options and parameters; starting the CPE equipment to be tested to carry out multifunctional test according to the test options and the parameters; obtaining a test result of the CPE equipment to be tested; judging whether the test result meets a preset result or not; if the test result accords with a preset result, judging whether the current test frequency reaches a set frequency; and if the current test frequency does not reach the set frequency, outputting a control signal to drive the tested CPE equipment to restart, and executing the test option and the parameter to start the tested CPE equipment to carry out multifunctional test.
The test options comprise general function test items, special function test items, statistical test items, condition test items and interface connection mode test items.
The general function test items comprise a tested CPE device connectivity test item used for testing whether a device gateway is communicated, a WIFI connectivity test item used for connecting a WIFI SSID appointed by the tested CPE device to test whether WIFI is communicated, an external network connectivity test item used for testing whether the Internet is normal and whether internet access can be communicated, and a DHCP test item used for testing whether DHCP of the tested CPE device runs normally.
The special function test item is used for testing whether the written information is normal after the CPE equipment to be tested is powered on and off repeatedly, whether the system can run normally after the power on and off is repeatedly carried out in the process of upgrading configuration and upgrading program, and whether the factory configuration is in error after the power on and off is repeatedly carried out in the process of factory recovery; and checking whether the WIFI SSID is normal after repeated power-off.
The parameter includes a set number of times.
In an embodiment, when the processor executes the computer program to realize the output control signal to drive the tested CPE device to restart, the following steps are specifically realized:
and outputting a control signal to the power supply switch control module so that the power supply switch control module controls whether the relay works or not to drive the tested CPE equipment to restart.
In an embodiment, after the step of determining whether the test result meets the preset result is implemented by executing the computer program, the processor further implements the following steps:
and if the test result does not accord with the preset result, generating a corresponding test result log.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

  1. The multifunctional testing method of the CPE equipment is characterized by comprising the following steps:
    setting test options and parameters;
    starting the CPE equipment to be tested to carry out multifunctional test according to the test options and the parameters;
    obtaining a test result of the CPE equipment to be tested;
    judging whether the test result meets a preset result or not;
    if the test result accords with a preset result, judging whether the current test frequency reaches a set frequency;
    if the current test frequency does not reach the set frequency, outputting a control signal to drive the tested CPE equipment to restart, and executing the test option and the parameter to start the tested CPE equipment to carry out multifunctional test;
    installing a driving program of a power supply switch control module on the server; the server is connected with the power supply switch control module through a serial port; the power supply switch control module comprises an AC220V input power supply and controls the on-off of the four relays and the CPE equipment to be tested; the server is connected with the CPE equipment through a network port; opening control system software of an operating server, selecting a general or special CPE model according to test requirements, and setting test options; controlling the relay to carry out power-on and power-off operation according to the test item instruction content and the returned instruction result; and after the content of the option to be tested correctly executes the finishing instruction or obtains expected success and failure results, continuing the circular test or stopping the test according to the set conditions.
  2. 2. The CPE device multifunctional test method according to claim 1, wherein the test options include general purpose functional test items, special function test items, statistical test items, conditional test items, and interface connection mode test items.
  3. 3. The CPE device multifunctional testing method according to claim 2, wherein the general function testing items comprise a tested CPE device connectivity testing item for testing whether a device gateway is connected, a WIFI connectivity testing item for connecting a WIFI SSID specified by the tested CPE device to test whether WIFI is connected, an extranet connectivity testing item for testing whether the Internet is normal and whether Internet access can be connected, and a DHCP testing item for testing whether DHCP of the tested CPE device runs normally.
  4. 4. The CPE equipment multifunctional test method according to claim 2, wherein the special function test items are used for testing whether the written information is normal after the CPE equipment to be tested is powered on and powered off repeatedly, whether the system can operate normally after the information is powered on and powered off repeatedly in the process of upgrading configuration and upgrading program, and whether the factory configuration is in error after the power is powered on and powered off repeatedly in the process of factory recovery; and checking whether the WIFI SSID is normal after repeated power-off.
  5. 5. The CPE apparatus multifunctional test method according to claim 1, wherein the parameters include a set number of times.
  6. 6. The CPE equipment multifunctional test method according to claim 1, wherein outputting the control signal to drive the CPE equipment under test to restart comprises:
    and outputting a control signal to the power supply switch control module so that the power supply switch control module controls whether the relay works or not to drive the tested CPE equipment to restart.
  7. 7. The CPE equipment multifunctional test method according to claim 1, further comprising the step of, after determining whether the test result meets a preset result:
    and if the test result does not accord with the preset result, generating a corresponding test result log.
  8. The multifunctional testing device for CPE equipment is characterized by comprising:
    the setting unit is used for setting test options and parameters;
    the testing unit is used for starting the CPE equipment to be tested to carry out multifunctional testing according to the testing options and the parameters;
    a result obtaining unit, configured to obtain a test result of the CPE device under test;
    the result judging unit is used for judging whether the test result meets a preset result or not;
    the frequency judging unit is used for judging whether the current testing frequency reaches the set frequency or not if the testing result accords with the preset result;
    the control unit is used for outputting a control signal to drive the tested CPE equipment to restart if the current test frequency does not reach the set frequency, and executing the multifunctional test by starting the tested CPE equipment according to the test options and the parameters;
    installing a driving program of a power supply switch control module on the server; the server is connected with the power supply switch control module through a serial port; the power supply switch control module comprises an AC220V input power supply and controls the on-off of the four relays and the CPE equipment to be tested; the server is connected with the CPE equipment through a network port; opening control system software of an operating server, selecting a general or special CPE model according to test requirements, and setting test options; controlling the relay to carry out power-on and power-off operation according to the test item instruction content and the returned instruction result; and after the content of the option to be tested correctly executes the finishing instruction or obtains expected success and failure results, continuing the circular test or stopping the test according to the set conditions.
  9. 9. A computer device, characterized in that the computer device comprises a memory, on which a computer program is stored, and a processor, which when executing the computer program implements the method according to any of claims 1 to 7.
  10. 10. A storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 7.
CN202110871659.4A 2021-07-30 2021-07-30 CPE equipment multifunctional test method, CPE equipment multifunctional test device, computer equipment and storage medium Active CN113590401B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110871659.4A CN113590401B (en) 2021-07-30 2021-07-30 CPE equipment multifunctional test method, CPE equipment multifunctional test device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110871659.4A CN113590401B (en) 2021-07-30 2021-07-30 CPE equipment multifunctional test method, CPE equipment multifunctional test device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113590401A CN113590401A (en) 2021-11-02
CN113590401B true CN113590401B (en) 2022-03-22

Family

ID=78252676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110871659.4A Active CN113590401B (en) 2021-07-30 2021-07-30 CPE equipment multifunctional test method, CPE equipment multifunctional test device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113590401B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115576229A (en) * 2022-08-12 2023-01-06 深圳方位通讯科技有限公司 Automatic testing method, terminal equipment and computer storage medium
CN117792522B (en) * 2024-02-26 2024-06-04 天津七一二通信广播股份有限公司 Testing method and testing system for main control module of radio station

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200530800A (en) * 2004-03-12 2005-09-16 Hon Hai Prec Ind Co Ltd System and method for rapidly diagnosing and testing computer hardware
DE102005038151B3 (en) * 2005-08-12 2007-02-08 Francotyp-Postalia Gmbh Test system for a user terminal and test automation method
US7894349B2 (en) * 2007-03-14 2011-02-22 Arris Group, Inc. Method and system for testing customer premise equipment devices
US7826443B1 (en) * 2007-11-16 2010-11-02 At&T Corp. Method for network-based remote IMS CPE troubleshooting
US9130766B2 (en) * 2009-12-17 2015-09-08 Verizon Patent And Licensing Inc. System for and method of performing residential gateway diagnostics and corrective actions
CN102255774A (en) * 2011-06-28 2011-11-23 迈普通信技术股份有限公司 Test system and test method for switch-on and switch-off of communication device as well as fault location method
TWI453693B (en) * 2011-12-16 2014-09-21 Universal Scient Ind Shanghai Method for automatically testing communication functionality of device under test and computer-readable media thereof
CN102664762B (en) * 2011-12-23 2015-07-15 深圳市共进电子股份有限公司 Automatic testing method for voice over internet protocol based on Abacus call test system
US10419957B2 (en) * 2014-05-15 2019-09-17 Promptlink Communications, Inc. High-volume wireless device testing
CN105071988A (en) * 2015-07-28 2015-11-18 武汉虹信通信技术有限责任公司 Multi-user test system and method
CN109257249A (en) * 2018-08-20 2019-01-22 郑州云海信息技术有限公司 A kind of network interface card stability test method, apparatus, terminal and storage medium
CN110139298B (en) * 2019-05-06 2022-10-14 四川九州电子科技股份有限公司 WiFi automatic test system and test method thereof
CN110413470A (en) * 2019-06-25 2019-11-05 苏州浪潮智能科技有限公司 A kind of server I SS function test method, system, terminal and storage medium
CN111581096A (en) * 2020-05-09 2020-08-25 上海锐伟电子科技有限公司 Automatic testing method for android system terminal equipment
CN112134765A (en) * 2020-09-28 2020-12-25 深圳创维-Rgb电子有限公司 WIFI (Wireless Fidelity) back-connection test method and device, test terminal and readable storage medium
CN112486749B (en) * 2020-12-02 2023-10-13 成都长虹网络科技有限责任公司 Test method and device based on 5G communication terminal and readable storage medium
CN112333052B (en) * 2021-01-07 2021-04-30 北京普太科技有限公司 WIFI function test method and system and electronic equipment

Also Published As

Publication number Publication date
CN113590401A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN113590401B (en) CPE equipment multifunctional test method, CPE equipment multifunctional test device, computer equipment and storage medium
CN109802867B (en) Method and system for testing connection stability of network card NCSI
CN111245898A (en) Network equipment online method, device, server and storage medium
CN107656856B (en) CPLD-based system state display method and device
CN103186439A (en) Server test system and server stability test method
CN112231228B (en) Firmware upgrade test method, device, platform, equipment and storage medium
CN109274807B (en) Test method, device and system
CN103970660A (en) Total system stability automatic test method based on crontab
CN106708716A (en) Software testing method, device and system
CN110767259A (en) Power failure pressure test method for flash memory device
CN104268041A (en) Automatic closed loop test method for frequent startup and shutdown of vehicle-mounted display
CN115827111A (en) Method and device for adjusting server startup items, storage medium and electronic device
CN108738059B (en) WIFI module testing method and device
CN115827358A (en) Automatic test system, method and device for PFR function and storage medium
CN104572225A (en) Novel method for testing online updating stability of BIOS
CN110874295B (en) Test method and system for boot verification after abnormal shutdown
CN113624482A (en) Performance test method and device for water valve, electronic equipment and storage medium
CN114138312A (en) Upgrade test method, device, electronic equipment and computer readable storage medium
CN112543478A (en) WiFi module automatic test method and device, computer equipment and storage medium
CN110658478A (en) Testing method and device based on power supply balance signal stability and storage medium
CN115391110A (en) Test method of storage device, terminal device and computer readable storage medium
CN111142954B (en) Startup control method and device and computer readable storage medium
CN102033172A (en) Network-controlled AC power cycling (APC) test system and method
CN108829548A (en) A kind of multinode type restarts test method and system
CN115729798A (en) Automatic testing method, device and platform for automobile

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant