Double-cache data downloading control method and device and vehicle
A data download and control method technology, applied to electrical components, transmission systems, etc., can solve problems such as long time consumption and slow data download speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 It is a flow chart of a double-buffer data download control method provided by Embodiment 1 of the present invention. This embodiment is applicable to an application scenario where a double-buffer mechanism is used for remote data download. The method can be implemented by a controller equipped with a double-buffer unit To execute, wherein, the double buffer unit can be used to execute data writing or send the buffered data to the decryption unit for decryption and storage, and the double buffer unit includes a first buffer unit and a second buffer unit.
[0024] Such as figure 1 As shown, the double buffer data download control method includes the following steps:
[0025] Step S1: Initialize the first cache unit and the second cache unit.
[0026] Wherein, the first cache unit and the second cache unit can be buffer registers, the first cache unit and the second cache unit can be integrated in the data receiving end processor, and the first cache unit and t...
Embodiment 2
[0068] Based on the above embodiments, Embodiment 2 of the present invention provides a double buffer data download control device, Figure 4 It is a schematic structural diagram of a double-buffer data download control device provided in Embodiment 2 of the present invention.
[0069] Such as Figure 4 As shown, the double buffer data download control device 1 includes: a control unit 10, a first cache unit 20 and a second cache unit 30, wherein the control unit 10 is used to initialize the first cache unit 20 and the second cache unit 30 Processing, obtaining a plurality of data packets to be downloaded sent by the server, and obtaining the first flag parameter of the first cache unit 20 and the second flag parameter of the second cache unit 30, the first flag parameter and the second flag parameter Including stop writing the state value, and according to the first flag bit parameter and the second flag bit parameter, the data writing and data decryption storage of the data...
Embodiment 3
[0080] Based on the above embodiments, Embodiment 3 of the present invention provides a vehicle, Figure 5 It is a structural schematic diagram of a vehicle provided in Embodiment 3 of the present invention.
[0081] Such as Figure 5 As shown, the vehicle 100 includes the above-mentioned double buffer data download control device 1 .
[0082] The vehicle provided by the embodiment of the present invention is provided with a first cache unit and a second cache unit. Before performing data download, the first cache unit and the second cache unit are initialized. The first flag parameter of the cache unit and the second flag parameter of the second cache unit first execute the data writing of the data packet to be downloaded to the first cache unit, and after the first cache unit receives the data, write the data to the second cache unit Execute the data writing of the data packet to be downloaded, and decrypt and store the data packet cached by the first cache unit at the sam...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com