Autosar-based start-stop function test method and device

By testing the combination of start-stop functions under different network management states of the vehicle, the problem of insufficient testing of network management status changes of multiple controllers in the prior art is solved, and a comprehensive test of Autosar network management is realized.

CN119697067APending Publication Date: 2025-03-25IAT AUTOMOBILE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411813457.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

When testing the startup and stop function based on Autosar network management, the prior art lacks a comprehensive test of the changes in network management status of different startup and stop function combinations and multiple controllers' joint condition.

Method used

An Autosar-based startup and stop function testing method is provided. By starting the second wake-up source in different network management states when the vehicle's first wake-up source is in the start/stop working condition, obtaining relevant network management status parameters, and stopping the second wake-up source in different states, to obtain the test results under the combined working condition.

Benefits of technology

This method can test the normality of the network management state under different startup and stop function combination conditions, and evaluate whether the startup and stop function combination conditions of multiple controllers work normally under different network management conditions, solving the problem of insufficient testing for only a single controller in the prior art.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119697067A_ABST
    Figure CN119697067A_ABST
Patent Text Reader

Abstract

The invention provides an Autosar-based start-stop function test method and device, and the method comprises the steps: starting a second wake-up source in different network management states when a first wake-up source of a vehicle is in a start / stop working condition; obtaining a network management state parameter of the vehicle after the second wake-up source is started as a first reference network management state parameter; stopping the second wake-up source in different network management states, and obtaining a second reference network management state parameter; and based on the first reference network management state parameter and the second reference network management state parameter, obtaining a test result under the combined working condition of the first wake-up source and the second wake-up source. According to the invention, whether different network management states under the combined working condition are normal can be tested.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle system testing, and in particular to a start-stop function testing method and device based on Autosar. Background Art

[0002] Existing research on test solutions for the start / stop functions based on Autosar network management is limited. Some existing technologies only test network management status changes for a single start / stop function, but fail to address network management status changes when different start / stop functions are activated. Alternatively, research only tests network management status changes for a single controller, lacking testing for network management status changes during the coordinated debugging of multiple controllers. Summary of the Invention

[0003] The present application provides a start-stop function testing method and device based on AUTOSAR to solve the above technical problems.

[0004] According to a first aspect of the present application, a start-stop function test method based on Autosar is provided, the method comprising:

[0005] When the first wake-up source of the vehicle is in the start / stop state, the second wake-up source is activated in different network management states;

[0006] Acquire a network management state parameter of the vehicle after the second wake-up source is activated as a first reference network management state parameter;

[0007] stopping the second wake-up source in different network management states and obtaining a second reference network management state parameter;

[0008] Based on the first reference network management state parameter and the second reference network management state parameter, a test result under a combined working condition of the first wake-up source and the second wake-up source is obtained.

[0009] In some embodiments, the first wake-up source includes any one of the following:

[0010] READY vehicle start, AC charging, DC charging;

[0011] The second wake-up source includes any one of the following:

[0012] READY vehicle start, AC charging, DC charging;

[0013] The first wakeup source and the second wakeup source are different wakeup sources.

[0014] In some implementations, the different network management states include at least one of the following:

[0015] BS bus sleep state, RM repeated message state, NO normal operation state, RS ready sleep state and PBS pre-sleep state.

[0016] In some embodiments, the different network management states include at least one of the following network management states of a controller:

[0017] Vehicle controller, battery management controller, on-board charger controller and motor controller.

[0018] In some implementations, the enabling of the second wake-up source in a different network management state includes:

[0019] The start timing of the first controller to enter a network management state is used as the timing for starting the second wake-up source in the current network management state.

[0020] In some implementations, the first reference network management state parameter includes:

[0021] The timing for each controller to start sending messages and the status of the messages sent, the operating current, and the wake-up timing of each controller;

[0022] The second reference network management status parameter includes:

[0023] The timing when each controller stops sending messages, the working current, and the timing when each controller goes to sleep.

[0024] According to a second aspect of the present application, there is provided a start-stop function test device based on Autosar, comprising:

[0025] A wake-up start module is used to start the second wake-up source in different network management states when the first wake-up source of the vehicle is in the start / stop condition;

[0026] a first acquiring module, configured to acquire a network management state parameter of the vehicle after the second wake-up source is activated as a first reference network management state parameter;

[0027] a second acquisition module, configured to stop the second wake-up source in different network management states and obtain a second reference network management state parameter; and

[0028] The third acquisition module is configured to obtain a test result under a combined working condition of the first wake-up source and the second wake-up source based on the first reference network management state parameter and the second reference network management state parameter.

[0029] According to a third aspect of the present application, a vehicle is provided, comprising a regional controller and a central processing unit of the start-stop function test device based on Autosar described in any embodiment of the present application.

[0030] According to a fourth aspect of the present application, an electronic device is provided, comprising: a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the above-mentioned AUTOSAR-based start-stop function test method.

[0031] According to a fifth aspect of the present application, a computer-readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the above-mentioned start-stop function test method based on Autosar are implemented.

[0032] In summary, the start-stop function test method, device, vehicle, and electronic device provided in this application based on AUTOSAR have at least the following beneficial effects:

[0033] This application, when a vehicle's first wake-up source is in a start / stop condition, activates a second wake-up source in different network management states. The vehicle's network management state parameters after activating the second wake-up source are obtained and used as first reference network management state parameters. Subsequently, the second wake-up source is deactivated in different network management states to obtain second reference network management state parameters. Finally, based on the first and second reference network management state parameters, test results for the combined operation of the first and second wake-up sources are obtained. This application, when the vehicle's first wake-up source is in a start / stop condition, obtains first reference network management state parameters by activating the second wake-up source in different network management states, and second reference network management state parameters by deactivating the second wake-up source in different network management states. This allows testing whether different network management states are normal under different start / stop function combinations, and also allows testing whether multiple controllers operate normally under different start / stop function combinations. This solves the technical problem that the prior art only discloses research on testing changes in the network management state of a single controller, or only tests a single start / stop function. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the specific implementation methods or the description of the prior art. Obviously, the drawings described below are some implementation methods of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without any creative work.

[0035] Figure 1A flowchart of a start-stop function test method based on Autosar is provided in an embodiment of the present application;

[0036] Figure 2 A timing diagram of the network status of each controller under the 1stREADY working condition provided in an embodiment of the present application;

[0037] Figure 3 A state diagram of AC injection and cancellation at the start of RM under the 1stREADY condition provided in an embodiment of the present application;

[0038] Figure 4 A state diagram of AC injection and AC cancellation in NO state under the 1stREADY condition provided in an embodiment of the present application;

[0039] Figure 5 A state diagram of AC injection and cancellation at the start of RS under the 1stREADY condition provided in an embodiment of the present application;

[0040] Figure 6 A state diagram of AC injection and AC cancellation at the start of PBS under the 1stREADY condition provided in an embodiment of the present application;

[0041] Figure 7 A①CAN message sending and receiving test result diagram provided for the embodiment of this application;

[0042] Figure 8 A① sleep stop test result diagram provided in an embodiment of the present application;

[0043] Figure 9 A4CAN signal transmission and reception test result diagram provided for the embodiment of the present application;

[0044] Figure 10 A④ sleep stop test result diagram provided in the embodiment of the present application;

[0045] Figure 11 A structural diagram of a start-stop function test device based on Autosar provided in an embodiment of the present application;

[0046] Figure 12 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to make the above and other features and advantages of the present application more clear, the present application is further described below with reference to the accompanying drawings. It should be understood that the specific embodiments given herein are for the purpose of explaining to those skilled in the art and are only exemplary and not restrictive.

[0048] In the following description, many specific details are set forth to provide a thorough understanding of the present application. However, it will be apparent to those skilled in the art that it is not necessary to adopt the specific details to practice the present application. In other cases, well-known steps or operations are not described in detail to avoid obscuring the present application.

[0049] The start-stop function test method based on Autosar provided in the embodiment of the present application can be performed by the start-stop function test device based on Autosar provided in the embodiment of the present application, and the device can be configured in a vehicle or electronic equipment.

[0050] This application provides a start-stop function test method based on Autosar, refer to the attached Figure 1 As shown, it is a flow chart of a start-stop function test method based on Autosar provided in an embodiment of the present application, and the method includes steps 110-140.

[0051] Step 110 : When the first wakeup source of the vehicle is in a start / stop state, the second wakeup source is started in a different network management state.

[0052] The wakeup source in this application refers to an event or condition that causes a process to transition from one functional state to another. For example, when a process is waiting for an event to occur, it enters a certain state. Once the event occurs, the process is awakened and transitions to another state, the ready state, to wait for further execution. The wakeup source in this application can be multiple, including at least a first wakeup source and a second wakeup source.

[0053] In an exemplary embodiment, the first wakeup source includes any one of the following: READY (vehicle start), AC (alternating current charging), and DC (direct current charging).

[0054] In an exemplary embodiment, the second wake-up source may also include any one of the following: READY (vehicle start), AC (alternating current charging), and DC (direct current charging).

[0055] It is understandable that when performing the test, the first wakeup source and the second wakeup source are different wakeup sources.

[0056] For example, the start-stop operating conditions described in this application may include: the operating conditions corresponding to when the Ready ON and Ready OFF functions are triggered during vehicle startup, the operating conditions corresponding to AC charging start (starting the charging function when the AC gun is connected), the operating conditions corresponding to AC charging stop (stopping the charging function when the AC gun is unplugged), the operating conditions corresponding to DC charging start (starting the DC charging function when the DC gun is connected), and the operating conditions corresponding to DC charging stop (stopping the charging function when the DC gun is unplugged), etc. The above are only examples, and this application is not limited to this, and may also include other start-stop functions of the vehicle.

[0057] Step 120 : Acquire the network management state parameter of the vehicle after the second wake-up source is activated as the first reference network management state parameter.

[0058] Step 130: Stop the second wakeup source in different network management states and obtain a second reference network management state parameter.

[0059] In an exemplary embodiment, different network management states include the network management state of at least one of the following controllers: a vehicle control unit (VCU), a battery management controller (BMS), an on-board charger controller (OBC), and a motor controller (DU).

[0060] In an exemplary embodiment, referring to the attached Figure 2 As shown, the network management status of each controller includes at least: bus sleep state parameter (BS for short), repeated message state parameter (RM for short), normal operation state (NO for short), ready to sleep state (RS for short), and pre-sleep state (PBS for short).

[0061] For example, the test method of the present application tests whether the network management states of the two wakeup source combinations are abnormal by injecting the start / stop signal of another wakeup source in different network management states when one wakeup source is in the start / stop state.

[0062] For example, refer again to Figure 2 The following is a timing diagram of the network status of each controller in the 1st state (i.e. 1stReady state) of this application. Figure 2 The working sequence diagram of the network management status of the four controllers VCU, BMS, OBC and DU is specifically shown, that is, the different network management states under the 1st start-stop condition.

[0063] At this time, the present application can inject another start-stop function signal in different network management states (ie, enter the 2nd state) based on the start-stop function of each functional state being in the 1st state. Figure 3The AC start / stop function signal is injected at the beginning of the 1st RM state to enter the 2nd state. The timing for canceling the injection of the AC start / stop function signal is before the end of the RM state, at the end of the RM state, in the NO state, at the end of the 1st state, or 500ms after the end of the 1st state. Figure 4 In the 1st NO state, the AC start / stop function signal is injected to enter the 2nd state. The timing to cancel the injection of the AC start / stop function signal is 100ms after entering the 2nd state, at the end of the 1st state, and 500ms after the end of the 1st state. Figure 5 The AC start / stop function signal is injected at the beginning of the 1st RS state to enter the 2nd state. The timing for canceling the injection of the AC start / stop function signal is 1 second after the beginning of the RS state, 3.5 seconds after the beginning of the RS state, or 5 seconds after the beginning of the RS state. Figure 6 The AC start / stop function signal is injected at the beginning of the 1st PBS state to enter the 2nd state. The timing of canceling the injection of the AC start / stop function signal is 1 second after the beginning of the PBS state or 3 seconds after the beginning of the PBS state.

[0064] In an exemplary embodiment, as shown in Table 1, the present application will Figure 3 The AC signal injection point in is set to A. According to the different cancellation injection points, corresponding situations ①, ②, ③, ④, and ⑤ are generated. Figure 4 The AC signal injection point in is set to B. Depending on the different cancellation points, corresponding situations ①, ②, and ③ are generated. Figure 5 The AC signal injection point is set to C. Depending on the cancellation of the injection point, corresponding situations ①, ②, and ③ are generated. Figure 6 Note that the AC input point is set to D. Depending on the different cancellation points, corresponding situations ① and ② are generated. Therefore, in this embodiment, injecting AC start / stop function signals under different network management states of 1stREADY generates at least 5+3+3+2=13 test situations. Other start / stop function combination test situations can be obtained using the same method and are not listed here.

[0065]

[0066] Table 1 Different network management states of 1stREADY, injected into 2ndAC

[0067] In an exemplary embodiment, referring to the attached Figure 2-6As shown, starting the second wakeup source in different network management states includes: taking the start timing of the first controller entering a network management state as the timing for starting the second wakeup source in the current network management state; and taking the end timing of the first controller ending a network management state as the timing for stopping the second wakeup source in the current network management state. Figure 5 In the scheme of injecting AC into RS state, since VCU is the first controller to enter RS ​​state, the timing of VCU entering RS state is used as the timing of injecting AC; Figure 6 In the PBS state, when injecting AC, since the VCU is the first controller to enter the PBS state, the timing of injecting AC is when the VCU starts entering the PBS state. The timing of canceling the injection (i.e., stopping AC) is when the first controller to exit the corresponding state is used as the cancellation timing.

[0068] In an exemplary embodiment, the first reference network management state parameter includes: the time when each controller starts sending messages and the state of the sent messages, the operating current, and the time when each controller wakes up. The second reference network management state parameter includes: the time when each controller stops sending messages, the operating current, and the time when each controller sleeps.

[0069] Step 140: Obtain a test result under a combined working condition of the first wakeup source and the second wakeup source based on the first reference network management state parameter and the second reference network management state parameter.

[0070] Based on the first reference network management state parameter and the second reference network management state parameter, a test result under the combined working condition of the first wake-up source and the second wake-up source is obtained, wherein the first reference network management state parameter and the second reference network management state parameter can be compared with their respective evaluation criteria to determine whether the test passes.

[0071] For example, Figure 7 and Figure 8 The test results of A① in Table 1 are shown. Figure 7 This is the A①CAN message sending and receiving test result. You need to pay attention to whether the timing of starting and stopping sending messages by VCU, BMS, OBC or DU is correct. Figure 8 If it is the result of A① sleep stop test, you need to pay attention to whether the timing of VCU, BMS, OBC or DU wake-up and sleep is correct. Specifically, Figure 7The two boxes in the figure respectively indicate when each controller starts and stops sending messages. When the 1st state is activated, each controller starts sending messages. Even after the AC start-stop function is injected and the 2nd state is entered, the controller's message sending is still not affected. When both the 1st and 2nd states are deactivated, each controller stops sending messages. This is used to determine whether the functional test results for the two wake-up source combinations are normal. Figure 8 The two boxes in the figure respectively indicate the controller's wakeup and sleep states. When the 1st state is activated, each controller sends messages, and the operating current is greater than 0. After the AC start-stop function is applied and the 2nd state is entered, the controller's message transmission is still not affected, and the operating current remains greater than 0. When both the 1st and 2nd states are deactivated, each controller stops sending messages, and the operating current approaches 0. Based on this, the function test result is considered normal. A④ injects AC at the beginning of the 1st RM state and removes the AC start-stop function at the end of the 1st RM state.

[0072] For example, Figure 9 and Figure 10 This is the test result of A④. Figure 9 This is the test result of A④CAN signal sending and receiving messages. It is necessary to pay attention to whether the timing of starting and stopping sending messages by VCU, BMS, OBC or DU is correct. Figure 10 The result of the A④ sleep stop test is correct. You need to pay attention to whether the VCU, BMS, OBC, or DU wake-up and sleep timings are correct. Figure 9 The two boxes in the figure respectively indicate when each controller starts and stops sending messages. When the 1st state is enabled, each controller starts sending messages. Even after the AC start-stop function is applied and the system enters the 2nd state, this does not affect the controller's ability to send messages. When both the 1st and 2nd states are disabled, each controller stops sending messages, and this indicates that the function test result is normal. Figure 10 The two boxes in the figure respectively indicate the wakeup and sleep states of each controller. When the 1st state is activated, each controller sends messages and the operating current is greater than 0. After the AC start-stop function is injected and the 2nd state is entered, the controller still sends messages and the operating current remains greater than 0. When both the 1st and 2nd states are deactivated, each controller stops sending messages and the operating current approaches 0. Based on this, the function test result is determined to be normal.

[0073] In the present application, when the first wake-up source of the vehicle is in the start / stop condition, the second wake-up source is started in different network management states; the network management state parameters of the vehicle after starting the second wake-up source can be obtained and used as the first reference network management state parameters; then, the second wake-up source is stopped in a different network management state to obtain the second reference network management state parameters; finally, based on the first reference network management state parameters and the second reference network management state parameters, the test results under the combined working condition of the first wake-up source and the second wake-up source can be obtained. In the present application, by obtaining the first reference network management state parameters by starting the second wake-up source in different network management states and the second reference network management state parameters by stopping the second wake-up source in different network management states, it is possible to test whether the network management states of different controllers under the combined working condition are normal, and it is also possible to test whether the start-stop functions under the network management states of multiple controllers are working normally. This solves the technical problem that the prior art only discloses research on testing changes in the network management state of a single controller, but lacks testing changes in the network management state of multiple controllers under the joint debugging condition.

[0074] Refer to the attached Figure 11 As shown, according to an embodiment of the present application, a start-stop function test device based on Autosar is provided, including: a wake-up start module 1101, a first acquisition module 1102, a second acquisition module 1103, and a third acquisition module 1104.

[0075] The wake-up start module 1101 is used to start the second wake-up source under different network management states when the first wake-up source of the vehicle is in the start / stop condition; the first acquisition module 1102 is used to obtain the network management state parameter of the vehicle after starting the second wake-up source as the first reference network management state parameter; the second acquisition module 1103 is used to stop the second wake-up source under different network management states to obtain the second reference network management state parameter; and the third acquisition module 1104 is used to obtain the test results under the combined working condition of the first wake-up source and the second wake-up source based on the first reference network management state parameter and the second reference network management state parameter.

[0076] The start-stop function test device based on Autosar of the present application can test whether different network management states under combined working conditions are normal, and can also test whether the start-stop functions of multiple controllers under different network management states are working normally.

[0077] According to an embodiment of the present application, a vehicle is provided, comprising a regional controller and a central processing unit of the above-mentioned start-stop function test device based on Autosar.

[0078] It should be understood that the various modules / units of the system of the present application can be implemented in whole or in part by software, hardware, firmware, or a combination thereof. Each module / unit can be embedded in the processor of the electronic device in the form of hardware or firmware or independent of the processor, or can be stored in the memory of the electronic device in the form of software for the processor to call to perform the operation of each module / unit. Each module / unit can be implemented as an independent component or module, or two or more modules / units can be implemented as a single component or module.

[0079] like Figure 12 As shown, the present application provides an electronic device 1200, which includes a processor 1210 and a memory 1220 storing computer program instructions. When the processor 1210 executes the computer program instructions, the steps of the aforementioned AUTOSAR-based start-stop function test method are implemented. The electronic device 1200 can be broadly defined as a server, a terminal, or any other electronic device with the necessary computing and / or processing capabilities.

[0080] In one embodiment, the electronic device 1200 may include a processor, memory, network interface, communication interface, etc. connected via a system bus. The processor of the electronic device 1200 may be used to provide necessary computing, processing, and / or control capabilities. The memory of the electronic device 1200 may include a non-volatile storage medium and an internal memory. The non-volatile storage medium may store an operating system, computer programs, etc. The internal memory may provide an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface and communication interface of the electronic device 1200 may be used to connect to and communicate with external devices via a network. When the computer program is executed by the processor, the steps of the method of the present application are performed.

[0081] The present application provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the above-mentioned start-stop function test method based on AUTOSAR is implemented.

[0082] Those skilled in the art will appreciate that the method steps of the present application can be performed by instructing relevant hardware such as the electronic device 1200 or a processor through a computer program, and the computer program can be stored in a non-transitory computer-readable storage medium, which causes the steps of the present application to be performed when the computer program is executed. Depending on the circumstances, any reference to memory, storage or other media herein may include non-volatile or volatile memory. Examples of non-volatile memory include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid-state disk, etc. Examples of volatile memory include random access memory (RAM), external cache memory, etc.

[0083] The various technical features described above can be combined arbitrarily. Although not all possible combinations of these technical features are described, any combination of these technical features should be considered to be covered by this specification as long as such combination does not conflict.

[0084] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A start-stop function test method based on Autosar, characterized in that: The method comprises: When the first wake-up source of the vehicle is in a start / stop condition, the second wake-up source is started in a different network management state; Acquire a network management state parameter of the vehicle after the second wake-up source is started as a first reference network management state parameter; Stop the second wake-up source in different network management states, and obtain a second reference network management state parameter; Based on the first reference network management state parameter and the second reference network management state parameter, a test result under a combined working condition of the first wake-up source and the second wake-up source is obtained.

2. The method according to claim 1, characterized in that The first wake-up source includes any one of the following: READY vehicle start, AC charging, DC charging; The second wake-up source includes any one of the following: READY vehicle start, AC charging, DC charging; The first wakeup source and the second wakeup source are different wakeup sources.

3. The method according to claim 1, characterized in that: The different network management states include at least one of the following: BS bus sleep state, RM repeated message state, NO normal operation state, RS ready sleep state and PBS pre-sleep state.

4. The method according to claim 3, characterized in that The different network management states include at least one of the following network management states of the controller: Vehicle controller, battery management controller, on-board charger controller and motor controller.

5. The method according to claim 4, characterized in that The starting the second wake-up source in different network management states includes: The start timing of the controller that first enters a network management state is used as the timing for starting the second wake-up source in the current network management state.

6. The method according to any one of claims 1 to 5, characterized in that: The first reference network management state parameter includes: The timing and status of each controller starting to send messages, the operating current, and the wake-up timing of each controller; The second reference network management state parameter includes: The timing when each controller stops sending messages, the working current, and the timing when each controller goes into sleep mode.

7. A start-stop function test device based on Autosar, characterized in that: include: A wake-up start module, used to start the second wake-up source under different network management states when the first wake-up source of the vehicle is in a start / stop condition; A first acquisition module, used to acquire a network management state parameter of the vehicle after the second wake-up source is started as a first reference network management state parameter; A second acquisition module, configured to stop the second wake-up source in different network management states and obtain a second reference network management state parameter; as well as The third acquisition module is used to obtain a test result under a combined working condition of the first wake-up source and the second wake-up source based on the first reference network management state parameter and the second reference network management state parameter.

8. A vehicle, characterized in that: The vehicle includes a zone controller and a central processing unit of the start-stop function test device based on Autosar as claimed in claim 7.

9. An electronic device, characterized in that: include: A processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein when the program or instruction is executed by the processor, the steps of the start-stop function test method based on Autosar are implemented as described in any one of claims 1 to 6.

10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the start-stop function test method based on Autosar as described in any one of claims 1-6 are implemented.