Vehicle end data processing method and device, electronic equipment and storage medium

By generating parsed data packets at the vehicle end and comparing the values ​​of the acquired signal frames of the structured data at the vehicle end using bitwise operations, the problem of low efficiency in data interaction between the vehicle end and the cloud end is solved, resulting in a significant reduction in data volume and a shortening of transmission time.

CN121284021APending Publication Date: 2026-01-06Z-ONE TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410890727.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2026-01-06

AI Technical Summary

Technical Problem

In existing technologies, the data interaction between the vehicle and the cloud uses the JSON structure, which leads to low data transmission efficiency and high storage space consumption.

Method used

By parsing the structured data at the vehicle end, the acquisition signal frame and acquisition time of each acquisition signal are generated. Bitwise operations are used to compare the values ​​of adjacent acquisition signal frames to generate parsed data packets, reducing the amount of data and compressing the transmission.

Benefits of technology

It reduces network traffic and storage space usage, improves data processing efficiency, reduces data volume to 1/20 of the original JSON structure, and significantly reduces transmission traffic and time consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121284021A_ABST
    Figure CN121284021A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a vehicle end data processing method and device, electronic equipment and a storage medium, and the method comprises the steps: analyzing vehicle end structural data, and obtaining a plurality of collection signal frames of each collection signal, and the collection time and collection value of each collection signal frame; according to each acquisition time of each acquisition signal frame in each acquisition signal, comparing two acquisition values of any two adjacent acquisition signal frames of each acquisition signal, and generating analysis data of each acquisition signal frame of each acquisition signal; and obtaining an analysis data packet of the vehicle end structured data according to the analysis data of each acquisition signal frame of each acquisition signal. Therefore, the invention provides an efficient data compression processing scheme, the data transmission quantity and the transmission time consumption of the vehicle end structured data in the transmission process can be reduced, and the data storage space is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present disclosure relate to the technical field of data processing, and particularly relate to a vehicle-end data processing method and device, electronic equipment and storage medium. BACKGROUND

[0002] A vehicle is a very complex terminal with a very large number of signals. After the cloud obtains the can / lin signals collected by the vehicle end, the can / lin signals need to be parsed into a json structure and then distributed to each business end for use.

[0003] However, the json format document has a large data capacity. With the increasing intelligence of vehicle-end and cloud-end application technologies, the amount of data interaction between the cloud end and the vehicle end, or between the cloud ends, increases. Using the data transmission mode of the json structure has the problems of low data transmission efficiency and large storage space occupation. SUMMARY

[0004] Therefore, embodiments of the present disclosure provide a vehicle-end data processing method and device, electronic equipment and storage medium to at least partially solve the above problems.

[0005] According to a first aspect of embodiments of the present disclosure, a vehicle-end data processing method is provided, applied to a cloud end, and the method comprises: parsing vehicle-end structured data to obtain a plurality of collection signal frames of each collection signal and collection time and collection values of each collection signal frame; comparing two collection values of any adjacent two collection signal frames of each collection signal according to the collection time of each collection signal frame in each collection signal to generate parsed data of each collection signal frame of each collection signal; and obtaining a parsed data packet of the vehicle-end structured data according to the parsed data of each collection signal frame of each collection signal.

[0006] According to a second aspect of embodiments of the present disclosure, a vehicle-end data processing device is provided, applied to a cloud end, and the device comprises: a parsing module configured to parse vehicle-end structured data to obtain a plurality of collection signal frames of each collection signal and collection time and collection values of each collection signal frame; a compression module configured to compare two collection values of any adjacent two collection signal frames of each collection signal according to the collection time of each collection signal frame in each collection signal to generate parsed data of each collection signal frame of each collection signal; and a merging module configured to obtain a parsed data packet of the vehicle-end structured data according to the parsed data of each collection signal frame of each collection signal.

[0007] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, comprising: a processor; and a memory storing a program, wherein the program comprises instructions which, when executed by the processor, cause the processor to perform the method of the first aspect.

[0008] According to a fourth aspect of the embodiments of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to perform the method of the first aspect.

[0009] To sum up, the vehicle-end data processing scheme provided by the aspects of the present disclosure generates analysis data of each acquisition signal frame according to the acquisition values of two adjacent acquisition signal frames in the same acquisition signal of the vehicle-end structured data, and performs data analysis processing of the vehicle-end structured data, thereby reducing the data amount of the vehicle-end structured data, reducing the network transmission amount and network transmission time, and reducing the storage space occupied by the data. BRIEF DESCRIPTION OF DRAWINGS

[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments described in the present disclosure, and other drawings can also be obtained by those skilled in the art according to these drawings.

[0011] Figure 1 The processing flow of the vehicle-end data processing method of the exemplary embodiments of the present disclosure.

[0012] Figure 2 The processing flow of the vehicle-end data processing method of another exemplary embodiment of the present disclosure.

[0013] Figure 3 The processing flow of the vehicle-end data processing method of another exemplary embodiment of the present disclosure.

[0014] Figure 4 The structural diagram of the vehicle-end data processing device of the exemplary embodiments of the present disclosure.

[0015] Figure 5 The structural diagram of the electronic device of the exemplary embodiments of the present disclosure. DETAILED DESCRIPTION

[0016] In order for those skilled in the art to better understand the technical solutions in the embodiments of the present disclosure, the technical solutions in the embodiments of the present disclosure will be described clearly and in detail below with reference to the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only some of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art shall fall within the scope of protection of the present disclosure.

[0017] The specific implementation of the embodiments of the present disclosure will be further described below with reference to the drawings.

[0018] Figure 1 The processing flow of the vehicle-end data processing method of the exemplary embodiments of the present disclosure mainly includes the following steps:

[0019] Step 102, parsing the vehicle-end structured data to obtain a plurality of acquisition signal frames of each acquisition signal and the acquisition time and acquisition value of each acquisition signal frame.

[0020] In some embodiments, the vehicle-end structured data is json structured data, and the vehicle-end structured data is generated based on the can / lin acquisition signals reported by the vehicle end.

[0021] In some embodiments, the parsing rule of the vehicle-end structured data can be obtained according to the task script information of the vehicle-end structured data.

[0022] In some embodiments, the cloud end is connected to a cache server.

[0023] The parsing rule of the vehicle-end structured data can be obtained from the cache server based on the task script information of the vehicle-end structured data, the vehicle-end structured data is circularly parsed using the parsing rule to obtain each acquisition signal in the vehicle-end structured data, each acquisition signal is circularly parsed using the parsing rule and a bit operation mode to obtain a plurality of acquisition signal frames of each acquisition signal, and each acquisition signal frame of each acquisition signal is parsed through the bit operation mode to obtain the acquisition time and acquisition value of each acquisition signal frame.

[0024] Step 104, comparing the two acquisition values of any adjacent two acquisition signal frames of each acquisition signal according to the acquisition time of each acquisition signal frame in each acquisition signal to generate the parsed data of each acquisition signal frame of each acquisition signal.

[0025] In some embodiments, any one acquisition signal can be determined as a current signal, any one acquisition signal frame in the current signal can be determined as a current signal frame, the previous acquisition signal frame of the current signal frame can be determined as a previous signal frame of the current signal frame, and the acquisition value of the current signal frame and the acquisition value of the previous signal frame are compared.

[0026] If the collection value of the current signal frame is the same as the collection value of the previous signal frame, the null character is filled into the time placeholder and the value placeholder of the current signal frame to obtain the parsed data of the current signal frame; if the collection value of the current signal frame is different from the collection value of the previous signal frame, the collection time and the collection value of the current signal frame are filled into the time placeholder and the value placeholder of the current signal frame to obtain the parsed data of the current signal frame.

[0027] Specifically, the collection time identifier field and the collection value identifier field of each collection signal frame are replaced by the time placeholder and the value placeholder respectively, and in the case that the collection value of the current signal frame is the same as the collection value of the previous signal frame, the collection time and the collection value of the current signal frame can be further replaced by the null character respectively, so as to improve the compression rate of each collection signal frame and further reduce the data transmission amount.

[0028] In some embodiments, after all the collection signal frames in the current signal are parsed, the signal separator of the current collection signal is added.

[0029] Step 106: obtaining the parsed data packet of the vehicle-end structured data according to the parsed data of each collection signal frame of each collection signal.

[0030] In some embodiments, each byte object in the parsed data of each collection signal frame of each collection signal can be spliced to obtain the parsed data packet of the vehicle-end structured data.

[0031] Figure 2 For the vehicle-end data processing method of another exemplary embodiment of the present disclosure, it is a specific implementation scheme of the above-mentioned Figure 1 As shown in the figure, the present embodiment mainly includes the following steps:

[0032] Step 202: obtaining vehicle-end structured data.

[0033] Specifically, the structured data of the vehicle-end can / lin signal is obtained.

[0034] Step 204: obtaining the parsing rule of the vehicle-end structured data.

[0035] In the present embodiment, the parsing rule of the vehicle-end structured data can be obtained from the cache server based on the task script information of the vehicle-end structured data.

[0036] Step 206: parsing the collection signal in the vehicle-end structured data.

[0037] Specifically, one collection signal in the vehicle-end structured data, such as the vehicle speed signal, the engine speed signal, etc., can be parsed by using the parsing rule in a bitwise operation manner.

[0038] Step 208, judge whether all the acquisition signals in the vehicle end structured data have been parsed, if yes, execute step 224, if not, execute step 210.

[0039] Step 210, bit operation parses the acquisition signal frame under the acquisition signal.

[0040] For example, parse each acquisition signal frame under the vehicle speed signal.

[0041] Step 212, judge whether all the acquisition signal frames under the acquisition signal have been parsed, if yes, execute step 222, if not, execute step 214.

[0042] In the embodiment, the acquisition times of the vehicle end can / lin signal can be parsed by bit operation, and whether the loop times coincide with the acquisition times is judged, if the two coincide, the judgment result that all the acquisition signals in the vehicle end structured data have been parsed is obtained.

[0043] Step 214, bit operation parses the acquisition time and acquisition value of the acquisition signal frame.

[0044] Step 216, judge whether the acquisition value of the current acquisition signal frame is the same as the acquisition value of the previous acquisition signal frame, if yes, execute step 218, otherwise execute step 220.

[0045] Step 218, append the time placeholder and value placeholder of the acquisition signal frame, and continue to execute step 210.

[0046] Specifically, if the acquisition value of the current acquisition signal frame and the acquisition value of the previous acquisition signal frame are the same, the time placeholder and value placeholder of the current acquisition signal frame can be filled with null characters to obtain the byte data of the current acquisition signal frame.

[0047] Step 220, append the acquisition time and acquisition value of the acquisition signal frame.

[0048] Specifically, if the acquisition value of the current acquisition signal frame and the acquisition value of the previous acquisition signal frame are different, the acquisition time and acquisition value of the current acquisition signal frame are filled into the time placeholder and value placeholder respectively to obtain the byte data of the current acquisition signal frame.

[0049] Step 222, append the signal separator, and return to step 206.

[0050] Specifically, when it is judged that all the acquisition signal frames under the acquisition signal have been parsed, the signal separator can be appended to the current acquisition signal, and returned to step 206 to parse the next acquisition signal in the vehicle end structured data.

[0051] Step 224, generating the parsed data packet of the vehicle-end structured data.

[0052] Specifically, when all the collected signals in the vehicle-end structured data are parsed, the time placeholder and the value placeholder of each collected signal frame of each collected signal can be spliced to obtain the parsed data packet of the vehicle-end structured data.

[0053] To sum up, by using the vehicle-end data processing method of the embodiment, the key value in the structured data is removed by using the parsing rule, and the same data value in the collected signal is replaced by the space character to only keep the placeholder, thereby reducing the length of the parsed data, and the data amount of the parsed data is less than the can / lin original data. It is detected that the data amount of the parsed data packet obtained by using the processing scheme of the embodiment is only 1 / 20 of the original JSON structure, and the transmission flow and network time consumption in the parsed data transmission process are reduced.

[0054] In addition, the parsed data packet obtained by using the above embodiments can be further transmitted to a downstream user to provide an SDK interface for the user to perform decompression of the parsed data packet, obtain a JSON data structure, and use it.

[0055] The decompression process of the parsed data packet can include:

[0056] According to the parsing rule of the vehicle-end structured data, the decompression processing is performed on the parsed data packet to obtain each byte object in the parsed data packet, identify the signal separator, the time placeholder, or the value placeholder in each byte object, restore the collection time and the collection value of each collected signal frame of each collected signal, and fill the collection time and the collection value of each collected signal frame of each collected signal into each document block of the given document template to restore the structured data document of the parsed data packet.

[0057] In the embodiment, the given document template is determined according to the task script information of the vehicle-end structured data, and the given document template includes a JSON format document.

[0058] Figure 3 To show the processing flow of performing reverse parsing on the parsed data packet of the vehicle-end structured data to restore the structured data, it mainly includes:

[0059] Step 302, obtaining the byte data stream of the parsed data packet and the parsing rule of the parsed data packet.

[0060] Specifically, the parsing rule of the byte data stream can be obtained from the cache server according to the task script information of the vehicle-end structured data corresponding to the byte data stream.

[0061] Step 304, identifying the byte object in the byte data stream.

[0062] Specifically, the parsing rule can be used to sequentially identify each byte object in the byte data stream in a bitwise operation manner.

[0063] Step 306, judging whether all byte objects in the byte data stream have been identified, if yes, executing step 308, if not, executing step 310.

[0064] Step 308, obtaining the structured data document of the parsing package.

[0065] Step 310, judging whether the byte object is a time placeholder, if yes, executing step 312, if not, executing step 318.

[0066] Step 312, judging whether the time placeholder is empty, if yes, executing step 314, if not, executing step 315.

[0067] Step 314, determining the current collection time based on the previous collection time, and executing step 316.

[0068] Specifically, in the case that the time placeholder of the current byte object is empty, the collection time of the current byte object can be calculated according to the collection time of the previous byte object of the current byte object and the collection time interval.

[0069] Step 315, obtaining the current collection time, and executing step 316.

[0070] Specifically, in the case that the time placeholder of the current byte object is not empty, the collection time in the time placeholder is directly read.

[0071] Step 316, filling in the general field of the byte object, and executing step 306.

[0072] Step 318, judging whether the byte object is a numerical value placeholder, if yes, executing step 320, if not, executing step 324.

[0073] Step 320, judging whether the numerical value placeholder is empty, if yes, executing step 322, if not, executing step 323.

[0074] Step 322, determining the current collection numerical value based on the previous collection numerical value, and executing step 316.

[0075] Specifically, in the case that the numerical value placeholder of the current byte object is empty, the collection numerical value of the previous byte object of the current byte object is determined as the collection numerical value of the current byte object.

[0076] Step 323, obtaining the current collection data, and executing step 316.

[0077] Specifically, if the numeric placeholder of the current byte object is not empty, the collected value in the numeric placeholder is read directly.

[0078] Step 324: Determine if the byte object is a signal delimiter. If yes, proceed to step 326; otherwise, proceed to step 328.

[0079] Step 326: Complete the signal information and proceed to step 316.

[0080] Specifically, if the byte object is determined to be a signal delimiter, it means that all acquisition signal frames under one acquisition signal in the parsed data packet have been decompressed, and then signal padding is performed for the acquisition signal.

[0081] Step 328: Record the byte array and execute step 306.

[0082] Specifically, if the byte object is not any of the time placeholders, numeric placeholders, or signal delimiters, the byte object is recorded as a byte array.

[0083] In summary, the data de-parsing processing provided in this embodiment directly uses the byte encoding information to complete the data scan in a single loop. During the loop, the parsing rules are used to sequentially complete the key values ​​in the data structure, and the data values ​​that only retain placeholders are also completed. Therefore, its processing speed is better than that of traditional JSON structure deserialization, thus improving data processing efficiency.

[0084] Figure 4 A simplified structural diagram of a vehicle-side data processing apparatus according to an exemplary embodiment of the present disclosure is shown. As shown in the figure, the vehicle-side data processing apparatus 400 of this embodiment includes:

[0085] The parsing module 402 parses the structured data at the vehicle end to obtain multiple acquisition signal frames for each acquisition signal, as well as the acquisition time and acquisition value of each acquisition signal frame.

[0086] The compression module 404, based on the acquisition time of each acquisition signal frame in each acquisition signal, compares the two acquisition values ​​of any two adjacent acquisition signal frames of each acquisition signal to generate parsed data for each acquisition signal frame of each acquisition signal.

[0087] The merging module 406 obtains the parsed data packet of the vehicle-side structured data based on the parsed data of each acquisition signal frame of each acquisition signal.

[0088] In some embodiments, the cloud communication connection is a cache server.

[0089] In some embodiments, the parsing module 402 is further configured to: obtain the parsing rules of the vehicle-side structured data from the cache server based on the task script information of the vehicle-side structured data; cyclically parse the vehicle-side structured data using the parsing rules to obtain each acquisition signal in the vehicle-side structured data; cyclically parse each acquisition signal using the parsing rules and bitwise operations to obtain multiple acquisition signal frames for each acquisition signal; and parse each acquisition signal frame of each acquisition signal using bitwise operations to obtain the acquisition time and acquisition value of each acquisition signal frame for each acquisition signal.

[0090] In some embodiments, the compression module 404 is further configured to: determine any one of the acquired signals as the current signal, determine any one of the acquired signal frames in the current signal as the current signal frame, and determine the previous acquired signal frame of the current signal frame as the preceding signal frame of the current signal frame; compare the acquired value of the current signal frame with the acquired value of the preceding signal frame; if the acquired value of the current signal frame is the same as the acquired value of the preceding signal frame, fill the time placeholder and value placeholder of the current signal frame with empty characters to obtain the parsed data of the current signal frame; if the acquired value of the current signal frame is different from the acquired value of the preceding signal frame, fill the time and value of the current signal frame with the time placeholder and value placeholder of the current signal frame to obtain the parsed data of the current signal frame.

[0091] In some embodiments, the compression module 404 is further configured to: add a signal separator to the current acquisition signal after all the acquired signal frames in the current signal have been parsed.

[0092] In some embodiments, the merging module 406 is further configured to: splice the time placeholder and the value placeholder of each acquisition signal frame of each acquisition signal to obtain the parsed data packet of the vehicle-side structured data.

[0093] In some embodiments, the vehicle-side data processing device 400 further includes a decompression module (not shown), which is used to: acquire the byte data stream of the parsed data packet and the parsing rules of the parsed data packet; decompress the byte data stream using the parsing rules to obtain each byte object in the byte data stream; identify the signal separator, time placeholder, or value placeholder in each byte object to restore the acquisition time and acquisition value of each acquisition signal frame of each acquisition signal; and fill the acquisition time and acquisition value of each acquisition signal frame of each acquisition signal into each document block of a given document template to restore the structured data document of the parsed data packet.

[0094] In some embodiments, the given document template is determined based on the task script information of the vehicle-side structured data; the given document template includes a JSON format document.

[0095] Reference Figure 5 This document illustrates a schematic diagram of an electronic device according to an exemplary embodiment of the present application. Specific embodiments of the present application do not limit the specific implementation of the electronic device.

[0096] like Figure 5 As shown, the electronic device may include: a processor 502, a communications interface 504, a memory 506, and a communications bus 508.

[0097] in:

[0098] The processor 502, communication interface 504, and memory 506 communicate with each other via communication bus 508.

[0099] Communication interface 504 is used to communicate with other electronic devices or servers.

[0100] The processor 502 is used to execute program 510, specifically to execute the relevant steps in the above-described vehicle-side data processing method embodiment.

[0101] Specifically, program 510 may include program code that includes computer operation instructions.

[0102] The processor 502 may be a CPU, an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application. The smart device may include one or more processors of the same type, such as one or more CPUs; or it may include processors of different types, such as one or more CPUs and one or more ASICs.

[0103] Memory 506 is used to store program 510. Memory 506 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0104] Program 510 may include multiple computer instructions. Specifically, program 510 may use multiple computer instructions to cause processor 502 to perform the operation corresponding to the vehicle-side data processing method described in any of the foregoing multiple method embodiments.

[0105] The specific implementation of each step in program 510 can be found in the corresponding steps and units described in the above method embodiments, and has corresponding beneficial effects, which will not be repeated here. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the devices and modules described above can be referred to the corresponding process descriptions in the foregoing method embodiments, and will not be repeated here.

[0106] This application also provides a computer storage medium storing a computer program thereon, which, when executed by a processor, implements the method described in any of the foregoing method embodiments. The computer storage medium includes, but is not limited to, compact disc read-only memory (CD-ROM), random access memory (RAM), floppy disk, hard disk, or magneto-optical disk.

[0107] This application also provides a computer program product, including computer instructions that instruct a computing device to perform operations corresponding to the vehicle-side data processing method described in any of the above embodiments.

[0108] Furthermore, it should be noted that the user-related information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to sample data used for training the model, data used for analysis, stored data, displayed data, etc.) involved in the embodiments of this application are all information and data authorized by the user or fully authorized by all parties. Moreover, the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0109] It should be noted that, depending on the implementation needs, the various components / steps described in the embodiments of this application can be broken down into more components / steps, or two or more components / steps or parts of the operation of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of this application.

[0110] The methods described in the embodiments of this application can be implemented in hardware, firmware, or as software or computer code that can be stored in a recording medium (such as a CD-ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or as computer code downloaded over a network that is originally stored in a remote recording medium or a non-transitory machine-readable medium and will be stored in a local recording medium. Thus, the methods described herein can be stored on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware (such as an Application Specific Integrated Circuit (ASIC) or a Field Programmable Gate Array (FPGA)). It is understood that the computer, processor, microprocessor controller, or programmable hardware includes storage components (e.g., Random Access Memory (RAM), Read-Only Memory (ROM), Flash Memory, etc.) capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods described herein. Furthermore, when a general-purpose computer accesses code used to implement the methods shown herein, the execution of the code transforms the general-purpose computer into a dedicated computer for executing the methods shown herein.

[0111] Those skilled in the art will recognize that the units and method steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this application.

[0112] The above embodiments are only used to illustrate the embodiments of this application, and are not intended to limit the embodiments of this application. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of this application. Therefore, all equivalent technical solutions also fall within the scope of the embodiments of this application, and the patent protection scope of the embodiments of this application should be defined by the claims.

Claims

1. A vehicle-end data processing method applied to a cloud, the method comprising: parsing vehicle-end structured data to obtain a plurality of acquisition signal frames of each acquisition signal and an acquisition time and an acquisition value of each acquisition signal frame; comparing two acquisition values of any two adjacent acquisition signal frames of each acquisition signal according to the acquisition time of each acquisition signal frame to generate parsed data of each acquisition signal frame of each acquisition signal; obtaining a parsed data packet of the vehicle-end structured data according to the parsed data of each acquisition signal frame of each acquisition signal.

2. The method of claim 1, wherein, the cloud is communicatively connected to a cache server; and wherein the parsing of the vehicle-end structured data to obtain the plurality of acquisition signal frames of each acquisition signal and the acquisition time and the acquisition value of each acquisition signal frame comprises: obtaining a parsing rule of the vehicle-end structured data from the cache server based on task script information of the vehicle-end structured data; obtaining each acquisition signal in the vehicle-end structured data by cyclically parsing the vehicle-end structured data using the parsing rule; obtaining the plurality of acquisition signal frames of each acquisition signal by cyclically parsing each acquisition signal using the parsing rule and a bit operation mode; obtaining the acquisition time and the acquisition value of each acquisition signal frame of each acquisition signal by parsing each acquisition signal frame of each acquisition signal through the bit operation mode.

3. The method of claim 1 or 2, wherein, the comparing of the two acquisition values of the any two adjacent acquisition signal frames of each acquisition signal according to the acquisition time of each acquisition signal frame to generate the parsed data of each acquisition signal frame of each acquisition signal comprises: determining any one acquisition signal as a current signal, determining any one acquisition signal frame in the current signal as a current signal frame, and determining a previous acquisition signal frame of the current signal frame as a previous signal frame of the current signal frame; comparing the acquisition value of the current signal frame with the acquisition value of the previous signal frame; if the acquisition value of the current signal frame is the same as the acquisition value of the previous signal frame, filling empty characters into a time placeholder and a value placeholder of the current signal frame to obtain parsed data of the current signal frame; if the acquisition value of the current signal frame is not the same as the acquisition value of the previous signal frame, filling the acquisition time and the acquisition value of the current signal frame into the time placeholder and the value placeholder of the current signal frame to obtain the parsed data of the current signal frame.

4. The method of claim 3, wherein, the method further comprises: adding a signal separator of the current acquisition signal after all acquisition signal frames in the current signal are parsed.

5. The method as recited in claim 3, wherein, the obtaining of the parsed data packet of the vehicle-end structured data according to the parsed data of each acquisition signal frame of each acquisition signal comprises: splicing the time placeholder and the value placeholder of each acquisition signal frame of each acquisition signal to obtain the parsed data packet of the vehicle-end structured data.

6. The method of claim 1 or 5, wherein, the method further comprises: obtaining a byte data stream of the parsed data packet and a parsing rule of the parsed data packet; decompressing the byte data stream using the parsing rule to obtain each byte object in the byte data stream; The signal separator, time placeholder, or numerical value placeholder in each byte object is identified, and the collection time and collection numerical value of each collection signal frame of each collection signal are restored. The collection time and collection numerical value of each collection signal frame of each collection signal are filled into the document blocks of the given document template, and the structured data document of the parsed data packet is restored.

7. The method of claim 6, wherein, The given document template is determined according to the task script information of the vehicle-side structured data; The given document template includes a JSON format document.

8. A vehicle-side data processing apparatus applied to a cloud side, the apparatus comprising: a parsing module configured to parse vehicle-side structured data to obtain a plurality of collection signal frames of each collection signal and collection time and collection numerical value of each collection signal frame; a compression module configured to compare two collection numerical values of any adjacent two collection signal frames of each collection signal according to the collection time of each collection signal frame in each collection signal to generate parsed data of each collection signal frame of each collection signal; a merging module configured to obtain a parsed data packet of the vehicle-side structured data according to the parsed data of each collection signal frame of each collection signal.

9. An electronic device comprising: a processor; and a memory storing a program, wherein the program includes instructions that, when executed by the processor, cause the processor to perform the method of any one of claims 1 to 7.

10. A computer readable storage medium, wherein, The computer program is stored in the computer readable storage medium, and when the computer program runs on the computer, the computer executes the method of any one of claims 1-7.

Citation Information

Patent Citations

  • Data storage method, device and equipment and computer storage medium

    CN113625971A

  • Internet of Vehicles data processing method and device, storage medium and electronic equipment

    CN113885810A

  • Data processing method and device and storage medium

    CN115145883A

  • Data compression method and device and data decompression method and device

    CN116208168A

  • Data compression and analysis method, vehicle, electronic equipment and storage medium

    CN116320041A