CN115208785A - Power management network testing method, device, equipment and medium for vehicle-mounted equipment - Google Patents

Power management network testing method, device, equipment and medium for vehicle-mounted equipment Download PDF

Info

Publication number
CN115208785A
CN115208785A CN202210604000.7A CN202210604000A CN115208785A CN 115208785 A CN115208785 A CN 115208785A CN 202210604000 A CN202210604000 A CN 202210604000A CN 115208785 A CN115208785 A CN 115208785A
Authority
CN
China
Prior art keywords
test
vehicle
tested
mounted equipment
power management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210604000.7A
Other languages
Chinese (zh)
Inventor
甯昭渝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202210604000.7A priority Critical patent/CN115208785A/en
Publication of CN115208785A publication Critical patent/CN115208785A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/40Testing power supplies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application relates to the technical field of vehicles, in particular to a method, a device, equipment and a medium for testing a power management network of vehicle-mounted equipment, wherein the method comprises the following steps: acquiring at least one target test scene of vehicle-mounted equipment to be tested; generating at least one test message based on at least one target test scene simulation, and sending the at least one test message to the vehicle-mounted equipment to be tested so as to perform power management network test on the vehicle-mounted equipment to be tested based on the at least one test message; and acquiring an execution result of the vehicle-mounted equipment to be tested responding to the at least one test message, judging that the power management network test of the vehicle-mounted equipment to be tested is qualified when the execution result meets a preset qualified condition, and otherwise judging that the power management network test of the vehicle-mounted equipment to be tested is unqualified. Therefore, the problems of how to test the direct network management among the power consumption units of the intelligent cabin and the related functions of the network management modules of the controllers are solved.

Description

Power management network testing method, device, equipment and medium for vehicle-mounted equipment
Technical Field
The present disclosure relates to the field of vehicle technologies, and in particular, to a method, an apparatus, a device, and a medium for testing a power management network of a vehicle-mounted device.
Background
With the rapid development of the intelligent cabin of the whole vehicle, the proportion of the vehicle-mounted unit and the power consumption unit of the whole vehicle in the power management of the whole vehicle is continuously increased. The intelligent cabin becomes the first module of power consumption of the whole vehicle at present, and the occupation ratio is further and dramatically improved along with the gradual popularization of high-energy-consumption units such as automatic driving, whole vehicle video entertainment and the like on the whole vehicle in the near future.
In order to ensure the stability of a power consumption system of an intelligent cabin, on the basis of the existing finished automobile power management test, a special power management test needs to be carried out on each power consumption module related to the intelligent cabin, in the coordination work of the finished automobile power management modules, direct network management is used as a network management protocol of finished automobile bus communication, and a direct network management function module of each controller is responsible for coordination work of actions such as dormancy awakening and the like among all electric control unit controllers. Therefore, it is necessary to fully test the network communication function of the power management direct network management module of the unit under test.
Disclosure of Invention
The application provides a method and a device for testing a power management network of vehicle-mounted equipment, test equipment and a storage medium, and aims to solve the problems of how to test the direct network management among power consumption units of an intelligent cabin and the related functions of network management modules of controllers and the like.
An embodiment of a first aspect of the present application provides a method for testing a power management network of a vehicle-mounted device, including the following steps: acquiring at least one target test scene of vehicle-mounted equipment to be tested; generating at least one test message based on the at least one target test scene in a simulation mode, and sending the at least one test message to the vehicle-mounted equipment to be tested so as to carry out power management network test on the vehicle-mounted equipment to be tested based on the at least one test message; and acquiring an execution result of the to-be-tested vehicle-mounted equipment responding to the at least one test message, judging that the power management network test of the to-be-tested vehicle-mounted equipment is qualified when the execution result meets a preset qualified condition, and otherwise judging that the power management network test of the to-be-tested vehicle-mounted equipment is unqualified.
According to the technical means, the power management network automatic test of the vehicle-mounted equipment can be realized according to the simulation test message of the target test scene, a whole set of direct network management simulation automatic test verification scheme in power management is designed aiming at the relevant logic of the coordination of each power consumption module of the intelligent cabin to the power management, the direct network management among each power consumption unit of the intelligent cabin and the test of the relevant function of the network management module of each controller are realized, and therefore the sufficient test requirement of the network communication function of the power management direct network management module can be met.
Further, the generating at least one test packet based on the simulation of the at least one target test scenario, and sending the at least one test packet to the vehicle-mounted device to be tested includes: and when the at least one target test scene comprises a plurality of test scenes, circularly sending a test message generated based on simulation of each test scene to the vehicle-mounted equipment to be tested.
According to the technical means, the embodiment of the application can realize simulation automatic test through circulating transmission, and can meet the sufficient test requirement of the network communication function of the power management direct network management module while improving the test efficiency.
Further, before acquiring at least one target test scenario of the vehicle-mounted device to be tested, the method further includes: detecting whether the current test resource meets a target test condition; and if the current test resource meets the target test condition, acquiring the at least one target test scene, otherwise, ending the test.
According to the technical means, the test environment can be checked before testing, the test environment meets the test requirements when the test is confirmed, and the accuracy and reliability of the test are improved.
Further, after the power management network test of the vehicle-mounted device to be tested is judged to be qualified or unqualified, the method further comprises the following steps: and generating a test report of the vehicle-mounted equipment to be tested according to the execution result, and sending the test report to a preset terminal.
According to the technical means, the test report is generated after the test is completed and provided for relevant personnel, so that the relevant personnel can analyze the power management network of the vehicle-mounted equipment conveniently, and the use experience of the relevant personnel is improved.
Further, the at least one target test scenario includes at least one of at least one sleep scenario, at least one sleep interrupt scenario, at least one sleep wakeup scenario, at least one group ring scenario, at least one fault recovery scenario, and a vehicle network wakeup scenario.
According to the technical means, a plurality of test scenes can be set in the embodiment of the application so as to meet the requirement of sufficient test of the network communication function of the power management direct network management module.
An embodiment of a second aspect of the present application provides a power management network testing apparatus for a vehicle-mounted device, including: the acquisition module is used for acquiring at least one target test scene of the vehicle-mounted equipment to be tested; the simulation module is used for generating at least one test message based on the at least one target test scene simulation, sending the at least one test message to the vehicle-mounted equipment to be tested, and carrying out power management network test on the vehicle-mounted equipment to be tested based on the at least one test message; and the judging module is used for acquiring the execution result of the to-be-tested vehicle-mounted equipment responding to the at least one test message, judging that the power management network test of the to-be-tested vehicle-mounted equipment is qualified when the execution result meets a preset qualified condition, and otherwise judging that the power management network test of the to-be-tested vehicle-mounted equipment is unqualified.
Further, the simulation module is configured to: and when the at least one target test scene comprises a plurality of test scenes, circularly sending a test message generated based on simulation of each test scene to the vehicle-mounted equipment to be tested.
Further, still include: the system comprises a detection module, a processing module and a processing module, wherein the detection module is used for detecting whether current test resources meet target test conditions before at least one target test scene of vehicle-mounted equipment to be tested is acquired; and if the current test resource meets the target test condition, acquiring the at least one target test scene, otherwise, ending the test.
Further, still include: and the generating module is used for generating a test report of the vehicle-mounted equipment to be tested according to the execution result after judging that the power management network test of the vehicle-mounted equipment to be tested is qualified or unqualified, and sending the test report to a preset terminal.
Further, the at least one target test scenario includes at least one of at least one sleep scenario, at least one sleep interrupt scenario, at least one sleep wakeup scenario, at least one group ring scenario, at least one fault recovery scenario, and a vehicle network wakeup scenario.
An embodiment of a third aspect of the present application provides a test apparatus, including: the power management network testing method of the vehicle-mounted device comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the program to realize the power management network testing method of the vehicle-mounted device according to the embodiment.
A fourth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the power management network testing method of the vehicle-mounted device according to the foregoing embodiment.
Therefore, the application has at least the following beneficial effects:
according to the embodiment of the application, the power management network automatic test of the vehicle-mounted equipment can be realized according to the simulation test message of the target test scene, a direct network management simulation automatic test verification scheme in the whole set of power management is designed aiming at the relevant logic of the coordination of each power consumption module of the intelligent cabin to realize the direct network management among each power consumption unit of the intelligent cabin and the test of the relevant function of the network management module of each controller, and therefore the sufficient test requirement of the network communication function of the power management direct network management module can be met. Therefore, the problems of how to test the direct network management among the power consumption units of the intelligent cabin and the related functions of the network management modules of the controllers are solved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a power management network testing method for vehicle-mounted equipment according to an embodiment of the present application;
FIG. 2 is a logic diagram of a network management test algorithm provided in accordance with an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a network management test coverage flow according to an embodiment of the present application;
fig. 4 is a logic diagram of a sleep/wake state switch for direct network management according to an embodiment of the present application;
FIG. 5 is a design diagram of an environment of a power management simulation automated test system according to an embodiment of the present application;
FIG. 6 is a schematic flowchart of a method for testing a power management network of a vehicle-mounted device according to an embodiment of the present application;
FIG. 7 is a block diagram of a power management network testing device of an on-board device according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a test apparatus according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
A power management network test method, a device, a test apparatus, and a storage medium for a vehicle-mounted device according to an embodiment of the present application are described below with reference to the drawings. In the method, the automatic test of the power management network of the vehicle-mounted equipment can be realized according to a simulation test message of a target test scene, a direct network management simulation automatic test verification scheme in the whole set of power management is designed according to the related logic of the coordination of the power management of each power consumption module of the intelligent cabin, the direct network management among the power consumption units of the intelligent cabin and the related function test of the network management module of each controller are realized, and therefore the full test requirement of the network communication function of the power management direct network management module can be met.
Specifically, fig. 1 is a schematic flowchart of a method for testing a power management network of a vehicle-mounted device according to an embodiment of the present application. In the following embodiments, the power management automation simulation test environment configuration is shown in table 1, and the network management test algorithm logic is shown in fig. 2: each logic node has a logic address, and each node has a successor node, so that a logic ring is established to be accessed through simulation equipment, and the working state of each node when real vehicle equipment is accessed is simulated; the successor node is defined as: according to the node address size arrangement of the NM address segment, the small address node → the large address node sequentially transmits network management messages; maximum address node → minimum address node; when direct network management is designed, the nodes can automatically identify all nodes in the same base address, and can only automatically add new nodes of the same base address into the logic ring.
TABLE 1
Serial number Name of the device Description of the apparatus Remarks for note
1 Automatic test scheduling server For automated test task deployment and scenario allocation /
2 Automatic test execution machine Automated test task execution and result pushing /
3 Kvaser/USB-CAN/CAN-OE CAN simulation signal generator collecting device /
4 Controller unit under test Real vehicle controller unit to be tested /
5 Power management bus simulation test suite / Software
As shown in fig. 1, the power management network testing method of the vehicle-mounted device includes the following steps:
in step S101, at least one target test scenario of the vehicle-mounted device to be tested is obtained.
The at least one target test scene comprises at least one sleep scene, at least one sleep interrupt scene, at least one sleep awakening scene, at least one group ring scene, at least one fault recovery scene and at least one vehicle network awakening scene.
It can be understood that, as shown in fig. 3, the network state flow when each controller unit of the entire vehicle normally works may be roughly divided into a conventional work flow and a sleep flow, where the conventional work flow relates to message reception, message transmission, message successful transmission judgment, message timeout processing, and node sleep judgment of direct network management; the sleep process relates to functions of pre-sleep, sleep waiting, sleep and the like. Therefore, various test scenarios are designed in the embodiment of the application. Specific examples of the target test scenario may be as shown in table 2.
TABLE 2
Figure BDA0003670094140000051
In this embodiment of the present application, before obtaining at least one target test scenario of the vehicle-mounted device to be tested, the method further includes: detecting whether the current test resource meets a target test condition; and if the current test resource meets the target test condition, acquiring at least one target test scene, and otherwise, ending the test.
The target test condition may be specifically set according to the test requirement, which is not specifically limited.
It can be understood that the test environment can be checked before testing, the test environment meets the test requirement when the test is determined, and the accuracy and reliability of the test are improved.
In step S102, at least one test packet is generated based on at least one target test scenario simulation, and the at least one test packet is sent to the vehicle-mounted device to be tested, so as to perform a power management network test on the vehicle-mounted device to be tested based on the at least one test packet.
As a possible implementation manner, generating at least one test packet based on at least one target test scenario simulation, and sending the at least one test packet to a to-be-tested vehicle-mounted device includes: and when the at least one target test scene comprises a plurality of test scenes, circularly sending the test message generated based on the simulation of each test scene to the vehicle-mounted equipment to be tested.
It can be understood that the embodiment of the application can realize the simulation automatic test through the circulating transmission, and can meet the sufficient test requirement of the network communication function of the power management direct network management module while improving the test efficiency.
During testing, the logic for switching the sleep/wake state of the direct network management function in the power management of the controllers is shown in fig. 4, and the direct network management operating states of the controllers include: (1) network sleep: in the direct network management of the bus of the whole vehicle, after all controllers meet the sleep condition, all the controllers of the system respectively enter the sleep state, and the bus is in a silent state at the moment; (2) network awakening: the bus of the whole vehicle is directly managed by the network to normally work, and all controllers can broadcast self states (the states comprise limp, pre-sleep, sleep waiting, normal work, ring grouping, resetting, ring grouping initiation and the like) to the bus according to protocol circulation.
In step S103, an execution result of the to-be-tested vehicle-mounted device responding to the at least one test message is collected, and when the execution result meets a preset qualified condition, it is determined that the power management network test of the to-be-tested vehicle-mounted device is qualified, otherwise, it is determined that the power management network test of the to-be-tested vehicle-mounted device is not qualified.
The preset qualified condition may be specifically set or calibrated according to actual test requirements, which is not specifically limited.
It can be understood that, according to the embodiment of the application, whether the vehicle-mounted device to be tested is qualified or not can be determined according to the execution result of the test, so that the direct network management among the power consumption units of the intelligent cabin and the test of the related functions of the network management module of each controller are realized in a simulation automatic test mode, and the sufficient test requirement of the network communication function of the power management direct network management module is met.
In this embodiment of the present application, after determining that the power management network test of the vehicle-mounted device to be tested is qualified or unqualified, the method further includes: and generating a test report of the vehicle-mounted equipment to be tested according to the execution result, and sending the test report to a preset terminal.
The preset terminal may include a mobile terminal, a test platform, and the like, which is not particularly limited.
It can be understood that, in the embodiment of the application, the test report is generated after the test is completed and provided to the relevant personnel, so that the relevant personnel can analyze the power management network of the vehicle-mounted equipment, and the use experience of the relevant personnel is improved.
The following explains a power management network testing method for a vehicle-mounted device by taking the device deployment scenario shown in fig. 5 as an example, and as shown in fig. 6, the method includes the following steps:
(1) After logging in the test cloud platform, an engineer enters the power management direct network management function module, selects a test scene needing to be executed aiming at the tested controller, and initiates a test in the test cloud platform by one key.
(2) The testing cloud platform searches corresponding testing resources according to the existing resource algorithm rule of the platform, when the resource condition or the testing environment does not meet the selected testing scene, the task is ended, and related responsible persons are informed to troubleshoot the problems of the testing environment in a mail mode; and after the test hardware environment is fully scanned, the cloud test platform remotely issues a test execution instruction for the selected test execution node.
(3) And after receiving the remote execution instruction, the test node execution machine starts to circularly send the simulation signal according to the scene attached in the remote instruction, and judges and summarizes the test result through the feedback signal of the unit to be tested received by the execution machine. The test of the system power management network management function mainly depends on bus simulation equipment, simulates messages which need to be sent by the network management functions of each controller in a real vehicle scene are circularly sent to the measured controller, collects the response conditions of the measured controller aiming at various different messages and judges expected results.
(4) After all scenes are executed, uniformly packaging and uploading the execution machine to a test cloud platform according to the collected test results, and analyzing by the test cloud platform;
(5) And after the analysis is completed, generating a test report of the test task in the test cloud platform, and directionally pushing the test report to the related responsible person through an email or a message.
According to the power management network testing method of the vehicle-mounted equipment, the power management network automatic testing of the vehicle-mounted equipment can be realized according to the simulation testing message of the target testing scene, a whole set of direct network management simulation automatic testing verification scheme in the power management is designed aiming at the relevant logic of the coordination of each power consumption module of the intelligent cabin with the power management, the direct network management among each power consumption unit of the intelligent cabin and the testing of the relevant functions of the network management module of each controller are realized, and therefore the full testing requirement of the network communication function of the power management direct network management module can be met. Therefore, the problems of how to test the direct network management among the power consumption units of the intelligent cabin and the related functions of the network management modules of the controllers are solved. .
Next, a power management network test apparatus of an in-vehicle device according to an embodiment of the present application is described with reference to the drawings.
Fig. 7 is a block schematic diagram of a power management network testing device of an in-vehicle device according to an embodiment of the present application.
As shown in fig. 7, the power management network test apparatus 10 of the in-vehicle device includes: an acquisition module 100, a simulation module 200 and a decision module 300.
The obtaining module 100 is configured to obtain at least one target test scenario of a vehicle-mounted device to be tested; the simulation module 200 is configured to generate at least one test packet based on at least one target test scenario, and send the at least one test packet to the vehicle-mounted device to be tested, so as to perform a power management network test on the vehicle-mounted device to be tested based on the at least one test packet; the determining module 300 is configured to acquire an execution result of the to-be-tested vehicle-mounted device responding to the at least one test message, and determine that the power management network test of the to-be-tested vehicle-mounted device is qualified when the execution result meets a preset qualified condition, or determine that the power management network test of the to-be-tested vehicle-mounted device is not qualified.
In the embodiment of the present application, the simulation module 200 is configured to: and when the at least one target test scene comprises a plurality of test scenes, circularly sending the test message generated based on the simulation of each test scene to the vehicle-mounted equipment to be tested.
Further, the apparatus 10 of the embodiment of the present application further includes: and a detection module. The system comprises a detection module, a processing module and a processing module, wherein the detection module is used for detecting whether current test resources meet target test conditions or not before at least one target test scene of vehicle-mounted equipment to be tested is obtained; and if the current test resource meets the target test condition, acquiring at least one target test scene, and otherwise, ending the test.
Further, the apparatus 10 of the embodiment of the present application further includes: and generating a module. The generating module is used for generating a test report of the vehicle-mounted device to be tested according to an execution result after judging whether the power management network test of the vehicle-mounted device to be tested is qualified or unqualified, and sending the test report to a preset terminal.
Further, the at least one target test scenario includes at least one of at least one sleep scenario, at least one sleep interrupt scenario, at least one sleep wakeup scenario, at least one group ring scenario, at least one fault recovery scenario, and a vehicle network wakeup scenario.
It should be noted that the foregoing explanation on the embodiment of the power management network testing method for the vehicle-mounted device is also applicable to the power management network testing apparatus for the vehicle-mounted device in this embodiment, and details are not repeated here.
According to the power management network testing device of the vehicle-mounted equipment, the power management network automatic test of the vehicle-mounted equipment can be realized according to the simulation test message of the target test scene, a whole set of direct network management simulation automatic test verification scheme in the power management is designed aiming at the relevant logic of the coordination of each power consumption module of the intelligent cabin and the power management, the direct network management among each power consumption unit of the intelligent cabin and the test of the relevant function of the network management module of each controller are realized, and therefore the full test requirement of the network communication function of the power management direct network management module can be met. Therefore, the problems of how to test the direct network management among the power consumption units of the intelligent cabin and the related functions of the network management modules of the controllers are solved. .
Fig. 8 is a schematic structural diagram of a test apparatus provided in an embodiment of the present application. The vehicle may include:
a memory 801, a processor 802, and a computer program stored on the memory 801 and executable on the processor 802.
The processor 802 implements the power management network testing method of the in-vehicle device provided in the above-described embodiment when executing the program.
Further, the test apparatus further comprises:
a communication interface 803 for communicating between the memory 801 and the processor 802.
A memory 801 for storing computer programs operable on the processor 802.
The Memory 801 may include a high-speed RAM (Random Access Memory) Memory, and may also include a non-volatile Memory, such as at least one disk Memory.
If the memory 801, the processor 802, and the communication interface 803 are implemented independently, the communication interface 803, the memory 801, and the processor 802 may be connected to each other via a bus and perform communication with each other. The bus may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8, but this is not intended to represent only one bus or type of bus.
Optionally, in a specific implementation, if the memory 801, the processor 802, and the communication interface 803 are integrated on one chip, the memory 801, the processor 802, and the communication interface 803 may complete mutual communication through an internal interface.
The processor 802 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present Application.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the program, when executed by a processor, implements the above power management network testing method for a vehicle-mounted device.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Moreover, various embodiments or examples and features of various embodiments or examples described in this specification can be combined and combined by one skilled in the art without being mutually inconsistent.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "N" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more N executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of implementing the embodiments of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods may be implemented in 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 combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a programmable gate array, a field programmable gate array, or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
While embodiments of the present application have been shown and described above, it will be understood that the above embodiments are exemplary and should not be construed as limiting the present application and that changes, modifications, substitutions and alterations in the above embodiments may be made by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. A power management network test method of vehicle-mounted equipment is characterized by comprising the following steps:
acquiring at least one target test scene of vehicle-mounted equipment to be tested;
generating at least one test message based on the at least one target test scene in a simulation mode, and sending the at least one test message to the vehicle-mounted equipment to be tested so as to carry out power management network test on the vehicle-mounted equipment to be tested based on the at least one test message;
and acquiring an execution result of the to-be-tested vehicle-mounted equipment responding to the at least one test message, judging that the power management network test of the to-be-tested vehicle-mounted equipment is qualified when the execution result meets a preset qualified condition, and otherwise judging that the power management network test of the to-be-tested vehicle-mounted equipment is unqualified.
2. The method according to claim 1, wherein the generating at least one test packet based on the at least one target test scenario simulation, and sending the at least one test packet to the vehicle-mounted device to be tested, comprises:
and when the at least one target test scene comprises a plurality of test scenes, circularly sending a test message generated based on simulation of each test scene to the vehicle-mounted equipment to be tested.
3. The method of claim 1, before obtaining at least one target test scenario of the vehicle-mounted device to be tested, further comprising:
detecting whether the current test resource meets a target test condition;
and if the current test resource meets the target test condition, acquiring the at least one target test scene, otherwise, ending the test.
4. The method of claim 1, after determining whether the power management network test of the vehicle-mounted device to be tested is qualified or unqualified, further comprising:
and generating a test report of the vehicle-mounted equipment to be tested according to the execution result, and sending the test report to a preset terminal.
5. The method of any of claims 1-4, wherein the at least one target test scenario comprises at least one of at least one sleep scenario, at least one sleep interrupt scenario, at least one sleep wake scenario, at least one group ring scenario, at least one fault recovery scenario, and a full vehicle network wake scenario.
6. A power management network testing device of vehicle-mounted equipment is characterized by comprising:
the acquisition module is used for acquiring at least one target test scene of the vehicle-mounted equipment to be tested;
the simulation module is used for generating at least one test message based on the at least one target test scene simulation, sending the at least one test message to the vehicle-mounted equipment to be tested, and carrying out power management network test on the vehicle-mounted equipment to be tested based on the at least one test message;
and the judging module is used for acquiring the execution result of the to-be-tested vehicle-mounted equipment responding to the at least one test message, judging that the power management network test of the to-be-tested vehicle-mounted equipment is qualified when the execution result meets a preset qualified condition, and otherwise judging that the power management network test of the to-be-tested vehicle-mounted equipment is unqualified.
7. The apparatus of claim 6, wherein the simulation module is configured to:
and when the at least one target test scene comprises a plurality of test scenes, circularly sending a test message generated based on simulation of each test scene to the vehicle-mounted equipment to be tested.
8. The apparatus of claim 6, further comprising:
the system comprises a detection module, a processing module and a processing module, wherein the detection module is used for detecting whether current test resources meet target test conditions before at least one target test scene of vehicle-mounted equipment to be tested is acquired; and if the current test resource meets the target test condition, acquiring the at least one target test scene, otherwise, ending the test.
9. A test apparatus, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the program to realize the power management network testing apparatus of the in-vehicle device according to any one of claims 1 to 5.
10. A computer-readable storage medium on which a computer program is stored, characterized in that the program is executed by a processor for implementing the power management network testing apparatus of the in-vehicle device according to any one of claims 1 to 5.
CN202210604000.7A 2022-05-30 2022-05-30 Power management network testing method, device, equipment and medium for vehicle-mounted equipment Pending CN115208785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210604000.7A CN115208785A (en) 2022-05-30 2022-05-30 Power management network testing method, device, equipment and medium for vehicle-mounted equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210604000.7A CN115208785A (en) 2022-05-30 2022-05-30 Power management network testing method, device, equipment and medium for vehicle-mounted equipment

Publications (1)

Publication Number Publication Date
CN115208785A true CN115208785A (en) 2022-10-18

Family

ID=83576207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210604000.7A Pending CN115208785A (en) 2022-05-30 2022-05-30 Power management network testing method, device, equipment and medium for vehicle-mounted equipment

Country Status (1)

Country Link
CN (1) CN115208785A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603314A (en) * 2017-01-25 2017-04-26 安徽江淮汽车集团股份有限公司 Test system and test method for OSEK-based direct network management
CN110995547A (en) * 2019-12-24 2020-04-10 国汽(北京)智能网联汽车研究院有限公司 Vehicle-mounted high-speed network testing system and method
CN111474865A (en) * 2020-03-31 2020-07-31 北京经纬恒润科技有限公司 Dormancy awakening test system for intelligent vehicle-mounted terminal controller
CN112109646A (en) * 2020-09-14 2020-12-22 广州汽车集团股份有限公司 System and method for realizing low-power-consumption vehicle-mounted communication management
CN112491671A (en) * 2019-09-11 2021-03-12 广州汽车集团股份有限公司 Method and system for monitoring whole vehicle feed problem and vehicle CAN network gateway
CN112947371A (en) * 2021-02-05 2021-06-11 北京经纬恒润科技股份有限公司 Simulation test method and device for test message and simulation test equipment
CN113049866A (en) * 2019-12-27 2021-06-29 北京新能源汽车股份有限公司 Static current test system and static current test method of electric automobile

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603314A (en) * 2017-01-25 2017-04-26 安徽江淮汽车集团股份有限公司 Test system and test method for OSEK-based direct network management
CN112491671A (en) * 2019-09-11 2021-03-12 广州汽车集团股份有限公司 Method and system for monitoring whole vehicle feed problem and vehicle CAN network gateway
CN110995547A (en) * 2019-12-24 2020-04-10 国汽(北京)智能网联汽车研究院有限公司 Vehicle-mounted high-speed network testing system and method
CN113049866A (en) * 2019-12-27 2021-06-29 北京新能源汽车股份有限公司 Static current test system and static current test method of electric automobile
CN111474865A (en) * 2020-03-31 2020-07-31 北京经纬恒润科技有限公司 Dormancy awakening test system for intelligent vehicle-mounted terminal controller
CN112109646A (en) * 2020-09-14 2020-12-22 广州汽车集团股份有限公司 System and method for realizing low-power-consumption vehicle-mounted communication management
CN112947371A (en) * 2021-02-05 2021-06-11 北京经纬恒润科技股份有限公司 Simulation test method and device for test message and simulation test equipment

Similar Documents

Publication Publication Date Title
CN109030994B (en) Test method and system
CN111083017A (en) Air conditioner distribution network testing method, air conditioner distribution network testing terminal and readable storage medium
CN110908888A (en) Server testing method and device
CN111459616B (en) Test method, device, equipment and storage medium
CN108964807B (en) System and method for testing WiFi signal strength of vehicle navigation
CN112327804A (en) Fault diagnosis method, device and system of traction control unit and train
CN115208785A (en) Power management network testing method, device, equipment and medium for vehicle-mounted equipment
CN106383511A (en) Vehicle control unit simulation test method, device and system
CN103885441B (en) A kind of adaptive failure diagnostic method of controller local area network
CN114124727B (en) Network management communication pressure testing method and system
CN115454015A (en) Controller node detection method, controller node detection device, control system, vehicle and storage medium
CN110971478A (en) Pressure measurement method and device for cloud platform service performance and computing equipment
CN114125864B (en) Neighbor cell detection method and device based on MDT
CN114546829A (en) Method and device for testing scheme system, storage medium and electronic equipment
CN116415385A (en) Fan joint debugging simulation method and device, server and computer storage medium
US11386725B2 (en) Vehicle diagnostic apparatus
CN111123727A (en) Unmanned vehicle simulation building method, device, equipment and computer readable medium
CN116088486B (en) Diagnostic method and device for vehicle electric control system and vehicle diagnostic equipment
CN114168432B (en) Application program power consumption detection method and device, electronic equipment and storage medium
CN113452537B (en) Fault positioning method and device based on model
CN115484184B (en) Fault diagnosis method, fault diagnosis system, vehicle, and readable storage medium
CN112910572B (en) Base station test method, device and readable storage medium
CN115542875A (en) Vehicle detection method based on SOA service and related equipment
CN117687393A (en) Vehicle testing method, device, system, vehicle and readable storage medium
CN114124767A (en) Automatic testing method and device for gateway network management strategy

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20221018