Supercharge Your Innovation With Domain-Expert AI Agents!

Data copy processing method, device, electronic device and storage medium

A technology of data copying and processing methods, applied in the computer field, can solve problems such as unfavorable computer big data data and operations, copying efficiency cannot meet the demand for data volume growth, etc., and achieve the effect of improving processing efficiency and operating speed

Active Publication Date: 2022-03-08
龙芯中科(合肥)技术有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, as the amount of copied data increases, the copying efficiency of data copying using the memcpy function cannot meet the growing demand of the data amount, which is not conducive to the computer's data and operations on large data

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
  • Data copy processing method, device, electronic device and storage medium
  • Data copy processing method, device, electronic device and storage medium
  • Data copy processing method, device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046]In order to make the purpose, technical solutions and advantages of the examples of the present disclosure clearer, the technical solutions in the examples of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the examples of the present disclosure.

[0047] Copying data using the copy function is an indispensable step in the process of processing data by a computer. In the prior art, the computer uses some function instructions to copy data, for example, the memory copy function memcpy.

[0048] The computer will use some function instructions to copy the data, for example, the memory copy function memcpy. Specifically, the memcpy function can be used to copy n bytes to be copied from the source data address to the target data address. When using the memcpy function to copy data, when the target data address has stored several bytes, after executing the memory copy function, these stored bytes will be ...

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 data copy processing method, device, electronic equipment and storage medium provided by the present disclosure are applied to the RISC reduced instruction set architecture, by determining the data copy request message; according to the data copy request message, it is determined whether the source data address and the target data address are All are 16-byte aligned; when the source data address and the target data address are 16-byte aligned, the first memory access instruction group is used, and the byte to be copied is copied from the source data address to the target data address with 128 bits. And obtain the remaining bytes in the bytes to be copied; copy the remaining bytes from the source data address to the target data address by using a byte-by-byte copy method or using the second memory access instruction group based on 64-bit copy processing deal with. Compared with the prior art, by first aligning the addresses, and then directly copying the bytes to be copied by using the first memory access instruction group, the processing efficiency and running speed of the copied data are effectively improved.

Description

technical field [0001] The present disclosure relates to computer technology, and in particular to a data copy processing method, device, electronic equipment and storage medium. Background technique [0002] Copying data using the copy function is an indispensable step in the process of processing data by a computer. [0003] In the prior art, the computer uses some function instructions to copy data, for example, the memory copy function memcpy. Specifically, the memcpy function can be used to copy n bytes to be copied from the source data address to the target data address. When using the memcpy function to copy data, when the target data address has stored several bytes, after executing the memory copy function, these stored bytes will be overwritten; in addition, when the target data address and source data When there is address overlap between addresses, after executing the memory copy function, some bytes in the bytes to be copied stored in the overlapping address 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 Patents(China)
IPC IPC(8): G06F12/02G06F9/54
CPCG06F12/0246G06F9/543
Inventor 顾希伟殷时友彭飞
Owner 龙芯中科(合肥)技术有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More