Lane line data OTA upgrading method and system
By combining blockchain technology and cloud platform, using blockchain's decentralized verification and smart contracts, the data leakage risk in the upgrade of lane line data OTA is solved, and the realization, safe and trustworthy upgrade of lane line data is achieved.
Patent Information
- Application Number
- CN202510370897.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-27
- Publication Date
- 2025-07-11
AI Technical Summary
The existing lane line data OTA upgrade program poses a risk of data breach and cannot ensure the integrity and source credibility of the update package.
Using a combination of blockchain technology and cloud platform, we push lane line data upgrade packages through cloud servers, and use blockchain's decentralized verification and smart contracts to ensure the integrity and source credibility of the update packages. At the same time, we optimize the upgrade process through analysis and evaluation of vehicle performance indicators.
Realize instant updates and safe upgrades of lane line data, ensure data consistency and security, and improve the credibility and security of upgrades.
Smart Images

Figure CN120295654A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of system upgrades, and particularly relates to a method and system for OTA upgrade of lane line data. Background Art
[0002] With the breakthroughs in computer, Internet of Things, and 5G communication technologies, intelligent connected vehicles have become the core carriers in the transportation field, and the demand for function iteration is becoming increasingly urgent. Traditional vehicle software upgrades rely on offline factory returns or fixed-point flashing, which are costly and have poor timeliness, making it difficult to meet the rapidly changing market demands and complex road conditions. The rise of OTA (Over-the-Air) technology, combined with communication and cloud technologies, has enabled remote updates of vehicle software, significantly reducing the upgrade cost and enhancing the user experience.
[0003] Currently, various solutions have been developed in the field of OTA secure upgrade of lane line data. For example, the shared key mechanism, under which the original equipment manufacturer, software supplier, and vehicle share the same key. When updating lane line data, a connection needs to be established through this key to download the updated data. However, once this key is leaked, the security of the entire system will be severely threatened. For example, the asymmetric encryption technology, where the vehicle has a public key and a private key. When updating data, the vehicle sends the public key to the software supplier, and the supplier encrypts the data using the public key, while the vehicle decrypts it using the private key. Although this method improves security, if the vehicle is hacked, the private key may still be stolen, and the system cannot record the historical information of each upgrade. Therefore, there is a risk of data leakage in existing OTA upgrade solutions. Summary of the Invention
[0004] Aiming at the problem of the risk of data leakage in the existing OTA upgrade solutions, the present invention provides a method and system for OTA upgrade of lane line data, which can ensure the integrity and source credibility of the OTA upgrade update package, and protect the privacy and security of lane line data. The specific technical solutions are as follows:
[0005] The present invention provides a method for OTA upgrade of lane line data, including:
[0006] Obtain the vehicle information to be OTA upgraded, set the vehicles into update group vehicles and original version group vehicles, and record the grouping information of each vehicle on the blockchain;
[0007] Push the lane line data upgrade package to the update group vehicles through the cloud server, where the lane line data upgrade package includes new lane line data and corresponding blockchain verification information;
[0008] Verify the blockchain verification information, and after the verification passes, upgrade the lane line data and record the update status of each vehicle on the blockchain;
[0009] Extract the key performance indicators of the updated group of vehicles and the original group of vehicles, and analyze and evaluate the key performance indicators obtained from the two groups of vehicles to obtain the analysis and evaluation results;
[0010] According to the analysis and evaluation results, execute the lane line data upgrade and update process for the vehicles.
[0011] Preferably, the method for obtaining the vehicle information to be OTA upgraded, setting the vehicles into the updated group of vehicles and the original group of vehicles, and recording the grouping information of each vehicle on the blockchain includes:
[0012] Obtain the vehicle information to be OTA upgraded, including the vehicle model, vehicle identification number, and software version;
[0013] According to the vehicles to be OTA upgraded, call the preset off-chain grouping algorithm to generate a vehicle grouping list, including the updated group of vehicles and the original group of vehicles, and mark the grouped vehicles;
[0014] Generate a transaction for each vehicle after grouping and marking, and send it to the corresponding blockchain node.
[0015] Preferably, the method for pushing the lane line data upgrade package to the updated group of vehicles through the cloud server includes:
[0016] Synchronously push the latest lane line data to the cloud server through the lane line platform;
[0017] Package the new lane line data and the created blockchain verification information to obtain the lane line data upgrade package;
[0018] Call the blockchain smart contract through the cloud server to query the vehicles marked as the updated group, and send a lane line data upgrade package download instruction to the updated group of vehicles through the OTA channel.
[0019] Preferably, the method for verifying the blockchain verification information and upgrading the lane line data after the verification is passed includes:
[0020] After receiving the lane line data upgrade package, the updated group of vehicles extracts the blockchain verification information;
[0021] The updated group of vehicles calls the local blockchain node to verify the blockchain verification information. If the verification is passed, the vehicle loads the new lane line data and completes the upgrade.
[0022] Preferably, the method for recording the update status of each vehicle on the blockchain includes:
[0023] The updated group of vehicles broadcasts a transaction through the local blockchain node, and the blockchain network packages the transaction and writes it into a block;
[0024] Use the smart contract to receive the transaction and update the update status of the vehicle on the chain.
[0025] Preferably, a lane line data OTA upgrade method further includes:
[0026] Feedback the update status of the vehicle to the cloud server.
[0027] Preferably, the key performance indicators include function indicators, performance indicators, and stability indicators;
[0028] The function indicators include lane line recognition accuracy and lane line information integrity;
[0029] The performance indicators include recognition response time and system resource occupancy rate;
[0030] The stability indicators include data anomaly rate and system crash times.
[0031] Preferably, analyzing and evaluating the two sets of key performance indicators obtained by the vehicle includes:
[0032] By comparing the lane line recognition accuracy and integrity of the updated group of vehicles with the original group of vehicles, obtain the recognition effect evaluation result;
[0033] By analyzing the changes in response time and resource occupancy rate, evaluate whether the upgrade affects the system operation efficiency, and obtain the vehicle system operation effect evaluation result;
[0034] By counting the data anomaly rate and system crash times, obtain the vehicle system stability evaluation result;
[0035] Comprehensively analyze each dimension, generate an analysis and evaluation report. If the evaluation indicators of the updated group of vehicles are better than those of the original group of vehicles, determine that the upgrade is effective; otherwise, the upgrade is ineffective.
[0036] Preferably, according to the analysis and evaluation result, the process of performing the lane line data upgrade and update of the vehicle includes:
[0037] When the analysis and evaluation result is effective, according to the preset contract content of the nodes deployed on the blockchain, automatically push update notifications to the original group of vehicles in batches;
[0038] The preset contract content includes the list of the next batch of vehicles, the update schedule, and the update status in the original group of vehicles.
[0039] The present invention also provides a lane line data OTA upgrade system, including:
[0040] A vehicle grouping unit, configured to obtain vehicle information to be OTA upgraded, set the vehicles into an updated group of vehicles and an original group of vehicles, and record the grouping information of each vehicle on the blockchain;
[0041] An update push unit, configured to push a lane line data upgrade package to updated group vehicles through a cloud server, where the lane line data upgrade package includes new lane line data and corresponding blockchain verification information;
[0042] A verification and upgrade unit, configured to verify the blockchain verification information, and after the verification passes, upgrade the lane line data and record the update status of each vehicle on the blockchain;
[0043] An analysis and evaluation unit, configured to extract key performance indicators of the updated group vehicles and the original group vehicles after the upgrade, and analyze and evaluate the key performance indicators extracted from the two groups of vehicles to obtain an analysis and evaluation result;
[0044] An update execution unit, configured to execute the lane line data upgrade and update process of the vehicle according to the analysis and evaluation result.
[0045] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0046] A lane line data OTA upgrade method of the present invention, through the lane line data OTA upgrade based on blockchain technology, introduces blockchain technology, combines the mutual cooperation of OTA and cloud platform, and solves the problem of covering vehicles with lane line data. First, the latest data is pushed to the cloud through cloud platform synchronization, and then pushed to the vehicle through OTA update, ensuring data consistency and achieving immediate effect. At the same time, the decentralized update verification and smart contract of the blockchain are used to ensure the integrity and source credibility of the update package, and improve the security of the update in the automated update process. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts do not necessarily draw to actual scale.
[0048] Figure 1 It is a flowchart of a lane line data OTA upgrade method of the present invention.
[0049] Figure 2 It is a flowchart of an embodiment of a lane line data OTA upgrade method of the present invention.
[0050] Figure 3 It is a flowchart of another embodiment of a lane line data OTA upgrade method of the present invention.
[0051] Figure 4 It is a schematic diagram of a lane line data OTA upgrade system of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0052] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0053] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.
[0054] It should also be understood that 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. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms.
[0055] It should be further understood that the term " / and" as used in the specification of the present invention and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0056] Please refer to the following embodiments Figures 1 to 4 。
[0057] The embodiment of the present application provides a method for OTA upgrading of lane line data, including:
[0058] Step S01, obtain vehicle information to be OTA upgraded, set the vehicles into updated group vehicles and original group vehicles, and record the grouping information of each vehicle on the blockchain;
[0059] In this embodiment, when the vehicle-mounted system interface feedbacks that there is a change in the lane line data in a certain area and requests whether the vehicle owner changes it, it is called a vehicle to be OTA upgraded.
[0060] By querying all vehicles that support OTA upgrading of lane line data in the database. This vehicle information may include the unique identifier VIN code of the vehicle, the current version of the lane line data, etc. The vehicles to be upgraded are divided into updated group vehicles and original group vehicles according to certain rules. For example, they can be randomly grouped according to a certain proportion of the total number of vehicles (such as 30% for the updated group and 70% for the original group); they can also be grouped according to factors such as the usage frequency and geographical location of the vehicles.
[0061] Build a data structure containing the grouping information of each vehicle, such as a JSON object, which includes the VIN code of the vehicle and the corresponding grouping identifier (update group or original group). Use the smart contract of the blockchain to write the grouping information into the blockchain.
[0062] Step S02: Push the lane line data upgrade package to the vehicles in the update group through the cloud server. The lane line data upgrade package includes new lane line data and the corresponding blockchain verification information.
[0063] Collect new lane line data, which can come from updates of map providers, analysis of actual driving data of vehicles, etc.
[0064] Generate the corresponding blockchain verification information for the new lane line data. For example, use the hash algorithm to calculate the hash value of the new lane line data, and use the hash value as part of the verification information. Package the new lane line data and the corresponding blockchain verification information into an upgrade package.
[0065] The cloud server determines the list of vehicles that need to push the upgrade package according to the update group vehicle information recorded in Step S01.
[0066] Push the lane line data upgrade package to the vehicles in the update group through the wireless communication network.
[0067] Step S03: Verify the blockchain verification information. After the verification passes, upgrade the lane line data and record the update status of each vehicle on the blockchain.
[0068] After the vehicle receives the lane line data upgrade package, first extract the blockchain verification information in it. The vehicle can interact with the blockchain node locally to obtain verification information such as the corresponding original data hash value. Compare the extracted verification information with the verification information obtained from the blockchain. If they are consistent, the verification passes; otherwise, the verification fails.
[0069] After the verification passes, the vehicle replaces the old lane line data locally with the new lane line data. During the upgrade process, data backup can be performed to prevent data loss caused by upgrade failure. Build a data structure containing the vehicle VIN code and the update status (such as "updated", "update failed", etc.). Use the smart contract of the blockchain to write the update status information into the blockchain.
[0070] Step S04: Extract the key performance indicators of the upgraded vehicles in the update group and the original group vehicles, and analyze and evaluate the key performance indicators extracted from the two groups of vehicles to obtain the analysis and evaluation results.
[0071] For the updated group of vehicles and the original group of vehicles, define the key performance indicators to be extracted, such as the lane line recognition accuracy rate, lane keeping time, number of lane departure warnings, etc. The vehicle collects key performance indicator data through its own sensors and systems and uploads the data to the cloud server. The cloud server uses corresponding statistical methods to analyze and evaluate the key performance indicators of the two groups of vehicles. For example, compare the mean values of the lane line recognition accuracy rates of the updated group of vehicles and the original group of vehicles. If the mean value of the updated group of vehicles is significantly higher than that of the original group of vehicles, it indicates that the upgraded lane line data may improve the lane line recognition accuracy rate.
[0072] According to the analysis results, draw evaluation conclusions about the upgrade effect of the lane line data, such as "The upgraded lane line data effectively improves the lane line recognition performance of the vehicle", "The upgraded lane line data has no obvious impact on the vehicle performance", etc.
[0073] Step S05: According to the analysis and evaluation results, execute the lane line data upgrade and update process of the vehicle.
[0074] If the analysis and evaluation results show that the lane line data upgrade significantly improves the vehicle performance, then push the upgrade package to the original group of vehicles to complete the lane line data upgrade of all vehicles to be upgraded. And record the final update status of all vehicles on the blockchain.
[0075] If the analysis and evaluation results show that the lane line data upgrade has no obvious improvement or has a negative impact on the vehicle performance, then stop the upgrade of the original group of vehicles. Further analyze and improve the upgrade package, regenerate the upgrade package and repeat the above upgrade process.
[0076] A method for OTA upgrade of lane line data according to the present invention introduces blockchain technology through OTA upgrade of lane line data based on blockchain technology, combines the mutual cooperation of OTA and cloud platform to solve the problem of lane line data covering vehicles. First, the latest data is pushed to the cloud through cloud platform synchronization, and then pushed to the vehicle through OTA update, ensuring data consistency and achieving immediate effect. At the same time, the decentralized update verification and smart contract of the blockchain are used to ensure the integrity and source credibility of the update package, improving the security of the update in the automated update process.
[0077] Specifically, in a preferred embodiment of the present application, the obtaining of vehicle information to be OTA upgraded, setting the vehicle into an updated group of vehicles and an original group of vehicles, and recording the grouping information of each vehicle on the blockchain includes:
[0078] Step S11: Obtain vehicle information to be OTA upgraded, including vehicle model, vehicle identification number, and software version;
[0079] By selecting the vehicle identification number to uniquely identify the vehicle, it is ensured that the grouping objects are clear, avoiding grouping chaos caused by missing information.
[0080] Step S12: According to the vehicles to be OTA upgraded, call the preset off-chain grouping algorithm to generate a vehicle grouping list, including updated group vehicles and original version group vehicles, and mark the grouped vehicles.
[0081] Through the off-chain grouping algorithm, the vehicles are randomly divided into an updated group and an original version group according to rules, and differential management is realized after marking. This not only ensures that the test vehicles are upgraded first but also maintains the stable operation of some vehicles.
[0082] Step S13: Generate a transaction for each vehicle after grouping and marking, and send it to the corresponding blockchain node. The transaction content includes vehicle grouping information.
[0083] In this embodiment, in the vehicle samples to be OTA upgraded, the A / B test method is used to divide the test vehicles into two groups. One group is updated to the new version (Group A), and the other group remains the old version (Group B). The grouping information of each vehicle is recorded on the blockchain. Among the vehicles to be OTA upgraded, a small part of the vehicles are randomly selected as test objects. And to solve the problem of slow blockchain efficiency, the off-chain transaction technology is used to record the information of the selected test vehicles, including the unique identifier vehicle identification number of the vehicle. The data of the new version is pushed to the selected test vehicles through the OTA channel. During the process of pushing the data update package through the OTA channel, the off-chain transaction technology is used to record the update status of each vehicle, specifically including the start time, end time, update result, etc., and mark it as Group A. The other group remains the original version group and is marked as Group B.
[0084] Specifically, in a preferred implementation manner of the present application, the pushing of the lane line data upgrade package to the updated group vehicles by the cloud server includes:
[0085] Step S21: Synchronously push the latest lane line data to the cloud server through the lane line platform;
[0086] The lane line platform integrates multi-source data (such as high-precision map acquisition, real-time feedback from roadside units, and abnormal lane lines reported by users) to generate the latest lane line data set (including parameters such as coordinates, types, curvatures, and speed limit associations).
[0087] When the platform detects new data (such as road construction changes), it is pushed to the cloud server in real time through the message queue.
[0088] Step S22: Package the new lane line data with the created blockchain verification information to obtain the lane line data upgrade package.
[0089] Calculate the SHA-256 hash (data_hash) for the new lane line data file. Sign the data_hash using the private key of the vehicle manufacturer to generate the signature. Integrate the data_hash, signature, and blockchain network information (such as chain ID, smart contract address) to form a verification structure. Package the new lane line data and the verification structure into an encrypted file (such as.ota format, AES-256 encryption, with a dynamically generated key). Append metadata such as version number, applicable models, and update instructions, and store it in cloud object storage.
[0090] Step S23: Invoke the blockchain smart contract through the cloud server to query the vehicles marked as the update group, and send a download instruction for the lane line data upgrade package to the vehicles in the update group through the OTA channel.
[0091] The cloud server invokes the blockchain smart contract to query the list of vehicle VINs marked as the "update group". Realize the upgrade by pushing it to the vehicles in the update group.
[0092] In this embodiment, based on the dynamic grouping query of the smart contract, it is avoided to mis-push to the original version group of vehicles. Through the closed loop of "data real-time synchronization → security package encapsulation → precise grouping push", the efficient and reliable upgrade of the lane line data is realized. Combining the immutability of the blockchain and the remote update ability of OTA, it solves the pain points of traditional map update lag and insufficient upgrade security, provides support for the continuous evolution of intelligent driving, and ensures driving safety.
[0093] Specifically, in a preferred embodiment of the present application, the verification of the blockchain verification information and, after passing the verification, the upgrade of the lane line data includes:
[0094] After the vehicle in the update group receives the lane line data upgrade package, extract the blockchain verification information;
[0095] The vehicle in the update group invokes the local blockchain node to verify the blockchain verification information. If the verification passes, the vehicle loads the new lane line data and completes the upgrade.
[0096] In this embodiment, the vehicle in the update group independently verifies the upgrade package through the local blockchain node to prevent man-in-the-middle attacks and avoid mis-identification of the lane line caused by data tampering.
[0097] Specifically, in a preferred embodiment of the present application, the recording of the update status of each vehicle on the blockchain includes:
[0098] The vehicle in the update group broadcasts a transaction through the local blockchain node, and the blockchain network packages the transaction and writes it into a block;
[0099] The smart contract receives the transaction and updates the update status of the vehicle on the chain.
[0100] In this embodiment, by monitoring the performance of two groups of vehicles in real time, key performance indicators such as vehicle performance, system stability, and user experience can be obtained; and real-time data of the two groups of vehicles during driving, such as driving data, system logs, and user feedback, can be collected. The monitored data and results are stored in an off-chain database and synchronized to the main chain regularly.
[0101] Information such as the upgrade status, timestamp, data_hash, etc. of each vehicle is uploaded to the blockchain. Through on-chain query, the problematic vehicle can be located in seconds (for example, when the upgrade failure rate of a certain batch is abnormal, quickly trace back to the verification vulnerability of a specific data_hash).
[0102] Specifically, in a preferred embodiment of the present application, a lane line data OTA upgrade method further includes:
[0103] Feedback the update status of the vehicle to the cloud server.
[0104] And feedback the upgrade result to the cloud server, and at the same time update the lane line data version information in the local blockchain ledger.
[0105] In this embodiment, by synchronizing the update status (success / failure) of the vehicle to the cloud, a dynamic dashboard is generated (such as an upgrade progress heat map and a regional success rate ranking). By summarizing the on-chain status data in the cloud, the grouping strategy is optimized in reverse (for example, if the upgrade failure rate of a certain vehicle model is high → adjust the grouping ratio and move it out of the update group).
[0106] Specifically, in a preferred embodiment of the present application, the key performance indicators include function indicators, performance indicators, and stability indicators;
[0107] The function indicators include lane line recognition accuracy and lane line information integrity;
[0108] The lane line recognition accuracy quantifies the ability of the vehicle to correctly recognize lane lines (such as solid lines, dotted lines, curves).
[0109] The lane line information integrity ensures that the recognition result contains complete parameters (such as coordinates and speed limit associations), and avoids function degradation caused by data loss (such as the loss of speed limit signs leading to the failure of speed limit reminders).
[0110] The performance indicators include recognition response time and system resource occupancy rate;
[0111] The shorter the recognition response time, the safer the emergency scenarios (such as highway lane changes). Low latency reduces screen lag and information delay, and enhances users' trust in the intelligent driving system.
[0112] Among the system resource occupancy rates, by reducing the CPU / GPU usage rate, the heat generation and power consumption are reduced, and the lifespan of in-vehicle chips is extended. The stability - related indicators include the data anomaly rate and the number of system crashes.
[0113] The data anomaly rate quantifies the frequency of data errors (such as lane - line breaks and misidentifications) during the recognition process, and improves the adaptability to complex road conditions (such as at night and on water - logged roads). When the anomaly rate exceeds the standard, a downgrade is triggered (such as switching to a low - precision map) to avoid complete failure.
[0114] Specifically, in a preferred implementation manner of the present application, the analysis and evaluation of the two sets of key performance indicators obtained for the vehicles include:
[0115] By comparing the lane - line recognition accuracy and integrity of the updated group of vehicles and the original group of vehicles, an evaluation result of the recognition effect is obtained;
[0116] By analyzing the response time and the change in resource occupancy rate, it is evaluated whether the upgrade affects the system operation efficiency, and an evaluation result of the vehicle system operation effect is obtained;
[0117] By counting the data anomaly rate and the number of system crashes, an evaluation result of the vehicle system stability is obtained;
[0118] Through comprehensive analysis of each dimension, an analysis and evaluation report is generated. If the evaluation indicators of the updated group of vehicles are better than those of the original group of vehicles, it is determined that the upgrade is effective; otherwise, the upgrade is ineffective.
[0119] By analyzing the data collected during the test phase in detail, the performance and stability of the new version are evaluated. If problems are found during the test, they need to be investigated and repaired. According to the analysis results, the expected effect of the new version is evaluated. If the actual test results meet the expectations, the update scope is gradually expanded, and the new version of the lane - line data is pushed to more vehicles in batches.
[0120] Specifically, in a preferred implementation manner of the present application, the process of performing the upgrade and update of the lane - line data of the vehicle according to the analysis and evaluation results includes:
[0121] When the analysis and evaluation result is effective, according to the preset contract content of the nodes deployed on the blockchain, update notifications are automatically pushed to the original group of vehicles in batches;
[0122] The preset contract content includes the list of the next batch of vehicles in the original group of vehicles, the update schedule, and the update status.
[0123] In this embodiment, the automatic execution update process of the smart contract is optimized by using the sharding technology to improve the execution speed and efficiency of the smart contract. The contract content is defined, including the list of vehicles in the next batch, the update schedule, and the update status. When the update condition is met, it automatically jumps to the list of vehicles to be updated in the next batch and sends update notifications to these vehicles. After receiving the notifications, the vehicles start downloading the lane line update package. At the same time, the smart contract manages the update schedule to ensure that it does not affect the normal use of the vehicles. The smart contract is deployed on the nodes of the blockchain, and the sharding technology is established on each node. As the number of update batches increases, the amount of update requests to be processed will also increase significantly. The sharding technology divides the network into multiple independent shards, and each shard can independently process a part of the update requests. Multiple shards can process the update requests of different vehicles simultaneously, thus significantly improving the overall processing capacity of the system. Since each shard can independently process transactions, it is not necessary for all transactions to be confirmed through the main chain. Each shard independently processes the update requests of a batch of vehicles, including downloading, installation, and status reporting. It reduces the load on the main chain, avoids network congestion, and makes the update process smoother.
[0124] The present invention also provides a lane line data OTA upgrade system, including:
[0125] A vehicle grouping unit, configured to obtain vehicle information to be OTA upgraded, set the vehicles into updated group vehicles and original group vehicles, and record the grouping information of each vehicle on the blockchain;
[0126] An update push unit, configured to push the lane line data upgrade package to the updated group vehicles through a cloud server, where the lane line data upgrade package includes new lane line data and corresponding blockchain verification information;
[0127] A verification and upgrade unit, configured to verify the blockchain verification information, and after the verification passes, upgrade the lane line data and record the update status of each vehicle on the blockchain;
[0128] An analysis and evaluation unit, configured to extract the key performance indicators of the upgraded updated group vehicles and original group vehicles, and analyze and evaluate the key performance indicators obtained from the two groups of vehicles to obtain an analysis and evaluation result;
[0129] An update execution unit, configured to execute the lane line data upgrade update process of the vehicle according to the analysis and evaluation result.
[0130] The function explanations of the units in this embodiment are the same as those of a lane line data OTA upgrade method, and the technical effects are the same, so they will not be repeated here.
[0131] Those of ordinary skill in the art can realize that the units of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition of each example has been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0132] In the embodiments provided by the present invention, it should be understood that the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units can be combined into one unit, one unit can be split into multiple units, or some features can be ignored, etc.
[0133] In addition, the functional units in each embodiment of the present invention can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0134] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present invention. The foregoing storage medium includes: various media such as USB flash drives, read-only memories (ROMs), random access memories (RAMs), mobile hard disks, magnetic disks, or optical discs that can store program codes.
[0135] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of each embodiment of the present invention, and they should all be covered within the scope of the claims and the description of the present invention.
Claims
1. A method for OTA upgrade of lane line data, characterized in that It includes: Obtain the vehicle information to be OTA upgraded, set the vehicles into updated group vehicles and original group vehicles, and record the grouping information of each vehicle on the blockchain; Push the lane line data upgrade package to the updated group vehicles through the cloud server, where the lane line data upgrade package includes new lane line data and corresponding blockchain verification information; Verify the blockchain verification information, and after successful verification, upgrade the lane line data and record the update status of each vehicle on the blockchain; Extract the key performance indicators of the upgraded updated group vehicles and original group vehicles, and analyze and evaluate the key performance indicators obtained from the two groups of vehicles to obtain the analysis and evaluation results; Execute the lane line data upgrade and update process of the vehicle according to the analysis and evaluation results.
2. The OTA upgrade method for lane line data according to claim 1, wherein The obtaining of the vehicle information to be OTA upgraded, setting the vehicles into updated group vehicles and original group vehicles, and recording the grouping information of each vehicle on the blockchain includes: Obtain the vehicle information to be OTA upgraded, including vehicle model, vehicle identification number, and software version; According to the vehicles to be OTA upgraded, call a preset off-chain grouping algorithm to generate a vehicle grouping list, including updated group vehicles and original group vehicles, and mark the grouped vehicles; Generate transactions for each vehicle after grouping and marking, and send them to the corresponding blockchain nodes.
3. The OTA upgrade method for lane line data according to claim 2, wherein, The pushing of the lane line data upgrade package to the updated group vehicles through the cloud server includes: Synchronously push the latest lane line data to the cloud server through the lane line platform; Package the new lane line data and the created blockchain verification information to obtain the lane line data upgrade package; Call the blockchain smart contract through the cloud server to query the vehicles marked as the updated group, and send a lane line data upgrade package download instruction to the updated group vehicles through the OTA channel.
4. A lane line data OTA upgrade method according to claim 3, characterized in that The verification of the blockchain verification information and the upgrade of the lane line data after successful verification include: After receiving the lane line data upgrade package, the updated group vehicles extract the blockchain verification information; The updated group vehicles call the local blockchain node to verify the blockchain verification information. If the verification is successful, the vehicle loads the new lane line data and completes the upgrade.
5. A lane line data OTA upgrade method according to claim 4, characterized in that, The recording of the update status of each vehicle on the blockchain includes: The updated group vehicles broadcast transactions through the local blockchain node, and the blockchain network packages the transactions and writes them into the block; Use the smart contract to receive the transactions and update the update status of the vehicle on the chain.
6. The lane line data OTA upgrade method according to claim 5, characterized in that, It also includes: Feed back the update status of the vehicle to the cloud server.
7. A lane line data OTA upgrade method according to claim 1, characterized in that, The key performance indicators include function indicators, performance indicators, and stability indicators; The function indicators include lane line recognition accuracy and lane line information integrity; The performance indicators include recognition response time and system resource occupancy rate; The stability indicators include data anomaly rate and system crash times.
8. A method for OTA upgrade of lane line data according to claim 7, characterized in that, The analysis and evaluation of the key performance indicators obtained from the two groups of vehicles to obtain the analysis and evaluation results include: Obtain the recognition effect evaluation result by comparing the lane line recognition accuracy and integrity of the updated group vehicles and the original group vehicles; Evaluate whether the upgrade affects the system operation efficiency by analyzing the changes in response time and resource occupancy rate, and obtain the vehicle system operation effect evaluation result; Obtain the vehicle system stability evaluation result by counting the data anomaly rate and the number of system crashes; Generate an analysis and evaluation report through comprehensive analysis of various dimensions. If the evaluation indicators of the updated group of vehicles are better than those of the original group of vehicles, it is determined that the upgrade is effective; otherwise, the upgrade is ineffective.
9. The method for OTA upgrade of lane line data according to claim 8, characterized in that, The lane line data upgrade and update process of the vehicle executed according to the analysis and evaluation result includes: When the analysis and evaluation result is effective, according to the preset contract content of the nodes deployed on the blockchain, automatically push update notifications to the original group of vehicles in batches; The preset contract content includes the list of the next batch of vehicles in the original group of vehicles, the update schedule, and the update status.
10. A lane line data OTA upgrade system, characterized in that, It includes: A vehicle grouping unit, which is used to obtain vehicle information to be OTA upgraded, set the vehicles into an updated group of vehicles and an original group of vehicles, and record the grouping information of each vehicle on the blockchain; An update push unit, which is used to push the lane line data upgrade package to the updated group of vehicles through the cloud server, and the lane line data upgrade package includes new lane line data and corresponding blockchain verification information; A verification and upgrade unit, which is used to verify the blockchain verification information, and after the verification passes, upgrade the lane line data and record the update status of each vehicle on the blockchain; An analysis and evaluation unit, which is used to extract the key performance indicators of the upgraded updated group of vehicles and the original group of vehicles, and analyze and evaluate the key performance indicators obtained from the two groups of vehicles to obtain the analysis and evaluation result; An update execution unit, which is used to execute the lane line data upgrade and update process of the vehicle according to the analysis and evaluation result.