A dynamic data packet error correction method and system for electric vehicle cloud services

Through dynamic packet error correction method, polynomial verification code and deep learning technology are used to solve the problem of traditional methods identifying and repairing packet errors in dynamic network environments, and the efficiency, reliability and automation of electric vehicle data transmission is achieved. Improve operational safety and management efficiency.

CN118523874BActive Publication Date: 2024-11-12JIANGSU XIAONIU ELECTRIC SCOOTER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410997146.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-11-12
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

Traditional error detection and error correction methods are not ideal in dynamic and unstable network environments, especially in the case of high packet loss rate and large network latency, data transmission errors cannot be effectively identified and repaired, and a simple retransmission mechanism Increases network burden and data processing time.

Method used

Using dynamic packet error correction method, by obtaining and digitizing the electric vehicle related information, generating polynomial verification codes, continuously sending structured data packets to the terminal, and using deep learning to create a typical packet loss template, dynamically adjusting verification code parameters , identify and repair packet errors to realize automatic data retransmission.

Benefits of technology

Effectively identify and repair data transmission errors, ensure the integrity and accuracy of data packets, improve the reliability of data transmission and the degree of system automation, and significantly improve the operation safety and management efficiency of electric vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118523874B_ABST
    Figure CN118523874B_ABST
Patent Text Reader

Abstract

The technical field of data packet detection of the present invention particularly relates to a dynamic data packet error correction method and system for electric vehicle cloud services, the method comprising: obtaining information, digitizing electric vehicle related information, converting it into digital information, and organizing the digital information into structured data packets; continuously sending data packets to the terminal, with each data packet attached with a generated polynomial check code, the polynomial check code being an identification basis for determining whether the data packet is complete; after receiving the data packet, the terminal uses the same generated polynomial check code to detect whether the data packet is damaged or erroneous; if so, through a pre-established dynamic data packet error correction model, the location of the abnormal data packet is determined, and the terminal is retransmitted. Through the present invention, the problem that the error detection and error correction methods are not ideal in dynamic and unstable network environments is effectively solved, the efficiency and accuracy of vehicle monitoring are achieved, and the operational safety and management efficiency of electric vehicles are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data packet detection, and in particular to a dynamic data packet error correction method and system for electric vehicle cloud services. Background Art

[0002] With the rapid development of the electric vehicle industry, data management and cloud services are widely used in the production of electric vehicles to control the manufacturing of electric vehicles. Electric vehicles generate a huge amount of data, including vehicle operating status, battery performance, navigation information, and safety system data. These data need to be transmitted to cloud servers in an efficient and reliable way to achieve remote monitoring, maintenance, and data analysis. The transmission and management of data packets play a core role in this process. Effective data packet management technology can ensure real-time data updates and stable system operation.

[0003] Traditional error detection and correction methods do not work well in dynamic and unstable network environments, especially in situations with high packet loss rates and large network delays. Existing methods may not be able to effectively identify and repair data transmission errors. In addition, when data packet corruption occurs, most systems use a simple retransmission mechanism, which not only increases the network burden but also prolongs the data processing time.

[0004] The information disclosed in this background technology section is only intended to deepen the understanding of the overall background technology of the present disclosure, and should not be regarded as acknowledging or suggesting in any form that the information constitutes the prior art known to those skilled in the art. Summary of the invention

[0005] The present invention provides a dynamic data packet error correction method and system for electric vehicle cloud services, which can effectively solve the problems in the background technology.

[0006] In order to achieve the above object, the technical solution adopted by the present invention is:

[0007] A dynamic data packet error correction method for electric vehicle cloud services, the method comprising:

[0008] Acquire electric vehicle related information, digitize the electric vehicle related information, convert it into digital information, and organize the digital information into a structured data packet;

[0009] Continuously sending the data packets to the terminal, each of the data packets is attached with a generated polynomial check code, the polynomial check code being an identification basis for determining whether the data packet is complete;

[0010] After receiving the data packet, the terminal uses the same generator polynomial check code to detect whether the data packet is damaged or erroneous;

[0011] If so, the location where the data packet has an anomaly is determined through a pre-established dynamic data packet error correction model, and data retransmission processing is performed on the terminal.

[0012] Furthermore, the data packets are continuously sent to the terminal, and each data packet is attached with a generated polynomial check code, where the polynomial check code is an identification basis for determining whether the data packet is complete, including:

[0013] Dynamically selecting an appropriate polynomial for generating a check code based on the size, sensitivity and expected transmission environment of the data packet;

[0014] By analyzing the error rate and retransmission events of historical transmission data, current transmission conditions are evaluated, and according to changes in the transmission conditions, parameters of the polynomial check code are dynamically adjusted to adapt to network fluctuations;

[0015] A polynomial is determined, a corresponding polynomial check code is generated, and the polynomial check code is attached to the corresponding data packet.

[0016] Furthermore, the current transmission conditions are evaluated by analyzing the error rate and retransmission events of historical transmission data, including:

[0017] Construct a cloud service history information database to manage and store basic information, transmission status, error type, occurrence frequency and retransmission events of electric vehicle transmission data packets, including the size, type, sending and receiving timestamps of data packets;

[0018] Performing deep learning on the electric vehicle transmission data packet information stored in the cloud service history information database, and analyzing the error rate and retransmission events of the data packet according to the deep learning results;

[0019] Collecting real-time transmission information of cloud services and entering it into the cloud service historical information database, and constructing several data sets based on the real-time transmission information to train and verify the results of deep learning;

[0020] Through the deep learning, multiple typical packet loss templates are established for matching and identifying data packet transmission error categories.

[0021] Furthermore, multiple typical packet loss templates are established through the deep learning, including:

[0022] Indexing the same error type to the transmission data packet information through the cloud service history information database;

[0023] Integrate the transmission data packet information into a template sample data subset according to the error type;

[0024] Extracting key features of the template sample data subset that affect data packet transmission and loss one by one horizontal data items based on the deep learning;

[0025] A typical packet loss template corresponding to the template sample data subset and a corresponding correction polynomial verification code are established according to the key features. The correction polynomial verification code is obtained by correcting the polynomial verification code according to the typical packet loss template.

[0026] Further, the location where the data packet has an abnormality is determined by using a pre-established dynamic data packet error correction model, including:

[0027] Acquire relevant information of a currently transmitted data packet, and determine the typical packet loss template that matches the currently transmitted data packet;

[0028] Identify and determine the error type of the current data packet according to the corresponding typical packet loss template and key features that affect data packet transmission and loss;

[0029] The location where the data packet has an abnormality is determined based on the error type identification result.

[0030] Further, performing data retransmission processing on the terminal includes:

[0031] Determine the abnormal position of the data packet, attach and intercept the data information adjacent to the abnormal position, and mark the abnormal area and the attached area;

[0032] Packing the data information of multiple abnormal positions, isolating the data information of each abnormal position, and obtaining a retransmission information data packet;

[0033] The data information of the plurality of abnormal locations is retransmitted according to the retransmission information data packet, and the location of the abnormal area in the original data packet is identified through the attachment area.

[0034] Further, retransmitting the data information of the plurality of abnormal locations according to the retransmission information data packet comprises:

[0035] Transmitting the retransmitted data information together with the next data packet of continuous transmission, and the retransmitted corresponding data to be corrected and the next data packet of continuous transmission are relative addresses;

[0036] The data to be corrected is overwritten according to the relative address, and if no error correction exists at the relative address, an empty data packet is sent.

[0037] Furthermore, after receiving the data packet, the terminal uses the same generator polynomial check code to detect whether the data packet is damaged or erroneous, including:

[0038] Setting a check value length of a polynomial check code according to the data packet, wherein the polynomial check code is synchronously transmitted with the data packet for repeated calculation by the terminal to verify the integrity of the data packet;

[0039] The terminal splits the polynomial verification code and the data packet transmitted synchronously, and regenerates the same polynomial verification code to perform an XOR operation on the entire data packet including the polynomial verification code obtained for transmission;

[0040] A preset value is set for the XOR operation according to the polynomial check code, the preset value is the expected XOR result of the XOR operation, if the XOR operation result is the preset value, the data packet is determined to be complete, otherwise the data packet is determined to be damaged or erroneous.

[0041] A dynamic data packet error correction system for electric vehicle cloud services, the system comprising:

[0042] An information digital packaging module obtains electric vehicle related information, digitally processes the electric vehicle related information, converts the information into digital information, and organizes the digital information into a structured data packet;

[0043] A data packet transmission and verification module continuously sends the data packets to the terminal, and each data packet is attached with a generated polynomial verification code, and the polynomial verification code is an identification basis for determining whether the data packet is complete;

[0044] The terminal checks the integrity of the data packet, and after receiving the data packet, the terminal uses the same generator polynomial check code to detect whether the data packet is damaged or erroneous;

[0045] The dynamic error correction and retransmission data module, if so, determines the location where the data packet has an abnormality through a pre-established dynamic data packet error correction model, and performs data retransmission processing on the terminal.

[0046] Furthermore, the data packet transmission and verification module includes:

[0047] A polynomial selection unit dynamically selects a suitable polynomial for generating a check code based on the size, sensitivity and expected transmission environment of the data packet;

[0048] A check code adjustment unit, which evaluates the current transmission conditions by analyzing the error rate and retransmission events of historical transmission data, and dynamically adjusts the parameters of the polynomial check code according to the changes of the transmission conditions to adapt to network fluctuations;

[0049] The data packet integration unit determines a polynomial, generates a corresponding polynomial check code, and attaches the polynomial check code to the corresponding data packet.

[0050] The technical solution of the present invention can achieve the following technical effects:

[0051] It effectively solves the problem that error detection and correction methods are not ideal in dynamic and unstable network environments. The electric vehicle data transmission system generates polynomial check codes to ensure the integrity and accuracy of the data packets sent to the terminal during the transmission process. This check mechanism can effectively identify transmission errors, such as bit errors, thereby ensuring the correctness of the data; the system continuously sends structured data packets to the terminal to achieve real-time monitoring of the electric vehicle status. Once the terminal detects that the data packet is damaged or erroneous, the system uses a preset dynamic data packet error correction model to accurately determine the error location and automatically retransmits the data, reducing manual intervention and improving processing speed and system automation. Through this efficient error detection and automatic error correction mechanism, the system not only improves the reliability of data transmission, but also ensures the efficiency and accuracy of electric vehicle monitoring, significantly improving the operational safety and management efficiency of electric vehicles.

[0052] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] 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 some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0054] Figure 1 A flowchart of a dynamic data error correction method for electric vehicle cloud services;

[0055] Figure 2 A schematic diagram of the process of generating a checksum for a dynamically adjusted polynomial and appending it to a data packet;

[0056] Figure 3 A flowchart of deep learning packet loss analysis;

[0057] Figure 4 A flowchart for establishing a packet loss template and a correction verification code;

[0058] Figure 5 Schematic diagram of the structure for matching the packet loss template to identify the error type and locate the abnormal location. DETAILED DESCRIPTION

[0059] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0060] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0061] Embodiment 1

[0062] like Figure 1 As shown, the present application provides a dynamic data packet error correction method for electric vehicle cloud services, the method comprising:

[0063] S100: Acquire the electric vehicle related information, digitally process the electric vehicle related information, convert it into digital information, and organize the digital information into a structured data packet;

[0064] S200: continuously sending data packets to the terminal, each data packet being attached with a generated polynomial check code, the polynomial check code being a basis for identifying whether the data packet is complete;

[0065] S300: After receiving the data packet, the terminal uses the same generated polynomial check code to detect whether the data packet is damaged or erroneous;

[0066] S400: If yes, the location where the data packet has an anomaly is determined by using a pre-established dynamic data packet error correction model, and data retransmission processing is performed on the terminal.

[0067] Specifically, information related to electric vehicles, such as vehicle model, battery specifications, configuration parameters, etc., is obtained, and the information related to electric vehicles is converted into digital information through digital processing. The digital information is further processed and converted into a structured data packet format. These data packets may include multiple fields, such as data type identification, data content, etc. The design of structured data packets makes information transmission systematic and standardized, which is convenient for transmission in the network and parsing by the receiving end; in order to ensure the integrity and non-tampering of data during transmission, each data packet will be attached with a generated polynomial check code, which is usually generated based on a certain mathematical algorithm and can effectively detect errors that may be encountered in data transmission; after receiving the data packet, the terminal device will use the same generated polynomial check code as the sender for verification in order to detect whether the data packet is damaged or erroneous during transmission; if the verification result shows that there is a problem with the data packet, that is, the data packet is damaged or erroneous, the system will use the pre-established dynamic data packet error correction model to determine the specific error location in the data packet. After the error location is determined, the system will resend the erroneous data packet parts to the terminal to ensure that each data packet received by the terminal is complete and accurate.

[0068] The technical solution of the present invention effectively solves the problem that the error detection and correction methods are not ideal in dynamic and unstable network environments. The electric vehicle data transmission system generates a polynomial check code to ensure the integrity and accuracy of the data packet sent to the terminal during the transmission process. This check mechanism can effectively identify transmission errors, such as bit errors, to ensure the correctness of the data; the system continuously sends structured data packets to the terminal to achieve real-time monitoring of the status of the electric vehicle. Once the terminal detects that the data packet is damaged or erroneous, the system uses a preset dynamic data packet error correction model to accurately determine the error location and automatically retransmits the data, reducing manual intervention and improving processing speed and system automation. Through this efficient error detection and automatic error correction mechanism, the system not only improves the reliability of data transmission, but also ensures the efficiency and accuracy of electric vehicle monitoring, significantly improving the operational safety and management efficiency of electric vehicles.

[0069] Further, if Figure 2 As shown, data packets are continuously sent to the terminal, and each data packet is attached with a generated polynomial check code, which is the identification basis for judging whether the data packet is complete, including:

[0070] S11: dynamically select an appropriate polynomial for generating the checksum based on the size, sensitivity and expected transmission environment of the data packet;

[0071] S12: Evaluate the current transmission conditions by analyzing the error rate and retransmission events of historical transmission data, and dynamically adjust the parameters of the polynomial check code according to the changes in transmission conditions to adapt to network fluctuations;

[0072] S13: Determine a polynomial, generate a corresponding polynomial check code, and attach the polynomial check code to a corresponding data packet.

[0073] In this embodiment, the size and sensitivity of the data packet and the expected transmission environment, such as network stability and bandwidth, are key factors in selecting the polynomial. Based on these parameters, the system can select a polynomial that is suitable for the characteristics of the current data packet. For example, for data packets with higher sensitivity, a complex polynomial can be used to increase data security. In an unstable or error-prone environment, a complex polynomial with strong error detection capabilities can be used. Through the analysis of historical transmission data conditions, including error rates and retransmission events, the stability of the network and the reliability of data transmission are evaluated. If an increase in error rate or frequent retransmission events is detected, the system may determine that the network condition has deteriorated and needs to adjust the polynomial check code. Parameters, such as selecting different polynomials or adjusting the coefficients of existing polynomials, can be adjusted to adapt to such changes, thereby improving the reliability of data transmission; by selecting a suitable polynomial, the system will use the polynomial to generate a check code and attach it to the end of each data packet. After the data arrives at the destination, the receiving system can use the same polynomial to calculate the check code that the data packet should have, and compare it with the received check code. If the two are inconsistent, it means that the data packet may have been damaged or tampered with during transmission, and needs to be retransmitted or other repair measures need to be taken; this method can flexibly adjust the data verification strategy according to the actual network conditions and the specific requirements of the data packet, and optimize the security and efficiency of data transmission.

[0074] Further, if Figure 3 As shown, the current transmission conditions are evaluated by analyzing the error rate and retransmission events of historical transmission data, including:

[0075] S21: Build a cloud service history information database to manage and store basic information, transmission status, error type, occurrence frequency and retransmission events of electric vehicle transmission data packets. The basic information includes the size, type, sending and receiving timestamps of the data packets.

[0076] S22: performing deep learning on the electric vehicle transmission data packet information stored in the cloud service history information database, and analyzing the error rate and retransmission events of the data packet according to the deep learning results;

[0077] S23: collecting real-time transmission information of cloud services and entering it into a cloud service historical information database, and constructing several data sets based on the real-time transmission information to train and verify the results of deep learning;

[0078] S24: Multiple typical packet loss templates are established through deep learning to match and identify data packet transmission error categories.

[0079] As a preferred embodiment of the above, a database is created to record and manage information related to electric vehicle data packet transmission, including basic information, transmission status, error type, occurrence frequency and retransmission events. The transmission status is the status of the data packet during the transmission process, such as whether it is successfully sent and received. The error type and frequency are to record the specific error types encountered during the transmission process, such as timeout, packet loss, data corruption, etc., as well as the frequency of occurrence of these errors. The retransmission event is to record the number and situation of data packet retransmissions caused by transmission errors; the electric vehicle transmission data information stored in the cloud service historical information database is used to analyze the error rate and retransmission events of the data packet through deep learning technology, and the deep learning model is continuously trained and verified to improve the accuracy of the model; the system continuously collects real-time information about electric vehicle data transmission from the network, which includes the sending and receiving status of the data packet, timestamp, and possible error information,

[0080] All collected real-time data is entered into the cloud service historical information database. This continuous data update is the basis for the continuous learning and evolution of the deep learning model. Based on the output of the trained deep learning model, a series of templates describing typical packet loss situations are created. These templates cover a variety of possible error scenarios, such as weak signal, strong interference, hardware failure, etc. During the data packet transmission process, the system uses these templates to match and identify the error types that occur in real time. This automated error identification mechanism can quickly locate problems and help adjust network configurations in real time or perform necessary maintenance. Through such a system design, the management efficiency and reliability of the electric vehicle communication network can be improved, and operational interruptions caused by data transmission errors can be reduced, thereby ensuring the efficient and stable operation of the electric vehicle system.

[0081] Further, if Figure 4 As shown in the figure, multiple typical packet loss templates are established through deep learning, including:

[0082] S31: Indexing the same error type of the transmission data packet information through the cloud service history information database;

[0083] S32: Integrate the transmission data packet information into a template sample data subset according to the error type;

[0084] S33: Extract key features that affect packet transmission and loss for each horizontal data item of a template sample data subset based on deep learning;

[0085] S34: Establish a typical packet loss template corresponding to the template sample data subset and a corresponding correction polynomial verification code according to the key features. The correction polynomial verification code is a polynomial verification code corrected according to the typical packet loss template.

[0086] In this embodiment, the same error type is indexed for transmission data packet information through the cloud service historical information database, and all data packet transmission records are extracted from the cloud service historical database, and these records are classified to find out the data packets with the same error type. For example, a data packet is lost due to network delay, and another data packet is lost due to signal interference. Then these different types of errors are classified and indexed, and the transmission data packet information is integrated into a template sample data subset according to the error type. This is to group the data packet information of the same error type together to form a template sample data subset. For example, all packet loss information caused by network delay will be integrated together, and all packet loss information caused by signal interference will be integrated together to provide basic data for subsequent feature extraction and template establishment. Then deep learning technology is used for each template. A subset of sample data is analyzed to extract key features that affect data packet transmission and loss, such as network bandwidth, signal strength, transmission delay, etc., and then a typical packet loss template is established. According to the extracted key features, corresponding typical packet loss templates are established. These templates can be used to describe packet loss patterns caused by different types of errors, and correction polynomial verification codes are established for the corresponding typical packet loss templates. The purpose is to correct the specific errors caused by packet loss according to the error types in the corresponding typical packet loss templates during actual data transmission, and use correction polynomial verification codes to correct them. The verification codes are designed according to the typical packet loss templates and are used to detect and correct errors during data transmission, thereby improving the reliability and accuracy of data transmission. Through the analysis and feature extraction of historical data, templates for different packet loss types and corresponding correction mechanisms are established, thereby improving the quality and reliability of data transmission.

[0087] Further, if Figure 5 As shown, the location where the data packet has an anomaly is determined through a pre-established dynamic data packet error correction model, including:

[0088] Obtain relevant information of the currently transmitted data packet and determine a typical packet loss template matching the currently transmitted data packet;

[0089] Identify and determine the error type of the current data packet based on the corresponding typical packet loss template and key features that affect data packet transmission and loss;

[0090] The location where the data packet has an anomaly is determined based on the error type identification result.

[0091] As a preferred embodiment of the above embodiment, by obtaining all relevant information of the data packet being transmitted, such as the size of the data packet, transmission time, sequence number, etc., which is crucial for subsequent error analysis, the system compares this information with a set of predefined typical packet loss templates. These templates are established based on historical data and common data loss scenarios, and describe various typical data loss modes, such as packet loss caused by network congestion, data confusion caused by routing errors, etc. Through matching, the system can preliminarily determine which packet loss mode the current data packet may belong to. After determining the matching packet loss template, the system will further analyze the key features that affect the transmission and loss of the data packet, such as network delay fluctuations on the data packet transmission path, the data packet damage rate during the transmission process, etc. Combined with the analysis results of the packet loss template and the key features, the system identifies and determines the error type of the current data packet. After the error type is confirmed, such as network congestion, path error, equipment failure, etc., the system uses this information to determine the specific location of the abnormality or error in the data packet. After determining the abnormal location, corresponding repair measures can be taken, such as retransmitting the affected data segment; this method greatly improves the reliability of data transmission and the overall performance of the network.

[0092] Specifically, the data retransmission process for the terminal includes:

[0093] Determine the abnormal position of the data packet, attach and intercept the data information adjacent to the abnormal position, and mark the abnormal area and the attached area;

[0094] Packing the data information of multiple abnormal positions, isolating the data information of each abnormal position, and obtaining a retransmission information data packet;

[0095] The data information of multiple abnormal positions is retransmitted according to the retransmission information data packet, and the position of the abnormal area in the original data packet is identified through the attachment area.

[0096] In this embodiment, during the data transmission process, it is necessary to determine the specific location where the error exists in the data packet, that is, the abnormal location. After the abnormal location is determined, the system will intercept the data around the abnormal location, that is, the attachment area, which is helpful to verify and locate the data during retransmission. The attachment area usually includes the data before and after the abnormal data point to ensure that there is enough information for effective error correction. These areas will be clearly marked in the data packet for subsequent processing; the data of the identified multiple abnormal locations and their attachment areas are collected and packaged. These data remain independent of each other during packaging, that is, the data information of each abnormal location is isolated in the package, and the packaged data contains all the information that needs to be corrected, which is convenient for unified processing and transmission. By isolating each abnormal data, errors are prevented from interfering with each other, thereby improving the accuracy and efficiency of error correction; the data recipient receives the package containing all The system parses the retransmitted data packet of abnormal data and attachment area information, extracts the specific data of each abnormal position and their attachment area, and uses the extracted information to retransmit those abnormal data blocks to the correct position. The attachment area contains the surrounding data of the abnormal data point, which is also identified and transmitted in the retransmitted data packet. Through this data, the system can identify the exact location of the abnormal area in the original data packet. After determining the location of the abnormal area, the system can verify the data to ensure that each data block is correctly repaired. Finally, all data blocks are reassembled to form a complete and error-free data packet, ensuring that any errors found during the data transmission process can be accurately located and repaired, thereby maintaining the integrity and accuracy of the data, which is crucial to ensuring the reliability and efficiency of network communications.

[0097] Further, the data information at multiple abnormal locations is retransmitted according to the retransmission information data packet, including:

[0098] The retransmitted data information is transmitted together with the next data packet of continuous transmission, and the retransmitted corresponding data to be corrected and the next data packet of continuous transmission are relative addresses;

[0099] The data to be corrected is overwritten according to the relative address. If there is no error correction at the relative address, an empty data packet is sent.

[0100] As a preferred embodiment of the above embodiment, when a data packet transmission error is found, the erroneous data is not retransmitted separately, but is combined with the next normal data packet to be sent for transmission, which reduces the number of transmissions on the network and improves the transmission efficiency. The relative address can help the system accurately cover the data to be corrected to the corresponding position of the previous error. By using the relative address, the receiver can accurately cover the error correction data to the position where the erroneous data is located. When the receiver receives a new data packet containing the data to be corrected, it will first parse the relative address therein, and then cover the data to be corrected to the position of the previous error according to the relative address, which can ensure that the original data is correctly repaired and the integrity of the data is guaranteed. If there is no data that needs to be corrected, that is, there is no data to be corrected at the relative address, the system will send an empty data packet. The role of the empty data packet is to occupy a place to ensure that the order and mechanism in the data transmission process remain consistent. By combining the transmission of error correction data and new data, using relative address technology to locate and correct errors, and sending empty data packets when necessary to ensure the continuity and integrity of transmission, the reliability and efficiency of the data transmission process are effectively improved.

[0101] Furthermore, after receiving the data packet, the terminal uses the same generated polynomial check code to detect whether the data packet is damaged or erroneous, including:

[0102] The check value length of the polynomial check code is set according to the data packet. The polynomial check code is transmitted synchronously with the data packet for repeated calculation by the terminal to verify the integrity of the data packet.

[0103] The terminal splits the synchronously transmitted polynomial verification code and the data packet, and regenerates the same polynomial verification code to perform an XOR operation on the entire data packet including the transmitted polynomial verification code;

[0104] A preset value is set for the XOR operation according to the polynomial check code, the preset value is the expected XOR result of the XOR operation, if the XOR operation result is the preset value, the data packet is determined to be complete, otherwise it is determined that the data packet is damaged or erroneous.

[0105] In this embodiment, before sending data, the length of the polynomial check code is determined. This length is set according to the size of the data packet and the required error detection capability. The polynomial check code is calculated from the content of the data packet according to a predetermined algorithm. The calculated check code will be attached to the end of the data packet and sent to the receiving end together with the data packet. After receiving the data packet, the receiving end will repeat the calculation of the received data according to the same polynomial check code algorithm. The calculation result should match the received check code. If the two are consistent, it means that the data packet has not been tampered with during the transmission process and the integrity is verified; if they are inconsistent, it means that the data packet may have been interfered with or tampered with during the transmission process, and the receiving end can take appropriate measures, such as requesting to resend the data packet. The generated check code is sent to the receiving end together with the data packet. The same verification mechanism can be used to verify the integrity and correctness of the data. The data packet and the check code are processed separately. The check code is recalculated for the received data packet to verify whether the data packet has been tampered with or damaged during transmission. The terminal performs an XOR operation on the original received check code and the recalculated check code. The XOR operation is a bit operation that can be used to compare the differences between two sequences. If the data packet has not been changed during transmission, the two check codes are exactly the same. If the XOR result should be the preset value, then if the XOR result is not the preset value, it indicates that the data may have been tampered with or errors may have occurred during transmission. It can effectively detect and correct errors that may occur during data transmission to improve the reliability of data transmission. In the data verification process, the preset value is the expected XOR operation result.

[0106] Embodiment 2

[0107] Based on the same inventive concept as the dynamic data packet error correction method for electric vehicle cloud service in the aforementioned embodiment, the present invention also provides a dynamic data packet error correction system for electric vehicle cloud service, the system comprising:

[0108] An information digital packaging module obtains electric vehicle related information, digitally processes the electric vehicle related information, converts it into digital information, and organizes the digital information into structured data packets;

[0109] The data packet transmission and verification module continuously sends data packets to the terminal. Each data packet is attached with a generated polynomial verification code, which is the identification basis for determining whether the data packet is complete.

[0110] The terminal verifies the integrity of the data packet. After receiving the data packet, the terminal uses the same generated polynomial check code to detect whether the data packet is damaged or erroneous.

[0111] The dynamic error correction and retransmission data module, if so, determines the location of the abnormal data packet through a pre-established dynamic data packet error correction model, and performs data retransmission processing on the terminal.

[0112] The above-mentioned adjustment system in the present invention can effectively implement a dynamic data packet error correction method for electric vehicle cloud services, and the technical effects that can be achieved are as described in the above-mentioned embodiments and will not be repeated here.

[0113] Specifically, the data packet transmission and verification module includes:

[0114] A polynomial selection unit dynamically selects a suitable polynomial for generating a checksum based on the size, sensitivity and expected transmission environment of the data packet;

[0115] The checksum adjustment unit evaluates the current transmission conditions by analyzing the error rate and retransmission events of historical transmission data, and dynamically adjusts the parameters of the polynomial checksum according to the changes in transmission conditions to adapt to network fluctuations;

[0116] The data packet integration unit determines a polynomial, generates a corresponding polynomial check code, and attaches the polynomial check code to the corresponding data packet.

[0117] Similarly, the above-mentioned optimization schemes for the system can also respectively achieve the optimization effects corresponding to the method in Example 1, which will not be repeated here.

[0118] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the accompanying drawings are merely exemplary illustrations of the present application as defined therein, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application is intended to include these modifications and variations.

Claims

1. A dynamic data packet error correction method for electric vehicle cloud services, characterized in that: The method comprises: Acquiring electric vehicle related information, digitizing the electric vehicle related information to convert it into digital information, and organizing the digital information into a structured data packet; Continuously sending the data packets to the terminal, each of the data packets is attached with a generated polynomial check code, the polynomial check code being an identification basis for determining whether the data packet is complete; After receiving the data packet, the terminal uses the same generator polynomial check code to detect whether the data packet is damaged or erroneous; If yes, the location of the abnormality in the data packet is determined by using a pre-established dynamic data packet error correction model, and data retransmission processing is performed on the terminal; Continuously sending the data packets to the terminal, with each data packet being accompanied by a generated polynomial check code, the polynomial check code being used as an identification basis for determining whether the data packet is complete, including: Dynamically selecting an appropriate polynomial for generating a check code based on the size, sensitivity, and expected transmission environment of the data packet; Evaluate current transmission conditions by analyzing error rates and retransmission events of historical transmission data, and dynamically adjust parameters of the polynomial check code according to changes in the transmission conditions to adapt to network fluctuations; Determining a polynomial, generating a corresponding polynomial check code, and appending the polynomial check code to the corresponding data packet; Evaluate current transmission conditions by analyzing historical transmission error rates and retransmission events, including: Build a cloud service history information database to manage and store basic information, transmission status, error type, occurrence frequency, and retransmission events of electric vehicle transmission data packets. The basic information includes the size, type, sending, and receiving timestamps of the data packets. Performing deep learning on the electric vehicle transmission data packet information stored in the cloud service history information database, and analyzing the error rate and retransmission events of the data packet based on the deep learning results; Collecting real-time transmission information of cloud services and entering it into the cloud service historical information database, and constructing several data sets based on the real-time transmission information to train and verify the results of deep learning; Establishing multiple typical packet loss templates through the deep learning to match and identify data packet transmission error categories; Through deep learning, multiple typical packet loss templates are established, including: Indexing the transmission data packet information with the same error type through the cloud service history information database; Integrate the transmission data packet information into a template sample data subset according to error type; Extracting key features of the template sample data subset that affect data packet transmission and loss for each horizontal data item based on the deep learning; Establishing a typical packet loss template corresponding to the template sample data subset and a corresponding correction polynomial verification code according to the key feature, wherein the correction polynomial verification code is a correction of the polynomial verification code according to the typical packet loss template; The location of the abnormality in the data packet is determined by using a pre-established dynamic data packet error correction model, including: Obtaining relevant information of a currently transmitted data packet, and determining the typical packet loss template that matches the currently transmitted data packet; Identify and determine the error type of the current data packet based on the corresponding typical packet loss template and key features that affect data packet transmission and loss; The location where the abnormality of the data packet exists is determined based on the error type identification result.

2. The dynamic data packet error correction method for electric vehicle cloud service according to claim 1, characterized in that: Performing data retransmission processing on the terminal, comprising: Determine the abnormal position of the data packet, attach and intercept the data information adjacent to the abnormal position, and mark the abnormal area and the attached area; Packing the data information of multiple abnormal locations and isolating the data information of each abnormal location to obtain a retransmitted information data packet; The data information of the plurality of abnormal locations is retransmitted according to the retransmission information data packet, and the location of the abnormal area in the original data packet is identified through the attachment area.

3. The dynamic data packet error correction method for electric vehicle cloud service according to claim 2, characterized in that: Retransmitting data information of the plurality of abnormal locations according to the retransmission information data packet, comprising: Transmitting the retransmitted data information together with the next data packet of continuous transmission, and the retransmitted corresponding data to be corrected and the next data packet of continuous transmission are relative addresses; The data to be corrected is overwritten according to the relative address, and if no error correction exists at the relative address, an empty data packet is sent.

4. The dynamic data packet error correction method for electric vehicle cloud service according to claim 1, characterized in that: After receiving the data packet, the terminal uses the same generator polynomial check code to detect whether the data packet is damaged or erroneous, including: Setting a check value length of a polynomial check code according to the data packet, wherein the polynomial check code is synchronously transmitted with the data packet for repeated calculation by the terminal to verify the integrity of the data packet; The terminal splits the synchronously transmitted polynomial verification code and the data packet, and regenerates the same polynomial verification code to perform an exclusive OR operation on the entire data packet including the transmitted polynomial verification code; A preset value is set for the XOR operation according to the polynomial check code, where the preset value is the expected XOR result of the XOR operation. If the XOR operation result is the preset value, the data packet is determined to be complete; otherwise, the data packet is determined to be damaged or erroneous.

5. A dynamic data packet error correction system for electric vehicle cloud services, characterized in that: The dynamic data packet error correction method for electric vehicle cloud services according to claim 1 is used, and the system includes: An information digitization and packaging module obtains electric vehicle related information, digitally processes the electric vehicle related information, converts the information into digital information, and organizes the digital information into structured data packets; A data packet transmission and verification module continuously sends the data packets to the terminal, and each data packet is attached with a generated polynomial check code, and the polynomial check code is used as an identification basis for determining whether the data packet is complete; A terminal data packet integrity verification module, wherein the terminal uses the same generator polynomial check code to detect whether the data packet is damaged or erroneous after receiving the data packet; The dynamic error correction and retransmission data module, if yes, determines the location of the abnormality in the data packet through a pre-established dynamic data packet error correction model, and performs data retransmission processing on the terminal; The data packet transmission and verification module includes: a polynomial selection unit, which dynamically selects a suitable polynomial for generating a check code based on the size, sensitivity and expected transmission environment of the data packet; a check code adjustment unit that evaluates current transmission conditions by analyzing error rates and retransmission events of historically transmitted data, and dynamically adjusts parameters of the polynomial check code according to changes in the transmission conditions to adapt to network fluctuations; The data packet integration unit determines a polynomial, generates a corresponding polynomial check code, and appends the polynomial check code to the corresponding data packet.