Test system, method and related apparatus for in-vehicle tablets
By maintaining continuous power supply and storing frozen frame data during vehicle-mounted tablet testing, the problem of difficulty in reproducing abnormal situations in vehicle-mounted tablet testing is solved, thus improving testing efficiency and effectiveness.
Patent Information
- Application Number
- CN202511476822.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-16
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2045-10-16
AI Technical Summary
When abnormal situations occur during the power-on and power-off testing of the vehicle-mounted tablet, the R&D personnel are unable to accurately reproduce the test environment, resulting in low testing efficiency and poor test results.
By keeping the vehicle-mounted tablet continuously powered on during testing, freeze frame data is generated and stored during anomalies, providing data support to trace the tablet's operating parameters during anomalies and improving testing efficiency.
It enables efficient reproduction of abnormal situations and data support during vehicle-mounted tablet testing, improving testing efficiency, reducing troubleshooting time, and enhancing testing results.
Smart Images

Figure CN120948949B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer testing, and in particular to a test system and method for a vehicle-mounted tablet and related devices. BACKGROUND
[0002] The system firmware of a vehicle-mounted tablet needs to undergo various reliability and stability tests before being officially put into use by customers, one of which is a power-on and power-off test. The test determines the probability of occurrence of various service abnormalities, such as baseband problems, loading failure problems of WIFI and Bluetooth, and network disconnection. The above service functions need to be reloaded each time the vehicle-mounted tablet is powered on. If some service fails to load during a power-on operation, it will affect the user experience, and in severe cases, the vehicle-mounted tablet cannot be used and needs to be powered on again to solve the above abnormal problems.
[0003] However, after being powered on again, the abnormal situation may disappear with the last power-off, and the abnormal situation may be an occasional problem that occurs only once. When the abnormal situation occurs, the R&D personnel cannot accurately reproduce the test environment of a specific power-on and power-off test, and need to consume a lot of time to troubleshoot and match abnormal vehicle-mounted devices. Moreover, after locating the abnormal tablet, the test parameters at the time of the abnormality cannot be reproduced, and there is a problem of low test efficiency and poor test effect. SUMMARY
[0004] Therefore, the embodiments of the present application provide a test system and method for a vehicle-mounted tablet and related devices. When an abnormality occurs during the test of the vehicle-mounted tablet, the vehicle-mounted tablet is kept in a continuous power-on state to generate and store frozen frame data at the time of the abnormality of the tablet, thereby providing data support for the test personnel to trace the running parameters of the tablet at the time of the abnormality, and improving the efficiency of the test of the vehicle-mounted tablet.
[0005] In a first aspect, the embodiments of the present application provide a test system for a vehicle-mounted tablet. The system includes a sample rack, a plurality of vehicle-mounted tablets to be detected arranged on the sample rack, a relay, and an upper computer device arranged on a computer device rack. The upper computer device includes a display. The communication port of the vehicle-mounted tablet is electrically connected to the upper computer device and the relay through a CAN bus.
[0006] The vehicle-mounted tablet is configured to generate a target test strategy in response to a configuration operation of a user on a test application installed in the vehicle-mounted tablet, perform a target test according to the target test strategy in response to a start operation of the user on the test application, send a first power supply instruction to the relay according to the target test strategy, and send a second power supply instruction to the relay when there is at least one abnormal result in a plurality of test results of the vehicle-mounted tablet.
[0007] The host device is configured to display abnormal information on the display when the abnormal result of the vehicle-mounted panel is detected, the abnormal information including a device identifier of an abnormal vehicle-mounted panel corresponding to the abnormal result and frozen frame data of the abnormal vehicle-mounted panel.
[0008] The relay is configured to be turned on and turned off at a preset period in response to the first power supply instruction to implement repeated power-on and power-off of the vehicle-mounted panels, and the target test strategy includes the preset period; and the relay is configured to remain in an on state in response to the second power supply instruction.
[0009] In one possible embodiment, in the aspect of displaying the abnormal information, the host device is specifically configured to: retrieve basic configuration data of the abnormal vehicle-mounted panel at an abnormal time, the basic configuration data including a test item name, a total power-on and power-off number, and a completed power-on and power-off number, the test item name being included in the target test strategy, and the abnormal time being a time when it is determined that at least one result in the multiple test results is abnormal; acquire hardware running parameters and software service logs of the abnormal vehicle-mounted panel at the abnormal time; and package the basic configuration data, the hardware running parameters, and the software service logs to generate the frozen frame data.
[0010] In one possible embodiment, the host device is specifically further configured to: determine an abnormal type of the abnormal vehicle-mounted panel and record a timestamp of the abnormal time; generate test information according to the abnormal type, the timestamp of the abnormal time, and a device identifier of the abnormal vehicle-mounted panel; establish an association between the test information of the abnormal vehicle-mounted panel and the frozen frame data; generate a mapping table according to the association, and store the mapping table.
[0011] In a possible embodiment, the vehicle-mounted tablet is specifically configured to: record a work log through a flash memory module when the vehicle-mounted tablet detects a system crash exception; the data in the flash memory module is not lost with power-on or power-off of the vehicle-mounted tablet; perform a restart operation; check the flash memory module through the test application, obtain the work log, and record an automatic restart test number plus one; and clear the data in the flash memory module. In a possible embodiment, in response to the user's configuration operation on the test application, the vehicle-mounted tablet is specifically configured to: display a main interface of the test application in response to an interface start operation of the user, the main interface of the test application including a project creation control and a test configuration control; display a test configuration interface in response to a trigger operation of the user on the test configuration control, the test configuration interface including at least one target test project and a start test control, the target test project being a project determined based on the configuration operation of the user; determine the target test project selected by the user in response to a selection operation of the user on the test configuration interface; and determine a target number of the target test strategy in response to a configuration operation of the user on the test configuration interface.
[0012] In a possible embodiment, before the response to the trigger operation of the user on the test configuration control, the vehicle-mounted tablet is specifically configured to: display a test project creation interface in response to a trigger operation of the user on the project creation control, the test project creation interface including a test project information bar and a test sub-project, the test project information including a name, a label, and an identification number of the test project, and the test sub-project referring to a plurality of sub-items associated with the target test project; determine the name of the target test project in response to an input operation of the user on the test project information bar; determine the label of the target test project in response to a project configuration operation of the user on the test project information bar, the project configuration operation referring to an input operation or a selection operation; generate the identification number of the target test project and a test sequence of the test sub-project according to the label of the target test project; and generate the target test project according to the test project information and the test sequence of the test sub-project.
[0013] In a possible embodiment, in the aspect of determining the label of the target test project in response to the project configuration operation of the user on the test project information bar, the vehicle-mounted tablet is specifically configured to: display a plurality of test project labels in response to the project configuration operation of the user being a selection operation, the plurality of test project labels being project labels pre-stored in the vehicle-mounted tablet; and determine the label of the target test project in response to a selection operation of the user on the plurality of test project labels.
[0014] In a possible embodiment, in the aspect of determining the label of the target test item in response to the item configuration operation of the user on the test item information bar, the vehicle-mounted tablet specifically is configured to: in response to the item configuration operation of the user being an input operation, call a test database from the host computer device, the test database including a mapping table of test item labels and test sub-items; analyze and confirm the test sub-item corresponding to the item configuration operation of the user through the host computer device; and determine the label of the target test item according to the test sub-item and the test database.
[0015] In a possible embodiment, the host computer device is specifically further configured to: display, through the display of the host computer device, a test result interface of the vehicle-mounted tablet after the target test strategy is completed, the test result interface including: a current display interface of the vehicle-mounted tablet, a test item result of the vehicle-mounted tablet, and a test event processing control; wherein the test item result includes: a test state, a test success number, and a test failure number, and the test event processing control includes: a log capture control, a restart control, an error ignoring control, and an alarm control.
[0016] In a second aspect, the embodiments of the present application provide a test method of a vehicle-mounted tablet, applied to a vehicle-mounted tablet in a test system of the vehicle-mounted tablet, the test system of the vehicle-mounted tablet including a sample rack, a plurality of vehicle-mounted tablets to be detected arranged on the sample rack, a relay, and a host computer device arranged on a computer device rack, the host computer device including a display; wherein a communication port of the vehicle-mounted tablet is electrically connected to the host computer device and the relay through a CAN bus; the method includes: generating a target test strategy in response to a strategy determined by a configuration operation of a user on a test application, the test application being installed in the vehicle-mounted tablet; sending a first power supply instruction to the relay according to the target test strategy, the first power supply instruction being used to instruct the relay to be turned on and turned off at a preset period to control repeated power-on and power-off of the vehicle-mounted tablet; performing a test according to the target test strategy to obtain a plurality of test results, sending a second power supply instruction to the relay when at least one abnormal result exists in the plurality of test results, the second power supply instruction being used to instruct the relay to remain in a turned-on state; and sending a record message to the host computer device, the record message being used to instruct the host computer device to record abnormal information and display the abnormal information on the display, the abnormal information including: a device identifier of an abnormal vehicle-mounted tablet corresponding to the abnormal result, and frozen frame data of the abnormal vehicle-mounted tablet.
[0017] In a third aspect, the embodiments of the present application provide a testing device of a vehicle-mounted tablet, which is applied to a vehicle-mounted tablet in a testing system of the vehicle-mounted tablet. The testing system of the vehicle-mounted tablet comprises a sample rack, a plurality of vehicle-mounted tablets to be detected arranged on the sample rack, a relay, and a host computer device arranged on a computer device rack. The host computer device comprises a display. A communication port of the vehicle-mounted tablet is electrically connected to the host computer device and the relay through a CAN bus. The device comprises a response unit, a first instruction unit, a second instruction unit, and a third instruction unit. The response unit is configured to generate a target testing strategy in response to a strategy determined by a user for a configuration operation of a testing application installed in the vehicle-mounted tablet. The first instruction unit is configured to send a first power supply instruction to the relay according to the target testing strategy. The first power supply instruction is used to instruct the relay to turn on and turn off at a preset period to control repeated power-on and power-off of the vehicle-mounted tablet. The second instruction unit is configured to perform testing according to the target testing strategy to obtain a plurality of testing results. When there is at least one abnormal result in the plurality of testing results, a second power supply instruction is sent to the relay. The second power supply instruction is used to instruct the relay to remain in a turn-on state. The third instruction unit is configured to send a record message to the host computer device. The record message is used to instruct the host computer device to record abnormal information and display the abnormal information on the display. The abnormal information comprises a device identifier of an abnormal vehicle-mounted tablet corresponding to the abnormal result and frozen frame data of the abnormal vehicle-mounted tablet.
[0018] In a fourth aspect, the embodiments of the present application provide an electronic device, comprising a processor, a memory, a communication interface, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the processor. The programs comprise instructions for performing the steps in the second aspect of the embodiments of the present application.
[0019] In a fifth aspect, the embodiments of the present application provide a computer readable storage medium, which stores a computer program for electronic data exchange. The computer program causes a computer to perform some or all of the steps described in the second aspect of the embodiments of the present application.
[0020] In a sixth aspect, the embodiments of the present application provide a computer program product, which comprises a non-transitory computer readable storage medium storing a computer program. The computer program is operable to cause a computer to perform some or all of the steps described in the second aspect of the embodiments of the present application. The computer program product can be a software installation package.
[0021] It can be seen that by the test system, method and related device of the vehicle-mounted panel provided in the application, the system includes a sample rack, a plurality of vehicle-mounted panels to be detected arranged on the sample rack, a relay, a host computer device arranged on a computer device rack, the host computer device includes a display; the vehicle-mounted panel is configured to generate a target test strategy in response to a user's configuration operation on a test application installed in the vehicle-mounted panel, perform target testing according to the target test strategy in response to a user's start operation on the test application, send a first power supply instruction to the relay according to the target test strategy, and send a second power supply instruction to the relay when there is at least one abnormal result in a plurality of test results of the vehicle-mounted panel; the host computer device is configured to display abnormal information on the display when an abnormal result of the vehicle-mounted panel is detected, the abnormal information including a device identifier of an abnormal vehicle-mounted panel corresponding to the abnormal result and frozen frame data of the abnormal vehicle-mounted panel; the relay is configured to turn on and turn off at a preset period in response to the first power supply instruction to realize repeated power-on and power-off of the plurality of vehicle-mounted panels, and the target test strategy includes the preset period; and the relay is configured to maintain the on state in response to the second power supply instruction. In this way, when an abnormality occurs in the vehicle-mounted panel test process, the continuous power-on state of the vehicle-mounted panel is maintained to generate and store the frozen frame data at the time of the panel abnormality, which facilitates reproduction of the test environment at the time of the abnormality and provides data support for subsequent test personnel to trace the panel operating parameters at the time of the abnormality, thereby improving the efficiency of testing the vehicle-mounted panel. BRIEF DESCRIPTION OF DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0023] Figure 1 is an architecture schematic diagram of a vehicle-mounted panel test system provided by an embodiment of the present application;
[0024] Figure 2 is a hardware architecture schematic diagram of a vehicle-mounted panel test site provided by an embodiment of the present application;
[0025] Figure 3 is an interface schematic diagram of a relay display provided by an embodiment of the present application;
[0026] Figure 4 is a specific flow schematic diagram of displaying abnormal information provided by an embodiment of the present application;
[0027] Figure 5 is an interface schematic diagram of a test application main interface provided by an embodiment of the present application;
[0028] Figure 6 is a schematic diagram of a test configuration interface provided by an embodiment of the present application;
[0029] Figure 7 is a schematic diagram of a test item creation interface provided by an embodiment of the present application;
[0030] Figure 8 is a schematic diagram of a test item information bar provided by an embodiment of the present application;
[0031] Figure 9 is a schematic diagram of a host device test result interface provided by an embodiment of the present application;
[0032] Figure 10 is a schematic diagram of a test method for a vehicle-mounted tablet provided by an embodiment of the present application;
[0033] Figure 11 is a functional unit composition block diagram of a test device for a vehicle-mounted tablet provided by an embodiment of the present application;
[0034] Figure 12 is a structural block diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0035] In order to enable persons skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by persons skilled in the art without creative labor fall within the scope of protection of the present application.
[0036] The terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish different objects, and are not used to describe a particular order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but can optionally include other steps or units not listed or can optionally include other steps or units inherent to the process, method, product or device.
[0037] It should be understood that the term "and / or" in this document merely describes an associated relationship between associated objects, which means that there can be three relationships, for example, A and / or B can represent the following three cases: A exists alone, A and B exist together, and B exists alone. In addition, the character " / " in this document represents an "or" relationship between the front and rear associated objects.
[0038] The "multiple" appearing in the embodiments of the present application means two or more. The "connection" appearing in the embodiments of the present application means direct connection or indirect connection and various connection modes to realize communication between devices, which is not limited by the embodiments of the present application.
[0039] Reference to "embodiments" in this document means that the specific features, structures or characteristics described in conjunction with the embodiments can be included in at least one embodiment of the present application. The phrase appears at various places in the specification does not necessarily all refer to the same embodiment, nor is it necessarily mutually exclusive or alternative to other embodiments. The skilled person explicitly and implicitly understands that the embodiments described herein can be combined with other embodiments.
[0040] The related content, concepts, meanings, technical problems, technical solutions and beneficial effects involved in the embodiments of the present application are described below.
[0041] CAN (Controller Area Network) is a serial communication protocol bus for real-time applications, which can use twisted pair to transmit signals, and is one of the most widely used field buses in the world. CAN is used for communication connection between various different elements in a vehicle.
[0042] The system firmware of the vehicle-mounted panel needs to undergo various reliability and stability tests before being formally put into use by customers, one of which is the power-on and power-off test. Through repeated power-on and power-off, the probability of occurrence of various service anomalies, such as baseband problem, WIFI and Bluetooth loading failure problem, network failure, etc. is determined. The above service functions need to be reloaded every time the vehicle-mounted panel is powered on. If some service fails to load during a power-on, it will affect the user experience, and in severe cases, it may even be unable to use, and the above abnormal problems need to be solved by re-powering.
[0043] However, after re-powering, the abnormal situation may disappear with the last power-off, and the abnormal situation may be an occasional problem that occurs once by chance. When the abnormal situation occurs, the R&D personnel cannot accurately reproduce the test environment of a specific power-on and power-off test, and need to consume a lot of time to troubleshoot and match abnormal vehicle-mounted devices, and after positioning the abnormal panel, the test parameters at the time of the abnormality cannot be reproduced, which has the problems of low test efficiency and poor test effect.
[0044] To solve the above problems, the embodiment of the present application provides a kind of vehicle flat test system, method and related device, when abnormal occurs in vehicle flat test process, by keeping the continuous power-on of vehicle flat, to realize the equipment operating parameter of storage abnormal moment, it is advantageous to improve the efficiency of vehicle flat test, provide data support for subsequent analysis abnormal problem.
[0045] First, please refer to Figure 1 , Figure 1 It is the architecture schematic diagram of a kind of vehicle flat test system provided by the embodiment of the present application, as Figure 1 Indicated, vehicle flat test system 100 includes sample rack 110, multiple vehicle flat 120 to be detected arranged in sample rack 110, relay 130, upper computer equipment 140 arranged in computer equipment rack 111, and upper computer equipment 140 includes display 141;Wherein, the communication port of vehicle flat 120 is connected with upper computer equipment 140 by CAN bus 150, and vehicle flat 120 is connected with relay 130 by power port;Specifically, vehicle flat test system 100 further includes external power supply 160, and is connected with relay 130, and the power-on and power-off of vehicle flat 120 is controlled by the on-off of relay 130, to realize the repeated switch of vehicle flat 120.
[0046] Among them, vehicle flat 120 is used to generate target test strategy in response to the configuration operation of user for test application program, and test application program is installed in vehicle flat 120;In response to the start operation of user for test application program, target test is carried out according to target test strategy;According to target test strategy, first power supply instruction is sent to relay 130;And when there is at least one abnormal result in multiple test results of vehicle flat 120, second power supply instruction is sent to relay 130;Upper computer equipment 140 is used to display abnormal information at display 141 when detecting the abnormal result of vehicle flat 120, and abnormal information includes: the equipment identification of abnormal vehicle flat corresponding to abnormal result, the frozen frame data of abnormal vehicle flat;Relay 130 is used to respond to first power supply instruction, to carry out conduction and cut-off with preset period, to realize the repeated power-on and power-off of multiple vehicle flat 120, and target test strategy contains preset period;And, for the second power supply instruction, keep on state.
[0047] Specifically, the sample rack 110 and the computer device rack 111 serve as a bearing base, have the structural stability of the testing machine rack, can be specifically constructed by high-strength steel material, are fixed by anchor bolts and the like to reduce test shaking, are specially designed for the test requirements of the vehicle-mounted tablet 120, and include a plurality of independent power supply interfaces and a CAN bus 150 communication port inside the rack. Each vehicle-mounted tablet 120 to be detected is fixed to the rack slot by a standardized clamp, to ensure stable test development. The vehicle-mounted tablet 120 to be detected serves as a vehicle-mounted intelligent terminal, has a baseband module, a WIFI module, a Bluetooth module, a GPS module and a SIM card slot, is configured with a CAN communication port and a power port, and has a built-in test application program. It should be understood that Figure 1 Only two vehicle-mounted tablets 120 are shown by way of example in the figure, and the number of vehicle-mounted tablets 120 can be two or more in actual applications. A single relay 130 controls one vehicle-mounted tablet 120, the control end of the relay 130 is connected to the power port of the vehicle-mounted tablet 120 by a wire, and the input end is connected to an external power supply 160. The vehicle-mounted tablet 120 is connected to the upper computer device 140 and the relay 130 by the CAN bus 150, to realize data interaction with multiple devices. The upper computer device 140 also includes a display 141 and a loudspeaker and the like.
[0048] In other possible embodiments, the vehicle-mounted tablet 120 also includes a loudspeaker. After at least one abnormal result exists in a plurality of test results of the vehicle-mounted tablet 120, the vehicle-mounted tablet is specifically configured to: perform an alarm behavior according to the abnormal result, the alarm behavior is used to prompt a user to process the abnormal vehicle-mounted tablet, and the alarm behavior includes playing an alarm prompt by the loudspeaker and displaying alarm information.
[0049] Specifically, the loudspeaker can have a plurality of standardized alarm audio sets built in, different prompt sounds are matched according to abnormal types, for example, a continuous beep sound is matched for baseband loading failure, and an intermittent dripping sound is matched for network failure. The vehicle-mounted tablet also supports configuring audio volume and duration, and the loudspeaker is set to continuously ring by default until manual shutdown or abnormal processing is completed. In addition, when an abnormal result occurs, the alarm information is displayed by a multi-level visual prompt, which specifically includes: a global prompt, a red floating window is popped up at the top of the interface, and the display device abnormality: Device_002 baseband loading failure is displayed; a local marker, the test entry of the abnormal vehicle-mounted tablet is highlighted with a flashing red border; a detail entry, a freeze frame button is built in the prompt box, and the data detail page is directly jumped to based on user click operation, and the information includes device identification, abnormal type, abnormal time, and the number of completed power on / off.
[0050] It can be seen that in the embodiment, the vehicle-mounted tablet displays abnormal information, and then performs an alarm behavior according to an abnormal result. In this way, the time consumed for troubleshooting the abnormal vehicle-mounted tablet is reduced, and the operation and maintenance personnel of the test system can quickly lock the abnormal vehicle-mounted tablet, thereby further improving the test efficiency of the test system.
[0051] For details, please refer to Figure 2 , Figure 2 is a hardware architecture schematic diagram of a vehicle-mounted tablet test site provided by an embodiment of the present application, as shown in Figure 2 , which includes an external power supply 160 for providing direct current, and a relay 130 for controlling the on-off of the power supply line of the external power supply to the vehicle-mounted tablet, so as to realize the power-on and power-off control of the vehicle-mounted tablet 120. It should be understood that Figure 2 includes a plurality of relays 130, and only two are drawn here as an example; the vehicle-mounted tablet 120 is used for target test items; the sample rack 110 is used for placing the vehicle-mounted tablet 120; the host computer device 140 is used for storing frozen frame data when an abnormal result occurs according to the test result; and the host computer device 140 is a notebook computer in Figure 2 . In addition, the host computer device 140 can also use industrial control computers or servers and the like.
[0052] Specifically, the relay 130 includes a relay display 131. For details, please refer to Figure 3 , Figure 3 is an interface schematic diagram of a relay display provided by an embodiment of the present application, as shown in Figure 3 , the display box 1311 of the relay display 131 displays the power-on duration of the currently connected vehicle-mounted tablet 120 as 00:00:xx, the display box 1312 displays the power-off duration as 00:00:xx, and the display box 1313 displays the number of completed power-on and power-off times as: xx times, so as to facilitate the operation and maintenance personnel of the test system to intuitively and efficiently obtain test details, and to further help the operation and maintenance personnel to master the test progress.
[0053] In one possible embodiment, in terms of displaying abnormal information, the host computer device 140 specifically performs the method in Figure 4 . Figure 4 is a specific flowchart of displaying abnormal information provided by an embodiment of the present application, as shown in Figure 4 , the host computer device 140 performs the following steps:
[0054] S310, retrieve the basic configuration data of the abnormal vehicle-mounted tablet at the abnormal moment.
[0055] The basic configuration data includes the test item name, the total number of power-on and power-off, and the number of completed power-on and power-off. The test item name is included in the target test strategy, and the abnormal moment refers to the moment when it is determined that at least one result in the plurality of test results is abnormal.
[0056] Specifically, the basic configuration data is data configured by a user of the test system, the test item can include baseband detection, network detection, power supply detection, etc., the total power-on and power-off times are total quantities of on-off cycles set by the user in a test configuration interface, and the abnormal moment refers to a moment when the host device determines that any detection sub-item, such as baseband loading and WIFI connection, fails to connect to a service after receiving a test result of the vehicle-mounted tablet through the CAN bus. It should be understood that the following users all refer to operation and maintenance personnel of the system.
[0057] S320, obtaining hardware running parameters of the abnormal vehicle-mounted tablet at the abnormal moment and software service logs.
[0058] Specifically, the hardware running parameters are real-time state data of hardware detection sub-items, such as power supply detection, clock frequency stability parameters, baseband and radio frequency interface connection signal strength, and SIM card slot power supply current; and the software service logs are running records of software detection sub-items, such as read-write response time length of register cache detection, initialization result logs of encryption engine detection, handshake failure reason records of communication link detection, and authentication error codes of SIM card reading.
[0059] S330, packaging the basic configuration data, the hardware running parameters and the software service logs to generate frozen frame data.
[0060] Specifically, the packaging mode can be encapsulation in a standardized data format, such as a JSON format, the data header includes a test ID, a timestamp of the abnormal moment, and a device identifier, the main body is stored in layers according to the basic configuration, the hardware parameters and the software logs, and a data check code is additionally attached to the tail.
[0061] It can be seen that in the embodiment, the host device retrieves the basic configuration data of the abnormal vehicle-mounted tablet at the abnormal moment, then obtains the hardware running parameters of the abnormal vehicle-mounted tablet at the abnormal moment and the software service logs, and finally packages the basic configuration data, the hardware running parameters and the software service logs to generate frozen frame data. In this way, the system operation and maintenance personnel can accurately restore the test environment of the vehicle-mounted tablet at the abnormal moment according to the frozen frame data, thereby reducing the reproduction cost of the occasional abnormality, shortening the troubleshooting period, and providing reliable data support for abnormal analysis.
[0062] In other possible embodiments, the host device is specifically further configured to: determine an abnormal type of the abnormal vehicle-mounted tablet and record a timestamp of the abnormal moment; generate test information according to the abnormal type, the timestamp of the abnormal moment and a device identifier of the abnormal vehicle-mounted tablet; establish an association relationship between the test information of the abnormal vehicle-mounted tablet and the frozen frame data; generate a mapping table according to the association relationship and store the mapping table.
[0063] The host computer device determines the specific exception type by identifying the detection sub-item result uploaded on the vehicle-mounted panel, such as the failure of the baseband and radio frequency interface connection in hardware detection, and the communication link handshake timeout in software detection. Subsequent system operation and maintenance personnel can quickly retrieve the frozen frame data at the time by inputting the test information of the abnormal vehicle-mounted panel through the mapping table, which facilitates abnormal analysis to determine the abnormal operation state of each service parameter in the vehicle-mounted panel.
[0064] Specifically, the test information can be generated in a fixed field structure, for example: device identification: Device_003 / exception type: baseband loading failure / time stamp: 2025-xx-xx 15:00:00.123 / test ID: xxxxx1, which ensures machine recognition and quick manual interpretation; a core index of an association relationship can also be established: the test ID, device identification, and the number of times corresponding to the abnormal moment as the unique association index, for example, the test ID xxxxx1, device identification Device_003, and number of times 382 form a joint index, which ensures that an abnormal scenario corresponds to only one set of frozen frame data, avoiding confusion between multiple sets of data; for example, the mapping table is shown in Table 1:
[0065] Table 1
[0066]
[0067] In other possible embodiments, the host computer device is built-in with a mapping library of detection sub-items and exception types, for example, associating SIM card reading failure with SIM card authentication exception and radio frequency data calibration error with radio frequency module exception. When receiving the test result of the vehicle-mounted panel, the library is automatically matched to output the standardized exception type name. If a new type of abnormal result appears, it is marked as an unknown exception and a manual annotation prompt is triggered to prompt the user to name the unknown exception.
[0068] As can be seen, in the present embodiment, the host computer device determines the exception type of the abnormal vehicle-mounted panel and records the time stamp of the abnormal moment; then generates test information; then establishes the association relationship between the test information of the abnormal vehicle-mounted panel and the frozen frame data; and finally generates a mapping table according to the association relationship. In this way, the operation and maintenance personnel are provided with a mapping table that can quickly lock a certain device at a certain moment, a certain time, and an abnormal scenario, which reduces the difficulty of reproducing abnormal situations and is conducive to improving the efficiency of vehicle-mounted panel abnormal testing.
[0069] In a possible embodiment, the vehicle-mounted tablet is provided with a flash module; the vehicle-mounted tablet is specifically further configured to: when the vehicle-mounted tablet detects a system crash exception, record a work log through the flash module; the data in the flash module is not lost with the power-on and power-off of the vehicle-mounted tablet; perform a restart operation; and check the flash module through a test application, obtain the work log, and record the automatic restart test number plus one; and empty the data in the flash module.
[0070] The system crash exception oops is usually caused by an abnormal operation at the kernel level, and common causes in the vehicle-mounted tablet test scenario include: memory access errors, such as a kernel program attempting to read or write a non-existent memory address, out-of-bound memory access; driver defects, such as a hardware driver not matching the kernel interface, a driver executing an illegal instruction; resource contention conflicts; and instruction execution exceptions. When the vehicle-mounted tablet abnormally restarts, on the one hand, the kernel triggers the log writing of the FLASH flash module, and on the other hand, the restart occurs within the power-on and power-off test period, and the relay continues to perform the power supply period, and the two are synchronized to start data protection.
[0071] When the oops occurs, the kernel of the vehicle-mounted tablet detects the exception and immediately writes a log containing the oops details to a special storage area reserved by the FLASH flash module. This area does not lose data when powered off, avoiding the loss of logs due to subsequent restarts. If the oops causes the system to become unstable and triggers a restart or directly triggers a hardware watchdog reset, the test APP will read the oops log in the special storage area reserved by the FLASH flash module after the next boot, synchronize the count of abnormal restarts, and archive the log for analysis. Moreover, the data in the FLASH flash module is emptied to prepare for the next oops, and the above operations are repeated if an abnormal restart occurs next time.
[0072] As can be seen, in the embodiment, when the vehicle-mounted tablet detects a system crash exception, a work log is recorded through the flash module; a restart operation is performed; and a test application is used to check the flash module, obtain the work log, and record the automatic restart test number plus one; and the data in the flash module is emptied. In this way, the test omission caused by missing restart exceptions is avoided, the test blank of the overall system abnormal restart is filled, and a multi-aspect and multi-dimensional abnormal test system is constructed in cooperation with the freeze frame mechanism, solving the problem of difficult reproduction of occasional abnormalities in vehicle-mounted tablet testing.
[0073] In one possible embodiment, in responding to a user's configuration operation for the test application, the in-vehicle tablet is specifically configured to: respond to a user's interface launch operation by displaying the main interface of the test application, the main interface of the test application including: a project creation control and a test configuration control; respond to a user's trigger operation on the test configuration control by displaying a test configuration interface, the test configuration interface including: at least one target test item and a test launch control, the target test item being determined based on the user's configuration operation; respond to a user's selection operation on the test configuration interface by determining the target test item selected by the user; and respond to a user's configuration operation on the test configuration interface by determining the target number of times for the target test strategy.
[0074] Specifically, please refer to Figure 5 , Figure 5 This is a schematic diagram of the main interface of a test application provided in an embodiment of this application, such as... Figure 5 As shown, the main interface 40 of the test application includes a project creation control 41 and a test configuration control 42; in response to a user's trigger operation 43 on the test configuration control 42, the test configuration interface is displayed. It should be understood that the trigger operation 43 refers to the user touching the control 42 with their finger... Figure 1 The operation of the touchscreen on the vehicle-mounted tablet 120 is shown.
[0075] Among them, the project creation control 41 is used to provide users with the ability to create new testing projects, such as baseband function testing and communication link testing. It supports custom project names and adding testing sub-items, including hardware and software sub-items. The test configuration control 42, when clicked, enters the parameter setting stage, which is the intermediate stage connecting project creation and test startup.
[0076] Specifically, please refer to Figure 6 , Figure 6 This is a schematic diagram of a test configuration interface provided in an embodiment of this application, such as... Figure 6 As shown, the test configuration interface 50 includes a test information display bar 51, a test item display bar 52, a test start control 53, and a test count display bar 54. The test information display bar 51 includes a test name bar 511 and a test ID bar 512. The test item display bar 52 includes a preset item bar 521 and a target test item display bar 522. The test name bar 511 includes the content of the Xth power-on test, and the test ID bar 512 includes the test ID content of xxxxx1. The preset item bar 521 contains user-defined test item labels, such as test item 1, test item 2, test item 3… test item N, for user selection. The items selected by the user in the preset item bar 521 will be displayed in the target test item display bar 522. Figure 6 The baseband detection, network monitoring, location detection, BT detection, etc., are shown; the start test control 53 can be, for example, as shown in the figure.Figure 6 The start button is shown; the test number display bar 54 is a display bar for the user to input the custom test number, such as the display test number: 500 times.
[0077] The user's selection operation includes clicking the label of the preset item bar 521 or dragging the order to adjust the execution order of the items. The user can input the custom test number by inputting the specific number in the test number display bar 54 or setting the number by sliding the bar, such as 100-5000 times.
[0078] It can be seen that in the embodiment, by displaying the main interface of the test application program on the vehicle-mounted tablet, the test configuration interface is displayed in response to the triggering operation of the user on the test configuration control, the target test item selected by the user is determined in response to the selection operation of the user on the test configuration interface, and the target number of the target test strategy is determined in response to the configuration operation of the user on the test configuration interface. The individual configuration of the test item of the vehicle-mounted tablet is realized, the flexible and variable test requirements are met, the user does not need to design the test strategy independently, the system generates the test strategy according to the configuration operation of the user, and the freedom and efficiency of creating the test of the vehicle-mounted tablet are improved.
[0079] In one possible embodiment, before responding to the triggering operation of the user on the test configuration control, the vehicle-mounted tablet is further used for: displaying a test item creation interface in response to the triggering operation of the user on the item creation control, the test item creation interface including: a test item information bar, and a test sub-item, the test item information including the name, label and identification number of the test item, and the test sub-item referring to a plurality of sub-items associated with the target test item; determining the name of the target test item in response to the input operation of the user on the test item information bar; determining the label of the target test item in response to the item configuration operation of the user on the test item information bar, the item configuration operation referring to the input operation or the selection operation; generating the identification number of the target test item and the test sequence of the test sub-item according to the label of the target test item; and generating the target test item according to the test item information and the test sequence of the test sub-item.
[0080] The test item information bar is used to record the basic attributes of the item, including the input or display area of the item name, classification label, item ID, etc.; the test sub-item refers to the specific detection item associated with the target item, such as the hardware detection sub-item: power supply, clock, interface, etc., and the software detection sub-item: register, encryption engine, communication link, etc.; the identification number is the unique coding identification of the test item, which is used for internal identification and data association of the system; the test sequence refers to the execution order of the sub-item, which is automatically sorted according to the label, such as the default sequence of the hardware detection label: power supply detection to clock detection to interface detection, which ensures that the hardware is ready before executing the sub-item that depends on its operation.
[0081] Specifically, please refer toFigure 7 , Figure 7 is a schematic diagram of an interface of a test item creation interface provided by an embodiment of the present application, as shown in Figure 7 FIG. 6, the test item creation interface 60 includes a test item information bar 61 and a test sub-item 62, wherein the test item information bar 61 includes a test item name bar 611, a test item label bar 612, an item ID bar 613, and a first confirmation control 614; the test sub-item 62 includes a hardware function detection block 621 including hardware detection sub-item 1, hardware detection sub-item 2, hardware detection sub-item 3, and a setting button, and a software function detection block 622 including software detection sub-item 1, software detection sub-item 2, software detection sub-item 3, and a setting button, and the test item creation interface 60 further includes a second confirmation control 63.
[0082] It can be seen that in the embodiment, the vehicle-mounted tablet displays the test item creation interface in response to the triggering operation of the user on the item creation control, determines the name of the target test item in response to the input operation of the user on the test item information bar, determines the label of the target test item in response to the item configuration operation of the user on the test item information bar, generates the identification number of the target test item and the test sequence of the test sub-item according to the label of the target test item, and generates the target test item according to the test item information and the test sequence of the test sub-item. In this way, the association relationship between the test item label and the sub-item database and the test sequence is established, a user-friendly way of efficiently configuring the test item and generating the target test strategy is provided, and the test efficiency of the vehicle-mounted tablet is improved.
[0083] In one possible embodiment, in terms of determining the label of the target test item in response to the item configuration operation of the user on the test item information bar, the vehicle-mounted tablet is specifically configured to: display a plurality of test item labels in response to the item configuration operation of the user being a selection operation, the plurality of test item labels being item labels pre-stored in the vehicle-mounted tablet; and determine the label of the target test item in response to the selection operation of the user on the plurality of test item labels.
[0084] The preset labels are pre-configured by a test personnel or a system administrator and stored locally in the vehicle-mounted tablet, such as labels of power connection, 4G baseband, 5G baseband, signal generator, etc. for a baseband detection scenario; when the user selects the selection operation in the label configuration area of the test item creation interface, the interface automatically pops up a preset label list for the user to directly check. In addition, different classifications of labels can be differentiated by different colors, such as blue for hardware labels and green for software labels, and the frequency of use is marked, such as 4G baseband (high frequency), to guide the user to preferentially select standardized and highly reusable test labels.
[0085] Wherein, after the label is determined, on the one hand, the accurate classification of the project is realized, and on the other hand, the basis for subsequent generation of identification number and matching test sub-items is provided. For example, the baseband radio interface label corresponds to the interface detection related sub-item, which is the link between the project naming and the sub-item configuration.
[0086] Specifically, please refer to Figure 8 , Figure 8 is an interface schematic diagram of a test project information bar provided by an embodiment of the present application, as shown in Figure 7 The detection project label bar 612 shows a plurality of test project labels 72 in response to the project configuration operation 71 (selection operation) of the user. Based on the selection operation 73 of the user for the labels of the plurality of test projects, the label of the target test project is checked, for example, the checked power connection label 74 and the 4G baseband label 75 as shown in Figure 8
[0087] It can be seen that in the embodiment, the vehicle-mounted tablet displays a plurality of test project labels in response to the project configuration operation of the user, and determines the label of the target test project in response to the selection operation of the user for the plurality of test project labels. In this way, the standardized test label makes the project classification search more accurate, and through the linkage between the test project label and the sub-item, the situation of missing the selection of the key sub-item or selecting irrelevant sub-items is avoided, and the error rate in the test configuration process is reduced.
[0088] In one possible embodiment, in the aspect of determining the label of the target test project in response to the project configuration operation of the user for the test project information bar, the vehicle-mounted tablet is specifically configured to: when the project configuration operation of the user is an input operation, call the test database from the host computer device, the test database including a mapping table of test project labels and test sub-items; through the host computer device, analyze and confirm the test sub-item corresponding to the project configuration operation of the user; and determine the label of the target test project according to the test sub-item and the test database.
[0089] Wherein, the test database is a structured data set stored in the host computer, containing the mapping relationship between the test project label and the test sub-item, for example, the vehicle networking communication label corresponds to the 5G module detection antenna signal strength test sub-item. For example, the user inputs the custom content: SIM card communication service in the label input box of the test project information bar, triggers the vehicle-mounted tablet to send a database calling request to the host computer through the CAN bus, solves the problem that the user input label is not associated with the system sub-item, and ensures that the custom label can still correspond to the effective detection content.
[0090] The host computer is responsible for analyzing the label text input by the user and matching the sub-projects. Based on the host computer database, through keyword matching, such as the user inputting Internet of Vehicles, matching the label mapping relationship containing Internet of Vehicles 5G Internet of Things, semantic association, such as the association of cockpit interaction, touch, and voice related sub-projects, the most possible test sub-projects are determined; 3-5 sub-projects with the highest matching degree are returned, such as inputting intelligent cockpit interaction returning touch response test, voice recognition detection, and screen display calibration, for the system to generate labels for subsequent use, solving the problem of sub-project matching failure caused by non-standard input label expression of the user.
[0091] If the input label and the sub-projects of a label in the database have a matching degree ≥ 90%, the label is directly reused, such as inputting Internet of Vehicles function matching all sub-projects of the Internet of Vehicles communication label in the database, then determining the label as Internet of Vehicles communication; if it is a new label, a new label is created and the sub-projects obtained by analysis are associated, and stored in the database, such as intelligent cockpit interaction as a new label, associated with touch and voice sub-projects, realizing dynamic expansion of the label.
[0092] It can be seen that in the embodiment, the vehicle-mounted tablet determines the label of the target test project by responding to the project configuration operation of the user, calling the test database from the host computer device, analyzing and confirming the test sub-projects corresponding to the project configuration operation of the user through the host computer device, and determining the label of the target test project according to the test sub-projects and the test database. In this way, the problem of inconsistent expression with the same meaning label input by the user is avoided, the problem of uniformity of the internal meaning of the custom label is solved, the operation of manually associating sub-projects by the user is reduced, the test project configuration efficiency is improved, and thus the efficiency of the vehicle-mounted tablet test is further improved.
[0093] In one possible embodiment, the host computer device is further configured to: display, through the display of the host computer device, a test result interface of the plurality of vehicle-mounted tablets after completing the target test strategy, the test result interface including: a current display interface of the plurality of vehicle-mounted tablets, test project results of the plurality of vehicle-mounted tablets, and test event processing controls; wherein the test project results include: test status, test success times, and test failure times, and the test event processing controls include: a log grabbing control, a restart control, an ignore error control, and an alarm control.
[0094] The test result interface is an interactive window of the upper computer for realizing centralized management of multiple devices, and is used for integrating test data and operation entrances scattered in multiple vehicle-mounted tablets into a single interface. The current display interfaces of the multiple vehicle-mounted tablets display the current screens of the test application programs of the tablets in real time. For example, when a tablet fails to load a baseband, an abnormal prompt of the local interface of the tablet is synchronously displayed in the corresponding window of the upper computer. The log capturing control is used for synchronously capturing the frozen frame data and real-time log of the corresponding tablet after being clicked. The restart control is used for remotely controlling the abnormal tablet to restart and re-execute the test, so as to avoid manual plugging and unplugging of the power supply. The ignore error control is used for skipping the non-key abnormality, such as single SIM card reading timeout, to continue the test without interruption. The alarm control is used for stopping the horn alarm and interface alarm prompt triggered by the abnormal tablet.
[0095] Specifically, the global function controls include a clear historical data control for deleting the historical results of completed tests, a close alarm control for realizing global muting, a quit application control for closing the test management software of the upper computer and automatically saving the unfinished test data before exiting, a custom setting control for configuring parameters such as interface refresh frequency, log storage path, and alarm volume, and a close startup control for controlling whether the test application program automatically runs with the vehicle-mounted tablet after startup.
[0096] Specifically, refer to Figure 9 , Figure 9 is a schematic diagram of a test result interface of an upper computer device provided in the embodiment of the present application, as shown in Figure 9 The test result interface 80 displayed at the display of the upper computer device includes: current display interfaces 81 of multiple vehicle-mounted tablets, test item results of the multiple vehicle-mounted tablets, and test event processing controls. The test item results of the multiple vehicle-mounted tablets include: test names 821, test success times 822, test failure times 823, and test states 824. The test event processing controls further include: log capturing controls 831, restart controls 832, ignore error controls 833, and alarm controls 834. The test result interface 80 includes: a clear historical data control 84, a close alarm control (single) 85, a quit application control 86, a custom setting control 87, and a close startup control 88.
[0097] As can be seen, in the embodiment, the upper computer device displays, through the display, a test result interface of multiple vehicle-mounted tablets after completing a target test strategy, including current display interfaces of the multiple vehicle-mounted tablets, test item results of the multiple vehicle-mounted tablets, and test event processing controls. In this way, the system operation and maintenance personnel do not need to check the devices one by one, a single screen can monitor the test states of multiple vehicle-mounted tablets, the test management efficiency is improved, and the accuracy of the operation and maintenance personnel in positioning abnormal vehicle-mounted tablets is improved.
[0098] The embodiment of the present application also provides a test method of the vehicle-mounted tablet, which is applied to the vehicle-mounted tablet 120 in the test system 100 of the vehicle-mounted tablet as shown in Figure 1 The embodiment of the present application also provides a test method of the vehicle-mounted tablet, which is applied to the vehicle-mounted tablet 120 in the test system 100 of the vehicle-mounted tablet as shown in Figure 10 Figure 10 The embodiment of the present application also provides a test method of the vehicle-mounted tablet, which is applied to the vehicle-mounted tablet 120 in the test system 100 of the vehicle-mounted tablet as shown in Figure 10 The embodiment of the present application also provides a test method of the vehicle-mounted tablet, which is applied to the vehicle-mounted tablet 120 in the test system 100 of the vehicle-mounted tablet as shown in
[0099] S901, generating a target test strategy in response to a strategy determined by a user for a configuration operation of a test application.
[0100] The target test strategy is a strategy determined by the user for the configuration operation of the test application installed in the vehicle-mounted tablet. The configuration operation includes that the user first configures a detection item such as a baseband detection including sub-items such as power supply detection and clock detection through a project creation control, and then selects a test item of this time and sets a power-on and power-off number of times through a test configuration control, and finally generates the target test strategy.
[0101] S902, sending a first power supply instruction to a relay according to the target test strategy.
[0102] The first power supply instruction is used to instruct the relay to be turned on and turned off at a preset period to control repeated power-on and power-off of the vehicle-mounted tablet. The preset period is defined by the target test strategy, for example, power-on for 30 seconds and power-off for 10 seconds, and repeated for 500 times to ensure that the tablet completes boot loading and detection; the relay is periodically turned on or turned off after receiving the instruction to realize repeated power-on and power-off of the vehicle-mounted tablet.
[0103] S903, testing according to the target test strategy to obtain a plurality of test results, and sending a second power supply instruction to the relay when at least one abnormal result exists in the plurality of test results.
[0104] The second power supply instruction is used to instruct the relay to keep a turned-on state. When the abnormal result appears, the tablet is continuously powered, the abnormal scene is reserved, and the relay is instructed to keep the turned-on state to avoid that the abnormality disappears with power-off and to reserve the hardware or software state at the abnormal moment for subsequent analysis.
[0105] S904, sending a record message to an upper computer device, the record message being used to instruct the upper computer device to record abnormal information and display the abnormal information at a display.
[0106] The abnormal information includes: a device identifier of an abnormal vehicle-mounted tablet corresponding to the abnormal result, and frozen frame data of the abnormal vehicle-mounted tablet. The device identifier of the abnormal vehicle-mounted tablet is used to distinguish multiple tablets; and the frozen frame data of the abnormal vehicle-mounted tablet contains basic configuration data such as test items, power-on / off times, hardware parameters, and software logs, and is a complete data set of abnormal scenarios and states.
[0107] It can be seen that in the embodiment, first, a target test strategy of a vehicle-mounted tablet is received; second, a first power supply instruction is sent to a relay according to the target test strategy, the first power supply instruction being used to instruct the relay to turn on and turn off at a preset period to control repeated power-on and power-off of the vehicle-mounted tablet; then, multiple test results of multiple vehicle-mounted tablets are judged, when there is at least one abnormal result in the multiple test results, a second power supply instruction is sent to the relay, the second power supply instruction being used to instruct the relay to keep a turn-on state; meanwhile, abnormal information is recorded and displayed on a display. In this way, when an abnormality occurs in the vehicle-mounted tablet test process, the continuous power-on state of the vehicle-mounted tablet is maintained to generate and store frozen frame data when the tablet is abnormal, which facilitates reproduction of the test environment at the abnormal moment, provides data support for subsequent test personnel to trace the running parameters of the tablet at the abnormal moment, and is beneficial to improving the efficiency of testing the vehicle-mounted tablet.
[0108] The above mainly introduces the scheme of the embodiments of the application from the perspective of the execution process of the method. It can be understood that the host computer device contains a hardware structure and / or software module corresponding to the execution of each function in order to achieve the above functions. Those skilled in the art should easily realize that, in combination with the unit and algorithm steps of each example described in the embodiments provided herein, the application can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the application.
[0109] The embodiments of the application can divide the functional units of the electronic device according to the above method examples, for example, each functional unit can be divided according to each function, or two or more functions can be integrated in one processing unit. The integrated unit can be realized in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the application is illustrative, and is only a logical function division. There can be another division way when actually implemented.
[0110] Consistent with the embodiments of Figure 10 , please refer to Figure 11 , Figure 11This is a functional unit block diagram of a vehicle-mounted tablet testing device provided in an embodiment of this application. The vehicle-mounted tablet testing device 1010 is applied to, for example... Figure 1 The vehicle-mounted tablet 120 in the vehicle-mounted tablet testing system 100 shown, and the vehicle-mounted tablet testing device 1010 include: a response unit 1011, a first instruction unit 1012, a second instruction unit 1013, and a third instruction unit 1014; wherein, the response unit 1011 is specifically used to respond to the strategy determined by the user for the configuration operation of the test application, and generate a target test strategy, the test application being installed in the vehicle-mounted tablet; the first instruction unit 1012 is specifically used to send a first power supply command to the relay according to the target test strategy, the first power supply command being used to instruct the relay to turn on and off at a preset cycle. The system has several functions: a first, to control the repeated power-on and power-off of the vehicle-mounted tablet; a second instruction unit 1013, specifically used to perform tests according to the target test strategy and obtain multiple test results; when at least one abnormal result exists among the multiple test results, a second power supply instruction is sent to the relay, which is used to instruct the relay to remain in the on state; and a third instruction unit 1014, specifically used to send a recording message to the host computer device, which is used to instruct the host computer device to record abnormal information and display the abnormal information on the display, the abnormal information including: the device identifier of the abnormal vehicle-mounted tablet corresponding to the abnormal result, and the frozen frame data of the abnormal vehicle-mounted tablet.
[0111] It is understood that since the method embodiments and the device embodiments are different presentations of the same technical concept, the content of the method embodiment section in this application should be adapted to the device embodiment section in a synchronous manner, and will not be repeated here.
[0112] Figure 12 This is a structural block diagram of an electronic device provided in an embodiment of this application. For example... Figure 12 As shown, the electronic device 1100 may include one or more components: a processor 1101 and a memory 1102 coupled to the processor 1101, wherein the memory 1102 may store one or more computer programs, which may be configured to implement the methods described in the examples above when executed by one or more processors 1101. Figure 12 The electronic device 1100 shown can be the one described above. Figure 1 The vehicle-mounted tablet 120.
[0113] The processor 1101 can include one or more processing cores. The processor 1101 connects various parts within the entire electronic device 1100 by various interfaces and lines, and performs various functions of the electronic device 1100 and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 1102, and calling data stored in the memory 1102. Alternatively, the processor 1101 can be implemented in at least one of a hardware form of a digital signal processing (DSP), a field-programmable gate array (FPGA), a programmable logic array (PLA). The processor 1101 can integrate a combination of one or several of a central processing unit (CPU), a graphics processor (GPU), and a modem. It can be understood that the above-mentioned modem can also not be integrated into the processor 1101, but can be implemented by a separate communication chip.
[0114] The memory 1102 can include a random access memory (RAM) and can also include a read-only memory (ROM). The memory 1102 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1102 can include a program storage area and a data storage area, wherein the program storage area can store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-mentioned various method examples, etc. The data storage area can also store data created by the electronic device 1100 in use, etc.
[0115] It can be understood that the electronic device 1100 can include more or less structural elements than those in the above structural block diagram, for example, a power module, a physical key, a WiFi (Wireless Fidelity) module, a speaker, a Bluetooth module, a sensor, etc., which are not limited herein.
[0116] The embodiments of the present application also provide a computer storage medium, wherein a computer program / instructions are stored on the computer storage medium, and the computer program / instructions are executed by a processor to implement part or all of the steps of any method described in the above method embodiments.
[0117] The embodiment of the present application further provides a computer program product, which comprises a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps of any method described in the above method embodiments.
[0118] It should be understood that the size of the sequence number of the above processes does not mean the order of execution in various embodiments of the present application. The execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0119] In several embodiments provided in the present application, it should be understood that the disclosed methods, devices and systems can be implemented in other ways. For example, the above-described device embodiments are only illustrative; for example, the division of units is only a logical function division, and actual implementation can have another division manner; for example, a plurality of units or components can be combined or integrated into another system, or some features can be omitted or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed units can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0120] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the present embodiment.
[0121] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically included separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of hardware plus software functional unit.
[0122] The integrated unit in the form of software function unit can be stored in a computer readable storage medium. The software function unit is stored in a storage medium, including a plurality of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute part of the steps of the method of various embodiments of the present application. The storage medium includes a U disk, a mobile hard disk, a magnetic disk, an optical disk, a volatile memory or a non-volatile memory. The non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM) used as an external cache. By way of example, but not limitation, many forms of random access memory (RAM) can be used, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchlink dynamic random access memory (SLDRAM) and direct rambus random access memory (DR RAM), etc. Various media that can store program codes.
[0123] Although the present application is disclosed as above, the present application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions without departing from the spirit and scope of the present application, and various modifications can be made, including combinations of different functions and implementation steps, including software and hardware implementations, which are all within the scope of the present application.
Claims
1. A test system for a vehicle-mounted tablet, the test system comprising: The application relates to a test system for vehicle-mounted panels, which comprises a sample rack, a plurality of vehicle-mounted panels to be detected arranged on the sample rack, a relay, and a host computer device arranged on a computer device rack, wherein a communication port of the vehicle-mounted panel is electrically connected to the host computer device and the relay through a CAN bus. The vehicle-mounted panel is configured to generate a target test strategy in response to a user's configuration operation on a test application installed in the vehicle-mounted panel, perform target testing according to the target test strategy in response to the user's start operation on the test application, send a first power supply instruction to the relay according to the target test strategy, and send a second power supply instruction to the relay when at least one abnormal result exists in a plurality of test results of the vehicle-mounted panel. The host computer device is configured to call basic configuration data of an abnormal vehicle-mounted panel at an abnormal time, the basic configuration data comprising a test item name, a total power-on and power-off times, and a completed power-on and power-off times, the target test strategy containing the test item name, the abnormal time being a time when it is determined that at least one result in the plurality of test results is abnormal, acquire hardware running parameters and software service logs of the abnormal vehicle-mounted panel at the abnormal time, and package the basic configuration data, the hardware running parameters and the software service logs to generate frozen frame data. Abnormal information is displayed on the display when the abnormal result of the vehicle-mounted panel is detected, the abnormal information comprising a device identifier of the abnormal vehicle-mounted panel corresponding to the abnormal result and the frozen frame data. An abnormal type of the abnormal vehicle-mounted panel is determined, and a timestamp of the abnormal time is recorded; test information is generated according to the abnormal type, the timestamp of the abnormal time and the device identifier of the abnormal vehicle-mounted panel; an association between the test information of the abnormal vehicle-mounted panel and the frozen frame data is established; a mapping table is generated according to the association, and the mapping table is stored. The relay is configured to turn on and turn off at a preset period in response to the first power supply instruction to realize repeated power-on and power-off of a plurality of vehicle-mounted panels, and the target test strategy contains the preset period; and the relay is configured to keep the on state in response to the second power supply instruction.
2. The system of claim 1, wherein, The vehicle-mounted panel is provided with a flash memory module; the vehicle-mounted panel is further configured to: record a work log through the flash memory module when the vehicle-mounted panel detects a system crash abnormality; data in the flash memory module is not lost with power-on and power-off of the vehicle-mounted panel; perform a restart operation; and check the flash memory module through the test application, acquire the work log, and record an automatic restart test number plus one; empty the data in the flash memory module.
3. The system of claim 2, wherein, In the aspect of responding to the user's configuration operation on the test application, the vehicle-mounted panel is specifically configured to: display a main interface of the test application in response to an interface start operation of the user, the main interface of the test application comprising a project creation control and a test configuration control. display a test configuration interface in response to the triggering operation of the user on the test configuration control, the test configuration interface including at least one target test item and a start test control, the target test item being determined based on the configuration operation of the user; determine the target test item selected by the user in response to the selection operation of the user on the test configuration interface, and determine the target number of times of the target test strategy in response to the configuration operation of the user on the test configuration interface.
4. The system of claim 3, wherein, Before the response to the triggering operation of the user on the test configuration control, the vehicle-mounted panel is specifically further configured to: display a test item creation interface in response to the triggering operation of the user on the item creation control, the test item creation interface including a test item information bar and test sub-items, the test item information including a name, a label and an identification number of the test item, and the test sub-items referring to a plurality of sub-items associated with the target test item; determine the name of the target test item in response to the input operation of the user on the test item information bar; determine the label of the target test item in response to the item configuration operation of the user on the test item information bar, the item configuration operation referring to an input operation or a selection operation; generate the identification number of the target test item and a test sequence of the test sub-items according to the label of the target test item; generate the target test item according to the test item information and the test sequence of the test sub-items.
5. The system of claim 4, wherein, In the aspect of determining the label of the target test item in response to the item configuration operation of the user on the test item information bar, the vehicle-mounted panel is specifically configured to: display a plurality of test item labels in response to the selection operation of the user as the item configuration operation, the plurality of test item labels being pre-stored in the vehicle-mounted panel; determine the label of the target test item in response to the selection operation of the user on the plurality of test item labels.
6. The system of claim 4, wherein, In the aspect of determining the label of the target test item in response to the item configuration operation of the user on the test item information bar, the vehicle-mounted panel is specifically configured to: retrieve a test database from the host computer device in response to the input operation of the user as the item configuration operation, the test database including a mapping table of test item labels and test sub-items; analyze and confirm the test sub-items corresponding to the item configuration operation of the user through the host computer device; and determine the label of the target test item according to the test sub-items and the test database. The host computer device is specifically further configured to:
7. The system of claim 1, wherein, Display, through the display of the host computer device, a test result interface of the vehicle-mounted tablets after the vehicle-mounted tablets complete the target test strategy, the test result interface including: a current display interface of the vehicle-mounted tablets, test item results of the vehicle-mounted tablets, and a test event processing control; wherein the test item results include: test status, test success times, and test failure times, and the test event processing control includes: a log capture control, a restart control, an ignore error control, and an alarm control.
8. A method of testing a vehicle flat panel, characterized by, The vehicle-mounted tablet applied to a test system of the vehicle-mounted tablet includes a sample rack, a plurality of vehicle-mounted tablets to be detected arranged on the sample rack, a relay, and a host computer device arranged on a computer device rack, wherein the host computer device includes a display; a communication port of the vehicle-mounted tablet is electrically connected to the host computer device and the relay through a CAN bus; and the method includes: Generating a target test strategy in response to a strategy determined by a user's configuration operation on a test application installed in the vehicle-mounted tablet; According to the target test strategy, sending a first power supply instruction to the relay, the first power supply instruction being used to instruct the relay to turn on and turn off at a preset period to control repeated power-on and power-off of the vehicle-mounted tablet; According to the target test strategy, performing testing to obtain a plurality of test results, when there is at least one abnormal result in the plurality of test results, sending a second power supply instruction to the relay, the second power supply instruction being used to instruct the relay to remain in a turned-on state; and Sending a record message to the host computer device, the record message being used to instruct the host computer device to call basic configuration data of an abnormal vehicle-mounted tablet at an abnormal time, the basic configuration data including a test item name, a total power-on and power-off times, and a completed power-on and power-off times, the target test strategy containing the test item name, and the abnormal time being a time when it is determined that there is at least one abnormal result in the plurality of test results; obtaining hardware running parameters and software service logs of the abnormal vehicle-mounted tablet at the abnormal time; packaging the basic configuration data, the hardware running parameters, and the software service logs to generate frozen frame data; displaying abnormal information on the display when the abnormal result of the vehicle-mounted tablet is detected, the abnormal information including: a device identifier of the abnormal vehicle-mounted tablet corresponding to the abnormal result, and frozen frame data of the abnormal vehicle-mounted tablet; judging an abnormal type of the abnormal vehicle-mounted tablet and recording a timestamp of the abnormal time; generating test information according to the abnormal type, the timestamp of the abnormal time, and the device identifier of the abnormal vehicle-mounted tablet; establishing an association between the test information of the abnormal vehicle-mounted tablet and the frozen frame data; generating a mapping table according to the association, and storing the mapping table.
Citation Information
Patent Citations
Equipment power-on and power-off test system and equipment power-on and power-off test method
CN116665565A
Whole vehicle function detection method and system, electronic equipment and storage medium
CN119247928A