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

amp system memory file transfer method and device

A file transfer and system memory technology, applied in the field of embedded drivers, can solve the problems of low file transfer efficiency, large resource occupation, poor performance, etc.

Active Publication Date: 2021-07-06
GENEW TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Both of the above two methods require multiple memory copies, resulting in low file transfer efficiency, poor performance, and large resource usage.

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
  • amp system memory file transfer method and device
  • amp system memory file transfer method and device
  • amp system memory file transfer method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0062] After research, the inventor found that, in the prior art, on a dual-core AMP asymmetric multi-processing system, there is no direct copy method to realize file transfer between master and slave cores. The usual practice is to use inter-core communication and indirect copying of shared memory between cores, such as figure 1 . It is also ...

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

This application relates to a method and device for transferring memory files in an AMP system. The method includes: the process of reading the A file of the main core from the core: the slave core sends the read parameters to the main core through inter-core communication; the main core reads the file to a temporary Apply for the buffer, and start the DMA transfer to the slave core, and notify the slave core of the result after the DMA transfer is completed; the process of writing the A file of the master core from the slave core: the slave core sends the write parameters to the master core through inter-core communication; the master core Apply for a temporary buffer whose length is the length of the file to be written by the slave core, and start DMA transfer to the master core. If the DMA transfer is successful, write the data in the temporary buffer to the memory file system of the master core, and write The result is notified from the nucleus. Through the method of the invention, memory copying can be reduced, and the CPU occupation rate can be reduced.

Description

technical field [0001] The present application relates to the field of embedded driver technology, in particular to a method and device for transferring files in memory of an AMP system, computer equipment, and a readable storage medium. Background technique [0002] In the field of embedded multi-core systems, there are two technologies, one is AMP (Asymmetric Multi-Processing) and the other is SMP (Symmetric Multi-Processing). Each CPU on the SMP system shares all resources of the system, including the serial port, and the SMP system only needs one console. However, each CPU of AMP has independent running code, file system, IO system, interrupt system, etc. are completely different. [0003] In the prior art, on a dual-core AMP asymmetric multi-processing system, there is no direct copy method to implement file transfer between master and slave cores. The usual practice is to use inter-core communication and indirect copying of shared memory between cores, such as figur...

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 Patents(China)
IPC IPC(8): G06F13/28
CPCG06F13/28
Inventor 戴瑜吴闽华孟庆晓秦金昆李小军
Owner GENEW TECH
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