Unlock instant, AI-driven research and patent intelligence for your innovation.

Electronic device, and memory copy method and device

A technology of electronic equipment and memory copy, which is applied in the directions of multi-channel program device, program control design, electrical digital data processing, etc., can solve the problems of occupying CPU computing resources, CPU performance loss, etc., to improve efficiency, improve accuracy, improve The effect of work efficiency

Active Publication Date: 2019-01-08
MAIPU COMM TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the purpose of the embodiments of the present invention is to provide an electronic device, memory copy method and device to solve the problem that memory copy will occupy most of the computing resources of the CPU and cause huge loss to the performance of the CPU

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
  • Electronic device, and memory copy method and device
  • Electronic device, and memory copy method and device
  • Electronic device, and memory copy method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0037] see figure 1 , figure 1 It is a schematic structural diagram of an electronic device provided by the first embodiment of the present invention.

[0038] An embodiment of the present application provides an electronic device 10. The electronic device 10 includes a processor 11, a memory, and an Ethernet chip 12, and the processor 11, the memory, and the Ethernet chip 12 are communicatively connected through a bus. The electronic device 10 may be a computer, a smart phone or other processing devices including a processor, a memory and an Ethernet chip, and having a memory copy function.

[0039] The processor 11 may be an integrated circuit chip with data processing capability. The aforementioned processor 11 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP) and the like. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention ...

no. 2 example

[0055] Please refer to image 3 , image 3 It is a schematic flowchart of a memory copy method provided by the second embodiment of the present invention.

[0056] The embodiment of the present application provides a memory copy method, the memory copy method includes the following steps:

[0057] Step S33: The processor sends a first parameter instruction, a second parameter instruction and a data sending instruction to the Ethernet chip, the first parameter instruction includes the original location parameter for storing the target data, and the second parameter instruction includes the target to be stored Destination location parameter for data.

[0058]Step S34: The Ethernet chip receives the first parameter instruction, the second parameter instruction and the data sending instruction, reads the target data from the memory according to the original position parameter, sends and receives the target to itself data, and write the target data into a corresponding target po...

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

Embodiments of the present application provide an electronic device, and a memory copy method and device, belonging to the field of electronic communication technology. The electronic device includesa processor and an Ethernet chip, the processor being configured to send a first parameter instruction, a second parameter instruction, and a data transmission instruction to the Ethernet chip, the first parameter instruction including a home location parameter for storing target data, and the second parameter instruction including a target location parameter for storing the target data. The Ethernet chip is used for receiving the first parameter instruction, the second parameter instruction and the data sending instruction, reading the target data from the memory according to the original position parameter, sending and receiving the target data to the Ethernet chip, and writing the target data into the corresponding target position in the memory according to the target position parameter. As that electronic device executes the memory copy method, the memory copy efficiency of the common processor is improved, and the compute resource occupation of the processor by the memory copy isreduced.

Description

technical field [0001] The present invention relates to the technical field of electronic communication, in particular, to an electronic device, a memory copy method and a device. Background technique [0002] In a computer system, there are frequent demands and operations to copy data in a certain memory address to another memory address, and usually the memory copy operation is performed by the processor. When the processor (CPU) performs a memory copy operation, each byte is copied by the CPU, and the CPU cannot do anything else when copying data, so the memory copy will occupy most of the computing resources of the CPU. It brings huge loss to the performance of CPU. Especially for computing-intensive systems, if a large number of memory copy operations are performed when there are a large number of computing tasks, the computing efficiency of the CPU will drop sharply. Contents of the invention [0003] In view of this, the purpose of the embodiments of the present i...

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): G06F9/50G06F13/16
CPCG06F9/5027G06F13/1668
Inventor 姜先绪
Owner MAIPU COMM TECH CO LTD