New energy vehicle running state monitoring method and system
By using the combination of fault code generation, storage and sending modules in the operating status monitoring system of new energy vehicles and combining with the two-way linked list structure, the communication pressure and long-term fault code acquisition, storage and sending time during fault code transmission are solved, and the problem of long-term fault code acquisition, storage and sending time is realized. The timely acquisition and removal of fault codes is achieved, and the reliability and efficiency of vehicle operation monitoring is improved.
Patent Information
- Application Number
- CN202411670708.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-21
- Publication Date
- 2024-12-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing new energy vehicle operating status monitoring methods have problems such as excessive communication pressure and long time to obtain, store and send fault codes when sending fault codes, and are especially unable to effectively remove reset fault codes.
The fault code generation module, fault code storage module and fault code sending module are used to cache fault codes through a two-way linked list structure, send them in sequence, and add or delete nodes when the fault state changes to achieve timely acquisition and migration of fault codes. To reduce the time of generation and transmission of fault codes.
在较少时间内完成故障码的获取和移除,提高故障码循环发送效率,降低车载总线压力,确保汽车运行监测的可靠性和有效性,避免通讯中断,保证车载设备的安全。
Smart Images

Figure CN119172199A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a method and system for monitoring the running state of a new energy vehicle, and belongs to the technical field of monitoring the running state of a new energy vehicle. Background Art
[0002] The operation status monitoring of new energy vehicles is to encode the behavior and status of the on-board equipment, and transmit the code to the vehicle monitoring equipment through the vehicle bus, so that the vehicle monitoring equipment can quickly obtain the status information of the on-board equipment and perform fault diagnosis in time, so that the control system can eliminate the fault in time to ensure the safety of the on-board equipment, thereby ensuring the safe operation of the vehicle. The code transmission generally adopts the following two methods: The first method is to store and send faults bit by bit. Each bit represents a fault. When the fault code is equal to "1", it means that the fault has occurred, and when it is equal to "0", it means that the fault has not occurred. This method has a simple data structure, but when there are many faults in the equipment, each fault requires a bit of resources. Even if the fault is not triggered, the fault code needs to be sent out through the bus, which will put pressure on the bus communication and even cause communication interruption.
[0003] The second method is to encode the fault according to the protocol, and then send the fault code in a cyclic manner according to the encoding. For example, the fault code data structure is organized based on a sequential table, and the order of fault code sending is determined by a preset priority; or the fault codes are organized into a queue, and the fault codes are added to the queue in sequence according to the order in which the faults occur. This method can effectively reduce the pressure of bus communication and realize the cyclic sending of multiple fault codes, but the processing method is more complicated than the first method. The characteristic of the sequential table is that the time complexity of accessing elements is O(n), and the time overhead is large when retrieving fault codes. The characteristic of the queue is that specific elements cannot be deleted, so the use of the queue cannot remove the fault code that has been reset.
[0004] In summary, the disadvantage of the first method is that too many fault codes are sent, causing excessive pressure on the vehicle bus communication. The disadvantage of the second method is that it takes a long time to obtain, store, and send fault codes, and it is impossible to remove reset fault codes. Therefore, the key to monitoring the operating status of new energy vehicles lies in how to reduce the pressure on the vehicle bus communication caused by the sending of fault codes, how the data structure storing multiple fault codes can support the rapid retrieval of fault codes during cyclic sending, how to add newly triggered fault codes, and how to remove reset fault codes. Summary of the invention
[0005] The new energy vehicle operation status monitoring method and system provided by the present invention can complete the acquisition of fault codes, cache of new fault codes and removal of reset fault codes in a shorter time, reduce the time used for fault code generation, storage and transmission, improve the efficiency of cyclic transmission of fault codes, and timely delete the fault codes corresponding to reset faults, avoid the transmission of reset fault codes, and ensure the reliability and effectiveness of vehicle operation monitoring; realize the transmission of fault codes in sequence, avoid excessive communication pressure caused by the simultaneous transmission of multiple fault codes, effectively reduce the pressure on the vehicle bus, ensure smooth communication, and ensure that the vehicle monitoring equipment can quickly and accurately obtain the vehicle equipment status information, so as to timely perform fault diagnosis and troubleshooting, ensure the safety of vehicle equipment, and thus ensure the safe operation of the vehicle.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is: The method for monitoring the running status of a new energy vehicle sequentially connects a fault code generating module connected to a vehicle-mounted device signal, a fault code storage module, and a fault code sending module connected to a vehicle monitoring device signal, and is characterized in that it includes the following steps: S1: The fault code generation module obtains the vehicle-mounted device status information, generates a fault code corresponding to the vehicle-mounted device status information, and sends the fault code to the fault code storage module; S2: The fault code storage module receives the fault code and forms nodes corresponding to the fault code one by one and arranges them in a cache to form a cache area. If the vehicle device status information corresponding to the fault code is determined to be a new fault, a node is added; if the vehicle device status information corresponding to the fault code is determined to be a fault reset, the node is deleted; S3: The fault code storage module takes out the first node in the arrangement order and transmits it to the fault code sending module. The fault code sending module sends the fault code in the received node to the vehicle monitoring device; S4: Steps S1 to S3 are executed in a cyclical manner to form a cyclic transmission of fault codes, thereby realizing the monitoring of the vehicle's operating status.
[0007] Preferably, step S1 specifically refers to: S11: The fault code generation module obtains the vehicle-mounted device status information and performs fault judgment according to the vehicle-mounted device status information. If the vehicle-mounted device status information meets the fault condition, the fault is generated; if the vehicle-mounted device status information meets the fault reset condition, the fault is reset; S12: Mapping the fault generated or reset in S11 into a fault code according to a set fault code mapping table; S13: Transmitting the generated fault code to the fault code storage module.
[0008] Preferably, in the cache area of the fault code storage module, the nodes are arranged from 1 to N in the order of reception to form a node bidirectional linked list, the node bidirectional linked list includes N nodes arranged in sequence, a head pointer Head and a tail pointer Rear, the node consists of a fault code code, a pointer Next node pointing to the next node, and a pointer Prev node pointing to the previous node, the head pointer Head points to the fault code code of the first node, the tail pointer Rear points to the fault code code of the last node, the pointer Prev node in the first node is Null, and the pointer Next node in the last node is Null.
[0009] Preferably, the specific process of "adding a new node" in step S2 is: First, determine whether there is the fault code in the cache area of the fault code storage module. If so, end directly; if not, add a new node; Then, it is determined whether the buffer area is empty. If it is empty, the newly added node is the first node of the node bidirectional linked list. If it is not empty, the newly added node is the last node of the node bidirectional linked list.
[0010] Preferably, "if it is empty, the newly added node is the first node of the node bidirectional linked list" means that the node's pointer Prev node and pointer Next node are both set to null, and the head pointer Head and tail pointer Rear both point to the node; "if it is not empty, the newly added node is the last node of the node bidirectional linked list" means that the node's Prev node points to the node pointed to by the tail pointer Rear, then the tail pointer Rear points to the node and the node's pointer Next node is set to Null.
[0011] Preferably, the specific process of "deleting the node" in step S2 is: determine whether the cache area of the fault code storage module is empty, if it is empty, end directly, if it is not empty, determine whether the tail pointer Rear in the bidirectional linked list points to the node, if the tail pointer Rear points to the node, then point the tail pointer Rear to the previous node of the node and then set the pointer Nextnode of the previous node to Null, and finally delete the node; if the tail pointer Rear does not point to the node, determine whether the head pointer Head in the bidirectional linked list points to the node, if the head pointer Head points to the node, then point the head pointer Head to the next node of the node and then set the pointer Prev node of the next node to null, and finally delete the node; if the head pointer Head does not point to the node, point the pointer Next node of the previous node of the node to the next node of the node, then point the pointer Prev node of the next node of the node to the previous node of the node, and finally delete the node.
[0012] Preferably, in step S3, "the fault code storage module takes out the first node in the arrangement order and transmits it to the fault code sending module" specifically refers to taking out the node pointed to by the head pointer Head from the node bidirectional linked list in the cache area, transmitting the taken out node to the fault code sending module, pointing the head pointer Head to the next node of the taken out node and setting the pointer Prev node of the next node to Null.
[0013] The new energy vehicle operation status monitoring system adopting the above-mentioned new energy vehicle operation status monitoring method is characterized by comprising an on-board device, a whole vehicle monitoring device, a fault code generation module connected to the on-board device signal, a fault code storage module and a fault code sending module connected to the whole vehicle monitoring device signal, wherein the fault code generation module, the fault code storage module and the fault code sending module are connected in sequence; The fault code generation module is used to obtain the vehicle-mounted device status information, generate a fault code corresponding to the vehicle-mounted device status information, and send the fault code to the fault code storage module; Fault code storage module: used to receive fault codes and form nodes corresponding to the fault codes one by one and arrange the nodes in a cache to form a cache area. If the vehicle-mounted device status information corresponding to the fault code is determined to be a new fault, a node is added; if the vehicle-mounted device status information corresponding to the fault code is determined to be a fault reset, the node is deleted; and the node is transmitted to the fault code sending module; Fault code sending module: used to send the fault code in the node to the vehicle monitoring equipment; The fault code generating module, the fault code storing module and the fault code sending module are operated in a cycle.
[0014] The beneficial effects of the present invention are: In the new energy vehicle operation status monitoring method of the present invention, the fault code generation module obtains the vehicle-mounted device status information and generates a corresponding fault code and sends it to the fault code storage module. The fault code storage module receives the fault code and forms a node corresponding to the fault code and arranges the cache. According to the vehicle-mounted status information corresponding to the fault code, it is determined to be a new fault or a fault reset, to add a node or delete a node. The fault code sending module sends the fault code corresponding to the node taken out by the fault storage module to the vehicle monitoring device, so as to complete the acquisition of the fault code, cache the new fault code and remove the reset fault code in a shorter time, reduce the time used for fault code generation, storage and sending, and improve the cyclic sending of the fault code. The transmission efficiency is improved, and the corresponding fault code of the reset fault is deleted in time, so as to avoid the sending of the reset fault code, and ensure the reliability and effectiveness of the vehicle operation monitoring; the fault code storage module takes out the first node in the arrangement order and transmits it to the fault code sending module, and the fault code sending module sends the fault code corresponding to the node to the whole vehicle monitoring equipment, so as to realize the sending of the fault code in sequence, avoid the excessive communication pressure caused by sending multiple fault codes at the same time, effectively reduce the pressure of the vehicle bus, ensure smooth communication, and ensure that the whole vehicle monitoring equipment can quickly and accurately obtain the status information of the vehicle equipment, so as to timely diagnose and eliminate the fault, ensure the safety of the vehicle equipment, and thus ensure the safe operation of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 Schematic diagram of the fault code bidirectional chain.
[0016] Figure 2 This is the flowchart for adding a new node.
[0017] Figure 3 Flowchart for deleting a node.
[0018] Figure 4 It is a schematic diagram of the new energy vehicle operation status monitoring system of the present invention. DETAILED DESCRIPTION
[0019] Combine the following Figures 1 to 4 The embodiments of the present invention are described in detail.
[0020] The method for monitoring the running status of a new energy vehicle sequentially connects a fault code generating module connected to a vehicle-mounted device signal, a fault code storage module, and a fault code sending module connected to a vehicle monitoring device signal, and is characterized in that it includes the following steps: S1: The fault code generation module obtains the vehicle-mounted device status information, generates a fault code corresponding to the vehicle-mounted device status information, and sends the fault code to the fault code storage module; S2: The fault code storage module receives the fault code and forms nodes corresponding to the fault code one by one and arranges them in a cache to form a cache area. If the vehicle device status information corresponding to the fault code is determined to be a new fault, a node is added; if the vehicle device status information corresponding to the fault code is determined to be a fault reset, the node is deleted; S3: The fault code storage module takes out the first node in the arrangement order and transmits it to the fault code sending module. The fault code sending module sends the fault code in the received node to the vehicle monitoring device; S4: Steps S1 to S3 are executed in a cyclical manner to form a cyclic transmission of fault codes, thereby realizing the monitoring of the vehicle's operating status.
[0021] In the above-mentioned new energy vehicle operation status monitoring method, the fault code generation module obtains the vehicle-mounted device status information and generates a corresponding fault code and sends it to the fault code storage module. The fault code storage module receives the fault code and forms a node corresponding to the fault code and arranges the cache. According to the vehicle-mounted status information corresponding to the fault code, it is judged as a new fault or a fault reset to add a node or delete a node. The fault code sending module sends the fault code corresponding to the node taken out by the fault storage module to the vehicle monitoring device, so as to complete the acquisition of fault codes, cache new fault codes and remove reset fault codes in a shorter time, reduce the time used for fault code generation, storage and sending, and improve the cycle of fault codes. Improve the sending efficiency, realize the timely deletion of the fault code corresponding to the reset fault, avoid the sending of the reset fault code, and ensure the reliability and effectiveness of the vehicle operation monitoring; the fault code storage module takes out the first node in the arrangement order and transmits it to the fault code sending module, and the fault code sending module sends the fault code corresponding to the node to the vehicle monitoring equipment, so as to realize the sending of the fault code in sequence, avoid the excessive communication pressure caused by sending multiple fault codes at the same time, effectively reduce the pressure on the vehicle bus, ensure smooth communication, and ensure that the vehicle monitoring equipment can quickly and accurately obtain the vehicle equipment status information, so as to timely diagnose and eliminate the fault, ensure the safety of the vehicle equipment, and thus ensure the safe operation of the vehicle.
[0022] Wherein, step S1 specifically refers to: S11: The fault code generation module obtains the vehicle-mounted device status information and performs fault judgment according to the vehicle-mounted device status information. If the vehicle-mounted device status information meets the fault condition, the fault is generated; if the vehicle-mounted device status information meets the fault reset condition, the fault is reset; S12: Mapping the fault generated or reset in S11 into a fault code according to a set fault code mapping table; S13: Transmitting the generated fault code to the fault code storage module.
[0023] In the fault code generation module, fault judgment is first performed, and all vehicle-mounted device status information is judged in turn. If the diagnosis conditions of the vehicle-mounted device status information are met, a fault is generated. If the vehicle-mounted device status information does not meet the fault conditions but meets the reset conditions, the fault is reset. After all fault judgments are completed, fault code mapping is performed, and the generated fault and fault reset mapping are formed into fault codes according to the agreed fault code mapping table.
[0024] Among them, in the cache area of the fault code storage module, the nodes are arranged from 1 to N in the order of reception to form a node bidirectional linked list. The node bidirectional linked list includes N nodes arranged in sequence, a head pointer Head and a tail pointer Rear. The node consists of a fault code code, a pointer Next node pointing to the next node, and a pointer Prev node pointing to the previous node. The head pointer Head points to the fault code code of the first node, and the tail pointer Rear points to the fault code code of the last node. The pointer Prev node in the first node is Null, and the pointer Next node in the last node is Null. Figure 1 In the node bidirectional linked list shown, one fault code corresponds to one node, and the fault code code is in the middle of each node. The pointer Next node is located on the right side of the fault code code, and the pointer Prev node is located on the left side of the fault code code. The pointer Next node points to the fault code code of the next node, and the pointer Prev node points to the fault code code of the previous node. Since the first node has no previous node, the pointer Prev node in the first node is set to Null. The last node has no next node, so the pointer Next node of the first node is also set to Null, and Null means "empty".
[0025] The specific process of "adding a new node" in step S2 is: First, determine whether there is the fault code in the cache area of the fault code storage module. If so, end directly; if not, add a new node; Then, it is determined whether the buffer area is empty. If it is empty, the newly added node is the first node of the node bidirectional linked list. If it is not empty, the newly added node is the last node of the node bidirectional linked list.
[0026] When adding a new node, if the fault code already exists in the cache of the fault code storage module, there is no need to add a new node and the process ends directly. If the fault code does not exist in the cache, first determine whether the cache is empty. If it is empty, add a new node, which is also the first node. If the cache is not empty, the new node is sorted to the end of the bidirectional linked list and becomes the last node.
[0027] Among them, "if it is empty, the newly added node is the first node of the node bidirectional linked list" means that the node's pointer Prev node and pointer Next node are both set to null, and the head pointer Head and tail pointer Rear both point to the node; "if it is not empty, the newly added node is the last node of the node bidirectional linked list" means that the node's Prev node points to the node pointed to by the tail pointer Rear, and then the tail pointer Rear points to the node and the node's pointer Next node is set to Null. When the cache area of the fault code storage module is empty, the newly added node becomes the first node, so the newly added node's pointer Prev node and pointer Next node are both set to null, and the head pointer Head and tail pointer Rear both point to the node. If the cache area is not empty, the newly added node becomes the last node, then the node's Prev node points to the node pointed to by the tail pointer Rear, and then the tail pointer Rear points to the node and the node's pointer Next node is set to Null, so that the node's pointer Prev node and pointer Next node and the head pointer Head and tail pointer Rear in the bidirectional linked list can be maintained in real time during the process of adding new nodes.
[0028] Among them, the specific process of "deleting the node" in step S2 is: determine whether the cache area of the fault code storage module is empty. If it is empty, end directly. If it is not empty, determine whether the tail pointer Rear in the bidirectional linked list points to the node. If the tail pointer Rear points to the node, point the tail pointer Rear to the previous node of the node and then set the pointer Nextnode of the previous node to Null, and finally delete the node; if the tail pointer Rear does not point to the node, determine whether the head pointer Head in the bidirectional linked list points to the node. If the head pointer Head points to the node, point the head pointer Head to the next node of the node and then set the pointer Prev node of the next node to null, and finally delete the node; if the head pointer Head does not point to the node, point the pointer Next node of the previous node of the node to the next node of the node, and then point the pointer Prev node of the next node of the node to the previous node of the node, and finally delete the node. When deleting a node, it is necessary to first determine whether the cache area of the fault code storage module is empty. If it is empty, it means that there is no node to be deleted and the process ends directly. If the cache area is not empty, it is necessary to determine the position of the node in the node bidirectional linked list. If the node is the last node in the node bidirectional linked list, delete the last node and point the tail pointer Rear to the penultimate node. If the node is the first node in the node bidirectional linked list, delete the first node and point the head pointer Head to the second node. If the node is an intermediate node in the fault code bidirectional chain, when deleting the node, the pointer Next node of the previous node of the deleted node should be pointed to the next node of the deleted node, and the pointer Prev node of the next node of the deleted node should be pointed to the previous node of the deleted node, so as to perform real-time maintenance on the node pointer Prev node and pointer Next node as well as the head pointer Head and tail pointer Rear in the bidirectional linked list during the node deletion process.
[0029] Among them, "the fault code storage module takes out the first node in the arrangement order and transmits it to the fault code sending module" in step S3 specifically refers to taking out the node pointed to by the head pointer Head from the node bidirectional linked list in the cache area, transmitting the taken node to the fault code sending module, pointing the head pointer Head to the next node of the taken node and setting the pointer Prevnode of the next node to Null. The fault codes are taken out and sent out in sequence according to the arrangement order of the nodes in the bidirectional chain of the fault codes. After taking out, the pointer of the bidirectional linked list of the nodes is maintained to realize the sequential sending of the fault codes, avoid sending multiple fault codes at the same time to cause excessive communication pressure, effectively reduce the pressure on the vehicle bus, ensure smooth communication, and ensure that the vehicle monitoring equipment can quickly and accurately obtain the status information of the vehicle equipment, so as to diagnose and troubleshoot faults in time, ensure the safety of the vehicle equipment, and thus ensure the safe operation of the car.
[0030] The present invention also protects a new energy vehicle operation status monitoring system using the above-mentioned new energy vehicle operation status monitoring method, which is characterized by comprising an on-board device, a whole vehicle monitoring device, a fault code generation module connected to the on-board device signal, a fault code storage module and a fault code sending module connected to the whole vehicle monitoring device signal, the fault code generation module, the fault code storage module and the fault code sending module are connected to each other in sequence; The fault code generation module is used to obtain the vehicle-mounted device status information, generate a fault code corresponding to the vehicle-mounted device status information, and send the fault code to the fault code storage module; Fault code storage module: used to receive fault codes and form nodes corresponding to the fault codes one by one and arrange the nodes in a cache to form a cache area. If the vehicle-mounted device status information corresponding to the fault code is determined to be a new fault, a node is added; if the vehicle-mounted device status information corresponding to the fault code is determined to be a fault reset, the node is deleted; and the node is transmitted to the fault code sending module; Fault code sending module: used to send the fault code in the node to the vehicle monitoring equipment; The fault code generating module, the fault code storing module and the fault code sending module are operated in a cycle.
[0031] The new energy vehicle operation status monitoring system described above can complete the acquisition of fault codes, cache of new fault codes and removal of reset fault codes in a shorter time, reduce the time for fault code generation, storage and transmission, improve the efficiency of cyclic transmission of fault codes, and realize timely deletion of fault codes corresponding to reset faults, avoid sending reset fault codes, and ensure the reliability and effectiveness of vehicle operation monitoring; the fault code storage module takes out the first node in the arrangement order and transmits it to the fault code sending module, and the fault code sending module sends the fault code corresponding to the node to the vehicle monitoring equipment, so as to realize the sequential sending of fault codes, avoid excessive communication pressure caused by sending multiple fault codes at the same time, effectively reduce the pressure on the vehicle bus, ensure smooth communication, and ensure that the vehicle monitoring equipment can quickly and accurately obtain the status information of the vehicle equipment, so as to timely diagnose and troubleshoot faults, ensure the safety of the vehicle equipment, and thus ensure the safe operation of the vehicle.
[0032] The above is a complete description of the technical solutions of the embodiments of the present invention in conjunction with the accompanying drawings. It should be noted that the described embodiments are only part of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
Claims
1. A method for monitoring the running status of a new energy vehicle, wherein a fault code generating module connected to a vehicle-mounted device signal, a fault code storage module, and a fault code sending module connected to a vehicle monitoring device signal are sequentially connected, characterized in that: The following steps are involved: S1: The fault code generation module obtains the vehicle-mounted device status information, generates a fault code corresponding to the vehicle-mounted device status information, and sends the fault code to the fault code storage module; S2: The fault code storage module receives the fault code and forms nodes corresponding to the fault code one by one and arranges them in a cache to form a cache area. If the vehicle device status information corresponding to the fault code is determined to be a new fault, a node is added; if the vehicle device status information corresponding to the fault code is determined to be a fault reset, the node is deleted; S3: The fault code storage module takes out the first node in the arrangement order and transmits it to the fault code sending module. The fault code sending module sends the fault code in the received node to the vehicle monitoring device; S4: Steps S1 to S3 are executed in a cyclical manner to form a cyclic transmission of fault codes, thereby realizing the monitoring of the vehicle's operating status.
2. The method for monitoring the operating status of a new energy vehicle according to claim 1, characterized in that: Step S1 specifically refers to: S11: The fault code generation module obtains the vehicle-mounted device status information and performs fault judgment according to the vehicle-mounted device status information. If the vehicle-mounted device status information meets the fault condition, the fault is generated; if the vehicle-mounted device status information meets the fault reset condition, the fault is reset; S12: Mapping the fault generated or reset in S11 into a fault code according to a set fault code mapping table; S13: Transmitting the generated fault code to the fault code storage module.
3. The method for monitoring the operating status of a new energy vehicle according to claim 2, characterized in that: In the cache area of the fault code storage module, the nodes are arranged from 1 to N in the order of reception to form a node bidirectional linked list. The node bidirectional linked list includes N nodes arranged in sequence, a head pointer Head and a tail pointer Rear. The node consists of a fault code code, a pointer Nextnode pointing to the next node, and a pointer Prev node pointing to the previous node. The head pointer Head points to the fault code code of the first node, and the tail pointer Rear points to the fault code code of the last node. The pointer Prev node in the first node is Null, and the pointer Next node in the last node is Null.
4. The method for monitoring the operating status of a new energy vehicle according to claim 3, characterized in that: The specific process of "adding a new node" in step S2 is: First, determine whether there is the fault code in the cache area of the fault code storage module. If so, end directly; if not, add a new node; Then, it is determined whether the buffer area is empty. If it is empty, the newly added node is the first node of the node bidirectional linked list. If it is not empty, the newly added node is the last node of the node bidirectional linked list.
5. The method for monitoring the operating status of a new energy vehicle according to claim 4, characterized in that: "If it is empty, the newly added node is the first node of the node bidirectional linked list" means that the node's pointer Prev node and pointer Next node are both set to null, and the head pointer Head and tail pointer Rear both point to the node; "If it is not empty, the newly added node is the last node of the node bidirectional linked list" means that the node's Prev node points to the node pointed to by the tail pointer Rear, then the tail pointer Rear points to the node and the node's pointer Next node is set to Null.
6. The method for monitoring the operating status of a new energy vehicle according to claim 3, characterized in that: The specific process of "deleting a node" in step S2 is: determine whether the cache area of the fault code storage module is empty. If it is empty, end directly. If it is not empty, determine whether the tail pointer Rear in the bidirectional linked list points to the node. If the tail pointer Rear points to the node, point the tail pointer Rear to the previous node of the node and then set the pointer Next node of the previous node to Null, and finally delete the node; if the tail pointer Rear does not point to the node, determine whether the head pointer Head in the bidirectional linked list points to the node. If the head pointer Head points to the node, point the head pointer Head to the next node of the node and then set the pointer Prevnode of the next node to null, and finally delete the node; if the head pointer Head does not point to the node, point the pointer Next node of the previous node of the node to the next node of the node, and then point the pointer Prev node of the next node of the node to the previous node of the node, and finally delete the node.
7. The method for monitoring the operating status of a new energy vehicle according to claim 6, characterized in that: The "fault code storage module takes out the first node in the arrangement order and transmits it to the fault code sending module" in step S3 specifically refers to taking out the node pointed to by the head pointer Head from the node bidirectional linked list in the cache area, transmitting the taken node to the fault code sending module, pointing the head pointer Head to the next node of the taken node and setting the pointer Prev node of the next node to Null.
8. A new energy vehicle operating status monitoring system using the new energy vehicle operating status monitoring method according to any one of claims 1 to 7, characterized in that: It includes an on-board device, a whole vehicle monitoring device, a fault code generating module connected to the on-board device signal, a fault code storage module and a fault code sending module connected to the whole vehicle monitoring device signal, wherein the fault code generating module, the fault code storage module and the fault code sending module are connected in sequence; The fault code generation module is used to obtain the vehicle-mounted device status information, generate a fault code corresponding to the vehicle-mounted device status information, and send the fault code to the fault code storage module; Fault code storage module: used to receive fault codes and form nodes corresponding to the fault codes one by one and arrange the nodes in a cache to form a cache area. If the vehicle-mounted device status information corresponding to the fault code is determined to be a new fault, a node is added; if the vehicle-mounted device status information corresponding to the fault code is determined to be a fault reset, the node is deleted; and the node is transmitted to the fault code sending module; Fault code sending module: used to send the fault code in the node to the vehicle monitoring equipment; The fault code generating module, the fault code storing module and the fault code sending module are operated in a cycle.
Citation Information
Patent Citations
Failure data processing method of train display system based on dynamic chain table
CN105416310A
Fault code diagnosis vehicle item and spare part retrieval method based on FP-Tree sequential pattern mining
CN106066642A
Unified processing method and device for different types of faults and power supply module
CN114690064A
Data disk storage management method for vehicle state signal data storage
CN115617770A
Workshop intelligent sensing data acquisition and processing method and system
CN118316984A
