System and method for detecting network sleep state after communication forbidding of 28 service
By designing a network sleep state detection system after banning communication in the on-board network, using components such as CANoe software and programmable power board, the problem of inconsistent sleep wake-up during the OTA upgrade process is solved, ensuring that the controller is mass-produced The consistency of the network status after the network avoids disconnection and misrecording of fault codes, and improves the user experience.
Patent Information
- Application Number
- CN202411118528.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-11-08
AI Technical Summary
During the OTA upgrade process, there is a lack of definition of the controller network behavior after banning communication for 28 services, resulting in frequent sleep awakening of some controllers, causing the instrument screen to shiny-black screen cycle, affecting the user experience, and inconsistent network management of vehicle controllers .
A network sleep state detection system after 28 service prohibition communication was designed. Using the computer as the upper computer, the remote control and data collection of the controller is realized through CANoe software, program-controlled power board, data board and program-controlled test chassis. The CAPL function interface and SOME/IP protocol ensure that the controller maintains a consistent sleep or wake-up state after the 28 service prohibits communication.
Effectively avoids the problem of disconnection and error recording of fault codes caused by the 28 service banning communication, ensuring the consistency of the controller's network management behavior, improving the user experience, and verifying the network during the controller development stage. Manage behavior.
Smart Images

Figure CN118921310A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of Ethernet development, testing and verification, and in particular is a system and method for detecting a network sleep state after 28 services prohibit communication. Background Art
[0002] At present, the in-vehicle network is still mainly based on CAN bus, and the CAN bus network management mostly follows simple network management. However, in the state machine of simple network management, there is no definition of how the controller's network behavior should be after the 28 service prohibits communication, whether it should remain awake or asleep. The lack of definition will cause some controllers to frequently wake up from sleep during the OTA upgrade process, and the external manifestation is that the instrument screen flashes-black screen-flashes-black screen in a cycle, causing discomfort to users.
[0003] Since there is no definition of the controller, the controller is openly developed according to functional requirements, resulting in the inconsistency of vehicle controllers. Summary of the invention
[0004] In view of the above problems, the present invention provides a network sleep state detection system and method after 28 services prohibit communication. The computer is used as a carrier of the host computer of the test system to carry the host computer software CANoe, which is connected to the programmable test chassis through a programmable power board card. The computer is connected to the data board card by electrical signals. The computer host computer software realizes data environment simulation and communicates through data lines. The data board card sends the data to the DUT through the link. The data sent by the DUT will be returned to the data board card through the link and then returned to the host computer software. The power board card is connected to the computer by electrical signals. The power board card is configured with a CAPL function interface, and remote calls are made through the CAPL function of the computer and the interface of the power board card. Remote control is realized, and the data of the power board is collected and transmitted back through the link. There is a DC voltage data line between the power board and the DUT. The data board and the power board are fixed inside the programmable test chassis through a standard interface, and a universal power interface is provided to provide a power supply interface for the data board and the power board. The method of the present invention can ensure that all vehicle controllers will not be in a sleep state after mass production due to 28 services prohibiting communication, resulting in disconnection and erroneous recording of fault codes, and can avoid causing discomfort to users. The method of the present invention can verify the consistency of the network management behavior of the controller in the controller development stage, and ensure that the network sleep and wake-up of the controller remain consistent after getting on the vehicle.
[0005] The technical solution of the present invention is as follows: a network sleep state detection system after 28 services prohibit communication, including: a computer, CANoe software, a programmable power board, a data board, a programmable test chassis and cables.
[0006] The computer is used as the carrier of the host computer of the test system to carry the host computer software CANoe. It is connected to the programmable power board and the programmable test chassis through the computer. The computer is connected to the data board by electrical signals. The computer host software realizes data environment simulation and communicates through the data line. The data board is sent to the DUT through the link. The data sent by the DUT will be returned to the data board through the link and then to the computer's host software. The power board is connected to the computer by electrical signals. The power board is configured with a CAPL function interface. Remote calls are made through the computer's CAPL function and the interface of the power board to achieve remote control, and the data of the power board is collected and transmitted back through the link. There is a DC voltage data line between the power board and the DUT. The data board and the power board are fixed inside the programmable test chassis through a standard interface, and a universal power interface is provided to provide a power supply interface for the data board and the power board.
[0007] Furthermore, the voltage output by the power board is 0 to 32V with an accuracy of 0.01V.
[0008] Furthermore, a 220V to 12V adapter is provided in the program-controlled test chassis.
[0009] Furthermore, the power board is powered by a separate 220V to 12V adapter.
[0010] Furthermore, the programmable test chassis provides a 220V external power supply interface.
[0011] Furthermore, the computer communicates with the data board via an RJ45 industrial Ethernet data cable, and this link can realize simultaneous sending and receiving of data.
[0012] Furthermore, the power board communicates with the computer via the Ethernet SOME / IP protocol.
[0013] A method for detecting a network sleep state after a 28 service prohibits communication, comprising the following steps:
[0014] S1 opens the host computer software, connects the computer to the data board and the power board, connects the data board to the DUT, connects the power board to the DUT, turns on the power of the program-controlled test chassis, initializes the data board and the power board, and clicks the start execution button of the test project, and the project starts to execute automatically.
[0015] The S2 programmable power supply board provides 12V DC power to the controller, controls the programmable power supply board to disconnect the KL15 power of the controller, waits for the controller to enter the sleep state, detects the fluctuation of static current, sends any message through the programmable board, sends instructions through the diagnostic database to enter the extended session state, sends communication prohibition instructions through the 28 service and uses functional addressing, stops sending wake-up messages, sends 3E service through the data card, maintains the session mode 3E 00, waits for the 3E 00 service to stop, and observes the sending of bus messages.
[0016] Furthermore, in step S2, the 3E service period sends 5 frames, and the interval between each frame is 4900ms.
[0017] Further, in step S2, the message is an NM message or an application message.
[0018] The beneficial effects of the present invention are:
[0019] The method of the present invention can ensure that after mass production, all vehicle controllers will not fall into a sleep state due to 28 services prohibiting communication, resulting in disconnection and erroneous recording of fault codes, and can avoid causing discomfort to users; the method of the present invention can verify the consistency of the network management behavior of the controller during the controller development stage, and ensure that the network sleep and wake-up of the controller remain consistent after getting on the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 Schematic diagram of the system of the present invention. DETAILED DESCRIPTION
[0021] It should be noted that in the description of the present invention, the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", "clockwise", "counterclockwise", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction.
[0022] In the present invention, unless otherwise clearly specified and limited, the terms "set", "install", "connect", "connect" and the like should be understood in a broad sense. For example, "fixed" can be a fixed connection, a detachable connection, or an integral connection; the connection can be a mechanical connection or an electrical connection; the connection can be a direct connection or an indirect connection through an intermediate medium, and can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0023] A network sleep state detection system after 28 services prohibit communication, comprising: a computer, CANoe software, a program-controlled power supply board, a data board, a program-controlled test chassis and cables.
[0024] The computer is used as the carrier of the host computer of the test system to carry the host computer software CANoe. It is connected to the program-controlled test chassis through the program-controlled power board. The computer, as the carrier of the software, plays the role of sending the host computer software instructions, and the hardware plays the role of physical connection with the program-controlled test chassis. The program-controlled test chassis plays the role of integrating the program-controlled power board with the data board. There is a 220V to 12V adapter in the program-controlled test chassis. It is used to power the data board and provide energy support. The power board also provides energy support through an independent 220V to 12V adapter. The program-controlled test chassis provides a 220V external power supply interface and provides energy input through civil 220V AC. The computer also uses standard 220V civil AC as energy input. The computer communicates with the data board through the RJ45 industrial Ethernet data cable. This link can realize the simultaneous sending and receiving of data. The computer host software realizes the environmental simulation of the data and communicates through the data line. The data board sends it to the DUT through the link. The data sent by the DUT will also be transmitted back to the data board through the link and then back to the computer's host software.
[0025] The power board communicates with the computer through the Ethernet SOME / IP protocol. The power board is equipped with a CAPL function interface, which can be remotely called through the computer's CAPL function and the interface of the power board to achieve remote control, and the data of the power board can be collected and transmitted back through the link. There is a DC voltage data line between the power board and the DUT. The voltage output by the power board is 0~32V, and the accuracy can reach 0.01V. The data board and the power board are fixed inside the programmable test chassis through a standard interface, and a universal power interface is provided to provide a power supply interface for the data board and the power board.
[0026] First, open the host computer software, connect the computer to the data board and the power board, connect the data board to the DUT, and connect the power board to the DUT. Turn on the power of the program-controlled test chassis and initialize the data board and the power board. After clicking the start execution button of the test project, the project starts to execute automatically.
[0027] Test case 1:
[0028] The programmable power supply board provides 12V DC power to the controller.
[0029] Control the program-controlled power supply board to disconnect the KL15 power of the controller;
[0030] Wait for the controller to enter sleep mode and detect the fluctuation of static current
[0031] Send any message through the program-controlled board. This message can be an NM message, or the application message can be sent through the diagnostic database. "10" "03" enters the extended session state
[0032] Send the communication prohibition command 28 03 03 via service 28 and use functional addressing
[0033] Stop sending wake-up messages
[0034] Send 3E service through data card, maintain session mode 3E 00, send 5 frames periodically, and the interval between each frame is 4900ms
[0035] After waiting for 5000ms for the 3E 00 service to stop sending, observe the sending status of the bus message.
[0036] The expected results correspond to the serial numbers of the above test steps one by one:
[0037] The controller starts communicating normally;
[0038] The controller enters the sleep state and communication messages stop sending
[0039] The controller is awakened and sends NM data and application message data to the data board
[0040] The controller sends 50 03 service entry to the extended session
[0041] The controller replies 68 03 03, the controller prohibits communication, stops sending NM messages and application messages
[0042] The controller re-enters the NM Start state and sends application messages and NM messages for at least 500ms.
[0043] In the above example, the test sequence can be functional addressing or physical addressing. 3E 00 in test step 8 can also be 3E 80. Positive feedback is not expected, and the corresponding test expected result 8 will be changed to no feedback expected.
[0044] The above is only a specific implementation of the present invention, but the protection scope of the present invention is not limited thereto. Any modification, equivalent replacement and improvement made by any person skilled in the art within the technical scope disclosed by the present invention and within the spirit and principle of the present invention shall be covered within the protection scope of the present invention. At the same time, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.
[0045] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
Claims
1. A network sleep state detection system after 28 service communication is prohibited, characterized in that: include: Computer, CANoe software, programmable power board, data board, programmable test chassis and cables; The computer is used as the carrier of the host computer of the test system to carry the host computer software CANoe. It is connected to the programmable power board and the programmable test chassis through the computer. The computer is connected to the data board by electrical signals. The computer host software realizes data environment simulation and communicates through the data line. The data board is sent to the DUT through the link. The data sent by the DUT will be returned to the data board through the link and then to the computer's host software. The power board is connected to the computer by electrical signals. The power board is configured with a CAPL function interface. Remote calls are made through the computer's CAPL function and the interface of the power board to achieve remote control, and the data of the power board is collected and transmitted back through the link. There is a DC voltage data line between the power board and the DUT. The data board and the power board are fixed inside the programmable test chassis through a standard interface, and a universal power interface is provided to provide a power supply interface for the data board and the power board.
2. A network sleep state detection system after 28 service communication prohibition according to claim 1, characterized in that: The power board outputs a voltage of 0 to 32V with an accuracy of 0.01V.
3. A network sleep state detection system after 28 service communication prohibition according to claim 1, characterized in that: A 220V to 12V adapter is provided in the program-controlled test chassis.
4. A network sleep state detection system after 28 service communication prohibition according to claim 1, characterized in that: The power board is powered by a separate 220V to 12V adapter.
5. A network sleep state detection system after 28 service communication prohibition according to claim 1, characterized in that: The program-controlled test chassis provides a 220V external power supply interface.
6. A network sleep state detection system after 28 service communication prohibition according to claim 1, characterized in that: The computer communicates with the data board via an RJ45 industrial Ethernet data cable. This link can send and receive data simultaneously.
7. A network sleep state detection system after 28 service communication prohibition according to claim 1, characterized in that: The power board communicates with the computer via the Ethernet SOME / IP protocol.
8. A method for detecting a network sleep state after a 28 service prohibits communication, characterized in that: The following steps are involved: S1 opens the upper computer software of the computer, connects the computer with the data board and the power board, connects the data board with the DUT, connects the power board with the DUT, turns on the power of the program-controlled test chassis, initializes the data board and the power board, and clicks the start execution button of the test project, and the project starts to execute automatically; The S2 programmable power board provides 12V DC power to the controller, controls the programmable power board to disconnect the KL15 power of the controller, waits for the controller to enter the sleep state, detects the fluctuation of static current, sends any message through the programmable board, sends instructions through the diagnostic database to enter the extended session state, sends a communication prohibition instruction through the 28 service and uses functional addressing, stops sending wake-up messages, sends 3E service through the data card, maintains the session mode 3E 00, waits for the 3E00 service to stop, and observes the sending of bus messages.
9. A method for detecting a network sleep state after 28 service communication is prohibited according to claim 8, characterized in that: In step S2, the 3E service period sends 5 frames, and the interval between each frame is 4900ms.
10. A method for detecting a network sleep state after 28 service communication is prohibited according to claim 8, characterized in that: In step S2, the message is an NM message or an application message.
