Data copying method and system based on embedded system
An embedded system and data copying technology, applied in the embedded field, can solve problems such as slow running speed and wasting time, and achieve the effects of increasing running speed, reducing data flow, and reducing time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] In this embodiment, the host computer of the embedded system is a personal computer PC commonly used, and the peripheral hardware equipment adopts a video codec. The main data of this video codec is stored in the register, and the embedded microprocessor is connected with the PC. Communication, the communication channel in this embodiment is a universal asynchronous receiving / transmitting device UART (Universal Asynchronous Receiver / Transmitter), and UART is a device whose parallel input becomes serial output. The method of this embodiment realizes copying the data in the register of the peripheral hardware device video codec to the storage unit of the embedded microprocessor, and the specific method and system are combined with the attached figure 2 , attached image 3 The details are as follows:
[0036] Step s201: the PC sends a data copy command, and the data copy command is sent to the embedded microprocessor via the asynchronous receiving / transmitting device UAR...
Embodiment 2
[0049] The difference between this embodiment and Embodiment 1 is that in Embodiment 1, the data copying process only passes through the data channel once. In this embodiment, by analyzing the data copy command sent by the host, after analyzing the data copy command, the Including whether to execute the judgment step of the data copy instruction, if the data copy instruction is executed, memory allocation is carried out by the embedded microprocessor, that is, the data copy method of embodiment 1 is implemented; if the data copy instruction is not executed, the following steps are performed:
[0050] The embedded microprocessor reads the data of the storage unit in the peripheral hardware device;
[0051] Send the read data to the host and store it in the cache area of the host;
[0052] The host computer sends the data in the cache area to the storage unit of the embedded device.
[0053] In this embodiment, due to the addition of the judgment of whether to execute the dat...
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