CN113391936A - Reliability test method and system for vehicle-mounted intelligent antenna equipment - Google Patents

Reliability test method and system for vehicle-mounted intelligent antenna equipment Download PDF

Info

Publication number
CN113391936A
CN113391936A CN202110661964.0A CN202110661964A CN113391936A CN 113391936 A CN113391936 A CN 113391936A CN 202110661964 A CN202110661964 A CN 202110661964A CN 113391936 A CN113391936 A CN 113391936A
Authority
CN
China
Prior art keywords
vehicle
equipment
mounted intelligent
intelligent antenna
test
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.)
Pending
Application number
CN202110661964.0A
Other languages
Chinese (zh)
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.)
Xi'an Liancheng Intelligent Technology Co ltd
Original Assignee
Xi'an Liancheng Intelligent 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 Xi'an Liancheng Intelligent Technology Co ltd filed Critical Xi'an Liancheng Intelligent Technology Co ltd
Priority to CN202110661964.0A priority Critical patent/CN113391936A/en
Publication of CN113391936A publication Critical patent/CN113391936A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/008Reliability or availability analysis
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R29/00Arrangements for measuring or indicating electric quantities not covered by groups G01R19/00 - G01R27/00
    • G01R29/08Measuring electromagnetic field characteristics
    • G01R29/10Radiation diagrams of antennas
    • 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/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • 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)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a reliability test method and system for vehicle-mounted intelligent antenna equipment. In the method, the sum of the second preset time for continuously powering off and the second preset time for continuously powering on is taken as a cycle period, and the dormancy awakening module is periodically powered off and on, so that the TCAM equipment is awakened in a timed dormancy manner, an automatic test traversal cycle experiment of the TCAM equipment is realized, and the purpose of verifying the reliability of software and hardware functions of the TCAM equipment is achieved. Moreover, after the TCAM equipment is dormant each time, the reliability test items are reset to the initial state through the reliability test script, and the reliability test script starts to run each time after being awakened, so that the foundation of a new round of automatic experiment is not coupled with the test environment of the previous round, and the stability of the test process and the accuracy of the test result are improved.

Description

Reliability test method and system for vehicle-mounted intelligent antenna equipment
Technical Field
The invention relates to the technical field of vehicle-mounted equipment, in particular to a reliability testing method and system for vehicle-mounted intelligent antenna equipment.
Background
The 5G vehicle-mounted intelligent Antenna (TCAM) equipment is used as a new product combining 5G and the vehicle networking, the latest 5G communication technology and the vehicle-mounted high-speed Ethernet technology are integrated, the traditional vehicle-mounted WIFI wireless hotspot function is integrated, the contained technologies are advanced, the function configuration is rich, and the market has no corresponding product form, and the contained 5G network residence detection, WIFI interoperability detection, vehicle-mounted Ethernet interoperability detection, clock synchronization and the like bring challenges to the conventional reliability test. In a conventional reliability test, a functional polling automation mode is simply used for performing the reliability test, in the product form of the 5GTCAM equipment, the 5G network-resident form is kept unchanged, once a test error is generated, the subsequent test cannot be normally performed, and the test configuration has dependency; and the driving loading states of the WIFI and the vehicle-mounted ethernet (PHY) also remain unchanged, so that if the clock synchronization is disordered, the subsequent experiment cannot obtain an accurate result.
Disclosure of Invention
In view of the above technical problem, a reliability testing method and system for a vehicle-mounted smart antenna device are provided to solve the above problems or at least partially solve the above problems.
An object of the first aspect of the present invention is to provide a reliability testing method for a vehicle-mounted smart antenna device, so as to perform an automatic test traversal loop experiment on a TCAM device, thereby achieving the purpose of verifying the reliability of software and hardware functions of the TCAM device.
A further object of the first aspect of the present invention is to decouple the basis of a new round of automated experiments from the test environment of the previous round, thereby improving the stability of the test procedure and the accuracy of the test results.
It is an object of the second aspect of the present invention to provide a reliability testing system for a vehicle-mounted smart antenna apparatus.
In particular, according to a first aspect of the present invention, there is provided a reliability test method for an in-vehicle smart antenna apparatus connected to a personal computer via a sleep wake-up module, the method comprising:
after the vehicle-mounted intelligent antenna equipment, the dormancy awakening module and the personal computer are powered on, the vehicle-mounted intelligent antenna equipment starts to run the reliability test script so as to execute a reliability test check item on the vehicle-mounted intelligent antenna equipment;
after the vehicle-mounted intelligent antenna equipment is continuously powered on for the first preset time, powering off the sleep awakening module to control the vehicle-mounted intelligent antenna equipment to be disconnected with the personal computer, so that the vehicle-mounted intelligent antenna equipment enters a sleep state;
after the vehicle-mounted intelligent antenna equipment is continuously powered off for a second preset time, the dormancy awakening module is powered on to control the vehicle-mounted intelligent antenna equipment and the personal computer to enter a connection state, so that the vehicle-mounted intelligent antenna equipment is awakened;
taking the sum of the first preset time length and the second preset time length as a cycle period, and periodically powering off and powering on the sleep awakening module so as to periodically sleep and awaken the vehicle-mounted intelligent antenna equipment;
when the vehicle-mounted intelligent antenna equipment enters the sleep state every time, the reliability test check items are all reset to be in the initial state through the reliability test script, and the reliability test script starts to run again after the vehicle-mounted intelligent antenna equipment is awakened every time.
Optionally, in each cycle period, the method comprises:
when the vehicle-mounted intelligent antenna equipment enters a dormant state, printing a dormant awakening flag bit in a kernel log of the vehicle-mounted intelligent antenna equipment;
after the vehicle-mounted intelligent antenna equipment is awakened, acquiring a dormancy awakening zone bit from a kernel log through a reliability test script;
checking whether a dormancy awakening zone bit is recorded in a dormancy awakening zone bit configuration file of the vehicle-mounted intelligent antenna equipment;
if the dormancy awakening zone bit is not recorded in the dormancy awakening zone bit configuration file, judging whether the vehicle-mounted intelligent antenna equipment is the master equipment or the slave equipment based on the SD card path of the vehicle-mounted intelligent antenna equipment;
if the vehicle-mounted intelligent antenna equipment is the main equipment, controlling the main equipment to run main equipment logic so as to execute a reliability test check item on the main equipment, and writing the dormancy awakening zone bit into a dormancy awakening zone bit configuration file after the execution is finished;
and if the vehicle-mounted intelligent antenna equipment is slave equipment, controlling the slave equipment to run slave equipment logic so as to execute a reliability test check item on the slave equipment, and writing the dormancy awakening zone bit into the dormancy awakening zone bit configuration file after the execution is finished.
Optionally, determining whether the vehicle-mounted smart antenna device is a master device or a slave device based on the SD card path of the vehicle-mounted smart antenna device includes:
checking whether a slave equipment zone bit file exists under the SD card path of the vehicle-mounted intelligent antenna equipment or not through the reliability test script;
if the slave equipment zone bit file does not exist in the SD card path, judging that the vehicle-mounted intelligent antenna equipment is the main equipment;
and if the slave equipment zone bit file exists in the SD card path, judging that the vehicle-mounted intelligent antenna equipment is the slave equipment.
Optionally, controlling the master device to run the master device logic includes:
calling a test program through the reliability test script, and executing the following reliability test check items on the main equipment in the process of running the test program:
carrying out data service dialing;
carrying out network time synchronization;
performing network mode check, and recording a corresponding first test result to a first log file after adding a time stamp to the first test result;
performing PING check on the data service, adding a timestamp to a corresponding second test result, and recording the result to a second log file;
starting and setting a WIFI hotspot, adding a timestamp to a corresponding third test result, and recording the third test result to a third log file;
and carrying out PING check on the vehicle-mounted Ethernet service, adding a timestamp to a corresponding fourth test result, and recording the result to a fourth log file.
Optionally, the data service dialing includes:
checking whether the master device has registered a 5G network;
if the registration is carried out, the data service dialing is directly carried out, and the next action is carried out after the dialing;
if not, circularly checking whether the main equipment is registered in the 5G network or not by taking a third preset time as a period, and performing the next action after the number of times of circular checking reaches a first preset number.
Optionally, performing network time synchronization, including:
checking whether the data service of the master device is already available;
if the network time synchronization is available, directly carrying out network time synchronization, and carrying out the next action after synchronization;
if the data service is unavailable, the data service of the main equipment is checked in a circulating mode by taking a fourth preset time length as a period, and the next action is carried out after the circulating check times reach a second preset time.
Optionally, controlling the slave device to execute the slave device logic comprises:
calling a test program through the reliability test script, and executing the following reliability test check items on the slave equipment in the process of running the test program:
configuring a vehicle-mounted Ethernet address of the slave device;
after the timeout of the fifth preset time length, connecting the slave equipment to the WIFI hotspot of the master equipment;
carrying out network time synchronization;
performing WIFI service PING check, adding a timestamp to a corresponding fifth test result, and recording the result to a fifth log file;
and carrying out PING check on the vehicle-mounted Ethernet service, adding a time stamp to the corresponding sixth test result, and recording the result to a sixth log file.
Optionally, performing network time synchronization, including:
checking whether data traffic of the slave device is already available;
if the network time synchronization is available, directly carrying out network time synchronization, and carrying out the next action after synchronization;
if the slave equipment is not available, circularly checking whether the data service of the slave equipment is available or not by taking a fifth preset time length as a period, and performing the next action after the number of times of circular checking reaches a third preset number.
According to the second aspect of the present invention, there is also provided a reliability test system for a vehicle-mounted smart antenna device, comprising: the system comprises a dormancy awakening module, and a vehicle-mounted intelligent antenna device and a personal computer which are connected together through the dormancy awakening module; wherein
The vehicle-mounted smart antenna device comprises a controller, and the controller is used for executing the reliability test method for the vehicle-mounted smart antenna device.
Optionally, the sleep wake-up module is configured as a programmable relay.
According to the invention, the TCAM equipment is awakened through periodical power-off and power-on of the dormancy awakening module so as to carry out the automatic test traversal cycle experiment on the TCAM equipment, thereby achieving the purpose of verifying the reliability of software and hardware functions of the TCAM equipment. And after the TCAM equipment is dormant every time, the reliability test items are reset to be in an initial state through the reliability test script, and after the TCAM equipment is awakened every time, the reliability test script starts to run again to execute the reliability test items again, so that the foundation of a new round of automatic experiment is not coupled with the test environment of the previous round, and the stability of the test process and the accuracy of the test result are improved.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Some specific embodiments of the invention will be described in detail hereinafter, by way of illustration and not limitation, with reference to the accompanying drawings. The same reference numbers in the drawings identify the same or similar elements or components. Those skilled in the art will appreciate that the drawings are not necessarily drawn to scale. In the drawings:
FIG. 1 is a schematic block diagram of a reliability testing system for an in-vehicle smart antenna apparatus in accordance with one embodiment of the present invention;
FIG. 2 is a schematic flow diagram of a reliability testing method for an in-vehicle smart antenna apparatus according to one embodiment of the present invention;
fig. 3 is a schematic detailed flowchart of a reliability testing method for a vehicle-mounted smart antenna device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
FIG. 1 is a schematic block diagram of a reliability testing system 100 for an in-vehicle smart antenna device 110 according to one embodiment of the present invention. Referring to fig. 1, a reliability test system 100 may include: a sleep wake-up Module 120, a vehicle mounted smart Antenna (TCAM) device 110, and a Personal Computer (PC) 130.
In this embodiment, the TCAM device 110 and the PC130 may be connected together via the hibernate wake-up module 120, that is, the hibernate wake-up module 120 is disposed between the TCAM device 110 and the PC 130. Specifically, the sleep wake-up module 120 may be connected to the TCAM device 110 and the PC130 via USB lines, respectively.
The sleep wake module 120 may be configured to periodically power down and up to wake up the TCAM device 110 in a timed sleep. Here, the power-down and power-up cycles may be performed according to a preset period. The preset period is the sum of a first preset time for continuously powering on and a second preset time for continuously powering off in each cycle period. The first predetermined period of time is preferably slightly greater than the second predetermined period of time. Specifically, the first preset time period may be set to be 3 minutes and the second preset time period may be set to be 30 seconds, for example, the TCAM device 110 and the PC130 are disconnected for 30 seconds and connected for 3 minutes, and the cycle is continued according to the period.
From a testing perspective, the TCAM device 110 may be the master device 110 or the slave device 110. In the process of performing the reliability test on the TCAM device 110, the reliability test may be performed on the master device 110 or the slave device 110, and a synchronous reliability test may be performed on the master device 110 and the slave device 110.
Various network modules may be integrated within the TCAM device 110. For example, the WIFI module 111, the 5G communication module 112, and/or the vehicle ethernet (PHY) module 113, and the like. Illustratively, when the WIFI modules 111, 5G communication module 112 and PHY module 113 are integrated in both the master device 110 and the slave device 110, the WIFI module 111 of the master device 110 and the WIFI module 111 of the slave device 110 may be connected through a 2.4G/5G WIFI link. The 5G communication module 112 of the master device 110 and the 5G communication module 112 of the slave device 110 may be connected to the 5G base station 200 through 5G communication links, respectively. The PHY module 113 of the master device 110 and the PHY module 113 of the slave device 110 may be connected by a physical twisted pair.
In addition, when the master device 110 and the slave device 110 are subjected to the master-slave synchronization reliability test, the master device 110 and the slave device 110 may be respectively connected in series to the PC130 through the sleep-wake module 120 through the USB cable. After the test is started, the PC130, the master device 110 and the slave device 110 are all configured to be powered on for a long time, the sleep wakeup module 120 is configured to be powered off and powered on periodically to disconnect and connect the USB of the master device 110 and the USB of the slave device 110 at regular time, so that the master device 110 and the slave device 110 are waken up after being in short sleep, after the master device 110 and the slave device 110 are waken up at the same time, the clocks are synchronized again, the 5G network is on the network again, and the drive of the WIFI and the PHY is loaded again, so that the automatic experiment foundation in a new round is not coupled with the test environment in the previous round, and the stability of the test process and the accuracy of the test result are improved.
To facilitate controlling the timed sleep and wake-up of the TCAM device 110, in some embodiments, the sleep wake-up module 120 may be configured as a relay. The relay is preferably a programmable relay. The programmable relay can conveniently control the dormancy awakening of the TCAM equipment 110, thereby simplifying the control logic and improving the control efficiency.
Further, the TCAM device 110 may include a controller. The controller may be used to perform the reliability testing method for the in-vehicle smart antenna apparatus 110 of any one or a combination of the embodiments described below.
Fig. 2 is a schematic flow chart of a reliability testing method for the vehicle-mounted smart antenna device 110 according to one embodiment of the present invention. The reliability test method of this embodiment can be applied to the reliability test system 100 in the foregoing embodiments. Referring to fig. 2, the reliability test method may include steps S202 to S208.
Step S202, after the TCAM device 110, the sleep wake-up module 120, and the PC130 are powered on, the reliability test script is started to run through the TCAM device 110, so as to execute a reliability test check item on the TCAM device 110.
Step S204, after the power is continuously turned on for the first preset time, the sleep wakeup module 120 is powered off to control the TCAM device 110 to be disconnected from the PC130, so that the TCAM device 110 enters a sleep state.
Step S206, after the power is continuously turned off for the second preset time, the sleep wakeup module 120 is powered on to control the TCAM device 110 and the PC130 to enter the connection state, so that the TCAM device 110 is woken up.
Step S208, taking the sum of the first preset duration and the second preset duration as a cycle period, periodically powering down and powering up the sleep/wake-up module 120 to periodically sleep and wake up the TCAM device 110. When the TCAM device 110 enters the sleep state each time, the reliability test check items are all reset to the initial state by the reliability test script, and the reliability test script starts to run again after the TCAM device 110 is awakened each time.
According to the embodiment of the invention, the TCAM device 110 is awakened through periodical power-off and power-on of the dormancy awakening module 120, so that an automatic test traversal cycle experiment is performed on the TCAM device 110, and the purpose of verifying the reliability of software and hardware functions of the TCAM device 110 is achieved. Moreover, after the TCAM device 110 is dormant each time, the reliability test items are all reset to the initial state by the reliability test script, and after the TCAM device 110 is awakened each time, the reliability test script starts to run again to re-execute the reliability test items, so that the new round of automated experiment foundation is not coupled with the previous round of test environment, and the stability of the test process and the accuracy of the test result are improved.
In some embodiments, the reliability test check items may include any one or more of data traffic dialing, network time synchronization, network mode checking, data traffic PING checking, WIFI service settings, PHY traffic PING checking, and the like.
In each cycle, when the TCAM device 110 enters the sleep state, the sleep wakeup flag bit may be printed in a kernel log of the TCAM device 110, and then after the TCAM device 110 is awakened, the printed sleep wakeup flag bit is obtained from the kernel log through the reliability test script, so as to check whether the sleep wakeup flag bit is recorded in a sleep wakeup flag bit configuration file of the TCAM device 110. If the sleep wakeup flag bit configuration file does not record the sleep wakeup flag bit, whether the TCAM device 110 is the master device 110 or the slave device 110 is determined based on the SD card path of the TCAM device 110, and if the TCAM device 110 is the master device 110, the master device 110 is controlled to run a master device logic so as to execute a reliability test check item on the master device 110, and after the execution is completed, the sleep wakeup flag bit is written into the sleep wakeup flag bit configuration file. If the TCAM device 110 is a slave device 110, the slave device 110 is controlled to run a slave device logic so as to execute a reliability test check item on the slave device 110, and after the execution is completed, write the sleep wakeup flag bit into the sleep wakeup flag bit configuration file. By adopting the embodiment, whether the current awakened TCAM device 110 is the master device 110 or the slave device 110 can be determined, and then the master device logic is executed on the master device 110, and the slave device logic is executed on the slave device 110, so that the pertinence of the reliability test is effectively improved, and the test error is avoided from affecting the accuracy of the test result.
Further, in a plurality of cycle periods, each time the TCAM device 110 enters the sleep state, a sleep wakeup flag bit may be printed in the kernel log of the TCAM device 110. That is to say, after the TCAM device 110 is awakened, when the TCAM device 110 is awakened next time, a new dormancy wakeup flag bit is printed in the kernel log, so that after the TCAM device 110 is awakened next time, the new dormancy wakeup flag bit will not appear in the dormancy wakeup flag bit configuration file necessarily, and the TCAM device 110 starts to execute the reliability check item again, so that the automatic cycle test on the TCAM device 110 can be implemented.
It should be noted that, when the master device 110 and the slave device 110 are both connected to the PC130, the master device 110 and the slave device 110 are simultaneously woken up to start running the same set of reliability test scripts.
In some embodiments, when determining whether TCAM device 110 is master device 110 or slave device 110 based on the SD card path of TCAM device 110, the reliability test script may make a binary determination with the slave device flag bit file or the master device flag bit file under the SD path of TCAM device 110. When the binary judgment is performed by using the slave device zone bit file, the reliability test script may check whether the slave device zone bit file exists in the SD card path of the TCAM device 110, and if the slave device zone bit file does not exist in the SD card path, the TCAM device 110 may be judged as the master device 110. On the contrary, if the slave device flag bit file exists in the SD card path, the TCAM device 110 may be determined to be the slave device 110.
In some further embodiments, when controlling the master device 110 to run the master device logic, the test program may be first called by the reliability test script, and during the running of the test program, the following reliability test check items are performed on the master device 110:
and carrying out data service dialing. In the process of dialing the data service, it may be checked whether the primary device 110 has registered the 5G network, and if the 5G network has been registered, the data service dialing may be directly performed, and the next action is performed after the data service dialing. If the 5G network is not registered, the master device 110 may cyclically check whether the 5G network is registered or not with a third preset time as a period, and perform the next action after the number of times of the cyclic check reaches the first preset number, that is, perform the next action regardless of whether the 5G network is registered or not after the number of times of the cyclic check reaches the second preset number. Therefore, the test can be ensured to continue to be carried out downwards, and the test stop caused by the abnormity is avoided. The third preset time and the first preset times can be preset according to the actual application requirements. For example, the third preset time period may be set to 0.5 seconds, and the first preset number may be set to 60 times.
And carrying out network time synchronization. During the network time synchronization, it may be checked whether the data service of the master device 110 is available, and if the data service is available, the network time synchronization is directly performed, and the next action is performed after the synchronization. Otherwise, if the data service is unavailable, the data service of the master device 110 is checked cyclically with the fourth preset duration as a period, and the next action is performed after the number of times of the cyclic check reaches the second preset number, that is, the next action is performed regardless of whether the data service is available or not after the number of times of the cyclic check reaches the second preset number. Therefore, the test can be continuously carried out downwards, the test abnormity caused by the abnormity of the data service is avoided, and the stability of the test and the accuracy of the test result are improved. The fourth preset time and the second preset times can be preset according to the actual application requirements. For example, the fourth preset time period may be set to 0.5 seconds, and the second preset number may be set to 60 times.
And performing network mode check, and recording a corresponding first test result to a first log file after adding a time stamp to the first test result. Specifically, the network mode registered by the current device can be acquired through a network interface (network interface), and is recorded to the first log file after being time-stamped.
And performing PING check on the data service, adding a time stamp to the corresponding second test result, and recording the result to a second log file. Specifically, the PING result is obtained through a PING external network address (such as 8.8.8.8), time stamped and recorded in a second log file.
And starting and setting the WIFI hotspot, adding a timestamp to a corresponding third test result, and recording the third test result to a third log file.
And (5) carrying out PHY service PING check, adding a time stamp to a corresponding fourth test result, and recording the result to a fourth log file. Specifically, the PING net result is obtained from the device 110PHY address (e.g., 198.18.32.16) via PING and time-stamped and recorded to the fourth log file.
In addition, when the above reliability test check items are performed, the first log file, the second log file, the third log file, and the fourth log file may all be stored in the SD path of the master device 110. After the reliability testing stage is performed or the reliability testing stage is completed as a whole, the first log file, the second log file, the third log file and the fourth log file stored in the master device 110SD may be checked, and further, the specific execution result of each service in each time period of the testing process may be confirmed by the timestamp and the service execution result.
In addition, for convenience of storage and subsequent check, each log file may be named using a designated character, for example, as a first log file name, a second log file name, a third log file name, and a fourth log file name, the first log file name, the second log file name, the third log file name, and the fourth log file name, the second log file name, the third log file name, and the fourth log file name, the third log file name, and the fourth log file name.
In still further embodiments, in controlling slave device 110 to run slave device logic, a test program may first be called by a reliability test script, and during running the test program, the following reliability test check items may be executed on slave device 110:
the PHY address of slave device 110 is configured. Since the TCAM device 110 is powered on and the default PHY address is set to 198.18.32.17, the master device 110 is already 198.18.32.17 from a test perspective, and the slave device 110 needs to be reconfigured to a PHY address different from the default PHY address of 198.18.32.16 at the beginning of each test round.
And after the timeout of the fifth preset time period, connecting the slave device 110 to the WIFI hotspot of the master device 110. The fifth preset time period is set to wait for the main device 110 to successfully establish the WIFI hotspot, so that the slave device 110 is connected to the WIFI hotspot of the main device 110 after the main device 110 successfully establishes the WIFI hotspot.
And carrying out network time synchronization. Specifically, it may be checked whether the data service of the slave device 110 is already available, if available, the network time synchronization is directly performed, and the next step is performed after the synchronization, and if not, the fifth preset time period is used as a period, the next step is performed by cyclically checking whether the data service of the slave device 110 is already available, and after the number of times of the cyclic check reaches the third preset number, the next step is performed, that is, after the number of times of the cyclic check reaches the third preset number, regardless of whether the data service is available. Therefore, the test can be continuously carried out downwards, the test abnormity caused by the abnormity of the data service is avoided, and the stability of the test and the accuracy of the test result are improved. The fifth preset time and the third preset times can be preset according to the actual application requirements. For example, the fifth preset time period may be set to 0.5 seconds, and the third preset number may be set to 60 times.
And carrying out WIFI service PING check, adding a timestamp to a corresponding fifth test result, and recording the result to a fifth log file. Specifically, the fifth test result is obtained through the PING extranet address (e.g., 8.8.8.8), and then recorded in the fifth log file in the form of timestamp + the fifth test result.
And (4) carrying out PHY service PING check, adding a time stamp to the corresponding sixth test result, and recording the result to a sixth log file. Specifically, the sixth test result is obtained from the PHY address (e.g., 198.18.32.16) of the device 110 through PING and then recorded to the sixth log file in the form of a timestamp + the sixth test result.
In addition, when the above reliability test check items are performed, the fifth log file and the sixth log file may be stored in the SD path of the slave device 110. After the reliability testing stage is performed or the reliability testing stage is completed as a whole, the fifth log file and the sixth log file stored in the SD of the slave device 110 may be checked, and further, the specific execution result of each service in each time period of the testing process may be confirmed by the timestamp and the service execution result.
In addition, for convenience of storage and subsequent examination, each log file may be named using a specified character, such as, for example, a viability.
In order to clearly understand the technical means of the present invention, a detailed description will be given below of a specific implementation of the reliability testing method for the vehicle-mounted smart antenna device 110 in some alternative embodiments of the present invention. In this embodiment, the sleep wake-up module 120 is provided as a programmable relay 120.
Fig. 3 is a schematic detailed flowchart of a reliability testing method for the vehicle-mounted smart antenna device 110 according to one embodiment of the present invention. Referring to fig. 3, the reliability testing method for the vehicle-mounted smart antenna apparatus 110 of the present embodiment may include steps S302 to S340.
Step S302, each unit is powered on, and the TCAM device 110 starts to run the reliability test script. Each unit is used for a reliability test system of the TCAM device 110, and includes the TCAM device 110, the programmable relay 120, and the PC 130.
Step S304, determining whether the power-on duration reaches a first preset duration. If yes, go to step S306; if not, continue to step S304.
Step S306, power down is performed on the programmable relay 120, the TCAM device 110 is controlled to be disconnected from the PC130, and the TCAM device 110 enters a sleep state.
Step S308, when the TCAM device 110 is in a sleep state, print a sleep wakeup flag in the kernel log of the TCAM device 110, and reset all the reliability test check items to the initial state.
In step S310, it is determined whether the power-on duration reaches a second preset duration. If yes, go to step S312; if not, continue to step S310.
Step S312, power up the programmable relay 120, and control the TCAM device 110 and the PC130 to enter a connection state, so that the TCAM device 110 is awakened.
In step S314, after the TCAM device 110 is awakened, the TCAM device 110 restarts running the reliability test script.
Step S316, reading the newly printed sleeping and waking flag from the kernel log, checking that the new sleeping and waking flag is not recorded in the sleeping and waking flag configuration file, and executing step S318.
Step S318, check whether the slave device flag bit file exists in the SD card path of the TCAM device 110. If not, go to step S320; if yes, go to step S332.
Step S320, determining the TCAM device 110 as the master device 110, calling the test program through the reliability test script, and performing data service dialing and network time synchronization actions.
Step S322, performing a network mode check, and recording the corresponding first test result to the first log file after adding a time stamp.
Step S324, performing PING check on the data service, and recording the corresponding second test result to a second log file after adding a timestamp.
Step S326, the WIFI hotspot of the master device 110 is started and set, and a third test result is recorded to a third log file after a timestamp is added to the third test result.
Step S328, perform PHY service PING check, timestamp the corresponding fourth test result, and record the result to a fourth log file.
Step S330, after the completion of each service check, writing the newly printed dormancy wakeup flag bit into the dormancy wakeup flag bit configuration file. And then returns to step S306 to enter the next round of hibernation.
Step S332, determining that the TCAM device 110 is the slave device 110, calling the test program through the reliability test script, and performing timeout of the fifth preset time.
Step S334 is performed to configure the PHY address of the slave device 110, perform the WIFI connection operation on the slave device 110, and connect the slave device 110 to the WIFI hotspot of the master device 110.
In step S336, a network time synchronization operation is performed.
And step S338, carrying out WIFI service PING check, adding a time stamp to the corresponding fifth test result, and recording the result to a fifth log file.
Step S340, performing PHY service PING check, and recording the sixth test result to a sixth log file after adding a timestamp to the sixth test result. Then, step S330 is performed.
According to any one embodiment or a combination of multiple embodiments, the embodiment of the invention can achieve the following beneficial effects:
the embodiment of the invention can perform a master-slave device synchronization automatic test traversal cycle experiment aiming at core functions of 5G network residence, PHY mutual PING, vehicle-mounted WIFI hotspot and WIFI access device mutual PING and the like contained in 5G TCAM equipment. Meanwhile, aiming at the problem that the abnormal conditions of the network-resident form and the clock synchronization may occur in the long-time test, which results in the strong coupling of the test result of each round, the sleep awakening mechanism of the TCAM device 110 is utilized, and the programmable relay 120 is introduced to regularly disconnect and connect the USB of the master device and the slave device 110, so that the master device and the slave device are awakened after the short sleep, after the master device and the slave device are awakened simultaneously, the clock is synchronized again, the 5G network is networked again, the drive of WIFI and PHY is loaded again, and thus the automatic experiment base of a new round is not coupled with the test environment of the previous round, and the stability of the test process and the accuracy of the test result are improved.
Thus, it should be appreciated by those skilled in the art that while a number of exemplary embodiments of the invention have been illustrated and described in detail herein, many other variations or modifications consistent with the principles of the invention may be directly determined or derived from the disclosure of the present invention without departing from the spirit and scope of the invention. Accordingly, the scope of the invention should be understood and interpreted to cover all such other variations or modifications.

Claims (10)

1. A reliability testing method for an in-vehicle smart antenna apparatus connected to a personal computer via a sleep wake-up module, the method comprising:
after the vehicle-mounted intelligent antenna equipment, the dormancy awakening module and the personal computer are powered on, starting running a reliability test script through the vehicle-mounted intelligent antenna equipment so as to execute a reliability test check item on the vehicle-mounted intelligent antenna equipment;
after continuously powering on for a first preset time, powering off the sleep awakening module to control the vehicle-mounted intelligent antenna equipment to be disconnected with the personal computer, so that the vehicle-mounted intelligent antenna equipment enters a sleep state;
after continuously powering off for a second preset time, powering on the sleep awakening module to control the vehicle-mounted intelligent antenna equipment and the personal computer to enter a connection state, so that the vehicle-mounted intelligent antenna equipment is awakened;
taking the sum of the first preset time length and the second preset time length as a cycle period, and periodically powering off and powering on the sleep awakening module so as to periodically sleep and awaken the vehicle-mounted intelligent antenna device;
and when the vehicle-mounted intelligent antenna equipment enters a sleep state every time, resetting the reliability test check items to an initial state through the reliability test script, and starting to run the reliability test script after the vehicle-mounted intelligent antenna equipment is awakened every time.
2. The method of claim 1, wherein, in each cycle period, the method comprises:
when the vehicle-mounted intelligent antenna equipment enters a dormant state, printing a dormant awakening flag bit in a kernel log of the vehicle-mounted intelligent antenna equipment;
after the vehicle-mounted intelligent antenna equipment is awakened, acquiring the dormancy awakening flag bit from the kernel log through the reliability test script;
checking whether the dormancy awakening zone bit is recorded in a dormancy awakening zone bit configuration file of the vehicle-mounted intelligent antenna equipment;
if the sleep wakeup flag bit is not recorded in the sleep wakeup flag bit configuration file, judging whether the vehicle-mounted intelligent antenna equipment is a master device or a slave device based on an SD card path of the vehicle-mounted intelligent antenna equipment;
if the vehicle-mounted intelligent antenna equipment is main equipment, controlling the main equipment to run main equipment logic so as to execute the reliability test check item on the main equipment, and writing the dormancy awakening zone bit into the dormancy awakening zone bit configuration file after the execution is finished;
and if the vehicle-mounted intelligent antenna equipment is slave equipment, controlling the slave equipment to run slave equipment logic so as to execute the reliability test check item on the slave equipment, and writing the dormancy awakening zone bit into the dormancy awakening zone bit configuration file after the execution is finished.
3. The method of claim 2, wherein determining whether the in-vehicle smart antenna device is a master device or a slave device based on the SD card path of the in-vehicle smart antenna device comprises:
checking whether a slave device zone bit file exists under the SD card path of the vehicle-mounted intelligent antenna device through the reliability test script;
if the slave equipment zone bit file does not exist in the SD card path, the vehicle-mounted intelligent antenna equipment is judged to be the main equipment;
and if the slave equipment zone bit file exists in the SD card path, judging that the vehicle-mounted intelligent antenna equipment is slave equipment.
4. The method of claim 2, wherein the controlling the master device to run master device logic comprises:
calling a test program through the reliability test script, and executing the following reliability test check items on the main equipment in the process of running the test program:
carrying out data service dialing;
carrying out network time synchronization;
performing network mode check, and recording a corresponding first test result to a first log file after adding a time stamp to the first test result;
performing PING check on the data service, adding a timestamp to a corresponding second test result, and recording the result to a second log file;
starting and setting a WIFI hotspot, adding a timestamp to a corresponding third test result, and recording the third test result to a third log file;
and carrying out PING check on the vehicle-mounted Ethernet service, adding a timestamp to a corresponding fourth test result, and recording the result to a fourth log file.
5. The method of claim 4, wherein the conducting data service dialing comprises:
checking whether the master device is registered with a 5G network;
if the data service is registered, the data service is directly dialed, and the next action is carried out after dialing;
if not, circularly checking whether the main equipment is registered in the 5G network or not by taking a third preset time as a period, and performing the next action after the number of times of circular checking reaches a first preset number.
6. The method of claim 4, wherein the performing network time synchronization comprises:
checking whether data traffic of the master device is already available;
if the network time synchronization is available, the network time synchronization is directly carried out, and the next action is carried out after the network time synchronization;
if the data service is unavailable, circularly checking whether the data service of the main equipment is available or not by taking a fourth preset time as a period, and performing the next action after the number of times of circular checking reaches a second preset number of times.
7. The method of claim 2, wherein the controlling the slave device to execute slave device logic comprises:
calling a test program through the reliability test script, and executing the following reliability test check items on the slave equipment in the process of running the test program:
configuring a vehicle-mounted Ethernet address of the slave device;
after the timeout of a fifth preset time length, connecting the slave device to the WIFI hotspot of the master device;
carrying out network time synchronization;
performing WIFI service PING check, adding a timestamp to a corresponding fifth test result, and recording the result to a fifth log file;
and carrying out PING check on the vehicle-mounted Ethernet service, adding a time stamp to the corresponding sixth test result, and recording the result to a sixth log file.
8. The method of claim 7, wherein the performing network time synchronization comprises:
checking whether data traffic of the slave device is already available;
if the network time synchronization is available, the network time synchronization is directly carried out, and the next action is carried out after the network time synchronization;
if the slave equipment is not available, circularly checking whether the data service of the slave equipment is available or not by taking a fifth preset time length as a period, and performing the next action after the number of times of circular checking reaches a third preset number.
9. A reliability testing system for an in-vehicle smart antenna apparatus, comprising: the system comprises a sleep awakening module, and a vehicle-mounted intelligent antenna device and a personal computer which are connected together through the sleep awakening module; wherein
The vehicle-mounted smart antenna apparatus comprises a controller for executing the reliability test method for the vehicle-mounted smart antenna apparatus of any one of claims 1 to 8.
10. The system of claim 9, wherein the sleep wake-up module is configured as a programmable relay.
CN202110661964.0A 2021-06-15 2021-06-15 Reliability test method and system for vehicle-mounted intelligent antenna equipment Pending CN113391936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110661964.0A CN113391936A (en) 2021-06-15 2021-06-15 Reliability test method and system for vehicle-mounted intelligent antenna equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110661964.0A CN113391936A (en) 2021-06-15 2021-06-15 Reliability test method and system for vehicle-mounted intelligent antenna equipment

Publications (1)

Publication Number Publication Date
CN113391936A true CN113391936A (en) 2021-09-14

Family

ID=77621453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110661964.0A Pending CN113391936A (en) 2021-06-15 2021-06-15 Reliability test method and system for vehicle-mounted intelligent antenna equipment

Country Status (1)

Country Link
CN (1) CN113391936A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609356A (en) * 2012-01-19 2012-07-25 福建升腾资讯有限公司 Terminal product driver loading stability testing method
US20130316769A1 (en) * 2012-05-25 2013-11-28 Samsung Electronics Co. Ltd. Dormancy mode control method and apparatus of portable terminal
CN109257249A (en) * 2018-08-20 2019-01-22 郑州云海信息技术有限公司 A kind of network interface card stability test method, apparatus, terminal and storage medium
CN109921915A (en) * 2019-01-08 2019-06-21 百富计算机技术(深圳)有限公司 Test the method, apparatus and electronic equipment of real-time clock module arousal function
CN111246200A (en) * 2020-01-17 2020-06-05 四川长虹电器股份有限公司 Automatic test method for awakening rate and false awakening of smart television
CN111474865A (en) * 2020-03-31 2020-07-31 北京经纬恒润科技有限公司 Dormancy awakening test system for intelligent vehicle-mounted terminal controller
CN112463508A (en) * 2020-11-13 2021-03-09 苏州浪潮智能科技有限公司 Server dormancy state testing method, system, terminal and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609356A (en) * 2012-01-19 2012-07-25 福建升腾资讯有限公司 Terminal product driver loading stability testing method
US20130316769A1 (en) * 2012-05-25 2013-11-28 Samsung Electronics Co. Ltd. Dormancy mode control method and apparatus of portable terminal
CN109257249A (en) * 2018-08-20 2019-01-22 郑州云海信息技术有限公司 A kind of network interface card stability test method, apparatus, terminal and storage medium
CN109921915A (en) * 2019-01-08 2019-06-21 百富计算机技术(深圳)有限公司 Test the method, apparatus and electronic equipment of real-time clock module arousal function
CN111246200A (en) * 2020-01-17 2020-06-05 四川长虹电器股份有限公司 Automatic test method for awakening rate and false awakening of smart television
CN111474865A (en) * 2020-03-31 2020-07-31 北京经纬恒润科技有限公司 Dormancy awakening test system for intelligent vehicle-mounted terminal controller
CN112463508A (en) * 2020-11-13 2021-03-09 苏州浪潮智能科技有限公司 Server dormancy state testing method, system, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN107656856B (en) CPLD-based system state display method and device
US8510587B2 (en) Time synchronization system and server using a baseboard management controller acquiring time signals to record occurrence time of system logs before than host system
US7987389B2 (en) System and method for testing sleep and wake functions of computer
CN109067416B (en) Method for realizing hot plug and start of SIM card and intelligent hardware
CN103179241A (en) Method and system for automatically testing power consumption of mobile terminal
CN104166610A (en) Mobile terminal detection method and detection system
CN104683573B (en) The implementation method of shutdown alarm clock and mobile terminal
WO2016115801A1 (en) Method and device for replaying user operation
US20090287959A1 (en) System and method for testing computer
CN115827111B (en) Method and device for adjusting server startup item, storage medium and electronic device
US8659563B2 (en) Electronic device with a page turning function during a sleep mode of the electronic device
CN104317685A (en) Starting method of calculator system
CN111311988A (en) Internet of things development and learning system based on wireless WIFI
CN113391936A (en) Reliability test method and system for vehicle-mounted intelligent antenna equipment
CN106603526B (en) WiFi/hotspot starting method and device
CN114035477A (en) Equipment awakening method, device and system
KR20130038754A (en) Communication system
CN108804150B (en) Terminal standby process processing method and terminal
CN114968777A (en) Test method and device based on Autosar network management mechanism and electronic equipment
CN109086154B (en) Device and method for detecting countdown of BIOS watchdog function
CN112463508B (en) Server dormancy state testing method, system, terminal and storage medium
CN112579369A (en) Multithreading flashing system, method, device, equipment and storage medium
CN110659169B (en) Method for testing automatic dormancy awakening pressure of android system
CN114328044B (en) AIC+box topology testing method, device and system
CN112333815B (en) Clock matching method of industrial wireless interconnection system

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