Vehicle network sleep and wake-up abnormality diagnosis method and system

Through the network management messages and power status judgment of the vehicle control module, the problem of detecting abnormal vehicle network sleep and wake-up is solved, avoiding the risk of power feed, and ensuring the health of the vehicle battery and normal startup.

CN115202317BActive Publication Date: 2024-10-11JIANGLING MOTORS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210610699.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-31
Publication Date
2024-10-11
Estimated Expiration
2042-05-31

AI Technical Summary

Technical Problem

The existing technology lacks an effective vehicle network sleep wake-up detection method, which makes the vehicle vulnerable to power feed risks. The network is always awake without sleeping, resulting in low battery power and the vehicle being unable to start.

Method used

Network management messages are sent out through each control module of the vehicle, including flags such as wake-up, loop establishment, slope home, sleep indication bits, etc. TBOX collects and integrates these data, uploads them to the cloud platform, and determines whether the vehicle network is connected based on the power status. Unusual awakening.

Benefits of technology

It effectively avoids power feed problems caused by abnormal vehicle sleep and wake-up, ensures that the network goes to sleep at the appropriate time, protects battery health, and ensures that the vehicle can start normally.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115202317B_ABST
    Figure CN115202317B_ABST
Patent Text Reader

Abstract

A method and system for diagnosing abnormality of network sleep and wakeup of a whole vehicle, the method comprising: each control module sends a network management message according to its own working logic, the network management message includes multiple sleep and wakeup flags, the multiple sleep and wakeup flags include: wakeup flag, ring building flag, slope return flag, sleep indication bit and sleep flag; TBOX collects the network management messages sent by each of the control modules, and integrates the sleep and wakeup flag data in the network management message into a complete application message frame and uploads it to the cloud platform through the data link, and uploads the power status POWERMODE signal of the whole vehicle at the same time; the cloud platform obtains the application message and the power status POWERMODE signal uploaded by TBOX, and judges whether the network sleep and wakeup of the whole vehicle is abnormal according to the power status POWERMODE signal and the sleep and wakeup flag in the application message. The present invention can effectively detect abnormality of network sleep of the whole vehicle and avoid power feeding problems caused by abnormal sleep and wakeup of the whole vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automobile technology, and in particular to a method and system for diagnosing abnormalities in vehicle network dormancy and awakening. Background Art

[0002] With the development of the new four modernizations of automobiles and the development of various functions, functions tend to be more complicated. In order to realize various development functions, traditional point-to-point wiring harness connections are adopted, which adds a large number of wiring harnesses, resulting in the reduction of the overall layout space of the automobile, the complication of the manufacturing process, the increase of after-sales problems, the difficulty of maintenance and the increase of costs.

[0003] In response to this problem, the automobile control method has changed accordingly, from the traditional hard-wired high and low level control switches to various controllers to realize logical control functions, and realize signal interactive input and output through CAN communication. That is, the network in the current vehicle plays an important role in information transmission and affects the function of the entire vehicle.

[0004] However, with the increasing complexity of software functions, the specialization of customer usage scenarios, and various faults in the vehicle itself, the vehicle network may remain awake and not sleep, which may eventually lead to low battery power and inability to start the vehicle. Currently, there is a lack of effective detection methods for vehicle network sleep and wake-up, which makes the vehicle vulnerable to power supply risks. Summary of the invention

[0005] In view of the above situation, it is necessary to provide a whole vehicle network sleep and wake-up abnormality diagnosis method and system to address the problem of lack of effective detection means for whole vehicle network sleep and wake-up in the prior art.

[0006] A vehicle network sleep and wake-up abnormality diagnosis method, comprising:

[0007] Each control module of the vehicle sends a network management message according to its own working logic, and the network management message includes multiple sleep wake-up flags, and the multiple sleep wake-up flags include: wake-up flag, ring building flag, slope driving home flag, sleep indication flag and sleep flag;

[0008] TBOX collects the network management messages sent by each control module, and integrates the sleep and wake-up flag data in the network management messages into a complete application message frame and uploads it to the cloud platform through the data link, and also uploads the vehicle power status POWERMODE signal;

[0009] The cloud platform obtains the application message and the power status POWERMODE signal uploaded by TBOX, and determines whether the vehicle network sleep and wake-up are abnormal according to the power status POWERMODE signal and the sleep and wake-up flag in the application message.

[0010] Furthermore, in the above vehicle network sleep and wake-up abnormality diagnosis method, the step of each control module of the vehicle sending a network management message according to its own working logic includes:

[0011] When the control module wakes up after receiving a wake-up source instruction after sleeping, the wake-up flag is set to 1, and when it is not awakened, the wake-up flag is set to 0;

[0012] When the control module is awakened and the awakening flag is set to 1, the ring establishment flag is set to 1. If the control module is in the normal awakening process, in the sleep process, or after the sleep is successful, the ring establishment flag is set to 0;

[0013] After the control module wakes up or during the whole vehicle ring building process, when the control module receives an application message sent by other control modules, the control module sets the slope home flag position to 1; if the control module does not receive an application message sent by other control modules, the control module sets the slope home flag position to 0;

[0014] After the vehicle is powered off, the control module can enter sleep mode after processing its own functions, set the sleep indicator position to 1, and notify other control modules that they can enter sleep mode. If the control module has not processed its own functions, it cannot enter sleep mode, and the sleep indicator position is 0;

[0015] When the control module can enter sleep mode and the sleep indication position is 1, and TBOX collects and detects the network management message of the control module and completes uploading the data to the cloud platform, the control module sets the sleep flag position to 1. When any of the control modules has not completed sleep mode, the sleep flag position is 0.

[0016] Further, in the above-mentioned vehicle network sleep and wake-up abnormality diagnosis method, the step of judging whether the vehicle network sleep and wake-up is abnormal according to the power state POWERMODE signal and the sleep and wake-up flag in the application message comprises:

[0017] When the power state POWERMODE signal is in a non-OFF state, if the wake-up flag position of any of the control modules is 0, it is determined that the vehicle network sleep wake-up is abnormal;

[0018] When the wake-up flags of all the control modules are set to 1, the system enters normal operation. When the wake-up flags of all the control modules return to 0, the ring establishment flag is set to 1. When any control module fails to establish a ring normally after continuously sending 3 frames of messages after the ring establishment flags of other control modules are set to 1, it is determined that the vehicle network sleep wake-up is abnormal.

[0019] When the hill-going home flag position of any of the control modules is 1, the vehicle network sleep wake-up is abnormal;

[0020] When the power status POWERMODE signal of the vehicle is OFF after power is turned off, the sleep indication position of the control module is 0, and the sleep indication position is not set to 1 10 minutes after power off or the TBOX does not set the sleep flag position to 1 for three consecutive frames of data, it is determined that the vehicle network sleep wake-up is abnormal.

[0021] Furthermore, in the above vehicle network sleep and wake-up abnormality diagnosis method, the step of integrating the sleep and wake-up flag data in the network management message into a complete application message frame and uploading it to the cloud platform through the data link includes:

[0022] Collecting the second byte data of the network management message of each control module;

[0023] The second byte data of each of the network management messages of the control modules are grouped together into one frame of application message and named with a new ID.

[0024] Furthermore, in the above-mentioned vehicle network sleep and wake-up abnormality diagnosis method, the sleep and wake-up flag bit further comprises the following step after judging whether the vehicle network sleep and wake-up is abnormal according to the power state POWERMODE signal and the sleep and wake-up flag bit in the application message:

[0025] When it is determined that the vehicle network is sleeping or waking up abnormally, an alarm is triggered.

[0026] The present invention also discloses a vehicle network sleep and wake-up abnormality diagnosis system, including multiple control modules, TBOX and a cloud platform.

[0027] The control module is used to send a network management message according to its own working logic, and the network management message includes a plurality of sleep wake-up flags, and the plurality of sleep wake-up flags include: a wake-up flag, a ring building flag, a slope return flag, a sleep indication flag, and a sleep flag;

[0028] The TBOX is used to collect network management messages sent by each control module, and integrate the sleep and wake-up flag data in the network management message into a complete application message frame and upload it to the cloud platform through the data link, and upload the vehicle power status POWERMODE signal at the same time;

[0029] The cloud platform is used to obtain the application message and the power status POWERMODE signal uploaded by TBOX, and judge whether the vehicle network sleep and wake-up are abnormal according to the power status POWERMODE signal and the sleep and wake-up flag in the application message.

[0030] Furthermore, the above vehicle network sleep and wake-up abnormality diagnosis system, wherein:

[0031] When the control module wakes up after receiving a wake-up source instruction after sleeping, the wake-up flag is set to 1, and when it is not awakened, the wake-up flag is set to 0;

[0032] When the control module is awakened and the awakening flag is set to 1, the ring establishment flag is set to 1. If the control module is in the normal awakening process, in the sleep process, or after the sleep is successful, the ring establishment flag is set to 0;

[0033] After the control module wakes up or during the whole vehicle ring building process, when the control module receives an application message sent by other control modules, the control module sets the slope home flag position to 1; if the control module does not receive an application message sent by other control modules, the control module sets the slope home flag position to 0;

[0034] After the vehicle is powered off, the control module can enter sleep mode after processing its own functions, set the sleep indicator position to 1, and notify other control modules that they can enter sleep mode. If the control module has not processed its own functions, it cannot enter sleep mode, and the sleep indicator position is 0;

[0035] When the control module can enter sleep mode and the sleep indication position is 1, and TBOX collects and detects the network management message of the control module and completes uploading the data to the cloud platform, the control module sets the sleep flag position to 1. When any of the control modules has not completed sleep mode, the sleep flag position is 0.

[0036] Furthermore, in the above vehicle network sleep and wake-up abnormality diagnosis system, the cloud platform is used to:

[0037] When the power state POWERMODE signal is in a non-OFF state, if the wake-up flag position of any of the control modules is 0, it is determined that the vehicle network sleep wake-up is abnormal;

[0038] When the wake-up flags of all the control modules are set to 1, the system enters normal operation. When the wake-up flags of all the control modules return to 0, the ring establishment flag is set to 1. When any control module in the ring establishment flag position of other control modules is set to 1 and the ring is still not established normally after sending 3 frames of messages continuously, it is determined that the vehicle network sleep wake-up is abnormal.

[0039] When the hill-going home flag position of any of the control modules is 1, the vehicle network sleep wake-up is abnormal;

[0040] When the power status POWERMODE signal of the vehicle is OFF after power is turned off, the sleep indication position of the control module is 0, and the sleep indication position is not set to 1 10 minutes after power off or the TBOX does not set the sleep flag position to 1 for three consecutive frames of data, it is determined that the vehicle network sleep wake-up is abnormal.

[0041] Furthermore, in the above vehicle network sleep and wake-up abnormality diagnosis system, the TBOX is used for:

[0042] Collecting the second byte data of the network management message of each control module;

[0043] The second byte data of each of the network management messages of the control modules are grouped together into one frame of application message and named with a new ID.

[0044] Furthermore, in the above vehicle network sleep and wake-up abnormality diagnosis system, the platform is also used for:

[0045] When it is determined that the vehicle network is sleeping or waking up abnormally, an alarm is triggered.

[0046] The vehicle network sleep and wake-up abnormality diagnosis method of the present invention clearly defines the sleep and wake-up data jump logic scheme of each control module during the test, the data collection and upload cloud platform scheme, and the cloud platform sleep and wake-up abnormality logic judgment scheme. Its working mode completely covers all scenarios in the sleep and wake-up process, and can effectively avoid the power supply problem caused by the sleep and wake-up abnormality of the whole vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a flow chart of the vehicle network sleep and wake-up abnormality diagnosis method in the first embodiment of the present invention;

[0048] Figure 2 It is a flow chart of the vehicle network sleep and wake-up abnormality diagnosis method in the second embodiment of the present invention;

[0049] Figure 3 It is a schematic block diagram of a method for diagnosing abnormalities in vehicle network sleep and wake-up according to a second embodiment of the present invention;

[0050] Figure 4 It is a structural block diagram of the vehicle network sleep and wake-up abnormality diagnosis system in the third embodiment of the present invention. DETAILED DESCRIPTION

[0051] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0052] These and other aspects of the embodiments of the present invention will become clear with reference to the following description and drawings. In these descriptions and drawings, some specific implementations of the embodiments of the present invention are specifically disclosed to represent some ways of implementing the principles of the embodiments of the present invention, but it should be understood that the scope of the embodiments of the present invention is not limited thereto. On the contrary, the embodiments of the present invention include all changes, modifications and equivalents that fall within the spirit and connotation of the appended claims.

[0053] See also Figure 1 , which is a vehicle network sleep and wake-up abnormality diagnosis method in the first embodiment of the present invention, including steps S11 to S13.

[0054] In step S11, each control module of the vehicle sends a network management message according to its own working logic. The network management message includes multiple sleep and wake-up flags, including: wake-up flag, ring building flag, slope driving home flag, sleep indication flag and sleep flag.

[0055] In this embodiment, in order to ensure the realization of some functions after the vehicle is powered off and the coordinated wake-up and sleep of each control module after power off, network management messages can be added to the network communication of major automobile companies, and the sleep and wake-up of each control module can be controlled through the network management messages.

[0056] Each control module makes a judgment based on the sleep wake-up network management message logic, and each control module network sends the control module's own network management message in the form of a CAN message according to the wake-up source definition and sleep logic.

[0057] The network management message includes a wake-up flag, a ring building flag, a slope return flag, a sleep indication flag, and a sleep flag. The steps of each control module of the vehicle sending a network management message according to its own working logic include:

[0058] S111, when the control module wakes up after receiving a wake-up source instruction after sleeping, the wake-up flag is set to 1, and when it is not awakened, the wake-up flag is set to 0;

[0059] S112, when the control module is awakened and the awakening flag is set to 1, the ring establishment flag is set to 1; if the control module is in the normal awakening process, in the sleep process, or after the sleep is successful, the ring establishment flag is set to 0;

[0060] S113, after the control module wakes up or during the whole vehicle ring building process, when the control module receives an application message sent by other control modules, the control module sets the slope return home flag position to 1; if the control module does not receive an application message sent by other control modules, the control module sets the slope return home flag position to 0;

[0061] S114, after the vehicle is powered off, the control module can enter sleep mode after processing its own functions, and the sleep indicator position is set to 1, and other control modules are notified that they can enter sleep mode. If the control module has not processed its own functions, it cannot enter sleep mode, and the sleep indicator position is set to 0;

[0062] S115, when the control module can enter sleep mode and the sleep indication position is 1, and TBOX collects and detects the network management message of the control module and completes uploading the data to the cloud platform, the control module sets the sleep flag position to 1; when any of the control modules has not completed sleep mode, the sleep flag position is 0.

[0063] When the vehicle is in sleep mode or the control module is in sleep mode and receives a wake-up source command to work, the wake-up flag must be set to 1 first. If not awakened, the flag is set to 0. The vehicle starts working after receiving the wake-up source command. After each control module is awakened and the wake-up flag is set to 1, the ring establishment flag of each control module is set to 1 and starts working. During the working process, the ring is established normally, and the ring establishment flag is set to 1 without changing its state. The ring establishment flag is set to 0 during the normal wake-up process, the sleep process, and after the sleep is successful.

[0064] When any control module of the vehicle wakes up or the vehicle does not receive application messages sent by other control modules during the ring building process, the control module node is considered lost, and its slope return flag is set to 1. If the node is not lost, the flag is set to 0.

[0065] After the vehicle is powered off, if the control module has completed its own functions, it can go into sleep mode. At this time, the sleep indicator position is set to 1, and other control modules are informed that they can go into sleep mode. If the function processing is not completed and the control module cannot go into sleep mode, the sleep indicator position is set to 0.

[0066] When all control modules can enter sleep mode and the sleep indication bits are set to 1, TBOX collects and detects the network management message status of each control module, completes data upload to the cloud platform, and sets the sleep flag bit to 1; if any control module has not completed sleep mode, the sleep flag bit is set to 0.

[0067] Step S12, TBOX collects network management messages sent by each of the control modules, and integrates the sleep and wake-up flag data in the network management messages into a complete application message frame and uploads it to the cloud platform through the data link, and simultaneously uploads the vehicle power status POWERMODE signal.

[0068] TBOX collects network management messages from each control module for data collection and integration, and then uploads them to the cloud platform. The network management message from the vehicle control module is a CAN network message, and its data length is 8 bytes. The data bit of the network management message related to the sleep and wake-up status is the second byte, that is, the second byte of the network management message is the sleep and wake-up flag. TBOX collects the second byte data of the network management message from each control module to obtain the sleep and wake-up status of all control modules.

[0069] In order to reduce the amount of data uploaded to the cloud and avoid the possibility of data jams and data loss, TBOX will collect the second byte data of the network management message, obtain the sleep and wake-up status of all control modules, and integrate the status of every eight control modules into one frame of application message and name it with a new ID. TBOX will integrate the application message named with the new ID and the POWERMODE signal of the power status and upload it to the cloud platform through the data link.

[0070] Step S13, the cloud platform obtains the application message and the power status POWERMODE signal uploaded by the TBOX, and determines whether the vehicle network sleep and wake-up is abnormal according to the power status POWERMODE signal and the sleep and wake-up flag in the application message.

[0071] The cloud platform has three main logics for determining abnormalities in vehicle network sleep and wake-up, namely, power-on wake-up abnormality, slope driving home, and sleep abnormality.

[0072] Among them, the power-on wake-up exception is: when the power status POWERMODE signal is not in the OFF state, the vehicle is deemed to be in working state and wakes up. At this time, the wake-up flag of all control modules is set to 1. When the wake-up flag of any control module is set to 0, it is deemed to be a power-on wake-up exception and triggers an alarm. When the wake-up flags of all control modules are set to 1, they enter normal operation, that is, the wake-up flags of all control modules return to 0, and the ring establishment flag is set to 1. However, when any control module sets the ring establishment flag of other control modules to 1, and the ring is still not established normally after sending 3 frames of messages in a row, it is a power-on wake-up exception and triggers an alarm.

[0073] Slope return home means: when the slope return home flag position of any control module is 1, the control module node is considered lost, it is identified as slope return home, and an alarm is triggered.

[0074] Sleep abnormality: When the power status POWERMODE signal is OFF after the vehicle is powered off, the sleep indicator bit should be set to 1 after the function processing of each control module is completed. If the sleep indicator bit is not set to 1 10 minutes after the vehicle is powered off, it is determined that the sleep abnormality is triggered and the alarm is triggered. Or, after all control module function processing is completed and the sleep indicator bit is set to 1, TBOX sends three frames of data continuously and does not set the sleep flag bit to 1, it is determined to be a sleep abnormality and triggers an alarm.

[0075] This embodiment provides a method for remotely diagnosing the sleep and wake-up abnormalities of the whole vehicle network, clearly defines the sleep and wake-up data jump logic scheme of each control module during the test, the data collection and upload cloud platform scheme, and the cloud platform sleep and wake-up abnormality logic judgment scheme. Its working mode completely covers all scenarios in the sleep and wake-up process, and can effectively avoid the power feeding problem caused by the sleep and wake-up abnormalities of the whole vehicle.

[0076] See also Figure 2 , which is a vehicle network sleep and wake-up abnormality diagnosis method in the second embodiment of the present invention, including steps S21 to S25.

[0077] In step S21, each control module of the vehicle sends a network management message according to its own working logic. The network management message includes multiple sleep and wake-up flags, including: wake-up flag, ring building flag, slope driving home flag, sleep indication flag and sleep flag.

[0078] like Figure 3 As shown in the figure, the remote diagnosis method for vehicle network sleep and wake-up abnormality includes logical judgment of sleep and wake-up network management messages of each control module, collection and upload of TBOX messages, and cloud platform signal collection and alarm. Each control module normally sends out network management messages according to its own working logic. The network management messages include: wake-up flag, ring building flag, slope return flag, sleep indication bit and sleep flag.

[0079] Wake-up flag: When the vehicle or control module is in sleep mode and receives a wake-up source command to work, the wake-up flag must be set to 1 first. If not, the flag is set to 0.

[0080] Ring establishment flag: The vehicle starts working after receiving the wake-up source command. After each control module is awakened and the wake-up flag is set to 1, the ring establishment flag of each control module is set to 1 to start working. The ring is established normally during the working process. The ring establishment flag position is 1 and its state does not change. During the normal wake-up process, the sleep process and after the sleep is successful, the ring establishment flag position is 0.

[0081] Slope return home flag: When each control module of the vehicle wakes up or the vehicle does not receive application messages sent by other control modules during the ring building process, it is considered that the control module node is lost, and its slope return home flag is 1. If the node is not lost, the flag is 0.

[0082] Sleep indication position: After the vehicle is powered off, if the control module has completed its own functions and can sleep, the sleep indication position will be set to 1, and other control modules will be informed that they can enter sleep. If the function processing is not completed and cannot enter sleep, the sleep indication position will be set to 0.

[0083] Sleep flag: When all control modules can enter sleep mode and the sleep indication bits are set to 1, TBOX collects and detects the network management message status of each control module and uploads the completed data to the cloud platform, and sets the sleep flag to 1. If any control module has not completed sleep mode, the sleep flag is set to 0.

[0084] Step S22, TBOX collects the second byte data of the network management message of each control module, and integrates the second byte data of the network management message of each 8 control modules into one frame of application message, and names it with a new ID.

[0085] Step S23, TBOX uploads the integrated application message to the cloud platform through the data link, and uploads the vehicle power status POWERMODE signal at the same time.

[0086] TBOX collects network management messages and power status POWERMODE signal messages sent by each control module. The data length of each CAN message frame is 8 bytes. Only one byte of the 8 bytes of the network management message represents the sleep and wake-up status of the control module. The data representing the sleep and wake-up status in the network management messages of the eight control modules are extracted and merged into one frame of application message and uploaded to the cloud platform with the set new ID.

[0087] Step S24, the cloud platform obtains the application message and the power status POWERMODE signal uploaded by the TBOX, and determines whether the vehicle network sleep and wake-up is abnormal according to the power status POWERMODE signal and the sleep and wake-up flag in the application message.

[0088] Step S25, when it is determined that the vehicle network sleep or wake-up is abnormal, the cloud platform triggers an alarm.

[0089] The cloud platform obtains the application messages of the sleep and wake-up status and the power status uploaded by TBOX through the data link, and makes a logical judgment on whether the sleep and wake-up are normal through the uploaded messages. The cloud platform signal collection alarm judgment logic mainly includes power-on wake-up abnormality, slope driving home, and sleep abnormality.

[0090] Power-on wake-up abnormality: When the power status POWERMODE signal is not in the OFF state, the vehicle is deemed to be in working state and is woken up. At this time, the wake-up flags of all control modules are set to 1. If the wake-up flag of any control module is set to 0, the power-on wake-up abnormality will be triggered, and an alarm will be triggered; when the wake-up flags of all control modules are set to 1, they will enter normal operation, that is, the wake-up flags of all control modules return to 0 and the ring establishment flags are set to 1. If any control module fails to establish a ring normally after sending 3 frames of messages in succession after the ring establishment flags of other control modules are set to 1, the power-on wake-up abnormality will be triggered, and an alarm will be triggered.

[0091] Slope return home: When the slope return home flag of any control module is in position 1, it is considered that the control module node is lost and an alarm is triggered.

[0092] Sleep abnormality: When the vehicle is powered off, the POWERMODE signal is in the OFF state, and the sleep indication position is 1 after the function processing of each control module is completed. If the sleep indication position is not set to 1 10 minutes after power-off, it is judged as a sleep abnormality and an alarm is triggered; when all control modules have completed the function processing and set the sleep indication position to 1, the TBOX has sent three frames of data continuously and has not set the sleep flag position to 1, which means that the sleep abnormality triggers an alarm.

[0093] See also Figure 4 , is a vehicle network sleep and wake-up abnormality diagnosis system in the third embodiment of the present invention, including multiple control modules 31, TBOX 32 and a cloud platform 33,

[0094] The control module 31 is used to send a network management message according to its own working logic, and the network management message includes a plurality of sleep wake-up flags, and the plurality of sleep wake-up flags include: a wake-up flag, a ring building flag, a slope return flag, a sleep indication flag, and a sleep flag;

[0095] The TBOX 32 is used to collect the network management messages sent by each of the control modules, and integrate the sleep and wake-up flag data in the network management messages into a complete application message frame and upload it to the cloud platform through the data link, and upload the vehicle power status POWERMODE signal at the same time;

[0096] The cloud platform 33 is used to obtain the application message and the power status POWERMODE signal uploaded by the TBOX, and determine whether the vehicle network sleep and wake-up are abnormal according to the power status POWERMODE signal and the sleep and wake-up flag in the application message.

[0097] Furthermore, the above vehicle network sleep and wake-up abnormality diagnosis system, wherein:

[0098] When the control module wakes up after receiving a wake-up source instruction after sleeping, the wake-up flag is set to 1, and when it is not awakened, the wake-up flag is set to 0;

[0099] When the control module is awakened and the awakening flag is set to 1, the ring establishment flag is set to 1. If the control module is in the normal awakening process, in the sleep process, or after the sleep is successful, the ring establishment flag is set to 0;

[0100] After the control module wakes up or during the whole vehicle ring building process, when the control module receives an application message sent by other control modules, the control module sets the slope home flag position to 1; if the control module does not receive an application message sent by other control modules, the control module sets the slope home flag position to 0;

[0101] After the vehicle is powered off, the control module can enter sleep mode after processing its own functions, set the sleep indicator position to 1, and notify other control modules that they can enter sleep mode. If the control module has not processed its own functions, it cannot enter sleep mode, and the sleep indicator position is 0;

[0102] When the control module can enter sleep mode and the sleep indication position is 1, and TBOX collects and detects the network management message of the control module and completes uploading the data to the cloud platform, the control module sets the sleep flag position to 1. When any of the control modules has not completed sleep mode, the sleep flag position is 0.

[0103] Furthermore, in the above vehicle network sleep and wake-up abnormality diagnosis system, the cloud platform is used to:

[0104] When the power state POWERMODE signal is in a non-OFF state, if the wake-up flag position of any of the control modules is 0, it is determined that the vehicle network sleep wake-up is abnormal;

[0105] When the wake-up flags of all the control modules are set to 1, the system enters normal operation. When the wake-up flags of all the control modules return to 0, the ring establishment flag is set to 1. When any control module fails to establish a ring normally after continuously sending 3 frames of messages after the ring establishment flags of other control modules are set to 1, it is determined that the vehicle network sleep wake-up is abnormal.

[0106] When the hill-going home flag position of any of the control modules is 1, the vehicle network sleep wake-up is abnormal;

[0107] When the power status POWERMODE signal of the vehicle is OFF after power is turned off, the sleep indication position of the control module is 0, and the sleep indication position is not set to 1 10 minutes after power off or the TBOX does not set the sleep flag position to 1 for three consecutive frames of data, it is determined that the vehicle network sleep wake-up is abnormal.

[0108] Furthermore, the above vehicle network sleep and wake-up abnormality diagnosis system is characterized in that the TBOX is used for:

[0109] Collecting the second byte data of the network management message of each control module;

[0110] The second byte data of each of the network management messages of the control modules are grouped together into one frame of application message and named with a new ID.

[0111] Furthermore, in the above vehicle network sleep and wake-up abnormality diagnosis system, the platform is also used for:

[0112] When it is determined that the vehicle network is sleeping or waking up abnormally, an alarm is triggered.

[0113] The vehicle network sleep and wake-up abnormal diagnosis system provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference can be made to the corresponding contents in the aforementioned method embodiment.

[0114] Those skilled in the art will appreciate that the logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be specifically implemented in any computer-readable medium for use by an instruction execution system or device (such as a computer-based system, a system including a processor, or other system that can obtain instructions from an instruction execution system or device and execute instructions), or in conjunction with such instruction execution systems or devices. For purposes of this specification, "computer-readable medium" may be any device that can contain, store, communicate, propagate, or transmit a program for use by an instruction execution system or device, or in conjunction with such instruction execution systems or devices.

[0115] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0116] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or a combination thereof: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0117] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0118] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A vehicle network sleep and wake-up abnormality diagnosis method, characterized in that: include: Each control module of the vehicle sends a network management message according to its own working logic, and the network management message includes multiple sleep wake-up flags, and the multiple sleep wake-up flags include: wake-up flag, ring building flag, slope driving home flag, sleep indication flag and sleep flag; TBOX collects the network management messages sent by each control module, and integrates the sleep and wake-up flag data in the network management messages into a complete application message frame and uploads it to the cloud platform through the data link, and also uploads the vehicle power status POWERMODE signal; The cloud platform obtains the application message and the power state POWERMODE signal uploaded by the TBOX, and determines whether the vehicle network sleep and wake-up are abnormal according to the power state POWERMODE signal and the sleep and wake-up flag in the application message; The step of judging whether the vehicle network sleep and wake-up flag is abnormal according to the power state POWERMODE signal and the sleep and wake-up flag in the application message comprises: When the power state POWERMODE signal is in a non-OFF state, if the wake-up flag position of any of the control modules is 0, it is determined that the vehicle network sleep wake-up is abnormal; When the wake-up flags of all the control modules are set to 1, the system enters normal operation. When the wake-up flags of all the control modules return to 0, the ring establishment flag is set to 1. When any control module fails to establish a ring normally after continuously sending 3 frames of messages after the ring establishment flags of other control modules are set to 1, it is determined that the vehicle network sleep wake-up is abnormal. When the hill-going home flag position of any of the control modules is 1, the vehicle network sleep wake-up is abnormal; When the POWERMODE signal of the power status is OFF after the vehicle is powered off, the sleep indication position of the control module is 0, and the sleep indication position is not set to 1 10 minutes after power off or the TBOX does not set the sleep flag position to 1 for three consecutive frames of data, it is determined that the vehicle network sleep wake-up is abnormal.

2. The vehicle network sleep and wake-up abnormality diagnosis method according to claim 1, characterized in that: The steps of each control module of the vehicle sending a network management message according to its own working logic include: When the control module wakes up after receiving a wake-up source instruction after sleeping, the wake-up flag is set to 1, and when it is not awakened, the wake-up flag is set to 0; When the control module is awakened and the awakening flag is set to 1, the ring establishment flag is set to 1. If the control module is in the normal awakening process, in the sleep process, or after the sleep is successful, the ring establishment flag is set to 0; After the control module wakes up or during the whole vehicle ring building process, when the control module receives an application message sent by other control modules, the control module sets the slope home flag position to 1; if the control module does not receive an application message sent by other control modules, the control module sets the slope home flag position to 0; After the vehicle is powered off, the control module can enter sleep mode after processing its own functions, set the sleep indicator position to 1, and notify other control modules that they can enter sleep mode. If the control module has not processed its own functions, it cannot enter sleep mode, and the sleep indicator position is 0; When the control module can enter sleep mode and the sleep indication position is 1, and TBOX collects and detects the network management message of the control module and completes uploading the data to the cloud platform, the control module sets the sleep flag position to 1. When any of the control modules has not completed sleep mode, the sleep flag position is 0.

3. The vehicle network sleep and wake-up abnormality diagnosis method according to claim 1, characterized in that: The step of integrating the sleep / wake-up flag data in the network management message into a complete application message frame and uploading it to the cloud platform via a data link comprises: Collecting the second byte data of the network management message of each control module; The second byte data of each of the network management messages of the control modules are grouped together into one frame of application message and named with a new ID.

4. The vehicle network sleep and wake-up abnormality diagnosis method according to claim 1, characterized in that: After the step of determining whether the vehicle network sleep and wake-up is abnormal according to the power state POWERMODE signal and the sleep and wake-up flag in the application message, the step further includes: When it is determined that the vehicle network is sleeping or waking up abnormally, an alarm is triggered.

5. A vehicle network sleep and wake-up abnormality diagnosis system, characterized in that: Including multiple control modules, TBOX and cloud platform, The control module is used to send a network management message according to its own working logic, and the network management message includes a plurality of sleep wake-up flags, and the plurality of sleep wake-up flags include: a wake-up flag, a ring building flag, a slope return flag, a sleep indication flag, and a sleep flag; The TBOX is used to collect network management messages sent by each control module, and integrate the sleep and wake-up flag data in the network management message into a complete application message frame and upload it to the cloud platform through the data link, and upload the vehicle power status POWERMODE signal at the same time; The cloud platform is used to obtain the application message and the power status POWERMODE signal uploaded by the TBOX, and judge whether the vehicle network sleep and wake-up are abnormal according to the power status POWERMODE signal and the sleep and wake-up flag in the application message; The cloud platform is specifically used for: When the power state POWERMODE signal is in a non-OFF state, if the wake-up flag position of any of the control modules is 0, it is determined that the vehicle network sleep wake-up is abnormal; When the wake-up flags of all the control modules are set to 1, the system enters normal operation. When the wake-up flags of all the control modules return to 0, the ring establishment flag is set to 1. When any control module fails to establish a ring normally after continuously sending 3 frames of messages after the ring establishment flags of other control modules are set to 1, it is determined that the vehicle network sleep wake-up is abnormal. When the hill-going home flag position of any of the control modules is 1, the vehicle network sleep wake-up is abnormal; When the POWERMODE signal of the power status is OFF after the vehicle is powered off, the sleep indication position of the control module is 0, and the sleep indication position is not set to 1 10 minutes after power off or the TBOX does not set the sleep flag position to 1 for three consecutive frames of data, it is determined that the vehicle network sleep wake-up is abnormal.

6. The vehicle network sleep and wake-up abnormality diagnosis system according to claim 5, characterized in that: When the control module wakes up after receiving a wake-up source instruction after sleeping, the wake-up flag is set to 1, and when it is not awakened, the wake-up flag is set to 0; When the control module is awakened and the awakening flag is set to 1, the ring establishment flag is set to 1. If the control module is in the normal awakening process, in the sleep process, or after the sleep is successful, the ring establishment flag is set to 0; After the control module wakes up or during the whole vehicle ring building process, when the control module receives an application message sent by other control modules, the control module sets the slope home flag position to 1; if the control module does not receive an application message sent by other control modules, the control module sets the slope home flag position to 0; After the vehicle is powered off, the control module can enter sleep mode after processing its own functions, set the sleep indicator position to 1, and notify other control modules that they can enter sleep mode. If the control module has not processed its own functions, it cannot enter sleep mode, and the sleep indicator position is 0; When the control module can enter sleep mode and the sleep indication position is 1, and TBOX collects and detects the network management message of the control module and completes uploading the data to the cloud platform, the control module sets the sleep flag position to 1. When any of the control modules has not completed sleep mode, the sleep flag position is 0.

7. The vehicle network sleep and wake-up abnormality diagnosis system according to claim 5, characterized in that: The TBOX is used for: Collecting the second byte data of the network management message of each control module; The second byte data of each of the network management messages of the control modules are grouped together into one frame of application message and named with a new ID.

8. The vehicle network sleep and wake-up abnormality diagnosis system according to claim 5, wherein the platform is also used for: When it is determined that the vehicle network is sleeping or waking up abnormally, an alarm is triggered.