Vehicle communication network monitoring method, device, equipment, storage medium and product

By detecting the sleep state and frequent wake-up of the communication network when the vehicle is powered off, it locates the source of active wake-up and adjusts the monitoring strategy to solve the problem of battery loss caused by frequent wake-up of the vehicle and ensure the normal start of the vehicle.

CN118764901APending Publication Date: 2024-10-11DONGFENG MOTOR GRP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410778309.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

The existing technology cannot effectively monitor the vehicle communication network, which leads to the problem that the battery is depleted due to frequent wake-up abnormalities after power is turned off, and the vehicle cannot be started.

Method used

By detecting the power-off state of the vehicle, it is determined whether the communication network is in a dormant state. If there is a frequent wake-up state, the first active wake-up source is located, and monitoring is performed based on this information to adjust the communication network monitoring strategy.

Benefits of technology

It can timely detect the abnormal wake-up and sleep of the communication network, avoid battery loss due to abnormal wake-up and sleep, and ensure that the vehicle can start normally.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764901A_ABST
    Figure CN118764901A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle communication network monitoring method and device, equipment, a storage medium and a product, and relates to the technical field of vehicle network monitoring, and the method comprises the steps: judging whether a communication network of a vehicle is in a dormant state or not when it is detected that the vehicle is in a power-off state; if yes, determining a first active wake-up source corresponding to the communication network when the communication network has a frequent wake-up state; monitoring the communication network according to the first field information of the first active wake-up source to obtain real vehicle data of the vehicle; and a communication network monitoring strategy of the vehicle is adjusted and formulated based on the real vehicle data. The active wake-up source is positioned according to the communication network state of the vehicle, and the real vehicle data of the vehicle is obtained according to the field information of the active wake-up source, so that the communication network of the vehicle can be monitored, and the wake-up sleep abnormality of the communication network can be found in time; therefore, the technical problem that the vehicle cannot be started due to power shortage caused by abnormal awakening dormancy of the storage battery is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle network monitoring, and in particular to a vehicle communication network monitoring method, device, equipment, storage medium and product. Background Art

[0002] After the vehicle is powered off, the vehicle communication network cannot sleep due to problems with certain components, which eventually leads to a serious problem that the battery is depleted and the vehicle cannot be started. Therefore, the industry is in urgent need of a method for monitoring the vehicle communication network to solve the above technical problems.

[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of this application is to provide a vehicle communication network monitoring method, device, equipment, storage medium and product, aiming to solve the technical problem that the existing technology cannot monitor the entire vehicle communication network.

[0005] To achieve the above object, the present application provides a vehicle communication network monitoring method, the method comprising the following steps:

[0006] When it is detected that the vehicle is in a power-off state, determining whether the communication network of the vehicle is in a dormant state;

[0007] If yes, determining a first active wake-up source corresponding to the communication network when the communication network is in a frequent wake-up state;

[0008] The communication network is monitored according to the first field information of the first active wake-up source to obtain the actual vehicle data of the vehicle;

[0009] The communication network monitoring strategy of the vehicle is adjusted and formulated based on the actual vehicle data.

[0010] In one embodiment, when it is detected that the vehicle is in a power-off state, the step of determining whether the communication network of the vehicle is in a dormant state comprises:

[0011] When it is detected that the vehicle is in a power-off state, initializing the setting parameters of the vehicle, the setting parameters including a frequent wake-up counter parameter, a sleep timeout counter parameter, a controller sleep abnormal state parameter, a controller abnormal wake-up source state parameter, and a data record sequence number parameter;

[0012] Whether the communication network is in a dormant state is determined by monitoring whether there is a transmission data frame in the communication network of the vehicle.

[0013] In one embodiment, before the step of determining the first active wake-up source corresponding to the communication network when the communication network is in a frequent wake-up state, the step further includes:

[0014] If it is detected that the current count value in the frequent wake-up counter of the vehicle is greater than or equal to a preset threshold, it is determined that the communication network is in a frequent wake-up state;

[0015] If it is detected that the current count value in the frequent wake-up counter of the vehicle is less than a preset threshold, the frequent wake-up counter is continuously detected after the current count value is updated until the current count value is greater than or equal to the preset threshold.

[0016] In one embodiment, the step of determining a first active wake-up source corresponding to the communication network when the communication network is in a frequent wake-up state includes:

[0017] If the communication network is in a frequent awakening state, identifying awakened nodes in the communication network and node data corresponding to the awakened nodes;

[0018] A first active wake-up source is located from the awakened node according to the node data.

[0019] In one embodiment, the step of monitoring the communication network according to the first field information of the first active wake-up source to obtain the real vehicle data of the vehicle includes:

[0020] Acquire first field information of the first active wake-up source, where the first field information includes network status field information and network monitoring field information;

[0021] The first field information is sent to a remote information processing terminal of the vehicle, and the communication network is monitored based on the remote information processing terminal to obtain actual vehicle data of the vehicle.

[0022] In one embodiment, after the step of determining whether the communication network of the vehicle is in a dormant state when the vehicle is detected to be in a powered-off state, the method further includes:

[0023] If the communication network is not in the preset scenario, determining a second active wake-up source corresponding to the communication network when the communication network is in a sleep timeout state;

[0024] The communication network monitoring strategy of the vehicle is adjusted and formulated based on the second field information of the second active wake-up source, where the second field information includes network status field information and network monitoring field information.

[0025] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle communication network monitoring device, the vehicle communication network monitoring device comprising:

[0026] A state judgment module, used to judge whether the communication network of the vehicle is in a dormant state when it is detected that the vehicle is in a power-off state;

[0027] a wake-up source positioning module, configured to determine a first active wake-up source corresponding to the communication network when the communication network is in a frequent wake-up state;

[0028] A network monitoring module, configured to monitor the communication network according to the first field information of the first active wake-up source to obtain the actual vehicle data of the vehicle;

[0029] An adjustment and formulation module is used to adjust and formulate the communication network monitoring strategy of the vehicle based on the real vehicle data.

[0030] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle communication network monitoring device, which includes: a memory, a processor, and a vehicle communication network monitoring program stored on the memory and executable on the processor, and the vehicle communication network monitoring program is configured to implement the steps of the vehicle communication network monitoring method described above.

[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a vehicle communication network monitoring program is stored on the storage medium. When the vehicle communication network monitoring program is executed by the processor, the steps of the vehicle communication network monitoring method described above are implemented.

[0032] In addition, to achieve the above objectives, the present invention also provides a computer program product, which includes a vehicle communication network monitoring program, and when the vehicle communication network monitoring program is executed by a processor, it implements the steps of the vehicle communication network monitoring method described above.

[0033] This application determines whether the communication network of the vehicle is in a dormant state when it is detected that the vehicle is in a power-off state; if so, determines the first active wake-up source corresponding to the communication network when the communication network is in a frequent wake-up state; monitors the communication network according to the first field information of the first active wake-up source to obtain the actual vehicle data of the vehicle; and adjusts and formulates the communication network monitoring strategy of the vehicle based on the actual vehicle data. The above method of this application locates the active wake-up source by the communication network status of the vehicle, and obtains the actual vehicle data of the vehicle according to the field information of the active wake-up source, so that the communication network of the vehicle can be monitored and the wake-up and sleep anomalies of the communication network can be discovered in time, thereby avoiding the technical problem that the vehicle cannot be started due to abnormal battery power loss during wake-up and sleep. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A schematic diagram of the structure of a vehicle communication network monitoring device in a hardware operating environment involved in an embodiment of the present application;

[0035] Figure 2 This is a flow chart of the first embodiment of the vehicle communication network monitoring method of the present application;

[0036] Figure 3 A schematic diagram of a network architecture applicable to the vehicle communication network monitoring method of this application;

[0037] Figure 4 This is a flow chart of a second embodiment of the vehicle communication network monitoring method of the present application;

[0038] Figure 5 This is a flow chart of a third embodiment of the vehicle communication network monitoring method of the present application;

[0039] Figure 6 This is a structural block diagram of the first embodiment of the vehicle communication network monitoring device of the present application.

[0040] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

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

[0042] Reference Figure 1 , Figure 1 A schematic diagram of the structure of a vehicle communication network monitoring device in the hardware operating environment involved in an embodiment of the present application.

[0043] like Figure 1As shown, the vehicle communication network monitoring device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0044] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the vehicle communication network monitoring device, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.

[0045] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a vehicle communication network monitoring program.

[0046] exist Figure 1 In the vehicle communication network monitoring device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the vehicle communication network monitoring device of the present application can be set in the vehicle communication network monitoring device, and the vehicle communication network monitoring device calls the vehicle communication network monitoring program stored in the memory 1005 through the processor 1001, and executes the vehicle communication network monitoring method provided in the embodiment of the present application.

[0047] The present application embodiment provides a vehicle communication network monitoring method, referring to Figure 2 , Figure 2 This is a flow chart of the first embodiment of the vehicle communication network monitoring method of the present application.

[0048] In this embodiment, the vehicle communication network monitoring method includes the following steps:

[0049] Step S10: When it is detected that the vehicle is in a power-off state, it is determined whether the communication network of the vehicle is in a dormant state.

[0050] It should be noted that the execution subject of the method of this embodiment can be a terminal device with network status monitoring, data processing and program running functions, such as a smart phone, a computer, etc., or an electronic device with the same or similar functions, such as the above-mentioned vehicle communication network monitoring device. The following takes the vehicle communication network monitoring device (hereinafter referred to as the detection device) as an example to illustrate this embodiment and the following embodiments.

[0051] It is understandable that when it is detected that the current gear position of the vehicle is the OFF gear, it can be determined that the current vehicle is in a power-off state.

[0052] In a specific implementation, it is possible to determine whether the communication network of the vehicle is in a dormant state by performing network detection on all ECUs (electronic Control Units) in the vehicle.

[0053] Step S20: If yes, then determining a first active wake-up source corresponding to the communication network when the communication network is in a frequent wake-up state.

[0054] It should be noted that the above-mentioned frequent awakening state may refer to the state in which the vehicle's communication network is awakened multiple times within a certain period of time.

[0055] It should be understood that when the communication network is in a frequent wake-up state, it means that the vehicle's communication network may have a wake-up abnormality or a sleep abnormality. Therefore, it is necessary to locate the first active wake-up source corresponding to the communication network at this time, so as to further confirm the specific reason why the communication network is in a frequent wake-up state.

[0056] Step S30: monitoring the communication network according to the first field information of the first active wake-up source to obtain the actual vehicle data of the vehicle.

[0057] It should be noted that the above-mentioned first active wake-up source can be any node in the network architecture with a central node / gateway (GW), so the above-mentioned first field information can be field information in the network architecture with a central node / gateway, such as the node's network status field (NetWorkSt), the central node / gateway's network monitoring field (NetWorkMonitor), etc. This embodiment does not limit this.

[0058] Understandably, reference Figure 3 , Figure 3This is a schematic diagram of a network architecture applicable to the vehicle communication network monitoring method of this application. In this embodiment, it is not limited to whether the communication carrier is optical communication or electrical communication, nor is it limited to whether the communication protocol is vehicle Ethernet or traditional CAN. The communication network can be monitored by defining the network status field of each node and the network monitoring field of the central node / gateway, thereby obtaining the actual vehicle data of the above-mentioned vehicle.

[0059] Step S40: adjusting and formulating the communication network monitoring strategy of the vehicle based on the actual vehicle data.

[0060] In a specific implementation, possible problems of the current vehicle can be determined based on the above-mentioned real vehicle data and the problems can be classified, so as to adjust and formulate the vehicle's communication network monitoring strategy.

[0061] This embodiment determines whether the communication network of the vehicle is in a dormant state when it is detected that the vehicle is in a power-off state; if so, determines the first active wake-up source corresponding to the communication network when the communication network is in a frequent wake-up state; monitors the communication network according to the first field information of the first active wake-up source to obtain the actual vehicle data of the vehicle; and adjusts and formulates the communication network monitoring strategy of the vehicle based on the actual vehicle data. The above method of this embodiment locates the active wake-up source through the communication network status of the vehicle, and obtains the actual vehicle data of the vehicle according to the field information of the active wake-up source, so that the communication network of the vehicle can be monitored and the wake-up and sleep anomalies of the communication network can be discovered in time, thereby avoiding the technical problem that the vehicle cannot be started due to abnormal battery power loss during wake-up and sleep.

[0062] refer to Figure 4 , Figure 4 This is a flow chart of the second embodiment of the vehicle communication network monitoring method of the present application.

[0063] In a feasible implementation manner, the step S10 may include:

[0064] Step S101: when it is detected that the vehicle is in a power-off state, the setting parameters of the vehicle are initialized, and the setting parameters include frequent wake-up counter parameters, sleep timeout counter parameters, controller sleep abnormal state parameters, controller abnormal wake-up source state parameters and data record sequence number parameters.

[0065] In a specific implementation, initializing the vehicle's setting parameters may mean setting the setting parameters to zero, or setting the setting parameters to other custom values, which is not limited in this embodiment. Taking setting the setting parameters to zero as an embodiment, the above-mentioned frequent wake-up counter can be represented by WVehicle, corresponding to the setting of GW_WakeupInd in NetWorkMonitor. If the frequent wake-up exceeds Wmax (default 10 times) in a power-off cycle, it can be considered that the network is frequently woken up, and this position is 1; the sleep timeout counter can be represented by TVehicle, corresponding to the setting of GW_SleepInd in NetWorkMonitor. If it does not sleep for more than Tmax time (default 30min), it is considered that the sleep timeout has occurred, and this position is 1; the controller sleep state can be represented by GW_xnode_Sl eepError indicates that it corresponds to the setting of GW_xnode_SleepError in NetWorkMonitor, and records the status of each communication node in the network. If a NetWorkSt frame is detected to be sent during the monitoring of frequent wake-up or sleep timeout, its ID is extracted to identify the corresponding controller, and the GW_xnode_SleepError bit in the data frame is set to 1. If it is not detected, it remains at 0; the controller wake-up source status can be represented by GW_xnode_AwakeError, which corresponds to the setting of GW_xnode_AwakeErro in NetWorkMonitor. In the node with abnormal sleep, the Xnode_WakeSt bit in the NetWorkSt frame sent by the node is further monitored. If it is 1, it is a node that actively wakes up the network, and the corresponding gateway sets the corresponding GW_xnode_AwakeErro bit in NetWorkMonitor to 1. The data record sequence number can be represented by DataOrder, which corresponds to the DataOrder field in NetWorkMonitor. Among them, each data group recorded by GW should be recorded in chronological order, and the data sent in sequence is recorded through DataOrder in the data group. The number of times DataOrder can be stored needs to be evaluated by GW software. The default is 16 groups (0-15), which can be expanded and calibrated according to needs. After the data group NetWorkMonitor stored by GW is sent, the sent data should be deleted and the counting should be restarted to clear space for the next set of data recording. If the data group recorded by GW exceeds 16 groups during the process of waking up once when the network segment where the T-BOX (Telematic BOX, remote information processing terminal) is powered off, the earliest data will be kept and not overwritten (analysis shows that early data is more valuable for reference and can better locate the initial wake-up source).When the end flag in the data group NetWorkMonitor received by T-BOX is set (abnormal: if T-BOX does not receive the data group NetWorkMonitor for 10 seconds), it is considered that the transmission of the GW alarm data group NetWorkMonitor is completed and it is packaged and sent to the background.

[0066] Step S102: Determine whether the communication network is in a dormant state by monitoring whether there are transmission data frames in the communication network of the vehicle.

[0067] In a feasible implementation manner, before step S20, the following may also be included:

[0068] Step S103: If it is detected that the current count value in the frequent wake-up counter of the vehicle is greater than or equal to a preset threshold, it is determined that the communication network is in a frequent wake-up state.

[0069] Step S104: If it is detected that the current count value in the frequent wake-up counter of the vehicle is less than a preset threshold, the frequent wake-up counter is continuously detected after the current count value is updated until the current count value is greater than or equal to the preset threshold.

[0070] In the specific implementation, the frequent wake-up counter can be used to determine whether the communication network is in a frequent wake-up state. If the frequent wake-up counter WVehicle reaches the maximum value of the counter (such as 255), the maximum value is maintained (reset in the next power-off cycle); if WVehicle ≥ Wmax (preset threshold, 10 times by default), it means that the frequent wake-up problem has occurred in this power-off cycle; if the threshold is not reached, the frequent wake-up counter continues to be monitored.

[0071] In a feasible implementation manner, the step S20 may include:

[0072] Step S201: If the communication network is in a frequent awakening state, then identifying awakened nodes in the communication network and node data corresponding to the awakened nodes.

[0073] Step S202: locating a first active wake-up source from the awakened node according to the node data.

[0074] In a specific implementation, when the communication network is in a frequent awakening state, the 2s monitoring can be turned on to identify the awakened nodes in the communication network and the node data corresponding to the awakened nodes. The 2s monitoring corresponds to the passive awakening node agreement to send only 2s NetWorkSt frames to identify all awakened nodes. Among them, the steps of the 2s monitoring are as follows. First, obtain all nodes that have sent NetWorkSt frames within 0 to 2s, that is, awakened nodes, and record the corresponding controller sleep timeout status flag GW_xnode_SleepError set to "1 timeout". Then identify the awakening status bit Xnode_WakeSt in the NetWorkSt frame of the awakened node. If it is 1, it means that the node is an active awakening node, and the controller awakening source status flag GW_xnode_AwakeError in the NetWorkMonitor of the corresponding GW is set to "1 active awakening". Such nodes should maintain the sending of Xnode_WakeSt frames when the nodes are not asleep, and are judged as "frequently awakened nodes" when performing data analysis in the background. If it is 0, it means that it is awakened by other nodes, and the corresponding controller wake-up source status flag GW_xnode_AwakeError is set to "0 passive awakening". Such nodes should stop sending Xnode_WakeSt frames after 2s. The background obtains these node information for power consumption evaluation and can also determine whether these passive awakening nodes should be awakened. The background will expand the design of the judgment strategy based on the acquired data. Finally, GW_AwakeInd is set to "1: frequent awakening (second second)", DataOrder = DataOrder + 1 (if it exceeds 15, it returns to 0 and starts counting again), and records GW_xnode_SleepErr, GW_xnode_AwakeError, GW_SleepInd, and DataOrder. When T-BOX has been awakened, it means that there is Xnode_WakeSt node data of TBOX node in the network, then GW will send the recorded node data to T-BOX. After the data transmission is completed, GW will delete the transmitted node data, and T-BOX will package and upload it to the background after receiving it. If there is no data frame with ID T-BOX in the Xnode_WakeSt data frame monitored this time, GW will only record the node data.

[0075] In addition, when there are still transmission data frames in the communication network at the 2nd minute, the above-mentioned first active wake-up source can be located through the 2nd minute monitoring. Exemplarily, if the NetWorkSt frame period is T at this time, the monitoring window is 2s-2T to 2s+2T, so as to avoid being in a cycle gap and not monitoring data. The node that is still sending the NetWorkSt frame at the 2nd minute, that is, the node that actively wakes up the communication network and is not asleep, records the corresponding controller sleep timeout status flag GW_xnode_SleepError in the NetWorkMonitor of the GW as "1 timeout". It is recognized that the wake-up status bit Xnode_WakeSt in the NetWorkSt frame of each node monitored at this time should be 1, indicating that the node is an actively awakened node, and the controller wake-up source status flag GW_xnode_AwakeError corresponding to the GW in the NetWorkMonitor of the GW is set to "1 active wake-up", and it is judged as a "frequently awakened node" when performing data analysis in the background. If it is 0, when GW is recording, the corresponding controller wake-up source status flag GW_xnode_AwakeError is set to "0", but in data analysis, it should be summarized as a "problem node", that is, the passive awakening node should stop sending after more than 2s, so there should be no NetWorkSt frames for passive awakening nodes in the 2nd minute. GW_AwakeInd is set to "2: Frequent wake-up (2nd minute)", DataOrder = DataOrder+1 (exceeding 15, return to 0 and restart counting). The 2nd second and the 2nd minute will both accumulate 1 time, record GW_xnode_SleepErr, GW_xnode_AwakeError, GW_SleepInd, DataOrder, and record the OFF not sleeping (frequent wake-up) fault code in this power-off cycle.

[0076] This embodiment initializes the setting parameters of the vehicle when it is detected that the vehicle is in a power-off state, and the setting parameters include a frequent wake-up counter parameter, a sleep timeout counter parameter, a controller sleep abnormal state parameter, a controller abnormal wake-up source state parameter and a data record sequence number parameter; determines whether the communication network is in a sleep state by monitoring whether there are transmission data frames in the communication network of the vehicle; if it is detected that the current count value in the frequent wake-up counter of the vehicle is greater than or equal to a preset threshold, it is determined that the communication network is in a frequent wake-up state; if it is detected that the current count value in the frequent wake-up counter of the vehicle is less than the preset threshold, the frequent wake-up counter is continuously detected after the current count value is updated until the current count value is greater than or equal to the preset threshold; if the communication network is in a frequent wake-up state, the awakened node in the communication network and the node data corresponding to the awakened node are identified; and the first active wake-up source is located from the awakened node according to the node data. The above method of this embodiment improves the detection accuracy by initializing the vehicle's setting parameters and then detecting whether the vehicle's communication network is in a dormant state; at the same time, the active wake-up source is located through the node data corresponding to the awakened node in the communication network, so that the fault of the communication network being frequently awakened can be found based on the active wake-up source.

[0077] refer to Figure 5 , Figure 5 This is a flow chart of the third embodiment of the vehicle communication network monitoring method of the present application.

[0078] In a feasible implementation manner, the step S30 may include:

[0079] Step S301: Acquire first field information of the first active wake-up source, where the first field information includes network status field information and network monitoring field information.

[0080] Step S302: Send the first field information to the remote information processing terminal of the vehicle, and monitor the communication network based on the remote information processing terminal to obtain the actual vehicle data of the vehicle.

[0081] It should be noted that the above network status field information is used by each node to record its own information and wake-up status. The signal / message is defined as if it is an active wake-up, it is sent at a certain period when it is not dormant; if it is a passive wake-up, it is sent at a certain period of 2s only when it is just woken up. The above network monitoring field information is used by the central node / gateway (GW) to record the monitored network status.

[0082] In a specific implementation, the network status field information can be defined by the following Table 1.

[0083] Table 2 defines the network monitoring field information.

[0084]

[0085]

[0086] Table 1

[0087]

[0088] Table 2

[0089] In a feasible implementation manner, after step S10, the following may also be included:

[0090] Step S11: if the communication network is not in a preset scenario, then when the communication network is in a sleep timeout state, a second active wake-up source corresponding to the communication network is determined.

[0091] It should be noted that the above-mentioned preset scenarios may represent scenarios where communication network timeout monitoring is not applicable.

[0092] In a specific implementation, if the communication network is not in a preset scenario and is awakened again after a sleep timeout state exists, then while opening frequent wakeup monitoring (i.e., the entire monitoring process in order to obtain the first active wakeup source in the second embodiment), sleep timeout monitoring can also be opened to determine the above-mentioned second active wakeup source. More specifically, the above-mentioned sleep timeout monitoring process can be implemented based on the following steps. First, detect whether the sleep timeout counter TVehicle has timed out, that is, locate the active wakeup source when TVehicle ≥ Tmax is detected. Considering that if GW continuously monitors the controller that has sent information within 0 to 30 minutes, then the upper-layer application will increase power consumption in the rectification of 30 minutes, and the timeout is mainly located at the controller that actively wakes up the network. At the same time, complementary to frequent wakeup, when the number of wakeups reaches the default 10 times, the passive wakeup node will be recorded through the mechanism of monitoring 2s, and the specific implementation strategy will be as follows. All NetWorkSt frames being sent correspond to the controller sleep state flag GW_xnode_SleepErr set to "sleep timeout". The corresponding controller wake-up status flag GW_xnode_AwakeError of the wake-up status bit Xnode_WakeSt=1 in the sent etWorkSt frame is set to "active wake-up". If it is 0, it is recorded as passive wake-up GW_xnode_AwakeError=0. If Tmax (default 30min)>the continuous sending time of the passive wake-up node NetWorkSt frame (default 2s), it should be summarized as a "problem node", that is, the passive wake-up node should stop sending after more than 2s (default), so there should be no NetWorkSt frame of the passive wake-up node in the 2nd minute. If it is not greater than, it is normal and is not considered to be a problem node. GW_SleepInd is set to "timeout", DataOrder=DataOrder+1 (exceeding 15, returning to 0 and restarting the count), and the OFF not sleeping (sleep timeout) fault code can also be recorded in this power-off cycle.

[0093] Step S12: adjusting and formulating the communication network monitoring strategy of the vehicle based on the second field information of the second active wake-up source, wherein the second field information includes network status field information and network monitoring field information.

[0094] It should be understood that the network status field information and network monitoring field information included in the above second field information can also be defined based on the above Table 1 and Table 2, which will not be repeated here.

[0095] In the specific implementation, if it is detected that there is a TBOX signal in the network segment / VLAN where the T-BOX is located (that is, it proves that the T-BOX has been awakened), all the data groups NetWorkMonitor that have been stored during this power-off are sent to the T-BOX for reception, with a period of 1s, so that the T-BOX can upload to the background in time. If it is detected that there is no TBOX signal in the network segment / VLAN where the T-BOX is located (that is, it is considered that the T-BOX has not been awakened), the GW stores the data group NetWorkMonitor and sends it to the T-BOX for reception after the next awakening or power-on of the network segment where the T-BOX is located, with a period of 1s. Although not waking up the T-BOX for upload at this time will lose a certain degree of timeliness, it will not cause additional power consumption for waking up the T-BOX. At the same time, considering remote upload and data analysis, the real-time requirements are not very strict.

[0096] In this embodiment, the first field information of the first active wake-up source is obtained, and the first field information includes network status field information and network monitoring field information; the first field information is sent to the remote information processing terminal of the vehicle, and the communication network is monitored based on the remote information processing terminal to obtain the real vehicle data of the vehicle; if the communication network is not in the preset scenario, the second active wake-up source corresponding to the communication network is determined when the communication network is in a sleep timeout state; the communication network monitoring strategy of the vehicle is adjusted and formulated based on the second field information of the second active wake-up source, and the second field information includes network status field information and network monitoring field information. The above method of this embodiment performs frequent wake-up monitoring on the communication network of the vehicle based on the network status field information and network monitoring field information of the first active wake-up source, and performs sleep timeout monitoring on the communication network of the vehicle based on the network status field information and network monitoring field information of the second active wake-up source, thereby realizing targeted monitoring of the communication network, thereby improving the effectiveness of the communication network monitoring strategy constructed based on frequent wake-up monitoring and sleep timeout monitoring.

[0097] In addition, an embodiment of the present application further proposes a storage medium, on which a vehicle communication network monitoring program is stored. When the vehicle communication network monitoring program is executed by a processor, the steps of the vehicle communication network monitoring method described above are implemented.

[0098] Reference Figure 6 , Figure 6 This is a structural block diagram of the first embodiment of the vehicle communication network monitoring device of the present application.

[0099] like Figure 6 As shown, the vehicle communication network monitoring device proposed in the embodiment of the present application includes:

[0100] The state judgment module 601 is used to judge whether the communication network of the vehicle is in a dormant state when it is detected that the vehicle is in a power-off state;

[0101] A wake-up source positioning module 602 is used to determine a first active wake-up source corresponding to the communication network when the communication network is in a frequent wake-up state;

[0102] A network monitoring module 603, configured to monitor the communication network according to the first field information of the first active wake-up source to obtain the actual vehicle data of the vehicle;

[0103] The adjustment and formulation module 604 is used to adjust and formulate the communication network monitoring strategy of the vehicle based on the real vehicle data.

[0104] This embodiment determines whether the communication network of the vehicle is in a dormant state when it is detected that the vehicle is in a power-off state; if so, determines the first active wake-up source corresponding to the communication network when the communication network is in a frequent wake-up state; monitors the communication network according to the first field information of the first active wake-up source to obtain the actual vehicle data of the vehicle; and adjusts and formulates the communication network monitoring strategy of the vehicle based on the actual vehicle data. The above method of this embodiment locates the active wake-up source through the communication network status of the vehicle, and obtains the actual vehicle data of the vehicle according to the field information of the active wake-up source, so that the communication network of the vehicle can be monitored and the wake-up and sleep anomalies of the communication network can be discovered in time, thereby avoiding the technical problem that the vehicle cannot be started due to abnormal battery power loss during wake-up and sleep.

[0105] Based on the first embodiment of the vehicle communication network monitoring device described above in the present application, a second embodiment of the vehicle communication network monitoring device described above in the present application is proposed.

[0106] In this embodiment, the status judgment module 601 is also used to initialize the setting parameters of the vehicle when it is detected that the vehicle is in a power-off state. The setting parameters include frequent wake-up counter parameters, sleep timeout counter parameters, controller sleep abnormal state parameters, controller abnormal wake-up source state parameters and data record sequence number parameters; and determine whether the communication network is in a sleep state by monitoring whether there are transmission data frames in the communication network of the vehicle.

[0107] Furthermore, the wake-up source positioning module 602 is also used to determine that the communication network is in a frequent wake-up state if it is detected that the current count value in the frequent wake-up counter of the vehicle is greater than or equal to a preset threshold; if it is detected that the current count value in the frequent wake-up counter of the vehicle is less than the preset threshold, the current count value is updated and the frequent wake-up counter is continuously detected until the current count value is greater than or equal to the preset threshold.

[0108] Furthermore, the wake-up source positioning module 602 is also used to identify the awakened node in the communication network and the node data corresponding to the awakened node if the communication network is in a frequent awakening state; and locate the first active wake-up source from the awakened node according to the node data.

[0109] Furthermore, the network monitoring module 603 is also used to obtain the first field information of the first active wake-up source, the first field information including network status field information and network monitoring field information; send the first field information to the remote information processing terminal of the vehicle, and monitor the communication network based on the remote information processing terminal to obtain the actual vehicle data of the vehicle.

[0110] Furthermore, the adjustment and formulation module 604 is also used to determine a second active wake-up source corresponding to the communication network when the communication network is in a sleep timeout state if the communication network is not in a preset scenario; and adjust and formulate the communication network monitoring strategy of the vehicle based on the second field information of the second active wake-up source, wherein the second field information includes network status field information and network monitoring field information.

[0111] Other embodiments or specific implementation methods of the vehicle communication network monitoring device of the present application can refer to the above-mentioned method embodiments and will not be repeated here.

[0112] 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 system 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 system. 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 system including the element.

[0113] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0114] 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 by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, 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 a read-only memory / random access memory, a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0115] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A vehicle communication network monitoring method, It is characterized in that The method comprises the following steps: When it is detected that the vehicle is in a power-off state, determining whether the communication network of the vehicle is in a dormant state; If yes, determining a first active wake-up source corresponding to the communication network when the communication network is in a frequent wake-up state; The communication network is monitored according to the first field information of the first active wake-up source to obtain the actual vehicle data of the vehicle; The communication network monitoring strategy of the vehicle is adjusted and formulated based on the actual vehicle data.

2. The vehicle communication network monitoring method according to claim 1, It is characterized in that The step of determining whether the communication network of the vehicle is in a dormant state when the vehicle is detected to be in a powered-off state comprises: When it is detected that the vehicle is in a power-off state, initializing the setting parameters of the vehicle, the setting parameters including a frequent wake-up counter parameter, a sleep timeout counter parameter, a controller sleep abnormal state parameter, a controller abnormal wake-up source state parameter, and a data record sequence number parameter; Whether the communication network is in a dormant state is determined by monitoring whether there is a transmission data frame in the communication network of the vehicle.

3. The vehicle communication network monitoring method according to claim 1, It is characterized in that Before the step of determining the first active wake-up source corresponding to the communication network when the communication network is in a frequent wake-up state, the step further includes: If it is detected that the current count value in the frequent wake-up counter of the vehicle is greater than or equal to a preset threshold, it is determined that the communication network is in a frequent wake-up state; If it is detected that the current count value in the frequent wake-up counter of the vehicle is less than a preset threshold, the frequent wake-up counter is continuously detected after the current count value is updated until the current count value is greater than or equal to the preset threshold.

4. The vehicle communication network monitoring method according to claim 1, It is characterized in that The step of determining a first active wake-up source corresponding to the communication network when the communication network is in a frequent wake-up state comprises: If the communication network is in a frequent awakening state, identifying awakened nodes in the communication network and node data corresponding to the awakened nodes; A first active wake-up source is located from the awakened node according to the node data.

5. The vehicle communication network monitoring method according to claim 1, It is characterized in that The step of monitoring the communication network according to the first field information of the first active wake-up source to obtain the real vehicle data of the vehicle includes: Acquire first field information of the first active wake-up source, where the first field information includes network status field information and network monitoring field information; The first field information is sent to a remote information processing terminal of the vehicle, and the communication network is monitored based on the remote information processing terminal to obtain actual vehicle data of the vehicle.

6. The vehicle communication network monitoring method according to claim 1, It is characterized in that After the step of determining whether the communication network of the vehicle is in a dormant state when the vehicle is detected to be in a powered-off state, the method further includes: If the communication network is not in the preset scenario, determining a second active wake-up source corresponding to the communication network when the communication network is in a sleep timeout state; The communication network monitoring strategy of the vehicle is adjusted and formulated based on the second field information of the second active wake-up source, where the second field information includes network status field information and network monitoring field information.

7. A vehicle communication network monitoring device, It is characterized in that The vehicle communication network monitoring device comprises: A state judgment module, used to judge whether the communication network of the vehicle is in a dormant state when it is detected that the vehicle is in a power-off state; a wake-up source positioning module, configured to determine a first active wake-up source corresponding to the communication network when the communication network is in a frequent wake-up state; A network monitoring module, configured to monitor the communication network according to the first field information of the first active wake-up source to obtain the actual vehicle data of the vehicle; An adjustment and formulation module is used to adjust and formulate the communication network monitoring strategy of the vehicle based on the real vehicle data.

8. A vehicle communication network monitoring device, It is characterized in that The device comprises: a memory, a processor, and a vehicle communication network monitoring program stored in the memory and executable on the processor, wherein the vehicle communication network monitoring program is configured to implement the steps of the vehicle communication network monitoring method according to any one of claims 1 to 6.

9. A storage medium, It is characterized in that The storage medium is a computer-readable storage medium, on which a vehicle communication network monitoring program is stored. When the vehicle communication network monitoring program is executed by a processor, the steps of the vehicle communication network monitoring method according to any one of claims 1 to 6 are implemented.

10. A computer program product, It is characterized in that The computer program product comprises a vehicle communication network monitoring program, and when the vehicle communication network monitoring program is executed by a processor, the steps of the vehicle communication network monitoring method according to any one of claims 1 to 6 are implemented.