Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Inactive Publication Date: 2021-04-23
WEICHAI POWER CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a double-buffer data download control method, and data download is performed through a double-buffer mechanism, which solves the existing problems of slow data download speed and long time consumption, and saves data download time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Double-cache data downloading control method and device and vehicle
  • Double-cache data downloading control method and device and vehicle
  • Double-cache data downloading control method and device and vehicle

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a double-cache data downloading control method and device and a vehicle. The method comprises the steps of initializing a first cache unit and a second cache unit; acquiring a plurality of to-be-downloaded data packets sent by a server; obtaining a first flag bit parameter of the first cache unit and a second flag bit parameter of the second cache unit, wherein the first flag bit parameter and the second flag bit parameter comprise a write stop state value; alternately executing data writing and data decryption storage on the first cache unit and the second cache unit according to the first flag bit parameter and the second flag bit parameter, and synchronously executing data decryption storage of the first cache unit and data writing of the second cache unit, and executing synchronously data decryption and storage of the second cache unit and data writing of the first cache unit. According to the invention, parallel processing of data transmission and data decryption storage is realized through a double-cache mechanism, so that the data downloading time is saved, the remote downloading performance is improved, and the product competitiveness is improved.

Description

technical field [0001] The invention relates to the technical field of data remote download, in particular to a double-buffer data download control method, device and vehicle. Background technique [0002] With the development of Internet of Things technology, the demand for data and program flashing through remote download technology is increasing. The speed of data download and storage is an important parameter to measure the performance of remote download. [0003] The existing remote download technology sends a group of data packets through the server, and stores the data after the data packets are received, and after the data storage is completed, the receiving end sends a data response message to the server. If the data in the data packet is in the form of ciphertext, after receiving the data, the data needs to be decrypted, which has the following problems. The data download process takes a long time. Typically, according to the amount of downloaded data, the data dow...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/06H04L67/568
Inventor 纪小娟史家涛王飞飞曹文静王嘉坤
Owner WEICHAI POWER CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products