Dimension reduction comparison method for two big integers in big data analysis

A large integer and big data technology, which is applied in the field of dimension reduction and comparison of two large integers in big data analysis, can solve the problems of inability to store data, low storage efficiency and low calculation efficiency

Pending Publication Date: 2019-12-13
HUBEI UNIV OF TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In a big data application environment, the binary length of the data to be processed is far greater than the number of bits in the address bus. In other words, the memory cannot store the data to be processed
In this case, how to achieve the comparison of large integers? The current technology is generally based on the idea of ​​"divide and conquer", which divides large integers and then compares large integers through iteration or recursion, which has low storage and calculation efficiency.
Assume comparing two 9999 ,2 10000 -1] two large integers in the range, each of which is of size 2 20 Then each integer will be divided into 500 blocks, 500 iterations are required for comparison, and the storage space required for each iteration is (2×2 20 ) / 8=2 18 B, its storage efficiency and calculation efficiency are not high

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
  • Dimension reduction comparison method for two big integers in big data analysis
  • Dimension reduction comparison method for two big integers in big data analysis
  • Dimension reduction comparison method for two big integers in big data analysis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] specific implementation

[0033] In order to facilitate those of ordinary skill in the art to understand and implement the present invention, the present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the implementation examples described here are only used to illustrate and explain the present invention, and are not intended to limit this invention.

[0034] please see figure 1 , a method for dimensionality reduction comparison of two large integers in big data analysis provided by the present invention, comprising the following steps:

[0035] Step 1: Represent the large integer A and the large integer B in binary form (a n-1 ,a n-2 ,...,a 1 ,a 0 ) and (b n-1 ,b n-2 ,...,b 1 ,b 0 );

[0036] Step 2: Realize the comparison of the large integer A and the large integer B based on their binary form.

[0037] Step 2.1: Starting from the highest bit of the large integ...

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 discloses a dimension reduction comparison method for two big integers in big data analysis. In the application of big data, the comparison of the two big integers is a basic operation with very high use frequency, and the operation efficiency directly influences the implementation efficiency of big data application. In order to efficiently compare the two large integers, the characteristic values of the two large integers are extracted firstly, and then the comparison result of the two large integers is obtained by comparing the characteristic values of the large integers. If the large integer is a number with n bit length, the characteristic value of the large integer provided by the invention is a number with bit length. Therefore, according to the method, two n-bit long numbers are compared and converted into the n-bit long numbers, so that the solving efficiency is improved, and the problem of comparison of two large integers is efficiently solved.

Description

technical field [0001] The invention belongs to the technical field of big data analysis, and relates to a dimensionality reduction comparison method of two large integers in big data analysis. Background technique [0002] The size of the computer memory is determined by the number of bits of the address bus, if the number of bits of the address bus is 32, then the size of the memory is 2 32 = 4GB. To use a computer to solve the problem, it is necessary to transfer the processed data and the corresponding program into the memory before the program can run and process the data. In a big data application environment, the binary length of the data to be processed is far greater than the number of bits of the address bus. In other words, the memory cannot store the data to be processed. In this case, how to achieve the comparison of large integers? The current technology is generally based on the idea of ​​"divide and conquer", which divides large integers and then compares ...

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): G06F7/02G06F7/38
CPCG06F7/02G06F7/38
Inventor 沈华张明武刘白张依梦
Owner HUBEI UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products