ECU (Electronic Control Unit) data monitoring method based on data compression technology and related device
By compressing and configuring the DAQ data in ECU monitoring, the problem that the upper limit of DAQ capacity cannot meet the broadcast requirements is solved, and more efficient data transmission and monitoring capabilities are achieved.
Patent Information
- Application Number
- CN202411692415.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-02-21
AI Technical Summary
The upper limit of DAQ capacity during ECU monitoring cannot meet the broadcast requirements, resulting in the inability to effectively monitor the measurement volume exceeding the capacity limit.
Using a method based on data compression technology, the DAQ data is compressed by configuring broadcast data so that its data volume is smaller than the standard capacity, and then the configured broadcast data is used to broadcast the compressed DAQ data.
It effectively solves the problem that the upper limit of DAQ capacity cannot meet broadcast requirements, realizes broadcasting more DAQ data in one broadcast cycle, and optimizes the data transmission capability during ECU monitoring.
Smart Images

Figure CN119496832A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to an ECU data monitoring method and related devices based on data compression technology. Background Art
[0002] Common methods for data monitoring of Electronic Control Unit (ECU) include DAQ (Data Acquisition) and Polling. The DAQ method has the limitation of ODT (Object Description Table) capacity, that is, the DAQ method can only monitor a certain number of bytes at most. At present, in engine testing, there is a situation where the measurement quantity that needs to be monitored exceeds the DAQ capacity limit. Therefore, how to solve the problem that the DAQ capacity limit cannot meet the broadcast requirements during ECU monitoring has become one of the technical problems that technicians in this field need to solve urgently. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides an ECU data monitoring method and related devices based on data compression technology to solve the problem that the upper limit of DAQ capacity cannot meet the broadcast requirements during ECU monitoring.
[0004] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0005] An ECU data monitoring method based on data compression technology, comprising:
[0006] Prepare vehicle DAQ data to be broadcast;
[0007] Determine whether the data volume of the DAQ data is greater than the standard capacity, where the standard capacity refers to the maximum DAQ data upload volume that the ECU can support within a unit frequency cycle;
[0008] When the data volume of the DAQ data is greater than the standard capacity, configuring broadcast data based on the DAQ data;
[0009] compressing the DAQ data;
[0010] Use the configured broadcast data to broadcast the compressed DAQ data.
[0011] Optionally, in the above-mentioned ECU data monitoring method based on data compression technology, the step of broadcasting the compressed DAQ data using the configured broadcast data includes:
[0012] Expand the compressed DAQ data;
[0013] Use the configured broadcast data to broadcast the compressed DAQ data, including:
[0014] Use the configured broadcast data to broadcast the expanded DAQ data.
[0015] Optionally, in the above-mentioned ECU data monitoring method based on data compression technology, the expanded DAQ data is broadcasted using configured broadcast data, including:
[0016] Rearranging the expanded DAQ data based on the length of the ODT data in the DAQ data;
[0017] The re-arranged DAQ data is broadcast using the configured broadcast data.
[0018] Optionally, in the above-mentioned ECU data monitoring method based on data compression technology, when the compressed DAQ data is expanded, it also includes: reserving an ODT capacity, the reserved capacity is used to store capacity storage identification information, and the capacity storage identification information is used to distinguish the DAQ data before expansion and the expanded DAQ data in the broadcast data;
[0019] After the expanded DAQ data is rearranged based on the length of the ODT data, the method further includes: adding the capacity storage identification information to the reserved capacity.
[0020] Optionally, in the above-mentioned ECU data monitoring method based on data compression technology, when the data volume of the DAQ data is not greater than the standard capacity, the method further includes:
[0021] configuring the broadcast data based on the DAQ data;
[0022] The DAQ data is broadcasted based on the configured broadcast data configuration.
[0023] An electronic device comprises at least one first processor and a first memory connected to the first processor, wherein:
[0024] The first memory is used to store computer programs;
[0025] The first processor is used to execute the computer program so that the electronic device can implement any one of the above-mentioned ECU data monitoring methods based on data compression technology.
[0026] An ECU data monitoring method based on data compression technology, comprising:
[0027] receiving broadcast data, wherein the broadcast data is generated by broadcasting the compressed DAQ data using the configured broadcast data;
[0028] Parsing the broadcast data to obtain DAQ data;
[0029] Merge to get each DAQ data;
[0030] Decompress the merged DAQ data;
[0031] Variable data is parsed based on the ODT data in the decompressed DAQ data.
[0032] An electronic device comprises at least one second processor and a second memory connected to the second processor, wherein:
[0033] The second memory is used to store computer programs;
[0034] The second processor is used to execute the computer program so that the electronic device can implement the aforementioned ECU data monitoring method based on data compression technology.
[0035] An ECU data monitoring device based on data compression technology, comprising:
[0036] A data acquisition unit, used for acquiring DAQ data of the vehicle;
[0037] A judging unit, used to judge whether the data volume of the DAQ data is greater than a standard capacity, where the standard capacity refers to the maximum upload volume of DAQ data that the ECU can support within a unit frequency period;
[0038] a broadcast data configuration unit, configured to configure broadcast data based on the DAQ data when the data volume of the DAQ data is greater than the standard capacity;
[0039] A compression unit, used for compressing the DAQ data;
[0040] The broadcast unit is used to broadcast the compressed DAQ data using the configured broadcast data.
[0041] An ECU data monitoring device based on data compression technology, comprising:
[0042] A broadcast data acquisition unit, used for receiving broadcast data, wherein the broadcast data is generated by broadcasting the compressed DAQ data using the configured broadcast data;
[0043] A DAQ data parsing unit, used for parsing the broadcast data to obtain DAQ data;
[0044] A merging unit is used to merge and obtain each DAQ data;
[0045] A decompression unit, used for decompressing the combined DAQ data;
[0046] The variable data parsing unit is used to parse the variable data based on the ODT data in the decompressed DAQ data.
[0047] Based on the above technical solution, the above solution provided by the embodiment of the present invention, when it is determined that the data volume of the DAQ data is greater than the standard capacity, the broadcast data is configured based on the DAQ data, and the DAQ data is compressed so that the data volume of the compressed DAQ data is less than the standard capacity, and then the compressed DAQ data is broadcasted using the configured broadcast data, thereby solving the problem that the upper limit of the DAQ capacity cannot meet the broadcast requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0049] Figure 1 A flow chart of an ECU data monitoring method based on data compression technology disclosed in an embodiment of the present application;
[0050] Figure 2 A flowchart of an ECU data monitoring method based on data compression technology disclosed in another embodiment of the present application;
[0051] Figure 3 A flowchart of an ECU data monitoring method based on data compression technology disclosed in another embodiment of the present application;
[0052] Figure 4 A flowchart of an ECU data monitoring method based on data compression technology disclosed in another embodiment of the present application;
[0053] Figure 5 A flowchart of an ECU data monitoring method based on data compression technology disclosed in another embodiment of the present application;
[0054] Figure 6 A schematic diagram of the complete broadcast and reception process of the DAQ disclosed in the embodiment of the present application;
[0055] Figure 7 A schematic diagram of the structure of an ECU data monitoring device based on data compression technology disclosed in an embodiment of the present application;
[0056] Figure 8This is a structural schematic diagram of an ECU data monitoring device based on data compression technology disclosed in another embodiment of the present application;
[0057] Fig. 9 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0058] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0059] First, the professional and technical terms used in this application are explained:
[0060] ECU: Electronic Control Unit.
[0061] DAQ: The master node organizes the information of the variables to be observed, and then transmits it according to the storage structure of its data. The slave device uploads the data to be monitored according to the specified cycle. The data transmitted by DAQ is organized by a series of tables, which are called ODT (Object Descriptor Tables). The organizational structure of DAQ data mainly has three levels, data acquisition list, object description list and transmission entity. Among them, the calibration tool sets the DAQ transmission list according to the number of variables to be observed, and each list can have several ODT lists for storing the address and number of bytes of a variable.
[0062] ODT: Object Description Table. Each ODT can describe the relative address and data length of the internal parameters of the ECU.
[0063] Polling: A question-and-answer data reading method.
[0064] This application processes the DAQ data to be broadcast by means of data compression, compresses the DAQ data to be broadcast and then broadcasts it, so that the upper limit of the DAQ capacity of the broadcast can meet the broadcast demand, so that more DAQ data can be broadcast in one broadcast cycle, which to a certain extent optimizes the problem that the upper limit of the DAQ capacity does not meet the demand during ECU monitoring.
[0065] This application discloses an ECU data monitoring method based on data compression technology, which is applied to the ECU side. Figure 1 , methods include:
[0066] Step S101: Acquire the DAQ data of the vehicle.
[0067] One DAQ data contains N ODT data, where N is a positive integer not less than 1. The maximum length of each ODT data is fixed, and the ECU broadcasts according to the ODT length.
[0068] Each ODT data usually contains 7 elements, each of which represents the relative address and data length of a parameter inside the ECU. The number of ODTs required is determined based on the amount of data to be monitored. If the amount of data exceeds 7 bytes, multiple ODTs are required. When generating DAQ data, the DAQ data and each ODT in the DAQ data can be configured according to predetermined rules.
[0069] The ECU data monitoring method based on data compression technology disclosed in this embodiment can be applied to the ECU. In this step, the ECU will obtain the above DAQ data.
[0070] Step S102: Determine whether the data volume of the DAQ data is greater than the standard capacity, where the standard capacity refers to the maximum upload volume of DAQ data that the ECU can support within a unit frequency period.
[0071] In this solution, after the DAQ data is acquired, it is determined whether the data volume of the acquired DAQ data is greater than the standard capacity. The standard capacity refers to the maximum data volume allowed in one broadcast of the ECU, that is, the ECU can broadcast at most the DAQ data of the standard capacity each time. When the data volume of the DAQ data is not greater than the standard capacity, the ECU processes the DAQ data according to the normal process. For details, see Figure 2 When the data volume of the DAQ data is not greater than the standard capacity, steps S201 and S202 are executed. S201: ECU broadcasts data according to ODT and DAQ settings; S202: ECU broadcasts data.
[0072] After receiving the DAQ configuration information, the ECU determines the ODT data in the DAQ based on the DAQ configuration information. After all the ODT data is determined, the DAQ data to be broadcast is also determined, and then the structure and content of the ODT data are parsed. The broadcast message is configured based on the parsing results. When configuring the broadcast data, the following contents of the broadcast data can be configured:
[0073] PID (Packet Identifier): PID is used to identify the type or purpose of a data packet. In DAQ (Data Acquisition) communications, PID can indicate whether the data packet is a command return message, event message, or data acquisition message.
[0074] ODT Index: If the broadcast data involves multiple ODT entries or lists, the data packet may contain an index or identifier pointing to a specific ODT entry. This helps the receiver to parse the corresponding data according to the ODT description.
[0075] Actual data: Actual data is the core part of the broadcast data packet, which contains the specific data values prepared by the ECU according to the ODT settings. These data values can be sensor readings, control parameters, status flags, etc., depending on the definition of ODT and communication requirements.
[0076] Checksum / CRC (Cyclic Redundancy Check): In order to ensure the integrity and accuracy of data transmission, a checksum or CRC field is usually included in the data packet. The receiving end can use the same algorithm to calculate the checksum or CRC of the received data and compare it with the value in the data packet to detect any potential transmission errors.
[0077] Terminator: A data packet may contain a terminator or stop bit at the end to mark the end of the data packet. This helps the receiving end to terminate the data reception process correctly.
[0078] When the ECU configures broadcast data, it organizes these data parts according to the parameters and data structures defined in the ODT. The ODT provides a way for the ECU to describe its internal parameters and data attributes such as relative address and data length, allowing the ECU to send data in a predetermined format and order.
[0079] It should be noted that the specific content and format of broadcast data may vary due to different communication protocols and ECU manufacturers. Therefore, in practical applications, the detailed content and structure of broadcast data need to be determined according to the specific communication protocol and ECU specification.
[0080] Step S103: when the data volume of the DAQ data is greater than the standard capacity, configuring broadcast data based on the DAQ data.
[0081] In this solution, whether the amount of DAQ data is greater than the standard capacity or not greater than the standard capacity, it is necessary to prepare broadcast data. The difference is that when the amount of DAQ configuration data is less than the standard capacity, only the broadcast data defined in the configuration information needs to be prepared, and the broadcast data of the standard capacity does not need to be prepared. When the amount of DAQ configuration data is equal to the standard capacity, it is necessary to prepare broadcast data of the standard capacity. When the amount of DAQ configuration data is greater than the standard capacity, the amount of broadcast data to be prepared needs to be determined according to the data compression situation.
[0082] Step S104: compressing the DAQ data.
[0083] In this step, when the amount of the DAQ data is greater than the standard capacity, in order to be able to broadcast the DAQ data at one time, it is necessary to compress the DAQ data using a preset compression method. During design, the compression method can be selected according to design requirements. After compressing the DAQ data, the amount of the DAQ data to be broadcast can be greatly reduced.
[0084] Step S105: broadcast the compressed DAQ data using the configured broadcast data.
[0085] Broadcasting is a communication method that sends data to all or a specific group of receivers on a network. In automotive electronic systems, broadcasting is often used to distribute sensor data, control commands, or status information to multiple ECUs or other devices. During the broadcast process, the ECU sends data packets to the network through its network interface (such as CAN controller, Ethernet interface, etc.). The data packets will be encapsulated as specified by the network protocol and may contain additional network layer information (such as source address, destination address, checksum, etc.). Other devices on the network (such as other ECUs, sensors, or actuators) will listen to these data packets on the network and read and process the data as needed.
[0086] The technical solution disclosed in the embodiment of the present application, when it is determined that the data volume of the DAQ data is greater than the standard capacity, configures broadcast data based on the DAQ data, and compresses the DAQ data so that the data volume of the compressed DAQ data is less than the standard capacity, and then uses the configured broadcast data to broadcast the compressed DAQ data, thereby solving the problem that the upper limit of the DAQ capacity cannot meet the broadcast requirements.
[0087] In this embodiment, see Figure 3 The method of broadcasting the compressed DAQ data using the configured broadcast data includes:
[0088] Step S301: expanding the compressed DAQ data;
[0089] Before broadcasting the DAQ capacity, the ECU first prepares the DAQ data according to the DAQ standard capacity (standard capacity). Because the actual compression rate of the compression algorithm is related to the actual DAQ data, the DAQ data to be broadcast is different, and the final compression rate is also different. If the value of the variable changes during the broadcast process, the compression rate will also change. Therefore, it is impossible to determine how much DAQ data before compression can be broadcast before broadcasting, and only how much compressed data can be broadcast. Therefore, prepare the DAQ data of standard capacity first, and then compress the DAQ data of standard capacity. After the DAQ data is compressed, its corresponding capacity will be less than the standard capacity, and the broadcast data will have free capacity. At this time, more DAQ compressed data needs to be added according to the free capacity of the broadcast data.
[0090] Step S302: Broadcast the expanded DAQ data using the configured broadcast data.
[0091] In this embodiment, see Figure 4 , use the configured broadcast data to broadcast the expanded DAQ data, including:
[0092] Step S401: re-arrange the expanded DAQ data based on the length of the ODT data.
[0093] There are several ODT data in one DAQ data. The maximum length of each ODT data is fixed. When ECU broadcasts, it broadcasts according to the ODT length. After compression, the data length of each ODT data will change. Therefore, it is not appropriate to broadcast the DAQ data according to the length of the ODT data in between during the broadcast process. Therefore, it is necessary to rearrange the ODT data in the compressed DAQ data. The rearrangement is to split and rearrange the compressed data according to the length of the compressed ODT data.
[0094] Step S402: broadcast the rearranged DAQ data using the configured broadcast data.
[0095] In this embodiment, when broadcasting DAQ data, the DAQ data before expansion and the expanded DAQ data can be distinguished. At this time, when expanding the compressed DAQ data, it is necessary to reserve an ODT capacity storage identification information, and the capacity storage identification information is used to distinguish which DAQ data in the broadcast data is the DAQ data before expansion and which data is the expanded DAQ data. At this time, after rearranging the expanded DAQ data based on the length of the ODT data, it also includes: adding the capacity storage identification information to the reserved capacity.
[0096] The previous content describes the broadcast process of DAQ data from the ECU side. Next, the reception and processing of broadcast data will be described from the perspective of the broadcast data receiving side. Figure 5 , this embodiment discloses an ECU data monitoring method based on data compression technology, including:
[0097] Step S501: receiving broadcast data.
[0098] The broadcast data is generated by broadcasting the compressed DAQ data using the configured broadcast data;
[0099] Step S502: Parse the broadcast data to obtain DAQ data.
[0100] In this step, the broadcast data is restored to obtain DAQ data, and the parsed DAQ data is further analyzed to determine whether it is compressed, expanded, or rearranged DAQ data. If it is DAQ data that has not been compressed, expanded, or rearranged, the variable data can be directly parsed according to the ODT and DAQ structure. If it is DAQ data that has been compressed, expanded, or rearranged, step S503 is executed.
[0101] Step S503: Merge to obtain each DAQ data.
[0102] In the previous article, before broadcasting the DAQ broadcast data, the compressed and expanded DAQ data was rearranged. The rearrangement is to split the compressed data according to the length of the compressed ODT data. Therefore, after receiving the broadcast data, the split data needs to be merged. Only after the merger can it be decompressed and each ODT data can be merged into the DAQ data described therein.
[0103] Step S504: decompress the merged DAQ data.
[0104] After merging the DAQ data, the DAQ data is decompressed, and the compressed standard capacity data and the extended compressed data are decompressed separately according to the capacity storage identification information.
[0105] Extension will add new DAQ data. When adding data, the location of the extended data and the corresponding relationship information of the added data (capacity storage identification information) are recorded in advance. The compressed standard capacity DAQ data and the extended DAQ data are decompressed separately.
[0106] Step S505: parsing variable data based on the ODT data in the decompressed DAQ data.
[0107] For details, please refer to the complete process of sending and receiving the above broadcast data. Figure 6 As shown: DAQ data is acquired, each DAQ data includes n ODT data, and then DAQ data of standard capacity is prepared, and then the DAQ data of standard capacity is compressed to obtain compressed DAQ data, the amount of compressed DAQ data is less than the amount of DAQ data before compression, and then the compressed DAQ data is expanded, and the expanded compressed data can be DAQ data, and then the expanded compressed DAQ data is rearranged and broadcasted, and the receiving end will merge the received broadcast data belonging to the same DAQ, and then decompress the merged compressed data, at this time, DAQ data of standard capacity and extended data will be obtained, and finally based on the structure of the DAQ data of standard capacity and the ODT data in the extended data, the variable data is parsed.
[0108] Corresponding to the ECU data monitoring method based on data compression technology at the ECU end, the present application also discloses an ECU data monitoring device based on data compression technology, see Figure 7 , the device may include:
[0109] A data acquisition unit 10, used to acquire DAQ data of the vehicle;
[0110] A judging unit 20, used to judge whether the data volume of the DAQ data is greater than a standard capacity, where the standard capacity refers to the maximum upload volume of DAQ data that the ECU can support within a unit frequency period;
[0111] a broadcast data configuration unit 30, configured to configure broadcast data based on the DAQ data when the data volume of the DAQ data is greater than the standard capacity;
[0112] A compression unit 40, used to compress the DAQ data;
[0113] The broadcast unit 50 is used to broadcast the compressed DAQ data using the configured broadcast data.
[0114] Corresponding to the ECU data monitoring method based on data compression technology at the above receiving end, the present application also discloses an ECU data monitoring device based on data compression technology, see Figure 8 , the device may include:
[0115] A broadcast data acquisition unit 60, for receiving broadcast data, wherein the broadcast data is generated by broadcasting the compressed DAQ data using the configured broadcast data;
[0116] A DAQ data analysis unit 70, used to analyze the broadcast data to obtain DAQ data;
[0117] A merging unit 80, used for merging to obtain each DAQ data;
[0118] A decompression unit 90, used for decompressing the combined DAQ data;
[0119] The variable data parsing unit 100 is used to parse the variable data based on the ODT data in the decompressed DAQ data.
[0120] For the convenience of description, the above system is described by dividing it into various modules according to its functions. Of course, when implementing the present invention, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0121] Corresponding to the above-mentioned ECU data monitoring method based on data compression technology, the present application also discloses an electronic device, including at least one processor and a memory connected to the processor, wherein:
[0122] The memory is used to store computer programs;
[0123] The processor is used to execute the computer program so that the electronic device can implement any one of the above-mentioned ECU data monitoring methods based on data compression technology.
[0124] When the electronic device is used to implement an ECU data monitoring method based on data compression technology at the ECU end, its processor is recorded as a first processor, and its memory is recorded as a first memory.
[0125] When the electronic device is used to implement the ECU data monitoring method based on data compression technology at the broadcast data receiving end, its processor is recorded as the second processor and its memory is recorded as the second memory.
[0126] The specific structure of the electronic device can be as follows Fig. 9 As shown, Fig. 9 The schematic diagram of the structure of the electronic device suitable for implementing the embodiment of the present application is shown. The electronic device in the embodiment of the present application may include but is not limited to a fixed terminal such as a computer and the like. Fig. 9 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0127] like Fig. 9As shown, the electronic device may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 to a random access memory (RAM) 603. When the electronic device is powered on, various programs and data required for the operation of the electronic device are also stored in the RAM 603. The processor 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0128] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a memory 608 including, for example, a memory card, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Fig. 9 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0129] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.
[0130] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0131] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0132] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0133] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An ECU data monitoring method based on data compression technology, characterized in that: include: Prepare vehicle DAQ data to be broadcast; Determine whether the data volume of the DAQ data is greater than the standard capacity, where the standard capacity refers to the maximum DAQ data upload volume that the ECU can support within a unit frequency cycle; When the data volume of the DAQ data is greater than the standard capacity, configuring broadcast data based on the DAQ data; compressing the DAQ data; Use the configured broadcast data to broadcast the compressed DAQ data.
2. The ECU data monitoring method based on data compression technology according to claim 1 is characterized in that: The method of using the configured broadcast data to broadcast the compressed DAQ data includes: Expand the compressed DAQ data; Use the configured broadcast data to broadcast the compressed DAQ data, including: Use the configured broadcast data to broadcast the expanded DAQ data.
3. The ECU data monitoring method based on data compression technology according to claim 2 is characterized in that: Use the configured broadcast data to broadcast the expanded DAQ data, including: Rearranging the expanded DAQ data based on the length of the ODT data in the DAQ data; The re-arranged DAQ data is broadcast using the configured broadcast data.
4. The ECU data monitoring method based on data compression technology according to claim 3 is characterized in that: When the compressed DAQ data is expanded, the method further includes: reserving an ODT capacity, the reserved capacity being used to store capacity storage identification information, the capacity storage identification information being used to distinguish the DAQ data before expansion and the expanded DAQ data in the broadcast data; After the expanded DAQ data is rearranged based on the length of the ODT data, the method further includes: adding the capacity storage identification information to the reserved capacity.
5. The ECU data monitoring method based on data compression technology according to claim 3 is characterized in that: When the data volume of the DAQ data is not greater than the standard capacity, the method further includes: configuring the broadcast data based on the DAQ data; The DAQ data is broadcasted based on the configured broadcast data configuration.
6. An ECU data monitoring method based on data compression technology, characterized in that: include: receiving broadcast data, wherein the broadcast data is generated by broadcasting the compressed DAQ data using the configured broadcast data in claim 4; Parsing the broadcast data to obtain DAQ data; Merge to get each DAQ data; Decompress the merged DAQ data; Variable data is parsed based on the ODT data in the decompressed DAQ data.
7. An ECU data monitoring device based on data compression technology, characterized in that: include: A data acquisition unit, used to acquire DAQ data of the vehicle; A judging unit, used to judge whether the data volume of the DAQ data is greater than a standard capacity, where the standard capacity refers to the maximum upload volume of DAQ data that the ECU can support within a unit frequency period; a broadcast data configuration unit, configured to configure broadcast data based on the DAQ data when the data volume of the DAQ data is greater than the standard capacity; A compression unit, used for compressing the DAQ data; The broadcast unit is used to broadcast the compressed DAQ data using the configured broadcast data.
8. An ECU data monitoring device based on data compression technology, characterized in that: include: a broadcast data acquisition unit, for receiving broadcast data, wherein the broadcast data is generated by broadcasting the compressed DAQ data using the configured broadcast data in claim 4; A DAQ data parsing unit, used for parsing the broadcast data to obtain DAQ data; A merging unit is used to merge and obtain each DAQ data; A decompression unit, used for decompressing the combined DAQ data; The variable data parsing unit is used to parse the variable data based on the ODT data in the decompressed DAQ data.
9. An electronic device, characterized in that: The method comprises at least one first processor and a first memory connected to the first processor, wherein: The first memory is used to store computer programs; The first processor is used to execute the computer program so that the electronic device can implement the ECU data monitoring method based on data compression technology as described in any one of claims 1 to 5.
10. An electronic device, characterized in that: The method comprises at least one second processor and a second memory connected to the second processor, wherein: The second memory is used to store computer programs; The second processor is used to execute the computer program so that the electronic device can implement the ECU data monitoring method based on data compression technology as described in claim 6.