Method and device for testing abnormal wake-up monitoring function of vehicle-mounted gateway

By sending time signal messages and network management messages in the abnormal wake-up monitoring function of the vehicle gateway, and detecting the sending and receiving conditions, the problem of lack of completeness testing of monitoring functions in the existing technology is solved, and the accurate detection and inspection efficiency of abnormal wake-up sources is improved.

CN120128462APending Publication Date: 2025-06-10FAW CAR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510396172.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2025-06-10

AI Technical Summary

Technical Problem

In the prior art, the abnormal wake-up monitoring function of the on-board gateway focuses more on monitoring the causes of abnormal wake-up caused by the vehicle. The lack of testing of the integrity of the abnormal wake-up monitoring function itself makes it difficult to ensure the integrity of the function and the accuracy of detecting abnormal wake-up sources, which may lead to extended inspection time or wrong direction.

Method used

It provides a test method for the abnormal wake-up monitoring function of the vehicle gateway. When the circuit voltage of the target vehicle reaches the preset voltage, it sends time signal messages and network management messages to the vehicle gateway, and detects the sending and receiving conditions, and generates test results to ensure the comprehensiveness and accuracy of the detection.

Benefits of technology

Through this test method, we can fully understand the performance of the abnormal wake-up monitoring function of the vehicle gateway under different abnormal wake-up situations, ensure the accuracy of detection, reduce the risk of errors in troubleshooting time and direction, and improve the stability and reliability of the vehicle electronic system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120128462A_ABST
    Figure CN120128462A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of automobile diagnosis, in particular to a test method and device for an abnormal wake-up monitoring function of a vehicle-mounted gateway, and the method comprises the steps: adjusting the circuit voltage of a target vehicle based on a target abnormal wake-up scene; under the condition that the circuit voltage reaches a preset voltage, sending a time signal message and a network management message to the vehicle-mounted gateway, and detecting the sending condition and the receiving condition of the time signal message and the sending condition and the receiving condition of the network management message; and determining a test result of the abnormal wake-up monitoring function of the vehicle-mounted gateway based on the sending condition and the receiving condition of the time signal message and the sending condition and the receiving condition of the network management message. Therefore, the problem that the troubleshooting time of the abnormal wake-up problem is prolonged or the troubleshooting direction is wrong due to the fact that the integrity of the abnormal wake-up monitoring function and the accuracy of abnormal wake-up source detection are difficult to guarantee by the abnormal wake-up monitoring function in the related technology is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of automotive diagnosis, and particularly relates to a test method and device for the abnormal wake-up monitoring function of an in-vehicle gateway. Background Art

[0002] With the continuous development of automotive electronic technology, the in-vehicle central gateway, as the core component of the vehicle's electronic and electrical architecture, is responsible for data exchange between different networks. To ensure effective power conservation when the vehicle is in a sleep state, all vehicle controllers need to sleep and wake up uniformly under the coordination of the gateway.

[0003] In the related art, due to various reasons, there may be a phenomenon of abnormal wake-up of vehicle controllers, resulting in increased power consumption and power feed of the vehicle, and even affecting the normal use of the vehicle. Moreover, abnormal wake-up and other situations cannot be predicted in advance. Currently, it can only be detected when the abnormal wake-up occurs, and at this time, it is no longer possible to query the cause of this abnormal wake-up or obtain the corresponding vehicle communication data. One can only wait for a long time and try multiple times to reproduce the abnormal wake-up condition. Therefore, the abnormal wake-up monitoring function came into being, which can quickly lock which subnet the wake-up source of the abnormal wake-up is. To play the role of this function, the integrity of this function is crucial.

[0004] However, the abnormal wake-up monitoring functions in the related art mostly focus on monitoring the reasons for abnormal wake-up generated by the vehicle, lacking the test for the integrity of the abnormal wake-up monitoring function itself. It is difficult to ensure the integrity of the abnormal wake-up monitoring function and the accuracy of detecting the abnormal wake-up source, which may lead to an extended troubleshooting time or a wrong troubleshooting direction for the abnormal wake-up problem, and it urgently needs to be solved. Summary of the Invention

[0005] The present application provides a test method and device for the abnormal wake-up monitoring function of an in-vehicle gateway to solve the problems in the related art that the abnormal wake-up monitoring functions mostly focus on monitoring the reasons for abnormal wake-up generated by the vehicle, lacking the test for the integrity of the abnormal wake-up monitoring function itself, it is difficult to ensure the integrity of the abnormal wake-up monitoring function and the accuracy of detecting the abnormal wake-up source, which may lead to an extended troubleshooting time or a wrong troubleshooting direction for the abnormal wake-up problem, etc.

[0006] The first aspect of the present application provides a test method for the abnormal wake-up monitoring function of an in-vehicle gateway, including the following steps: determining the circuit voltage of a target vehicle based on a target abnormal wake-up scenario; when the circuit voltage reaches a preset voltage, sending corresponding time signal messages and network management messages to the in-vehicle gateway of the target vehicle, and detecting the sending and receiving conditions of the time signal messages and the sending and receiving conditions of the network management messages; generating a test result for the abnormal wake-up monitoring function of the in-vehicle gateway based on the sending and receiving conditions of the time signal messages and the sending and receiving conditions of the network management messages.

[0007] Through the above technical means, the embodiments of the present application can send corresponding time information messages and network management messages to the in-vehicle gateway when the circuit voltage of the target vehicle is at different voltages, comprehensively and fully understand the performance of the abnormal wake-up monitoring function of the in-vehicle gateway under different abnormal wake-up conditions, ensure the comprehensiveness and accuracy of the detection, and thus accurately determine the test result of the abnormal wake-up monitoring function of the in-vehicle gateway according to the sending and receiving conditions of the time information messages and the network management messages, reduce the time for troubleshooting the problem of abnormal abnormal wake-up monitoring function or the wrong troubleshooting direction, and ensure that the abnormal wake-up monitoring function of the in-vehicle gateway can efficiently detect the abnormal wake-up source.

[0008] Optionally, in an embodiment of the present application, before sending the corresponding time signal message and the network management message to the in-vehicle gateway of the target vehicle, it further includes: detecting the voltage of the constant power supply circuit and the voltage of the engine ignition circuit of the target vehicle; determining whether the circuit voltage reaches the preset voltage according to the voltage of the constant power supply circuit and the voltage of the engine ignition circuit.

[0009] Through the above technical means, the embodiments of the present application can combine the voltage of the constant power supply circuit and the voltage of the engine ignition circuit to determine whether the circuit voltage of the vehicle reaches a certain voltage condition, making the test more targeted and realistic, and can more comprehensively and accurately simulate the voltage conditions of the vehicle under different working states, and then effectively detect whether the abnormal wake-up function can work properly under various possible voltage conditions, and is helpful to discover potential abnormal wake-up problems caused by voltage changes, improve the stability and reliability of the vehicle electronic system, and ensure the safe operation of the vehicle under various working conditions.

[0010] Optionally, in an embodiment of the present application, when the circuit voltage reaches the preset voltage, sending the corresponding time signal message and network management message to the on-vehicle gateway of the target vehicle includes: when both the constant power supply circuit voltage and the engine ignition circuit voltage are the first target voltage, sending the time signal message to the on-vehicle gateway according to the target period; when the constant power supply circuit voltage is the first target voltage and the engine ignition circuit voltage is the second target voltage, sending the network management message to the on-vehicle gateway.

[0011] By the above technical means, the embodiment of the present application can control the circuit voltage of the target vehicle and send the corresponding time information message and network management message under different constant power supply circuit voltages and engine ignition circuit voltages, so as to comprehensively and accurately test the integrity of the abnormal wake-up monitoring function of the on-vehicle gateway under different conditions.

[0012] Optionally, in an embodiment of the present application, generating the test result of the abnormal wake-up monitoring function of the on-vehicle gateway based on the sending and receiving situations of the time signal message and the sending and receiving situations of the network management message includes: traversing multiple abnormal wake-up sources of the target vehicle based on the depth-first traversal principle and the preset type classification; determining the test result of the abnormal wake-up monitoring function of the on-vehicle gateway according to the types of the multiple abnormal wake-up sources and their function test results.

[0013] By the above technical means, the embodiment of the present application can systematically traverse multiple abnormal wake-up sources without missing any one of them, comprehensively understand the performance of the abnormal wake-up monitoring function of the on-vehicle gateway under different abnormal wake-up situations, ensure the comprehensiveness and accuracy of the detection, and thus accurately determine the test result of the abnormal wake-up monitoring function of the on-vehicle gateway.

[0014] Optionally, in an embodiment of the present application, it further includes: generating an abnormal information report and a processing suggestion report according to the test result of the abnormal wake-up monitoring function; sending the abnormal information report and the processing suggestion report to the target vehicle.

[0015] By the above technical means, the embodiment of the present application can generate an abnormal information report and a processing suggestion report, which helps vehicle maintenance personnel or relevant technical personnel clearly understand the abnormal situation and reasons of the vehicle abnormal wake-up monitoring function, so as to take corresponding measures to solve the problem, helps improve the efficiency of vehicle fault troubleshooting and repair, and ensures the normal operation of the vehicle.

[0016] An embodiment of the second aspect of the present application provides a test device for the abnormal wake-up monitoring function of an in-vehicle gateway, including: a first determination module, configured to determine the circuit voltage of a target vehicle based on a target abnormal wake-up scenario; a test module, configured to send a corresponding time signal message and a network management message to the in-vehicle gateway of the target vehicle when the circuit voltage reaches a preset voltage, and detect the sending and receiving conditions of the time signal message and the sending and receiving conditions of the network management message; a first generation module, configured to generate a test result of the abnormal wake-up monitoring function of the in-vehicle gateway based on the sending and receiving conditions of the time signal message and the sending and receiving conditions of the network management message.

[0017] Through the above technical means, the embodiments of the present application can send corresponding time information messages and network management messages to the in-vehicle gateway when the circuit voltage of the target vehicle is at different voltages, comprehensively and fully understand the performance of the abnormal wake-up monitoring function of the in-vehicle gateway under different abnormal wake-up conditions, ensure the comprehensiveness and accuracy of the detection, and thus accurately determine the test result of the abnormal wake-up monitoring function of the in-vehicle gateway according to the sending and receiving conditions of the time information message and the network management message, reduce the time for troubleshooting the problem of abnormal abnormal wake-up monitoring function or the wrong troubleshooting direction, and ensure that the abnormal wake-up monitoring function of the in-vehicle gateway can efficiently detect the abnormal wake-up source.

[0018] Optionally, in an embodiment of the present application, it further includes: a detection module, configured to detect the voltage of the constant power supply circuit and the voltage of the engine ignition circuit of the target vehicle before sending the corresponding time signal message and the network management message to the in-vehicle gateway of the target vehicle; a second determination module, configured to determine whether the circuit voltage reaches the preset voltage according to the voltage of the constant power supply circuit and the voltage of the engine ignition circuit.

[0019] Through the above technical means, the embodiments of the present application can combine the voltage of the constant power supply circuit and the voltage of the engine ignition circuit to determine whether the circuit voltage of the vehicle reaches a certain voltage condition, making the test more targeted and realistic, and can more comprehensively and accurately simulate the voltage conditions of the vehicle under different working states. Furthermore, it can effectively detect whether the abnormal wake-up function can work properly under various possible voltage conditions, and helps to discover potential abnormal wake-up problems caused by voltage changes, improve the stability and reliability of the vehicle electronic system, and ensure the safe operation of the vehicle under various working conditions.

[0020] Optionally, in an embodiment of the present application, the test module includes: a first sending unit, configured to send the time signal message to the vehicle-mounted gateway according to a target period when both the voltage of the constant power supply circuit and the voltage of the engine ignition circuit are a first target voltage; a second sending unit, configured to send the network management message to the vehicle-mounted gateway when the voltage of the constant power supply circuit is a first target voltage and the voltage of the engine ignition circuit is a second target voltage.

[0021] By the above technical means, the embodiment of the present application can control the circuit voltage of the target vehicle to send corresponding time information messages and network management messages under different constant power supply circuit voltages and engine ignition circuit voltages, so as to comprehensively and accurately test the integrity of the abnormal wake-up monitoring function of the vehicle-mounted gateway in different situations.

[0022] Optionally, in an embodiment of the present application, the first determination module includes: a traversal unit, configured to traverse multiple abnormal wake-up sources of the target vehicle based on the depth-first traversal principle and a preset type classification; a determination unit, configured to determine the test result of the abnormal wake-up monitoring function of the vehicle-mounted gateway according to the types of the multiple abnormal wake-up sources and their function test results.

[0023] By the above technical means, the embodiment of the present application can systematically traverse multiple abnormal wake-up sources without missing any one of them, comprehensively understand the performance of the abnormal wake-up monitoring function of the vehicle-mounted gateway in different abnormal wake-up situations, ensure the comprehensiveness and accuracy of the detection, and thus accurately determine the test result of the abnormal wake-up monitoring function of the vehicle-mounted gateway.

[0024] Optionally, in an embodiment of the present application, it further includes: a second generation module, configured to generate an abnormal information report and a processing suggestion report according to the test result of the abnormal wake-up monitoring function; a sending module, configured to send the abnormal information report and the processing suggestion report to the target vehicle.

[0025] By the above technical means, the embodiment of the present application can generate an abnormal information report and a processing suggestion report, which helps vehicle maintenance personnel or relevant technical personnel clearly understand the situation and reasons for the abnormality of the vehicle abnormal wake-up monitoring function, so as to take corresponding measures to solve the problem, helps improve the efficiency of vehicle fault troubleshooting and repair, and ensures the normal operation of the vehicle.

[0026] An embodiment of the third aspect of the present application provides a vehicle, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the program to implement the test method for the abnormal wake-up monitoring function of the vehicle-mounted gateway as described in the above embodiment.

[0027] The fourth aspect of the present application provides a computer-readable storage medium, which stores a computer program that, when executed by a processor, implements the test method for the abnormal wake-up monitoring function of the in-vehicle gateway as described above.

[0028] The fifth aspect of the present application provides a computer program product, including a computer program that, when executed, is used to implement the test method for the abnormal wake-up monitoring function of the in-vehicle gateway as described above.

[0029] Additional aspects and advantages of the present application will be given in part in the following description, become apparent in part from the following description, or be learned through the practice of the present application. Description of the Drawings

[0030] The above and / or additional aspects and advantages of the present application will become apparent and be readily understood from the following description of the embodiments in conjunction with the drawings, where:

[0031] Figure 1 is a schematic diagram of the principle of the test system for the abnormal wake-up monitoring function of the in-vehicle gateway according to an embodiment of the present application;

[0032] Figure 2 is a flowchart of a test method for the abnormal wake-up monitoring function of an in-vehicle gateway according to an embodiment of the present application;

[0033] Figure 3 is a schematic diagram of abnormal wake-up classification according to an embodiment of the present application;

[0034] Figure 4 is a schematic structural diagram of a test device for the abnormal wake-up monitoring function of an in-vehicle gateway according to an embodiment of the present application;

[0035] Figure 5 is a schematic structural diagram of a vehicle according to an embodiment of the present application.

[0036] Reference Signs:

[0037] 10 - Test device for the abnormal wake-up monitoring function of the in-vehicle gateway: 100 - First determination module, 200 - Test module, and 300 - First generation module; 501 - Memory, 502 - Processor, and 503 - Communication interface. Detailed Description of the Embodiments

[0038] The embodiments of the present application will be described in detail below. The examples of the embodiments are shown in the drawings, where the same or similar reference numerals denote the same or similar elements or elements with the same or similar functions from beginning to end. The embodiments described below with reference to the drawings are exemplary and are intended to explain the present application, but should not be construed as limiting the present application.

[0039] The following describes a test method and device for the abnormal wake-up monitoring function of an in-vehicle gateway according to an embodiment of the present application. In view of the fact that the abnormal wake-up monitoring function in the related art mentioned in the above background technology mainly focuses on monitoring the reasons for abnormal wake-up generated by the vehicle, lacking the test of the integrity of the abnormal wake-up monitoring function itself, it is difficult to ensure the integrity of the abnormal wake-up monitoring function and the accuracy of detecting the abnormal wake-up source, which may lead to problems such as extended troubleshooting time for abnormal wake-up problems or incorrect troubleshooting directions. The present application provides a test method for the abnormal wake-up monitoring function of an in-vehicle gateway. In this method, corresponding time information messages and network management messages can be sent to the in-vehicle gateway when the circuit voltage of the target vehicle is at different voltages, so as to determine the test result of the abnormal wake-up monitoring function of the in-vehicle gateway according to the sending and receiving conditions of the time information messages and network management messages. Thus, by systematically traversing multiple abnormal wake-up sources, comprehensively and fully understanding the performance of the abnormal wake-up monitoring function of the in-vehicle gateway under different abnormal wake-up conditions, ensuring the comprehensiveness and accuracy of the detection, accurately determining the test result of the abnormal wake-up monitoring function of the in-vehicle gateway, reducing the troubleshooting time or incorrect troubleshooting direction for abnormal situations of the abnormal wake-up monitoring function, and ensuring that the abnormal wake-up monitoring function of the in-vehicle gateway can efficiently detect the abnormal wake-up source. Thus, it solves the problems in the related technology that the abnormal wake-up monitoring function mainly focuses on monitoring the reasons for abnormal wake-up generated by the vehicle, lacking the test of the integrity of the abnormal wake-up monitoring function itself, it is difficult to ensure the integrity of the abnormal wake-up monitoring function and the accuracy of detecting the abnormal wake-up source, which may lead to problems such as extended troubleshooting time for abnormal wake-up problems or incorrect troubleshooting directions.

[0040] Before explaining the test method for the abnormal wake-up monitoring function of the in-vehicle gateway according to an embodiment of the present application, first explain the test system for the abnormal wake-up monitoring function of the in-vehicle gateway involved in the embodiment of the present application.

[0041] Figure 1 It is a schematic diagram of the principle of the test system for the abnormal wake-up monitoring function of the in-vehicle gateway according to an embodiment of the present application. As Figure 1 shown: The test system in the embodiment of the present application mainly includes but is not limited to being composed of a computer upper computer, a VN bus device, a programmable power supply, a supporting connecting wire, a USB splitter, and other parts.

[0042] Among them, the computer upper computer in the embodiment of the present application can be used but is not limited to providing signal simulation sending and receiving, and can detect the test steps through self-developed logical judgment and judge the actions made by the controller.

[0043] The VN series of bus devices (a type of CAN bus device) can be used as, but not limited to, a bus development simulation and testing tool in the test system, undertaking the tasks of protocol conversion and interaction between the host computer software and the data of the controller under test; it can both simulate and send messages to the controller and receive messages sent by the controller. Among them, the VN bus device - 1 and VN bus device - 2 each have 4 CAN (Controller Area Network) bus interface cards, which are compatible with CAN FD (Controller Area Network Flexible Data - Rate), for CAN / CANFD bus simulation; the VN bus device - 3 has 4 LIN interface cards for LIN bus simulation; the VN bus device - 4 has 4 Ethernet interface cards for Ethernet bus simulation.

[0044] The programmable power supply can be used as, but not limited to, receiving instructions from the computer host in the test system and making responses through the processing logic built into the programmable power supply to power on and off the controller under test.

[0045] The USB hub can be, but not limited to, a USB docking station to enable one USB TypeA interface of the computer host to be connected to 4 VN bus devices simultaneously.

[0046] Furthermore, the connection methods between the various components of the test system are explained.

[0047] As Figure 1 shown, the A - end of the computer host is a USB TypeA female - head interface, and G is an industrial Ethernet 100Base - Tx interface. The F - end and M1 - M4 ends of the USB hub are all USB TypeA male - head interfaces, the D1 - D4 ends in the VN bus device are USB TypeB male - head interfaces, E1 - E3 are DB9 interfaces, and E4 is a vehicle - mounted Ethernet 100Base - T1 interface.

[0048] The programmable power supply is a two - channel programmable power supply. The positive poles of the two output channels are the I - ends in the figure, and the negative poles of the two output channels are the J - ends in the figure, both of which are banana - plug female - head interfaces.

[0049] The K - end of the DUT is the KL30 and KL15 of the controller; the L - end of the DUT is the KL31 of the controller; the C - end of the controller represents various bus interfaces for the controller's external communication. Generally, the central gateway has 7 CAN / CANFD buses, 3 LIN buses, and 2 Ethernet buses, which are connected to the VN devices respectively through self - made wire harnesses and connectors.

[0050] Among them, KL30 represents the normal power terminal, also known as the positive battery power terminal, which is directly connected to the positive electrode of the vehicle's battery. No matter what state the vehicle is in (running, off, locked, etc.), as long as the battery has power, the KL30 terminal always remains powered; KL15 represents the power terminal controlled by the ignition switch. When the ignition switch is turned to the "ON" position (before the engine starts) or the engine is running, the KL15 terminal will obtain power to power some important systems and equipment of the vehicle; KL31 represents the grounding terminal, which is connected to the grounding parts such as the car body or chassis to provide a grounding loop for the car's electrical equipment, so that the current can form a complete circuit to ensure the normal operation of the equipment.

[0051] The A and F ends of the computer host, M1~M4 and D1~D4 are all connected through a USB splitter to realize the interaction between the computer data and the VN bus device data. The E1 end of the VN bus device-1 and the E2 end of the VN bus device-2 are connected to the CAN bus of the DUT C end; the E3 end of the VN bus device is connected to the LIN bus of the C end of the controller under test; the E4 end of the VN bus device is connected to the Ethernet bus of the C end of the DUT to realize the data exchange and transmission between the VN device and the controller bus. The G end of the computer is connected to the H end of the programmable power supply through an industrial Ethernet data cable to realize the control of the programmable power supply.

[0052] There are two power supply links between the I terminal of the programmable power supply and the K terminal of the controller under test. The I terminal has two interfaces connected to the KL30 and KL15 of the controller respectively. The J terminal of the power supply is connected to the ground L terminal of the controller.

[0053] In addition, the C-end of the DUT represents the interface of various buses, generally with 7 CAN / CANFD buses (comfort, information, intelligent driving, power, chassis, diagnosis, and pure electric), 3 LIN buses, and 2 Ethernet buses, which are used for communication between the gateway and various controllers.

[0054] VN bus device-1 and VN bus device-2, each device has 4 CAN / CANFD bus interface cards; VN bus device-3 has a 4-way LIN bus interface card; VN bus device-4 has a 4-way Ethernet bus interface card.

[0055] The test system can be centralized in the central control system of the vehicle to implement the test method of the abnormal wake-up monitoring function of the vehicle gateway in the embodiment of the present application.

[0056] Specifically, Figure 2 The present invention is a flowchart of a method for testing an abnormal wake-up monitoring function of a vehicle gateway provided in an embodiment of the present application.

[0057] like Figure 2As shown in the figure, the test method for the abnormal wake-up monitoring function of the vehicle-mounted gateway includes the following steps:

[0058] In step S201, based on the target abnormal wake-up scenario, determine the circuit voltage of the target vehicle.

[0059] It can be understood that the target abnormal wake-up scenario can be understood here as the abnormal wake-up scenario that triggers the integrity test of the abnormal wake-up monitoring function of the vehicle-mounted gateway. When the vehicle has an abnormal wake-up, the embodiments of the present application can timely detect the integrity of the abnormal wake-up monitoring function of the vehicle-mounted gateway. Herein, the integrity of the abnormal wake-up monitoring function of the vehicle-mounted gateway can be understood as that the abnormal wake-up monitoring function can comprehensively and without omission monitor various events that may cause abnormal wake-up, accurately distinguish normal and abnormal wake-up, and completely record and effectively process the abnormal wake-up situation to ensure the stable operation of the vehicle electronic system.

[0060] In some embodiments, when various abnormal wake-up scenarios occur in the vehicle, in order to ensure that the abnormal wake-up scenarios can be accurately and effectively monitored, the present application can test the integrity of the abnormal wake-up monitoring function of the vehicle-mounted gateway.

[0061] Considering that the abnormal wake-up of the vehicle occurs only in the scenario where the vehicle is in a dormant state, and different power switches may be turned on after the wake-up. In order to effectively test the integrity of the abnormal wake-up monitoring function of the vehicle-mounted gateway, the embodiments of the present application can determine the circuit voltage of the target vehicle. Herein, the target vehicle can be understood as the vehicle that installs the test system in the embodiments of the present application and tests the integrity of the abnormal wake-up monitoring function.

[0062] The embodiments of the present application can determine the circuit voltage of the target vehicle based on the target abnormal wake-up scenario, so as to simulate different voltage conditions during vehicle abnormal wake-up by controlling the circuit voltage of the vehicle, which is helpful for testing the integrity of the abnormal wake-up monitoring function.

[0063] Step S202, when the circuit voltage reaches the preset voltage, send the corresponding time signal message and network management message to the vehicle-mounted gateway of the target vehicle, and detect the sending and receiving situations of the time signal message and the sending and receiving situations of the network management message.

[0064] It can be understood that the preset voltage can be understood here as a specific voltage value that is preset and needs to be met when testing the abnormal wake-up monitoring function, so as to simulate the voltage states of different working scenarios. For example, it is necessary to control the circuit voltage at the K30 terminal of the target vehicle to 12V through a programmable power supply, etc.

[0065] The in-vehicle gateway refers to the core hub of the vehicle's internal network, connecting multiple different subnets (such as powertrain, body control, infotainment networks, etc.), and is responsible for forwarding data between these subnets to enable communication between various electronic control units (ECUs).

[0066] The time signal message can be understood here as a data packet containing time parameter information. By sending time signal messages to the vehicle network, the time synchronization between various components can be checked to ensure the coordinated operation between different components.

[0067] The network management message refers here to a data packet used for vehicle network management, and its main functions include but are not limited to coordinating the states of various ECUs in the network, such as wake-up, sleep, synchronization, etc. When the vehicle starts, some ECUs will send network management messages to notify other ECUs to prepare to enter the working state; after the vehicle stops using and all ECUs have completed the necessary work, they will coordinate to enter the sleep state through network management messages to reduce the power consumption of the vehicle.

[0068] In some embodiments, when the vehicle circuit voltage reaches a certain voltage value, the present application can send corresponding time information messages and network management messages to each in-vehicle gateway, and at the same time detect the sending and receiving situations of the time information messages, which helps to determine the integrity of the abnormal wake-up monitoring function of the in-vehicle gateway according to the sending and receiving situations of the time information messages.

[0069] For example, the present application can, but is not limited to, set the preset voltage to 14V, which is slightly higher than the normal working voltage of the vehicle (simulating the abnormal situation where the voltage increases due to a fault in the generator voltage regulator). When the circuit voltage reaches 14V, start sending time signal messages and network management messages to the in-vehicle gateway. At this time, observe the sending situation of the time signal messages to see if they are sent according to the specified frequency and format; check its receiving situation to confirm whether other relevant ECUs can correctly receive and parse the message.

[0070] At the same time, the embodiments of the present application can monitor the sending situation of the network management messages, such as whether there is a situation where the message sending frequency changes or the content is incorrect due to abnormal voltage, and its receiving situation, that is, whether other ECUs can normally receive and respond to these network management messages.

[0071] Finally, determine whether the performance of the abnormal wake-up monitoring function of the in-vehicle gateway is complete according to the sending and receiving situations of all time signal messages and network management messages, etc.

[0072] In the embodiments of the present application, when the circuit voltage reaches a certain voltage, a corresponding time signal message and a network management message can be sent to the vehicle gateway, and their sending and receiving situations can be detected to simulate an abnormal wake-up scenario, so as to test whether the vehicle gateway can accurately respond to and process relevant messages. Thus, the embodiments of the present application can quantitatively and repeatedly and effectively evaluate the integrity and reliability of the abnormal wake-up monitoring function of multiple vehicle gateways under specific voltage conditions.

[0073] Optionally, in an embodiment of the present application, before sending the corresponding time signal message and network management message to the vehicle gateway of the target vehicle, it includes: detecting the voltage of the constant power supply circuit and the voltage of the engine ignition circuit of the target vehicle; determining whether the circuit voltage reaches a preset voltage according to the voltage of the constant power supply circuit and the voltage of the engine ignition circuit.

[0074] Based on the relevant descriptions of other embodiments, it can be understood that the present application can send a time information message and a network management message to the vehicle gateway when the circuit voltage reaches a certain voltage condition, so as to determine the integrity of the abnormal wake-up monitoring function of the vehicle gateway according to the sending and receiving situations of the time information message and the network management message.

[0075] In the actual execution process, before sending the time signal message and the network management message to the vehicle gateway, the present application will detect the voltage of the constant power supply circuit and the voltage of the engine ignition circuit of the target vehicle, and thus determine whether the circuit voltage of the target vehicle reaches a certain voltage value.

[0076] For example, when the present application detects the integrity of the abnormal wake-up monitoring function of the vehicle gateway, it needs to be detected respectively in the states of vehicle wake-up and vehicle sleep. Therefore, the embodiments of the present application can detect whether the voltage of the constant power supply circuit of the vehicle reaches the voltage of the constant power supply, such as 12V, etc., and whether the voltage of the engine ignition circuit is 12V when the engine starts, or whether it is 0V when in sleep, etc.

[0077] The embodiments of the present application can combine the voltage of the constant power supply circuit and the voltage of the engine ignition circuit to determine whether the circuit voltage of the vehicle reaches a certain voltage condition, making the test more targeted and realistic, and can more comprehensively and accurately simulate the voltage conditions of the vehicle in different working states. Furthermore, it can effectively detect whether the abnormal wake-up function can work properly under various possible voltage conditions, and helps to discover potential abnormal wake-up problems caused by voltage changes, improve the stability and reliability of the vehicle electronic system, and ensure the safe operation of the vehicle under various working conditions.

[0078] Optionally, in an embodiment of the present application, when the circuit voltage reaches a preset voltage, a corresponding time signal message and network management message are sent to the in-vehicle gateway of the target vehicle, including: when the normal power supply circuit voltage and the engine ignition circuit voltage are both the first target voltage, the time signal message is sent to the in-vehicle gateway according to a target period; when the normal power supply circuit voltage is the first target voltage and the engine ignition circuit voltage is the second target voltage, the network management message is sent to the in-vehicle gateway.

[0079] As a possible implementation manner, the embodiments of the present application can send corresponding time signal messages and network management messages when the circuit voltage of the vehicle is at different voltages, so as to comprehensively test the abnormal wake-up monitoring function of the in-vehicle gateway according to the sending and receiving of the time signal messages and the sending and receiving of the network management messages under each voltage.

[0080] Among them, when the normal power supply circuit voltage and the engine ignition circuit voltage are both the first target voltage, the embodiments of the present application can send the time signal message to the in-vehicle gateway according to a target period, and when the normal power supply circuit voltage is the first target voltage and the engine ignition circuit voltage is the second target voltage, the embodiments of the present application can send the network management message to the in-vehicle gateway.

[0081] Among them, the first target voltage here refers to the normal power supply circuit voltage and the engine ignition circuit voltage when the vehicle is in a wake-up state. For example, the normal power supply circuit voltage and the engine ignition circuit voltage are both 14V, or 12V, etc. The second target voltage here can be understood as the ignition circuit voltage when the engine is in a sleep state, that is, 0V.

[0082] It should be noted that the specific first target voltage and second target voltage can also be determined according to the actual test requirements of those skilled in the art for the abnormal wake-up monitoring function of the in-vehicle gateway. For example, if you want to test the stability of the abnormal wake-up monitoring function of the in-vehicle gateway under different voltage conditions, the first target voltage can be the calibrated voltage when the target vehicle wakes up or other controllable voltages. For example, the first target voltage is set to 10V and the second target voltage is 1V through a programmable power supply. Different voltage test requirements can also be added according to actual test needs, such as adding test cases for a third target voltage of 9V and a fourth target voltage of 2V. The embodiments of the present application are only for illustrative purposes and are not specifically limited.

[0083] For example, the present application can first control the programmable power supply to output a voltage, control the circuit supply voltage of KL30 (normal power supply) to be 12V, and the circuit supply voltage of KL15 (engine ignition signal) to be 0V, so that the controller enters the sleep state.

[0084] (1) In the embodiment of the present application, the circuit supply voltage of KL15 can be controlled by a programmable power supply to be 12V, that is, to wake up the vehicle. At the same time, time information messages are sent on the information CAN subnet according to the target period. Among them, the time information message ID 0xXXX and the message sending period t = Tcycle follow the project signal list. Byte0 = 0x00, Byte1 = 0x00, Byte2 = 0x00, and the values of Byte0 to byte2 are incremented by 0x01 each time. That is, the values of byte0 to byte2 in the second frame are all 0x01, and the values in the third frame are all 0x02, and so on, ensuring that the time parameters received by the controller are constantly changing.

[0085] Among them, the target period can be understood here as the period for sending the time information message, which can be specifically determined by those skilled in the art according to the actual situation, such as 1s, 2s, 3s, etc. The embodiment of the present application only makes an exemplary description and does not make specific limitations. It should also be noted that the time parameters in the time information message in the embodiment of the present application do not have to be simulated according to the real time, which can simplify the programming difficulty, and can also ensure the real-time change of the time information and ensure that the time values recorded by the controller do not repeat.

[0086] (2) Wait for a certain time, such as 10s, and set the voltage at the KL15 terminal of the control power supply to 0V to cut off the power supply of this line and turn off the ignition, that is, to simulate the state of the car turning off, so that the ECU relying on the KL15 power supply stops working, and most of the functions of the vehicle are also turned off. At the same time, the sending situations of the NM (Network Management) messages and application messages of the gateway are detected in real time.

[0087] (3) After waiting for a certain time, such as 1s, for the NM messages of the gateway to stop being sent, stop sending the time signal message 0xXXX, and record the content of the last frame of the message. The expected result of this step is that the NM messages and application messages finally stop being sent. Recording the content of the last frame of the message can be used as the basis for subsequent analysis. By checking whether the content of the last frame of the message meets the expectations and the relevance with the content of the previously sent messages, the working state of the in-vehicle gateway during the process of stopping sending messages can be further confirmed. For example, if there are errors in the content of the last frame of the message or it is not continuous with the normal message sequence, it may imply that there is an abnormality in the in-vehicle gateway during the process of processing the message stop sending, which may be related to the failure of the abnormal wake-up monitoring function.

[0088] (4) Wait for another certain period, such as 10 s, and then send arbitrary network management (NM) messages at a cycle of 100 milliseconds on the intelligent driving CAN (Intelligent Driving Controller Area Network) in a simulation manner. In this step, the expected result is that when the test system simulates and sends the first frame of NM message, this moment is set as the time origin (denoted as time 0), and then it is required that within the next 200 milliseconds, the controller under test can be woken up and start sending NM messages. Thus, the network management function test of the controllers related to vehicle intelligent driving is realized, and it is checked whether the correct wake-up and response actions can be made within the specified time after receiving specific messages.

[0089] (5) Wait for another certain period, such as 50 ms, and continue to send the time signal message with ID 0xXXX on the Info CAN. Based on the message content sent in the last step of step (2), add 0x01 to each byte of byte0 - byte2. The cycle is Tcycle, and for each subsequent frame of message content, the values of byte0 - byte2 are increased by 0x01. Thus, by periodically sending specific changing messages, a certain wake-up condition that may occur during the vehicle operation is simulated to test whether the abnormal wake-up monitoring function of the vehicle can continuously capture and process this information.

[0090] (6) Then wait for another certain period, such as 10 s, read the abnormal wake-up monitoring service, such as sending the diagnostic request message 0x22 YY ZZ, and require the controller to return relevant diagnostic information. Among them, the value of 0xYY ZZ can be defined according to the diagnostic specification of the vehicle model project. In this step, it is expected that the controller's reply content is 0x 62YY ZZ AA BB CC DD EE FF GG HH IIJJ KK LL, where AA BB CC are the values of byte0 - byte2 of the first frame of message content simulated and sent by the Info CAN in step (4), and DD is the code of the wake-up subnet, which can be defined according to the function specification of the project gateway. Thus, it is verified whether the controller can correctly respond to the diagnostic request and return a response message containing specific information to determine whether the abnormal wake-up monitoring function of the controller is normal.

[0091] (7) Stop sending 0x XXX and NM messages and wait for the controller to sleep. In this step, it is expected that the controller finally stops sending NM messages and application messages. Thus, it is verified whether the controller can correctly stop sending messages to determine whether the abnormal wake-up monitoring function of the controller is normal.

[0092] It should be noted that the in-vehicle gateway can generally store the last three wake-up times and the corresponding wake-up sources, and perform rolling records. When reading the abnormal wake-up source and time recorded by the gateway, it is necessary to check whether the record format is correct. For example, if the current wake-up source recorded by the gateway is ③②①, when the gateway is woken up again, the stored information in the gateway record is ④③②, retaining the times and corresponding subnets of the last three wake-up sources.

[0093] In the embodiments of the present application, by controlling the circuit voltage of the target vehicle, corresponding time information messages and network management messages can be sent under different normal power supply circuit voltages and engine ignition circuit voltages, so as to comprehensively and accurately test the integrity of the abnormal wake-up monitoring function of the in-vehicle gateway under different conditions.

[0094] Step S203: Generate a test result of the abnormal wake-up monitoring function of the in-vehicle gateway based on the sending and receiving situations of the time signal message and the sending and receiving situations of the network management message.

[0095] Based on the relevant descriptions of other embodiments, it can be understood that when the present application sends corresponding time information messages and network management messages under different normal power supply circuit voltages and engine ignition circuit voltages to test the integrity of the abnormal wake-up monitoring function of the in-vehicle gateway under different conditions, there are expected results corresponding to each step during the test process.

[0096] In some other embodiments, the embodiments of the present application can generate a test result of the abnormal wake-up monitoring function of the in-vehicle gateway according to the sending and receiving situations of the time signal message and the sending and receiving situations of the network management message.

[0097] For example, the expected result of test step (3) is that the NM message and the application message finally stop being sent. That is, if after executing test step (3), both the NM message and the application message can be successfully stopped from being sent, this indicates that the in-vehicle gateway can not only respond to the stop of the NM message and stop sending specific time signal messages, but also further coordinate the stop of the relevant application messages from being sent, indicating that the abnormal wake-up monitoring function of the in-vehicle gateway can comprehensively control and manage the message sending in the network, ensuring that the communication state of the entire network meets the expectations under specific conditions, thus proving that its abnormal wake-up monitoring function works properly. Otherwise, it indicates that the abnormal wake-up monitoring function cannot work properly during the operation of test step (3).

[0098] For another example, the expected result of test step (4) is that when the test system emulates and sends the first NM message, this moment is set as the time origin (denoted as time 0), and then it is required that within the next 200 milliseconds, the controller under test can be awakened and start sending NM messages. If the controller under test can be awakened and start sending NM messages within 200 milliseconds, and the subsequent NM messages are continuously sent at a stable period of 100 milliseconds, then it can be considered that the abnormal wake-up monitoring function of the in-vehicle gateway performs normally in this test, that is, the controller under test is successfully awakened and NM messages are successfully and stably sent periodically; otherwise, if situations such as the controller not being awakened on time, not sending messages after awakening, or the message sending period being disordered occur, it indicates that there may be a fault in the abnormal wake-up monitoring function of the in-vehicle gateway, and further investigation and analysis of the reasons are required.

[0099] Moreover, in test step (5), if the messages are stably sent according to the period Tcycle, it proves that the abnormal wake-up monitoring function of the in-vehicle gateway precisely controls the sending rhythm of the messages normally, ensuring that the time signal messages are sent on time. If the sending time deviation of the messages is too large, it means that the gateway may not be able to stably control the message sending, and there is a problem with the abnormal wake-up monitoring function; if byte0-byte2 of each frame of the message strictly increases by 0x01 according to the rule, it indicates that the in-vehicle gateway can accurately parse the content of the previous frame of the message, showing that the gateway can correctly process and update the message content. If situations such as the data not increasing according to the rule, data loss, or errors occur, it indicates that there are defects in the gateway's processing of the message content, and the abnormal wake-up monitoring function may not work properly.

[0100] Similarly, in test steps (6) and (7), if after waiting for 50 ms, the in-vehicle gateway can send the time signal message with ID 0xXXX in the information CAN according to the requirement at the period Tcycle, and byte0-byte2 of each frame of the message increases by 0x01 according to the rule, it indicates that the message sending management function of the gateway is normal. Otherwise, it indicates that the message sending management function of the gateway may not be normal, and the abnormal wake-up monitoring function may not work properly; if after sending the 0x22 YY ZZ diagnostic request, the controller can reply with 0x 62YYZZ AA BB CC DD EE FF GG HH II JJ KK LL as expected, and AA BB CC and DD conform to the corresponding definitions, it shows that the gateway can correctly process the read request of the abnormal wake-up monitoring service. Otherwise, it also indicates that the message sending management function of the gateway may not be normal, and the abnormal wake-up monitoring function may not work properly.

[0101] It should be noted that the above test steps and result analysis are all exemplary explanations. If any abnormality occurs in any test step, it can be considered that there may be a functional problem with the abnormal wake-up monitoring function of the in-vehicle gateway.

[0102] The embodiments of the present application can generate the test results of the abnormal wake-up monitoring function of the vehicle-mounted gateway based on the sending and receiving situations of time signal messages and the sending and receiving situations of network management messages. By a comprehensive and all-round test process, the test results of the abnormal wake-up monitoring function of the vehicle-mounted gateway are determined, reducing the problem troubleshooting time or the wrong troubleshooting direction of the abnormal wake-up monitoring function, and ensuring that the abnormal wake-up monitoring function of the vehicle-mounted gateway can efficiently detect the abnormal wake-up source.

[0103] Optionally, in an embodiment of the present application, generating the test results of the abnormal wake-up monitoring function based on the sending and receiving situations of time signal messages and the sending and receiving situations of network management messages includes: traversing multiple abnormal wake-up sources of the target vehicle based on the depth-first traversal principle and a preset type classification; determining the test results of the abnormal wake-up monitoring function of the vehicle-mounted gateway according to the types of the multiple abnormal wake-up sources and their function test results.

[0104] It can be understood that in the actual scenario, the abnormal wake-up of the vehicle is divided into many types, and the abnormal wake-up monitoring function of the vehicle-mounted gateway may fail in the monitoring of any abnormal wake-up scenario. The preset type classification can be understood here as the result of the pre-classification of the types of abnormal wake-up.

[0105] Figure 3 is a schematic diagram of the abnormal wake-up classification for an embodiment of the present application. As Figure 3 shown, the reasons for abnormal wake-up are mainly divided into two categories, namely single abnormal wake-up and multiple abnormal wake-ups. Based on the single abnormal wake-up, it is further subdivided into network wake-up and local wake-up by distinguishing the wake-up methods. Based on the network wake-up, it is further divided into CAN bus protocol, CANFD bus protocol, LIN bus protocol, and Ethernet bus protocol according to different subnet bus protocols. On the basis of applying different protocols, it is further refined into three wake-up sources: network management message wake-up, application message wake-up, and diagnostic message wake-up. Based on the local wake-up, it is divided into two categories: KL15 wake-up and local function wake-up according to the internal and external triggers of the controller. Based on the records of multiple abnormal wake-ups, it is divided into multiple wake-ups from the same wake-up source and multiple wake-ups from different wake-up sources.

[0106] In some embodiments, the present application can, but is not limited to, traverse multiple abnormal wake-up sources of the vehicle based on the depth-first traversal principle and a certain abnormal wake-up type classification result, so as to determine the type and function test results of the abnormal wake-up monitoring function of the vehicle-mounted gateway according to the types of the multiple abnormal wake-up sources and their function test results.

[0107] For example, the present application can follow the test steps (1)-(6) in other embodiments for Figure 3Test each abnormal wake-up classification in it, that is, traverse all CAN subnet wake-up situations, and finally determine the test result of the abnormal wake-up monitoring function of the vehicle gateway according to all CAN subnet wake-up situations. That is, generate the specific abnormal wake-up monitoring function of the vehicle gateway where the abnormal situation occurs in which abnormal wake-up monitoring function, and what specific abnormality is the test result, etc.

[0108] In the embodiment of the present application, by systematically traversing multiple abnormal wake-up sources without missing any abnormal wake-up source, the performance of the abnormal wake-up monitoring function of the vehicle gateway under different abnormal wake-up situations can be comprehensively understood, ensuring the comprehensiveness and accuracy of the detection, so as to accurately determine the test result of the abnormal wake-up monitoring function of the vehicle gateway.

[0109] Optionally, in an embodiment of the present application, it further includes: generating an abnormal information report and a processing suggestion report according to the test result of the abnormal wake-up monitoring function; sending the abnormal information report and the processing suggestion report to the target vehicle.

[0110] In some embodiments, in order to facilitate users and the central controller of the vehicle to understand the situation of the vehicle and thus maintain or adjust the vehicle in time, the present application can also generate an abnormal information report and a processing suggestion report according to the test result of the abnormal wake-up monitoring function and send the abnormal information report and the processing suggestion report to the target vehicle.

[0111] For example, the present application can summarize the abnormal information existing in the vehicle abnormal wake-up monitoring function and generate an abnormal information report, including but not limited to time, frequency, involved wake-up sources, etc. For example, the report shows that within the past 24 hours, the vehicle has had 5 abnormal wake-up monitoring abnormalities, 3 of which are caused by a specific door sensor being accidentally triggered, etc. Then, the embodiment of the present application can generate a report of targeted solution suggestions based on these abnormal information reports. For example, when the abnormality still exists after repeated testing, find professional technicians to adjust the vehicle abnormal wake-up monitoring function, etc.

[0112] The embodiment of the present application can generate an abnormal information report and a processing suggestion report, which helps vehicle maintenance personnel or relevant technical personnel clearly understand the abnormal situation and reasons of the vehicle abnormal wake-up monitoring function, so as to take corresponding measures to solve the problem, helps improve the efficiency of vehicle fault troubleshooting and repair, and ensures the normal operation of the vehicle.

[0113] The test method for the abnormal wake-up monitoring function of an in-vehicle gateway according to an embodiment of the present application can send corresponding time information messages and network management messages to the in-vehicle gateway when the circuit voltage of the target vehicle is at different voltages, so as to determine the test result of the abnormal wake-up monitoring function of the in-vehicle gateway based on the sending and receiving situations of the time information messages and network management messages. Thus, by systematically traversing multiple abnormal wake-up sources, it is possible to comprehensively and thoroughly understand the performance of the abnormal wake-up monitoring function of the in-vehicle gateway under different abnormal wake-up conditions, ensure the comprehensiveness and accuracy of the detection, thereby accurately determining the test result of the abnormal wake-up monitoring function of the in-vehicle gateway, reducing the time for troubleshooting problems with the abnormal wake-up monitoring function or the wrong troubleshooting direction, and ensuring that the abnormal wake-up monitoring function of the in-vehicle gateway can efficiently detect the abnormal wake-up source. Thus, it solves the problem in the related art that the abnormal wake-up monitoring function mostly focuses on monitoring the reasons for abnormal wake-up generated by the vehicle, lacks the test for the integrity of the abnormal wake-up monitoring function itself, and it is difficult to ensure the integrity of the abnormal wake-up monitoring function and the accuracy of detecting the abnormal wake-up source, which may lead to problems such as an extended troubleshooting time for abnormal wake-up problems or a wrong troubleshooting direction.

[0114] Next, a test device for the abnormal wake-up monitoring function of an in-vehicle gateway according to an embodiment of the present application will be described with reference to the accompanying drawings.

[0115] Figure 4 It is a schematic structural diagram of a test device for the abnormal wake-up monitoring function of an in-vehicle gateway according to an embodiment of the present application.

[0116] As Figure 4 shown, the test device 10 for the abnormal wake-up monitoring function of the in-vehicle gateway includes: a first determination module 100, a test module 200, and a first generation module 300.

[0117] Among them, the first determination module 100 is used to determine the circuit voltage of the target vehicle based on the target abnormal wake-up scenario.

[0118] The test module 200 is used to send corresponding time signal messages and network management messages to the in-vehicle gateway of the target vehicle when the circuit voltage reaches the preset voltage, and detect the sending and receiving situations of the time signal messages and the sending and receiving situations of the network management messages.

[0119] The first generation module 300 is used to generate a test result for the abnormal wake-up monitoring function of the in-vehicle gateway based on the sending and receiving situations of the time signal messages and the sending and receiving situations of the network management messages.

[0120] Optionally, in an embodiment of the present application, it further includes: a detection module and a second determination module.

[0121] Among them, a detection module is configured to detect the voltage of the constant power supply circuit and the voltage of the engine ignition circuit of the target vehicle before sending a time signal message and a network management message to the in-vehicle gateway of the target vehicle.

[0122] A second determination module is configured to determine whether the circuit voltage reaches a preset voltage according to the voltage of the constant power supply circuit and the voltage of the engine ignition circuit.

[0123] Optionally, in an embodiment of the present application, the test module 200 includes: a first sending unit and a second sending unit.

[0124] Among them, the first sending unit is configured to send a time signal message to the in-vehicle gateway according to a target period when the voltages of both the constant power supply circuit and the engine ignition circuit are a first target voltage.

[0125] The second sending unit is configured to send a network management message to the in-vehicle gateway when the voltage of the constant power supply circuit is a first target voltage and the voltage of the engine ignition circuit is a second target voltage.

[0126] Optionally, in an embodiment of the present application, the first determination module 100 includes: a traversal unit and a determination unit.

[0127] Among them, the traversal unit is configured to traverse multiple abnormal wake-up sources of the vehicle based on the depth-first traversal principle and a preset type classification.

[0128] The determination unit is configured to determine the test result of the abnormal wake-up monitoring function of the in-vehicle gateway according to the types of the multiple abnormal wake-up sources and their function test results.

[0129] Optionally, in an embodiment of the present application, it further includes: a second generation module and a sending module.

[0130] Among them, the second generation module is configured to generate an abnormal information report and a processing suggestion report according to the test result of the abnormal wake-up monitoring function.

[0131] The sending module is configured to send the abnormal information report and the processing suggestion report to the target vehicle.

[0132] It should be noted that the foregoing explanation of the embodiment of the test method for the abnormal wake-up monitoring function of the in-vehicle gateway is also applicable to the test device for the abnormal wake-up monitoring function of the in-vehicle gateway in this embodiment, and will not be elaborated here.

[0133] The test device for the abnormal wake-up monitoring function of the in-vehicle gateway proposed according to the embodiments of the present application can send corresponding time information messages and network management messages to the in-vehicle gateway when the circuit voltage of the target vehicle is at different voltages, so as to determine the test result of the abnormal wake-up monitoring function of the in-vehicle gateway according to the sending and receiving conditions of the time information messages and network management messages. Thus, by systematically traversing multiple abnormal wake-up sources, the performance of the abnormal wake-up monitoring function of the in-vehicle gateway under different abnormal wake-up conditions can be comprehensively and fully understood, ensuring the comprehensiveness and accuracy of the detection, thereby accurately determining the test result of the abnormal wake-up monitoring function of the in-vehicle gateway, reducing the time for troubleshooting problems with the abnormal wake-up monitoring function or the wrong troubleshooting direction, and ensuring that the abnormal wake-up monitoring function of the in-vehicle gateway can efficiently detect the abnormal wake-up source. Thus, it solves the problem in the related art that the abnormal wake-up monitoring function mostly focuses on monitoring the reasons for abnormal wake-up generated by the vehicle, lacks the test for the integrity of the abnormal wake-up monitoring function itself, and is difficult to ensure the integrity of the abnormal wake-up monitoring function and the accuracy of detecting the abnormal wake-up source, which may lead to problems such as an extended troubleshooting time for abnormal wake-up problems or a wrong troubleshooting direction.

[0134] Figure 5 The structural schematic diagram of the vehicle provided by the embodiments of the present application. The vehicle may include:

[0135] A memory 501, a processor 502, and a computer program stored on the memory 501 and executable on the processor 502.

[0136] When the processor 502 executes the program, it implements the test method for the abnormal wake-up monitoring function of the in-vehicle gateway provided in the above embodiments.

[0137] Furthermore, the vehicle further includes:

[0138] A communication interface 503 for communication between the memory 501 and the processor 502.

[0139] The memory 501 is used to store a computer program executable on the processor 502.

[0140] The memory 501 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.

[0141] If the memory 501, the processor 502, and the communication interface 503 are implemented independently, the communication interface 503, the memory 501, and the processor 502 can be interconnected via a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 only a thick line is used to represent it in Figure 5 , but it does not mean that there is only one bus or one type of bus.

[0142] Optionally, in a specific implementation, if the memory 501, the processor 502, and the communication interface 503 are integrated on a single chip, the memory 501, the processor 502, and the communication interface 503 can communicate with each other through an internal interface.

[0143] The processor 502 may be a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0144] The embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, it implements the test method for the abnormal wake-up monitoring function of the in-vehicle gateway as described above.

[0145] The embodiments of the present application further provide a computer program product, including a computer program. The computer program can run computer instructions, and when the computer instructions are executed by a processor, it implements the test method for the abnormal wake-up monitoring function of the in-vehicle gateway provided by the embodiments of the present application.

[0146] In the description of this specification, the descriptions referring to terms such as "one embodiment", "some embodiments", "examples", "specific examples", or "some examples", etc., mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of this application. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any one or N embodiments or examples in a suitable manner. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.

[0147] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of such features. In the description of this application, the meaning of "N" is at least two, such as two, three, etc., unless otherwise specifically defined.

[0148] Any process or method description shown in a flowchart or described in other ways herein can be understood as representing a module, segment, or portion of code including one or N executable instructions for implementing a customized logical function or process, and the scope of the preferred embodiments of this application includes additional implementations, where the functions can be executed in a manner that is not in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved, which should be understood by those skilled in the art to which the embodiments of this application belong.

[0149] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a definite sequence list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or in combination with these instruction execution systems, apparatus, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in combination with an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium include the following: an electrical connection part (electronic device) having one or N wirings, a portable computer disk cartridge (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically by optically scanning the paper or other media, followed by editing, interpretation, or otherwise processing it in a suitable manner if necessary, and then storing it in a computer memory.

[0150] It should be understood that various parts of the present application can be implemented by hardware, software, firmware, or a combination thereof. In the above-described embodiments, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application-specific integrated circuits having suitable combinational logic gate circuits, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0151] Those of ordinary skill in the art of this technology can understand that all or part of the steps carried by the method of implementing the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.

[0152] In addition, each functional unit in various embodiments of the present application may be integrated into a processing module, may exist physically alone for each unit, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. When the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0153] The above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disc, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present application. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present application.

Claims

1. A method for testing the abnormal wake-up monitoring function of a vehicle gateway, characterized in that: The following steps are involved: Based on the target abnormal awakening scenario, determine the circuit voltage of the target vehicle; When the circuit voltage reaches a preset voltage, a corresponding time signal message and a network management message are sent to the vehicle gateway of the target vehicle, and the sending and receiving conditions of the time signal message and the sending and receiving conditions of the network management message are detected; Based on the sending and receiving conditions of the time signal message and the sending and receiving conditions of the network management message, a test result of the abnormal wake-up monitoring function of the vehicle gateway is generated.

2. The method according to claim 1, characterized in that Before sending the corresponding time signal message and the network management message to the onboard gateway of the target vehicle, the method further includes: Detecting a voltage of a normal power circuit and an engine ignition circuit of the target vehicle; It is determined whether the circuit voltage reaches the preset voltage according to the normal power circuit voltage and the engine ignition circuit voltage.

3. The method according to claim 2, characterized in that When the circuit voltage reaches a preset voltage, sending a corresponding time signal message and a network management message to the onboard gateway of the target vehicle includes: When the normal power circuit voltage and the engine ignition circuit voltage are both the first target voltage, sending the time signal message to the vehicle gateway according to the target period; When the normal power circuit voltage is the first target voltage and the engine ignition circuit voltage is the second target voltage, the network management message is sent to the vehicle gateway.

4. The method according to claim 1, characterized in that The generating of the test result of the abnormal wake-up monitoring function of the vehicle gateway based on the sending and receiving conditions of the time signal message and the sending and receiving conditions of the network management message includes: Based on the depth-first traversal principle and preset type classification, traverse multiple abnormal wakeup sources of the target vehicle; The test result of the abnormal wakeup monitoring function of the vehicle gateway is determined according to the types of the multiple abnormal wakeup sources and the function test results thereof.

5. The method according to claim 1, characterized in that Also includes: Generate an abnormal information report and a processing suggestion report according to the test results of the abnormal wake-up monitoring function; The abnormal information report and the processing suggestion report are sent to the target vehicle.

6. A test device for abnormal wake-up monitoring function of a vehicle gateway, characterized in that: include: A first determination module, configured to determine a circuit voltage of a target vehicle based on a target abnormal awakening scenario; A test module, used to send a corresponding time signal message and a network management message to the vehicle gateway of the target vehicle when the circuit voltage reaches a preset voltage, and detect the sending and receiving conditions of the time signal message and the sending and receiving conditions of the network management message; A generating module is used to generate a test result of the abnormal wake-up monitoring function of the vehicle gateway based on the sending and receiving conditions of the time signal message and the sending and receiving conditions of the network management message.

7. The device according to claim 6, characterized in that Also includes: A detection module, used for detecting the voltage of the constant power circuit and the engine ignition circuit of the target vehicle before sending the corresponding time signal message and the network management message to the vehicle gateway of the target vehicle; The second determination module is used to determine whether the circuit voltage reaches the preset voltage according to the normal power circuit voltage and the engine ignition circuit voltage.

8. A vehicle, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the test method for the abnormal wake-up monitoring function of the vehicle gateway according to any one of claims 1 to 5.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement a test method for an abnormal wake-up monitoring function of a vehicle gateway according to any one of claims 1 to 5.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed, it is used to implement the test method for the abnormal wake-up monitoring function of the vehicle gateway according to any one of claims 1 to 5.