Emergency call test system and test method thereof
The simulation module in the emergency call test system automatically simulates the emergency call button and vehicle accident operation, which solves the problem of low testing efficiency in the existing technology and realizes the automation and high efficiency of emergency call testing.
Patent Information
- Application Number
- CN202510035141.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-09
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2045-01-09
AI Technical Summary
The testing efficiency of the emergency call function in the existing technology is low and requires manual simulation of various vehicle accident scenarios.
An emergency call test system is used, including a host computer, a first simulation module, a second simulation module, a vehicle communication module to be tested and a cloud platform. The first simulation module simulates the operation of manually pressing the emergency call button, and the second simulation module simulates the operation of a vehicle accident, thereby realizing automated testing of emergency calls.
There is no need to manually simulate vehicle accident scenarios, which improves the efficiency of emergency call testing.
Smart Images

Figure CN119996275B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle networking technology, and in particular to an emergency call testing system and a testing method thereof. Background Art
[0002] With the continuous development of connected vehicle technology, the application of emergency call (eCall) functions in vehicles is becoming increasingly popular. The emergency call function can automatically trigger an emergency call in the event of a vehicle accident, sending the vehicle's location information and accident details to the rescue center, greatly shortening rescue time and improving accident handling efficiency. Therefore, to ensure the normal operation of the emergency call function, it is necessary to test the emergency call function.
[0003] However, related technologies usually require manual simulation of various vehicle accident scenarios, which results in low testing efficiency. Therefore, how to improve the testing efficiency of emergency calls has become a technical problem that needs to be solved urgently. Summary of the Invention
[0004] The present application provides an emergency call test system and a test method thereof to solve the problem in related technologies that various vehicle accident scenarios usually require manual simulation, resulting in low test efficiency.
[0005] In a first aspect, an embodiment of the present application provides an emergency call test system, the system comprising a host computer, a first simulation module, a second simulation module, a vehicle communication module to be tested, and a cloud platform:
[0006] The host computer is respectively connected to the first simulation module and the second simulation module for communication, and is used to receive a test request triggered by a user, and send a first test instruction to the first simulation module based on the test request, and send a second test instruction to the second simulation module;
[0007] The vehicle-mounted communication module to be tested is communicatively connected to the first simulation module and the second simulation module respectively, the first simulation module is used to respond to the first test instruction, perform a first simulation operation, and feed back an operation result of the first simulation operation to the vehicle-mounted communication module to be tested; the second simulation module is used to respond to the second test instruction, perform a second simulation operation, and feed back an operation result of the second simulation operation to the vehicle-mounted communication module to be tested, wherein the first simulation operation is used to simulate an operation related to manually pressing an emergency call button, and the second simulation module is used to simulate an operation related to a vehicle accident;
[0008] The cloud platform is respectively connected to the vehicle-mounted communication module to be tested and the host computer for communication. The vehicle-mounted communication module to be tested is used to determine whether to send an emergency call to the cloud platform based on the received operation result. The cloud platform is used to determine the test result based on the judgment result of the vehicle-mounted communication module to be tested, and return the test result to the host computer.
[0009] Optionally, the first simulation module includes a program-controlled relay;
[0010] Wherein, the normally open contact of the program-controlled relay is connected to the voltage module of the vehicle-mounted communication module to be tested, and the common end of the program-controlled relay is connected to the monitoring port of the vehicle-mounted communication module to be tested;
[0011] The programmable relay is used to respond to the first test instruction, connect the normally open contact of the programmable relay with the common end of the programmable relay, and feed back the voltage signal output by the programmable relay as the operation result of the first simulation operation to the vehicle-mounted communication module to be tested.
[0012] Optionally, the second simulation module includes a CAN bus analyzer;
[0013] The CAN bus analyzer is preset with a variety of message signals, and different message signals correspond to different simulated vehicle accidents;
[0014] The CAN bus analyzer is used to send part or all of the multiple message signals to the vehicle-mounted communication module to be tested in response to the second test instruction, and to feed back the successfully sent message signals as the operation results of the second simulation operation to the vehicle-mounted communication module to be tested.
[0015] Optionally, the CAN bus analyzer is communicatively connected to the host computer via a universal serial bus, and the CAN bus analyzer is communicatively connected to the vehicle-mounted communication module to be tested via a controller area network.
[0016] Optionally, the vehicle-mounted communication module to be tested is communicatively connected to the cloud platform via a mobile network, and the cloud platform is communicatively connected to the host computer via Ethernet.
[0017] In a second aspect, an embodiment of the present application further provides an emergency call testing method, which is applied to the emergency call testing system described in the first aspect, and the method includes:
[0018] The host computer receives a test request triggered by a user, and based on the test request, sends a first test instruction to the first simulation module, and sends a second test instruction to the second simulation module;
[0019] The first simulation module performs a first simulation operation in response to the first test instruction and feeds back an operation result of the first simulation operation to the vehicle-mounted communication module to be tested, and the second simulation module performs a second simulation operation in response to the second test instruction and feeds back an operation result of the second simulation operation to the vehicle-mounted communication module to be tested, wherein the first simulation operation is an operation for simulating manually pressing an emergency call button, and the second simulation module is an operation for simulating a vehicle accident;
[0020] The vehicle communication module to be tested determines whether to send an emergency call to the cloud platform according to the received operation result;
[0021] The cloud platform determines a test result according to the judgment result of the vehicle-mounted communication module to be tested, and returns the test result to the host computer.
[0022] Optionally, the first simulation module includes a program-controlled relay;
[0023] The first simulation module performs a first simulation operation in response to the first test instruction, and feeds back an operation result of the first simulation operation to the vehicle-mounted communication module to be tested, including:
[0024] In response to the first test instruction, the programmable relay connects the normally open contact of the programmable relay with the common end of the programmable relay, and feeds back the voltage signal output by the programmable relay as the operation result of the first simulation operation to the vehicle-mounted communication module to be tested.
[0025] Optionally, the second simulation module includes a CAN bus analyzer;
[0026] The second simulation module performs a second simulation operation in response to the second test instruction, and feeds back an operation result of the second simulation operation to the in-vehicle communication module to be tested, including:
[0027] In response to the second test instruction, the CAN bus analyzer sends part or all of the multiple message signals preset by itself to the on-board communication module to be tested, and feeds back the successfully sent message signals as the operation results of the second simulation operation to the on-board communication module to be tested.
[0028] Optionally, after the cloud platform determines a test result according to the judgment result of the cloud platform and returns the test result to the host computer, the method further includes:
[0029] The host computer generates a test report according to the test results and outputs the test report.
[0030] Optionally, a first test case and a second test case are pre-set in the host computer, wherein the first test case is used to generate the first test instruction, and the second test case is used to generate the second test instruction.
[0031] The above-mentioned technical solution provided by the embodiment of the present application has the following advantages over the prior art: the emergency call test system provided by the embodiment of the present application includes a host computer, a first simulation module, a second simulation module, an on-board communication module to be tested and a cloud platform: wherein the host computer is respectively connected to the first simulation module and the second simulation module for communication, the host computer is used to receive a test request triggered by a user, and based on the test request, sends a first test instruction to the first simulation module, and sends a second test instruction to the second simulation module; the on-board communication module to be tested is respectively connected to the first simulation module and the second simulation module for communication, the first simulation module is used to respond to the first test instruction, perform a first simulation operation, and convert the operation of the first simulation operation into a The result of the operation is fed back to the on-board communication module to be tested; the second simulation module is used to respond to the second test instruction, perform the second simulation operation, and feed back the operation result of the second simulation operation to the on-board communication module to be tested, wherein the first simulation operation is used to simulate the related operation of manually pressing the emergency call button, and the second simulation module is used to simulate the related operation of the vehicle accident; the cloud platform is respectively connected to the on-board communication module to be tested and the host computer, and the on-board communication module to be tested is used to determine whether to send an emergency call to the cloud platform based on the received operation result, and the cloud platform is used to determine the test result based on the judgment result of the on-board communication module to be tested, and return the test result to the host computer. Through the above method, the first simulation module can be used to simulate the related operation of manually pressing the emergency call button, and the second simulation module can be used to simulate the related operation of the vehicle accident, thereby realizing the automated testing of emergency calls, without the need for manual simulation of various vehicle accident scenarios, and improving the testing efficiency of emergency calls. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0034] One or more embodiments are exemplarily illustrated by pictures in the corresponding drawings. These exemplifications do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements. Unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0035] Figure 1 A schematic diagram of the structure of an emergency call test system provided in an embodiment of the present application;
[0036] Figure 2 A schematic structural diagram of another emergency call test system provided in an embodiment of the present application;
[0037] Figure 3 A schematic diagram of the connection relationship between a programmable relay and a vehicle-mounted communication module to be tested provided in an embodiment of the present application;
[0038] Figure 4 A flowchart of an emergency call testing method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0040] The disclosure below provides many different embodiments or examples for implementing different configurations of the present invention. To simplify the disclosure of the present invention, the components and configurations of specific examples are described below. Of course, these are merely examples and are not intended to limit the present invention. In addition, the present invention may repeat reference numerals and / or letters in different examples. Such repetition is for the purpose of simplicity and clarity and does not in itself indicate the relationship between the various embodiments and / or configurations discussed.
[0041] In order to solve the problem of low testing efficiency in related technologies that usually require manual simulation of various vehicle accident scenarios, the present application provides an emergency call testing system and a testing method thereof, which can improve the testing efficiency of emergency calls.
[0042] See also Figure 1 , Figure 1 This is a schematic diagram of the structure of an emergency call test system provided in an embodiment of the present application. Figure 1As shown, the emergency call test system may include a host computer 110, a first simulation module 120, a second simulation module 130, a vehicle communication module to be tested 140 and a cloud platform 150:
[0043] The host computer 110 is respectively connected to the first simulation module 120 and the second simulation module 130 for communication. The host computer 110 is used to receive a test request triggered by a user, and send a first test instruction to the first simulation module 120 based on the test request, and send a second test instruction to the second simulation module 130;
[0044] The vehicle communication module 140 to be tested is communicatively connected to the first simulation module 120 and the second simulation module 130 respectively. The first simulation module 120 is used to respond to the first test instruction, perform a first simulation operation, and feed back the operation result of the first simulation operation to the vehicle communication module 140 to be tested; the second simulation module 130 is used to respond to the second test instruction, perform a second simulation operation, and feed back the operation result of the second simulation operation to the vehicle communication module 140 to be tested, wherein the first simulation operation is used to simulate the operation related to manually pressing the emergency call button, and the second simulation module 130 is used to simulate the operation related to the vehicle accident;
[0045] The cloud platform 150 is respectively connected to the vehicle-mounted communication module 140 to be tested and the host computer 110 for communication. The vehicle-mounted communication module 140 to be tested is used to determine whether to send an emergency call to the cloud platform 150 based on the received operation result. The cloud platform 150 is used to determine the test result based on the judgment result of the vehicle-mounted communication module 140 to be tested, and return the test result to the host computer 110.
[0046] Specifically, the host computer 110 can be an electronic device such as a laptop computer, a personal computer, or a smart phone. The host computer 110 is configured to receive a test request triggered by a user, and based on the test request, send a first test instruction to the first simulation module 120, and send a second test instruction to the second simulation module 130. The first test instruction herein refers to an instruction for performing a test according to a test flow of a first test case, and the second test instruction refers to an instruction for performing a test according to a test flow of a second test case. The first test case and the second test case herein are test cases pre-set in the host computer 110.
[0047] The first simulation module 120 and the second simulation module 130 can be implemented in hardware, software, or both. The first simulation module 120 can be configured to respond to a first test instruction sent by the host computer 110, execute a first simulation operation simulating the manual pressing of an emergency call button, and feed back the results of the first simulation operation to the in-vehicle communication module 140 (Telematics BOX, T-BOX) under test. The second simulation module 130 can be configured to respond to a second test instruction sent by the host computer 110, execute a second simulation operation simulating a vehicle accident, and feed back the results of the second simulation operation to the in-vehicle communication module 140 under test.
[0048] The vehicle-mounted communication module 140 to be tested can be an independent vehicle-mounted communication module before installation, or a vehicle-mounted communication module after installation, which is not specifically limited in this application. The vehicle-mounted communication module 140 to be tested can be used to determine whether to send an emergency call to the cloud platform 150 based on the operation result received from the first simulation module 120 or the second simulation module 130. The cloud platform 150 can be used to determine the test result based on the judgment result of the vehicle-mounted communication module 140 to be tested, and return the test result to the host computer 110.
[0049] Through the above method, the first simulation module can be used to simulate the related operations of manually pressing the emergency call button, and the second simulation module can be used to simulate the related operations of a vehicle accident, thereby realizing automated testing of emergency calls. There is no need to manually simulate various vehicle accident scenarios, thereby improving the testing efficiency of emergency calls.
[0050] In an alternative embodiment, see Figure 2 and Figure 3 , the first simulation module 120 includes a program-controlled relay 1201;
[0051] Among them, the normally open contact of the program-controlled relay 1201 is connected to the voltage module of the vehicle-mounted communication module 140 to be tested, and the common end of the program-controlled relay 1201 is connected to the monitoring port of the vehicle-mounted communication module 140 to be tested;
[0052] The programmable relay 1201 is used to respond to the first test instruction, connect the normally open contact of the programmable relay 1201 with the common end of the programmable relay 1201, and feed back the voltage signal output by the programmable relay 1201 as the operation result of the first simulation operation to the vehicle-mounted communication module 140 to be tested.
[0053] Specifically, the normally open contact of the above-mentioned program-controlled relay 1201 is connected with a voltage module of the vehicle-mounted communication module 140 to be tested, which can provide a high-level voltage (such as 5V voltage, etc.), and the common terminal of the program-controlled relay 1201 is connected with a monitoring port of the vehicle-mounted communication module 140 to be tested, which is used to monitor the voltage signal output by the program-controlled relay 1201. When the user does not trigger the first test instruction on the host computer 110, the common terminal of the program-controlled relay 1201 is conductive with the normally closed contact, and the common terminal of the program-controlled relay 1201 outputs a low level; when the user triggers the first test instruction on the host computer 110, the host computer 110 will output a control current to make the normally open contact of the program-controlled relay 1201 conductive with the common terminal (i.e. simulating the operation of manually pressing the emergency call button), at this time the common terminal of the program-controlled relay 1201 outputs a high level, and the vehicle-mounted communication module 140 to be tested can monitor the high-level signal output by the program-controlled relay 1201, when the duration of the high-level signal reaches the specified duration, it means that the simulation test is successful, and an emergency call can be sent to the cloud platform 150; when the duration of the high-level signal does not reach the specified duration, it means that the simulation test fails, and no emergency call is sent to the cloud platform 150.
[0054] In the above manner, the related operation of manually pressing the emergency call button can be accurately simulated, without the need for artificial pressing of the emergency call button on the vehicle control panel, thereby realizing the automation of the emergency call test.
[0055] In an optional embodiment, continuing to refer to Figure 2 , the second simulation module 130 includes a CAN bus analyzer 1301;
[0056] Among them, a plurality of message signals are pre-set in the CAN bus analyzer 1301, and different message signals correspond to different simulated vehicle accidents.
[0057] The CAN bus analyzer 1301 is configured to, in response to a second test instruction, send part or all of the plurality of message signals to the vehicle-mounted communication module 140 to be tested, and feed back the message signals sent successfully to the vehicle-mounted communication module 140 to be tested as operation results of the second simulation operation.
[0058] Specifically, a plurality of message signals are pre-set in the above-mentioned CAN bus analyzer 1301 (also referred to as CAN card), and different message signals correspond to different simulated vehicle accidents, as shown in the following table:
[0059] Message ID Message content Simulated vehicle accident Ox380 Ox01 Ox01 Ox00 Ox00 Ox00 Ox00 Ox00 Ox00 collision Ox381 Ox01 Ox02 Ox00 Ox00 Ox00 Ox00 Ox00 Ox00 roll Ox382 Ox01 Ox03 Ox00 Ox00 Ox00 Ox00 Ox00 Ox00 System abnormality …… …… ……
[0060] In response to the second test instruction sent by the host computer 110, the CAN bus analyzer 1301 can send some or all of the multiple message signals to the on-board communication module 140 to be tested, and feed back the successfully sent message signals as the operation results of the second simulation operation to the on-board communication module 140 to be tested. For example, when the CAN bus analyzer 1301 sends the 0x380 message to the on-board communication module 140 to be tested, it indicates that the current simulation is a vehicle collision scenario. At this time, if the on-board communication module 140 to be tested sends an emergency call to the cloud platform 150, it indicates that the test is successful; if the on-board communication module 140 to be tested does not send an emergency call to the cloud platform 150, it indicates that the test has failed. For another example, when the CAN bus analyzer 1301 sends the Ox381 message to the on-board communication module 140 to be tested, it indicates that the current simulation is a scenario in which the vehicle rolls over. At this time, if the on-board communication module 140 to be tested sends an emergency call to the cloud platform 150, it indicates that the test is successful; if the on-board communication module 140 to be tested does not send an emergency call to the cloud platform 150, it indicates that the test has failed.
[0061] Through the above method, the relevant operations of a vehicle accident can be accurately simulated without the need for humans to personally simulate the scene of a vehicle accident, thereby realizing the automation of emergency call testing.
[0062] In an alternative embodiment, see Figure 2 The CAN bus analyzer 1301 is connected to the host computer 110 through a universal serial bus, and the CAN bus analyzer 1301 is connected to the vehicle communication module 140 to be tested through a controller area network.
[0063] In this way, the CAN bus analyzer can connect the host computer to the Controller Area Network (CAN) via the Universal Serial Bus (USB), thereby realizing data interaction between the host computer and the vehicle-mounted communication module to be tested.
[0064] In an alternative embodiment, see Figure 2 The vehicle communication module 140 to be tested is connected to the cloud platform 150 via a mobile network, and the cloud platform 150 is connected to the host computer 110 via Ethernet.
[0065] In this way, the vehicle-mounted communication module to be tested can be connected to the cloud platform through the mobile network, and the cloud platform can be connected to the host computer through Ethernet to realize data interaction between the vehicle-mounted communication module to be tested, the cloud platform and the host computer.
[0066] See also Figure 4 , Figure 4 A flow chart of an emergency call test method provided in an embodiment of the present application. Figure 4 As shown, the emergency call test method is applied to the above-mentioned emergency call test system, and the emergency call test method includes the following steps:
[0067] Step S401: The host computer receives a test request triggered by a user, and sends a first test instruction to the first simulation module and a second test instruction to the second simulation module based on the test request;
[0068] Step S402: The first simulation module performs a first simulation operation in response to the first test instruction and feeds back the operation result of the first simulation operation to the vehicle communication module to be tested; and the second simulation module performs a second simulation operation in response to the second test instruction and feeds back the operation result of the second simulation operation to the vehicle communication module to be tested, wherein the first simulation operation is an operation for simulating manually pressing the emergency call button, and the second simulation module is an operation for simulating a vehicle accident.
[0069] Step S403: The vehicle communication module to be tested determines whether to send an emergency call to the cloud platform according to the received operation result;
[0070] Step S404: The cloud platform determines the test result according to the judgment result of the vehicle-mounted communication module to be tested, and returns the test result to the host computer.
[0071] Specifically, the host computer can be an electronic device such as a laptop computer, a personal computer, or a smart phone, and the host computer is used to receive a test request triggered by a user, and based on the test request, send a first test instruction to the first simulation module, and send a second test instruction to the second simulation module. The first test instruction here refers to an instruction for testing according to the test flow of the first test case, and the second test instruction refers to an instruction for testing according to the test flow of the second test case. The first test case and the second test case here are test cases pre-set in the host computer.
[0072] The first simulation module and the second simulation module can be implemented in hardware, software, or both. The first simulation module can be configured to respond to a first test instruction sent by a host computer and execute a first simulation operation simulating the manual pressing of an emergency call button, and to feed back the results of the first simulation operation to the on-board communication module (Telematics BOX, T-BOX) under test. The second simulation module can be configured to respond to a second test instruction sent by the host computer and execute a second simulation operation simulating a vehicle accident, and to feed back the results of the second simulation operation to the on-board communication module under test.
[0073] The vehicle-mounted communication module to be tested can be an independent vehicle-mounted communication module before installation or a vehicle-mounted communication module after installation, which is not specifically limited in this application. The vehicle-mounted communication module to be tested can be used to determine whether to send an emergency call to the cloud platform based on the operation results received from the first simulation module or the second simulation module. The cloud platform can be used to determine the test result based on the judgment result of the vehicle-mounted communication module to be tested and return the test result to the host computer.
[0074] Through the above method, the first simulation module can be used to simulate the related operations of manually pressing the emergency call button, and the second simulation module can be used to simulate the related operations of a vehicle accident, thereby realizing automated testing of emergency calls. There is no need to manually simulate various vehicle accident scenarios, thereby improving the testing efficiency of emergency calls.
[0075] In an optional embodiment, the first simulation module includes a program-controlled relay;
[0076] The above step S402, in which the first simulation module performs the first simulation operation in response to the first test instruction and feeds back the operation result of the first simulation operation to the vehicle-mounted communication module to be tested, includes:
[0077] In response to the first test instruction, the programmable relay connects the normally open contact of the programmable relay with the common terminal of the programmable relay, and feeds back the voltage signal output by the programmable relay as the operation result of the first simulation operation to the vehicle communication module to be tested.
[0078] Specifically, the normally open contact of the above-mentioned programmable relay is connected to the voltage module of the vehicle-mounted communication module to be tested, and the voltage module can provide a high-level voltage (such as 5V voltage, etc.). The common terminal of the programmable relay is connected to the monitoring port of the vehicle-mounted communication module to be tested, and the monitoring port is used to monitor the voltage signal output by the programmable relay. When the user does not trigger the first test instruction on the host computer, the common terminal of the programmable relay is connected to the normally closed contact, and the common terminal of the programmable relay outputs a low level; when the user triggers the first test instruction on the host computer, the host computer outputs a control current to connect the normally open contact of the programmable relay to the common terminal (i.e., simulate the operation of manually pressing the emergency call button). At this time, the common terminal of the programmable relay outputs a high level, and the vehicle-mounted communication module to be tested can monitor the high-level signal output by the programmable relay. When the duration of the high-level signal reaches the specified duration, it indicates that the simulation test is successful and an emergency call can be sent to the cloud platform; when the duration of the high-level signal does not reach the specified duration, it indicates that the simulation test fails and no emergency call is sent to the cloud platform.
[0079] Through the above method, the related operations of manually pressing the emergency call button can be accurately simulated without the need for humans to personally press the emergency call button on the vehicle control panel, thereby realizing the automation of emergency call testing.
[0080] In an optional embodiment, the second simulation module includes a CAN bus analyzer;
[0081] In step S402, the second simulation module performs a second simulation operation in response to the second test instruction, and feeds back the operation result of the second simulation operation to the vehicle-mounted communication module to be tested, including:
[0082] In response to the second test instruction, the CAN bus analyzer sends part or all of the multiple message signals preset by itself to the vehicle-mounted communication module to be tested, and feeds back the successfully sent message signals as the operation results of the second simulation operation to the vehicle-mounted communication module to be tested.
[0083] Specifically, the CAN bus analyzer (also known as a CAN card) has a variety of message signals preset in it. Different message signals correspond to different simulated vehicle accidents, as shown in the following table:
[0084] Message ID Message content Simulated vehicle accident Ox380 Ox01 Ox01 Ox00 Ox00 Ox00 Ox00 Ox00 Ox00 collision Ox381 Ox01 Ox02 Ox00 Ox00 Ox00 Ox00 Ox00 Ox00 roll Ox382 Ox01 Ox03 Ox00 Ox00 Ox00 Ox00 Ox00 Ox00 System abnormality …… …… ……
[0085] The CAN bus analyzer can respond to the second test instruction sent by the host computer by sending some or all of the multiple message signals to the on-board communication module to be tested, and feed back the successfully sent message signals as the operation results of the second simulation operation to the on-board communication module to be tested. For example, when the CAN bus analyzer sends the 0x380 message to the on-board communication module to be tested, it indicates that the current simulation is a vehicle collision scenario. At this time, if the on-board communication module to be tested sends an emergency call to the cloud platform, the test is successful; if the on-board communication module to be tested does not send an emergency call to the cloud platform, the test fails. For another example, when the CAN bus analyzer sends the 0x381 message to the on-board communication module to be tested, it indicates that the current simulation is a vehicle rollover scenario. At this time, if the on-board communication module to be tested sends an emergency call to the cloud platform, the test is successful; if the on-board communication module to be tested does not send an emergency call to the cloud platform, the test fails.
[0086] Through the above method, the relevant operations of a vehicle accident can be accurately simulated without the need for humans to personally simulate the scene of a vehicle accident, thereby realizing the automation of emergency call testing.
[0087] In an optional embodiment, after the cloud platform determines the test result based on the judgment result of the cloud platform in step S404 and returns the test result to the host computer, the method further includes:
[0088] The host computer generates a test report based on the test results and outputs the test report.
[0089] In this way, the host computer can obtain the test results after each test, and then generate a test report based on the test results, and output the test report for the convenience of the test personnel to review.
[0090] In an optional embodiment, a first test case and a second test case are pre-set in the host computer, wherein the first test case is used to generate a first test instruction, and the second test case is used to generate a second test instruction.
[0091] Thus, before conducting a test, the user can choose to execute the first test case alone, the second test case alone, or both simultaneously, as needed. When the host computer executes the first test case, it first retrieves the first test case from the database and then parses it to obtain key information, such as the test target (forward or reverse), test data (number of eCall executions and simulated eCall button press duration), and a preset execution result (successful or failed). Based on the extracted key information, the host computer then generates a first test instruction to control the conduction state of the programmable relay.
[0092] When the host computer executes the second test case, the second test case can be acquired from the database first, and then the second test case is parsed to obtain its key information, such as a test target (a forward target or a reverse target), test data (the number of times of executing eCall, and the type of vehicle accident simulating eCall, etc.), a preset execution result (execution success or execution failure), and then the second test instruction is generated according to the extracted key information to control the message output of the CAN bus analyzer.
[0093] In this way, through the cooperation of the host computer, the program-controlled relay, and the CAN bus analyzer, the automatic test of the emergency call function can be realized, and the test efficiency and stability are greatly improved.
[0094] The device embodiments described above are only schematic, wherein the units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, i.e., can be located in one place, or can be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the embodiment.
[0095] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be realized by means of software plus a general hardware platform, and of course can also be realized by hardware. Based on such understanding, the above technical solutions can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in each embodiment or some parts of the embodiments.
[0096] It should be understood that the terms used herein are for the purpose of describing particular example embodiments only and are not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The terms "comprises", "comprising", "includes", "including" and "has" are inclusive and therefore specify the presence of stated features, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and / or groups thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring their performance in the particular order in which they are described, unless specifically indicated as such. It is also to be understood that additional or alternative steps can be employed.
[0097] The foregoing description is intended only to provide specific embodiments of the present invention, which will enable those skilled in the art to understand and implement the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not intended to be limited to the embodiments shown herein, but is intended to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. An emergency call test system, characterized in that: The system includes a host computer, a first simulation module, a second simulation module, a vehicle communication module to be tested, and a cloud platform: The host computer is respectively connected to the first simulation module and the second simulation module for communication, and is used to receive a test request triggered by a user, and send a first test instruction to the first simulation module based on the test request, and send a second test instruction to the second simulation module; The vehicle-mounted communication module to be tested is communicatively connected to the first simulation module and the second simulation module respectively, the first simulation module is used to respond to the first test instruction, perform a first simulation operation, and feed back an operation result of the first simulation operation to the vehicle-mounted communication module to be tested; the second simulation module is used to respond to the second test instruction, perform a second simulation operation, and feed back an operation result of the second simulation operation to the vehicle-mounted communication module to be tested, wherein the first simulation operation is used to simulate an operation related to manually pressing an emergency call button, and the second simulation module is used to simulate an operation related to a vehicle accident; The cloud platform is respectively connected to the vehicle-mounted communication module to be tested and the host computer for communication. The vehicle-mounted communication module to be tested is used to determine whether to send an emergency call to the cloud platform based on the received operation result. The cloud platform is used to determine the test result based on the judgment result of the vehicle-mounted communication module to be tested, and return the test result to the host computer.
2. The emergency call test system according to claim 1, characterized in that: The first simulation module includes a program-controlled relay; Wherein, the normally open contact of the program-controlled relay is connected to the voltage module of the vehicle-mounted communication module to be tested, and the common end of the program-controlled relay is connected to the monitoring port of the vehicle-mounted communication module to be tested; The programmable relay is used to respond to the first test instruction, connect the normally open contact of the programmable relay with the common end of the programmable relay, and feed back the voltage signal output by the programmable relay as the operation result of the first simulation operation to the vehicle-mounted communication module to be tested.
3. The emergency call test system according to claim 1, characterized in that: The second simulation module includes a CAN bus analyzer; The CAN bus analyzer is preset with a variety of message signals, and different message signals correspond to different simulated vehicle accidents; The CAN bus analyzer is used to send part or all of the multiple message signals to the vehicle-mounted communication module to be tested in response to the second test instruction, and to feed back the successfully sent message signals as the operation results of the second simulation operation to the vehicle-mounted communication module to be tested.
4. The emergency call test system according to claim 3, characterized in that: The CAN bus analyzer is communicatively connected to the host computer via a universal serial bus, and the CAN bus analyzer is communicatively connected to the vehicle-mounted communication module to be tested via a controller area network.
5. The emergency call test system according to claim 1, characterized in that: The vehicle-mounted communication module to be tested is connected to the cloud platform via a mobile network, and the cloud platform is connected to the host computer via Ethernet.
6. An emergency call testing method, characterized in that: The emergency call test system according to any one of claims 1 to 5, wherein the method comprises: The host computer receives a test request triggered by a user, and based on the test request, sends a first test instruction to the first simulation module, and sends a second test instruction to the second simulation module; The first simulation module performs a first simulation operation in response to the first test instruction and feeds back an operation result of the first simulation operation to the vehicle-mounted communication module to be tested, and the second simulation module performs a second simulation operation in response to the second test instruction and feeds back an operation result of the second simulation operation to the vehicle-mounted communication module to be tested, wherein the first simulation operation is an operation for simulating manually pressing an emergency call button, and the second simulation module is an operation for simulating a vehicle accident; The vehicle communication module to be tested determines whether to send an emergency call to the cloud platform according to the received operation result; The cloud platform determines a test result according to the judgment result of the vehicle-mounted communication module to be tested, and returns the test result to the host computer.
7. The emergency call testing method according to claim 6, characterized in that: The first simulation module includes a program-controlled relay; The first simulation module performs a first simulation operation in response to the first test instruction, and feeds back an operation result of the first simulation operation to the vehicle-mounted communication module to be tested, including: In response to the first test instruction, the programmable relay connects the normally open contact of the programmable relay with the common end of the programmable relay, and feeds back the voltage signal output by the programmable relay as the operation result of the first simulation operation to the vehicle-mounted communication module to be tested.
8. The emergency call testing method according to claim 6, characterized in that: The second simulation module includes a CAN bus analyzer; The second simulation module performs a second simulation operation in response to the second test instruction, and feeds back an operation result of the second simulation operation to the in-vehicle communication module to be tested, including: In response to the second test instruction, the CAN bus analyzer sends part or all of the multiple message signals preset by itself to the on-board communication module to be tested, and feeds back the successfully sent message signals as the operation results of the second simulation operation to the on-board communication module to be tested.
9. The emergency call testing method according to claim 6, characterized in that: After the cloud platform determines the test result according to the judgment result of the cloud platform and returns the test result to the host computer, the method further includes: The host computer generates a test report according to the test results and outputs the test report.
10. The emergency call testing method according to claim 6, characterized in that: The host computer is pre-configured with a first test case and a second test case, wherein the first test case is used to generate the first test instruction, and the second test case is used to generate the second test instruction.
Citation Information
Patent Citations
Automatic test method, device and equipment for call conversation scene and medium
CN115118817A
Method and system for testing emergency call system
CN116847392A