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

Data alignment method and device

A data alignment and data technology, applied in the field of data processing, can solve problems such as non-alignment, time-consuming, and resource-consuming

Active Publication Date: 2020-08-28
YUSUR TECH CO LTD
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The physical storage addresses occupied by data with different bit widths are often not aligned. Usually, alignment between different data formats is a very time-consuming and resource-consuming operation.

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 alignment method and device
  • Data alignment method and device
  • Data alignment method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, 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 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.

[0073] The embodiment of the present invention provides a method for data alignment, which can be applied to electronic devices. Wherein, the electronic device may be an electronic device with data processing and storage functions. When applied to the database field, the data management is highly complex, the amount of data to be stored is l...

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 provides a data alignment method and device, and belongs to the technical field of data processing. The method includes: obtaining a first data block and a first serial number of a firstarray of a first data packet and a second data block of a second array of a second data packet; storing the first data block into a first storage unit and storing the second data block into a secondstorage unit; judging whether the first data block is an end data block of the data packet or not; if so, outputting the data of the first storage unit, the byte serial number of the first storage unit, the data of the second storage unit and the byte serial number of the second storage unit; if not, judging whether the current storage unit of the second array is full or not; if so, outputting thedata of the first storage unit, the byte serial number of the first storage unit, the data of the second storage unit and the byte serial number of the second storage unit; and if not, outputting thedata of the first storage unit and the byte serial number of the first storage unit. According to the invention, data alignment can be realized.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a data alignment method and device. Background technique [0002] In the database, data types are very rich, including char, varchar, text, binary, tinyint, int, decimal and other data types. Different data types occupy different sizes of storage space in memory or hard disk storage, and there are many variable-length attribute columns in the data table in the database, and the storage space occupied by data blocks in each attribute column is also different. For example, data The bit width of the block can be 2 bits, 8 bits, etc. [0003] When designing a database-specific processor, it is often necessary to convert between different data formats. The physical storage addresses occupied by data with different bit widths are often not aligned. Usually, alignment between different data formats is a very time-consuming and resource-consuming operation. Therefore, ...

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
IPC IPC(8): G06F16/25G06F16/22
CPCG06F16/22G06F16/258
Inventor 鄢贵海卢文岩李妮
Owner YUSUR TECH CO LTD