Vehicle state monitoring method and device and computer readable storage medium

Through the vehicle central controller collects and updates the ECU's heartbeat messages and sends status messages, the problem of low ECU monitoring efficiency is solved, real-time monitoring and cost reduction effects are achieved, and troubleshooting efficiency is improved.

CN118945090APending Publication Date: 2024-11-12GOSUNCNWELINK TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411273612.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In the prior art, ECU monitoring efficiency is low, complex operation is complex, and poor real-time performance is poor, resulting in high manpower and material costs, making it difficult to monitor the vehicle status quickly and efficiently, affecting the efficiency of troubleshooting.

Method used

The heartbeat message of the electronic control unit is collected through the vehicle central controller, the working status is updated according to the acquisition status, and the status message is sent through the remote communication terminal to realize real-time monitoring, simplify the operation process, and reduce costs.

Benefits of technology

It realizes convenient and efficient vehicle electronic control unit monitoring, provides real-time monitoring results, improves the efficiency of abnormal point inspection, and reduces the manpower and material costs of testing, R&D and after-sales personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945090A_ABST
    Figure CN118945090A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle state monitoring method and device and a computer readable storage medium, and the method comprises the steps: collecting a heartbeat message sent by an electronic control unit of a vehicle according to a preset first period; acquiring the acquisition state of the heartbeat message in a preset second period, and updating the working state of the electronic control unit according to the acquisition state; a state message corresponding to the working state is generated according to a preset third period, the state message is sent to a mobile terminal outside the vehicle through a remote communication terminal of the vehicle, the second period is longer than the third period, and the third period is longer than the first period. According to the invention, an efficient vehicle electronic control unit state monitoring scheme is realized, a real-time monitoring result can be conveniently provided for testing personnel or after-sales personnel, the abnormal point troubleshooting efficiency is improved, and the manpower, material resources and time cost of the testing, research and development and after-sales personnel are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle communication technology, and in particular to a vehicle status monitoring method, device and computer-readable storage medium. Background Art

[0002] In the existing technology, with the development of science and technology, the degree of vehicle intelligence is getting higher and higher, which also promotes the evolution of electrical architecture towards regional control and central integration. The domain controller is divided into cockpit domain controller, autonomous driving domain controller, power domain controller, chassis domain controller, and body domain controller. TBOX (Telematics BOX, remote communication terminal) plays an increasingly important role as a carrier for wireless network transmission of vehicle data. It will also exist as an important electronic unit of domain control, and its functions are becoming more and more complex.

[0003] The current problem is: in order to meet national standards, and considering the intelligent needs of products, for car manufacturers, to provide customers with a better driving experience, integrated personalized functions, and higher and higher intelligence, the domain control business is more complex, and the amount of interactive data has increased significantly. During the operation of the whole vehicle, each ECU (Electronic Control Unit) cooperates with each other. If a problem occurs in an ECU, it will affect one or some functions, which will lead to unavailability and uncontrollable results; and the ECU under the domain cannot process normally, and the business processing is abnormal.

[0004] Therefore, how to conveniently and efficiently monitor each ECU and provide real-time monitoring results to testers or after-sales personnel to confirm fault problems, improve the efficiency of abnormal point troubleshooting, and reduce the manpower and material costs of testing, R&D and after-sales personnel has become a technical problem that needs to be solved urgently. Summary of the invention

[0005] In order to overcome the deficiencies in the prior art, the purpose of the present invention is to provide a vehicle status monitoring method, device and computer-readable storage medium to solve the current problems of low ECU monitoring efficiency, complex operation, poor real-time performance and high manpower and material costs.

[0006] The present invention proposes a vehicle state monitoring method, which is applied to a central controller of a vehicle. The method comprises: Collecting heartbeat messages sent by the electronic control unit of the vehicle according to a preset first period; Acquire the collection status of the heartbeat message within a preset second period, and update the working status of the electronic control unit according to the collection status; A status message corresponding to the working status is generated according to a preset third period, and the status message is sent to a mobile terminal outside the vehicle via the remote communication terminal of the vehicle, wherein the second period is longer than the third period, and the third period is longer than the first period.

[0007] Optionally, before collecting the heartbeat message sent by the electronic control unit of the vehicle according to a preset first period, the method includes: When the vehicle is in an awake state, receiving a registration message generated by the electronic control unit and forwarded by a domain controller of the vehicle corresponding to the electronic control unit; A legality check is performed on the electronic control unit according to the registration message.

[0008] Optionally, performing a legitimacy check on the electronic control unit according to the registration message further includes: Performing a legality check on the electronic control unit in combination with a preset configuration table; After confirming that the electronic control unit is legitimate, a response registration message is sent to the domain controller, so that the domain controller forwards the response registration message to the electronic control unit.

[0009] Optionally, collecting the heartbeat message sent by the electronic control unit of the vehicle according to a preset first period further includes: When the response registration message is received by the electronic control unit, starting the timer of the first cycle; A heartbeat message generated by the electronic control unit according to the first period and forwarded by the domain controller is received.

[0010] Optionally, the acquiring the collection status of the heartbeat message within a preset second period specifically includes: After the response registration message is sent to the electronic control unit, starting the timer of the second cycle; The heartbeat message acquired in the second period and a first electronic control unit corresponding to the heartbeat message are determined.

[0011] Optionally, updating the working state of the electronic control unit according to the acquisition state specifically includes: Determine the heartbeat message that is not acquired within the second period and the corresponding second electronic control unit; The first electronic control unit is marked as being in a normal working state, and the second electronic control unit is marked as being in an abnormal working state.

[0012] Optionally, the generating a status message corresponding to the working status according to a preset third period specifically includes: When it is determined that the remote communication terminal establishes a communication link with the mobile terminal, starting the timer of the third period; Determine a first marking message corresponding to the normal working state and a second marking message corresponding to the abnormal working state obtained in the third cycle, and send the summarized first marking message and the second marking message to the target domain controller, and the target domain controller forwards the summarized message to the remote communication terminal.

[0013] Optionally, the method further comprises: Receiving a monitoring instruction sent by the mobile terminal; The cycle length of one or more of the first cycle, the second cycle and the third cycle is adjusted according to the monitoring instruction.

[0014] The present invention also proposes a vehicle status monitoring device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the vehicle status monitoring method as described in any one of the above items when executed by the processor.

[0015] The present invention also proposes a computer-readable storage medium, on which a vehicle status monitoring program is stored. When the vehicle status monitoring program is executed by a processor, the steps of the vehicle status monitoring method as described in any one of the above items are implemented.

[0016] The vehicle status monitoring method, device and computer-readable storage medium of the present invention are implemented by collecting the heartbeat messages sent by the electronic control unit of the vehicle according to the preset first cycle; obtaining the collection status of the heartbeat messages within the preset second cycle, and updating the working status of the electronic control unit according to the collection status; generating a status message corresponding to the working status according to the preset third cycle, and sending the status message to the mobile terminal outside the vehicle via the remote communication terminal of the vehicle, wherein the second cycle is longer than the third cycle, and the third cycle is longer than the first cycle. A convenient and efficient vehicle electronic control unit monitoring solution is realized, which is convenient for providing real-time monitoring results to testers or after-sales personnel to confirm fault problems, improve the efficiency of abnormal point troubleshooting, and reduce the manpower and material costs of testing, R&D and after-sales personnel. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which: Figure 1 is a first flow chart of the vehicle state monitoring method of the present invention; Figure 2 is a second flow chart of the vehicle state monitoring method of the present invention; Figure 3 is a third flow chart of the vehicle state monitoring method of the present invention; Figure 4 is a fourth flow chart of the vehicle state monitoring method of the present invention; Figure 5 is a fifth flow chart of the vehicle state monitoring method of the present invention; Figure 6 is a sixth flow chart of the vehicle state monitoring method of the present invention; Figure 7 is a seventh flow chart of the vehicle state monitoring method of the present invention; Figure 8 is an eighth flow chart of the vehicle state monitoring method of the present invention; Fig. 9 It is a schematic diagram of system deployment of the vehicle status monitoring method of the present invention; Fig.10 It is a working flow chart of the vehicle status monitoring method of the present invention. DETAILED DESCRIPTION

[0018] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0019] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0020] Figure 1 This embodiment proposes a vehicle state monitoring method, which is applied to a central controller of a vehicle, and the method includes: S1, collecting heartbeat messages sent by the electronic control unit of the vehicle according to a preset first period; S2, obtaining the collection status of the heartbeat message within a preset second period, and updating the working status of the electronic control unit according to the collection status; S3. Generate a status message corresponding to the working status according to a preset third period, and send the status message to a mobile terminal outside the vehicle via the remote communication terminal of the vehicle, wherein the second period is longer than the third period, and the third period is longer than the first period.

[0021] In this embodiment, please refer to Fig. 9A system deployment diagram of a vehicle status monitoring method is shown, wherein a central control system is connected to various domain controllers, and the domain controllers serve as routing controllers to connect information interactions between various electronic units. The interaction protocol uses the Ethernet application protocol SOMEIP / IPCP / DDS / private protocol, and the message header has unique identifiers of the destination and source.

[0022] In this embodiment, please refer to Fig.10 The work flow chart of the vehicle status monitoring method is shown, wherein, for the electrical architecture of the central integration and domain controller, considering that the domain controller checks the active status of the ECU, the central controller collects feedback from each domain controller, and periodically feeds back the status of each ECU to the mobile monitoring APP through the TBOX's WIFI network for real-time update and display. Specifically: when the whole vehicle is in the awakened state, the mobile phone is connected to the TBOX's WIFI network, and the monitoring APP automatically connects to the ECU status service module in the TBOX; when the whole vehicle is awakened, each ECU initiates a registration message to the central controller through the domain controller VGM; the central controller receives the ECU registration message, checks whether it is a legally registered ECU according to the default ECU configuration table, and responds to the registration to the ECU after confirming that it is legal; the ECU receives the confirmation The registration response message starts a 5s period timer to send a heartbeat to the central controller; the central controller receives the ECU heartbeat message and updates the ECU status; if the ECU heartbeat message registered in the configuration table is not received within 15s, the ECU status is updated to be abnormal; the central controller sends the status information of all configured registered ECUs to TBOX through the cockpit domain controller in a 10s period; when the ECU status service module in TBOX receives the status information of all ECUs, it forwards it to the mobile monitoring APP; the mobile monitoring APP receives the ECU status information, updates the ECU's online status, updates the APP interface in real time, and displays the abnormally offline ECU of the current vehicle in red, so that the monitoring personnel can be notified of the abnormality in time; the mobile monitoring APP is closed and actively disconnected from TBOX.

[0023] In this embodiment, the first cycle, the second cycle and the third cycle are 5 seconds, 15 seconds and 10 seconds respectively. Based on this: the central controller updates the normal status of the ECU according to the heartbeat message of the ECU every 5 seconds; if the central controller does not receive the heartbeat message of the ECU for more than 15 seconds, the ECU status update is abnormal; the central controller sends all ECU statuses to TBOX every 10 seconds; TBOX receives the ECU status message from the central controller and forwards the message to the mobile monitoring APP.

[0024] It can be seen that in this embodiment, for the central integration and regional control electrical architecture system, the status of the vehicle ECU can be known in real time. According to the abnormal status of the ECU displayed by the mobile phone monitoring APP, the risks can be known in time, supporting R&D personnel to continuously optimize and after-sales personnel to handle in time, thereby improving the stability of the ECU and reducing after-sales labor costs.

[0025] The beneficial effect of this embodiment is that by collecting the heartbeat messages sent by the electronic control unit of the vehicle according to the preset first cycle; obtaining the collection status of the heartbeat messages within the preset second cycle, and updating the working status of the electronic control unit according to the collection status; generating a status message corresponding to the working status according to the preset third cycle, and sending the status message to the mobile terminal outside the vehicle via the remote communication terminal of the vehicle, wherein the second cycle is longer than the third cycle, and the third cycle is longer than the first cycle. A convenient and efficient vehicle electronic control unit monitoring solution is realized, which is convenient for providing real-time monitoring results to testers or after-sales personnel to confirm fault problems, improve the efficiency of abnormal point troubleshooting, and reduce the manpower and material costs of testing, R&D and after-sales personnel.

[0026] Figure 2 is a second flow chart of the vehicle state monitoring method of the present invention. In this embodiment, before collecting the heartbeat message sent by the electronic control unit of the vehicle according to the preset first cycle, it includes: S01. When the vehicle is in an awake state, receiving a registration message generated by the electronic control unit and forwarded by a domain controller of the vehicle corresponding to the electronic control unit; S02. Perform a validity check on the electronic control unit according to the registration message.

[0027] In this embodiment, when the vehicle is in the awake state and enters the preset maintenance mode, it starts to receive a registration message generated by the electronic control unit and forwarded by the domain controller of the vehicle corresponding to the electronic control unit.

[0028] In this embodiment, when the vehicle is awakened by the monitoring program of the mobile terminal, it starts to receive a registration message generated by the electronic control unit and forwarded by a domain controller of the vehicle corresponding to the electronic control unit.

[0029] In this embodiment, when the vehicle is in a preset maintenance area and in an awake state, it starts to receive a registration message generated by the electronic control unit and forwarded by a domain controller of the vehicle corresponding to the electronic control unit.

[0030] Figure 3is a third flow chart of the vehicle state monitoring method of the present invention. In this embodiment, the legitimacy of the electronic control unit is checked according to the registration message, further comprising: S03, performing a legality check on the electronic control unit in combination with a preset configuration table; S04. After confirming that the electronic control unit is legitimate, sending a registration response message to the domain controller, so that the domain controller forwards the registration response message to the electronic control unit.

[0031] In this embodiment, the corresponding domain controller and the electronic controller unit governed by the domain controller are determined according to the monitoring instruction of the mobile terminal, thereby narrowing the monitoring scope and improving the monitoring efficiency.

[0032] Figure 4 4 is a flow chart of the vehicle state monitoring method of the present invention. In this embodiment, collecting the heartbeat message sent by the electronic control unit of the vehicle according to the preset first period further includes: S11, when the response registration message is received by the electronic control unit, starting the timer of the first cycle; S12: Receive a heartbeat message generated by the electronic control unit according to the first period and forwarded by the domain controller.

[0033] In this embodiment, when the response registration message is received by the electronic control unit and the electronic control unit is in a working state, the timer of the first cycle is started.

[0034] Figure 5 is a fifth flow chart of the vehicle status monitoring method of the present invention. In this embodiment, obtaining the collection status of the heartbeat message within the preset second period specifically includes: S21, when the response registration message is sent to the electronic control unit, starting the timer of the second cycle; S22. Determine the heartbeat message acquired in the second cycle and a first electronic control unit corresponding to the heartbeat message.

[0035] In this embodiment, when the response registration message is sent to the electronic control unit and the domain controller corresponding to the electronic control unit is in a working state, the timer of the second cycle is started.

[0036] In this embodiment, there are multiple domain controllers in the vehicle, and each domain controller manages a different electronic control unit. Based on this, this embodiment sets a different second period for each domain controller, but each second period is within a preset range (for example, the range of the second period is 14s-16s).

[0037] Figure 6 is a sixth flow chart of the vehicle state monitoring method of the present invention. In this embodiment, updating the working state of the electronic control unit according to the acquisition state specifically includes: S23, determining the heartbeat message that is not acquired within the second period, and the corresponding second electronic control unit; S24: Mark the first electronic control unit as being in a normal working state, and mark the second electronic control unit as being in an abnormal working state.

[0038] In this embodiment, the second electronic control unit that has not received a heartbeat message within a second cycle is marked as an abnormal working state, or the second electronic control unit that has not received a heartbeat message within two consecutive or preset second cycles is marked as an abnormal working state.

[0039] Figure 7 is the seventh flow chart of the vehicle state monitoring method of the present invention. In this embodiment, a state message corresponding to the working state is generated according to a preset third cycle, specifically including: S31, when it is determined that the remote communication terminal establishes a communication link with the mobile terminal, starting the timer of the third cycle; S32. Determine a first marking message corresponding to the normal working state and a second marking message corresponding to the abnormal working state obtained in the third cycle, and send the summarized first marking message and the second marking message to the target domain controller, and the target domain controller forwards the summarized message to the remote communication terminal.

[0040] In this embodiment, the target domain controller is a cockpit domain controller.

[0041] Figure 8 FIG. 8 is an eighth flow chart of the vehicle state monitoring method of the present invention. In this embodiment, the method further includes: S41, receiving a monitoring instruction sent by the mobile terminal; S42: Adjust the cycle length of one or more of the first cycle, the second cycle, and the third cycle according to the monitoring instruction.

[0042] Receive a monitoring instruction sent by the vehicle's computer, which is a preset maintenance interface displayed on the vehicle's central control screen, for receiving parameter adjustment instructions from maintenance or R&D personnel; based on this, the cycle duration of one or more of the first cycle, the second cycle and the third cycle can also be adjusted through the above-mentioned parameter adjustment instructions.

[0043] It can be seen that in this embodiment, for the central integration and regional control electrical architecture system, the central controller receives the heartbeat message of the ECU in each domain control according to the ECU default configuration table, and updates the status of the ECU; the update rule is that the central controller recognizes that it is online when it receives a 5s periodic heartbeat message, and recognizes that it is abnormally offline if it does not receive the ECU heartbeat for more than 15s; the central controller sends all ECU statuses to TBOX through the cockpit domain controller according to a 10s period; TBOX receives the ECU status message and forwards it to the mobile monitoring APP; the mobile monitoring APP receives the ECU status message, updates the mobile interface data in real time, and marks the abnormal ECU in red for easy monitoring.

[0044] The present invention also proposes a vehicle status monitoring device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the vehicle status monitoring method as described in any one of the above items when executed by the processor.

[0045] It should be noted that the above-mentioned device embodiment and method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the device embodiment, which will not be repeated here.

[0046] Based on the above embodiments, the present invention further proposes a computer-readable storage medium, on which a vehicle status monitoring program is stored. When the vehicle status monitoring program is executed by a processor, the steps of the vehicle status monitoring method as described in any one of the above items are implemented.

[0047] It should be noted that the above-mentioned medium embodiment and method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the medium embodiment, which will not be repeated here.

[0048] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0049] It should be noted that, in this article, the terms "include", "comprises" or any other variations 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. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0050] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

Claims

1. A vehicle status monitoring method, applied to a central controller of a vehicle, It is characterized in that The method comprises: Collecting heartbeat messages sent by the electronic control unit of the vehicle according to a preset first period; Acquire the collection status of the heartbeat message within a preset second period, and update the working status of the electronic control unit according to the collection status; A status message corresponding to the working status is generated according to a preset third period, and the status message is sent to a mobile terminal outside the vehicle via the remote communication terminal of the vehicle, wherein the second period is longer than the third period, and the third period is longer than the first period.

2. The vehicle status monitoring method according to claim 1, It is characterized in that Before collecting the heartbeat message sent by the electronic control unit of the vehicle according to the preset first cycle, the method includes: When the vehicle is in an awake state, receiving a registration message generated by the electronic control unit and forwarded by a domain controller of the vehicle corresponding to the electronic control unit; A legality check is performed on the electronic control unit according to the registration message.

3. The vehicle status monitoring method according to claim 2, It is characterized in that The performing a legality check on the electronic control unit according to the registration message further comprises: Performing a legality check on the electronic control unit in combination with a preset configuration table; After confirming that the electronic control unit is legitimate, a response registration message is sent to the domain controller, so that the domain controller forwards the response registration message to the electronic control unit.

4. The vehicle status monitoring method according to claim 3, It is characterized in that The collecting of the heartbeat message sent by the electronic control unit of the vehicle according to a preset first period further includes: When the response registration message is received by the electronic control unit, starting the timer of the first cycle; A heartbeat message generated by the electronic control unit according to the first period and forwarded by the domain controller is received.

5. The vehicle status monitoring method according to claim 3, It is characterized in that The acquiring the collection status of the heartbeat message within the preset second period specifically includes: After the response registration message is sent to the electronic control unit, starting the timer of the second cycle; The heartbeat message acquired in the second period and a first electronic control unit corresponding to the heartbeat message are determined.

6. The vehicle status monitoring method according to claim 5, It is characterized in that The updating of the working state of the electronic control unit according to the acquisition state specifically includes: Determine the heartbeat message that is not acquired within the second period and the corresponding second electronic control unit; The first electronic control unit is marked as being in a normal working state, and the second electronic control unit is marked as being in an abnormal working state.

7. The vehicle status monitoring method according to claim 5, It is characterized in that Generating a status message corresponding to the working state according to a preset third period specifically includes: When it is determined that the remote communication terminal establishes a communication link with the mobile terminal, starting the timer of the third period; Determine a first marking message corresponding to the normal working state and a second marking message corresponding to the abnormal working state obtained in the third cycle, and send the summarized first marking message and the second marking message to the target domain controller, and the target domain controller forwards the summarized message to the remote communication terminal.

8. The vehicle status monitoring method according to claim 1, It is characterized in that The method further comprises: Receiving a monitoring instruction sent by the mobile terminal; The cycle length of one or more of the first cycle, the second cycle and the third cycle is adjusted according to the monitoring instruction.

9. A vehicle status monitoring device, It is characterized in that The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the vehicle state monitoring method according to any one of claims 1 to 8 are implemented.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a vehicle state monitoring program, which, when executed by a processor, implements the steps of the vehicle state monitoring method according to any one of claims 1 to 8.