Research and Paralleling Implementation of Miller-Rabin Optimized Algorithm for Prime Testing
- Author
- XingLingLing
- Advisor
- LiuXueJun
- School
- Northeast Normal University
- Major
- Applied Computer Technology
- Classification
- TN918.1 Theory
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 148
- Citations
- 3
Abstract
Code-breaking rapid development of technology , on the one hand to promote the in-depth study of the scholars of the encryption algorithm and key length of the existing algorithms , on the other hand , a higher demand . Prime number, as a key parameter of several commonly used encryption algorithm , the research value is self-evident . This background for prime larger the value, the detection time is longer, the more low efficiency problem in the study of the Miller-Rabin algorithm basis , by adding the pretreatment process , the original algorithm is more detailed and specific optimization the original algorithm , reducing the number of power mode operation , thus greatly improving the speed of detection of primes . Optimization algorithm with data parallelism, In order to further improve the detection efficiency , the use of parallel computing technology , detection parameters sent to the client by the server , the use of more than one client at the same time operations , a different assign tasks according to the performance of the machine amount to complete the same task as the amount of time the only stand-alone time N , N client side that reached the value of the ideal state of parallel computing . Entire design process of the system to maximize compression traffic basis , to minimize the communication overhead , combined by the local storage of large prime numbers , and multi- thread scheduling asynchronous programming model and other technical means to achieve a prime number the detection efficiency is further improved , and finally the results obtained by a number of experimental comparison satisfactory . This paper, the technology used in the implementation of programs is mainly based on the Net environment, Winsock programming technology, multi-threaded programming , asynchronous programming model , as well as at home and abroad more popular object-oriented systems analysis techniques, determined by the object layer , the structural layer , theme the static structure of the layer and attribute layer used to indicate that the high-level logic model in the computer cluster network-wide distributed computing . The system is stable, and excellent communication .
Table of contents
Abstract 4-5
Abstract 5-8
Introduction 8-10
The first chapter 10-14
1.1 primes detection algorithm classification 10
1.2 commonly used algorithm introduced 10-12
1.3 Detection Algorithms for 12
1.4 domestic research 12
1.5 This major work 12-13
1.6 paper structure 13-14
Chapter Miller-Rabin prime detection optimization algorithm 14-18
2.1 Lemma 14
2.2 MILLER-RABIN primes detection optimization algorithm 14-16
2.3 Parallel feasibility analysis 16-18
Parallel Computing Overview Chapter 18-21
3.1 parallel computing hardware architecture 18-19
3.2 parallel programming model 19
3.3 Parallel Programming mode 19
3.4 Parallel Systems Performance Evaluation 19-21
Chapter parallel system to achieve 21-33
4.1 system analysis 21-24
4.2 system design 24-28
4.3 system to achieve technical description 28-33
Chapter Experimental results and analysis 33-39
5.1 Experiment one : stand-alone operation MILLER-RABIN classical algorithm 33
5.2 Experiment II : single test MILLER-RABIN optimization algorithm 33-35
5.3 Experiment III : single test MILLER-RABIN optimization algorithm failed cases 35-36
5.4 Experiment IV : multi-machine operation MILLER-RABIN optimization algorithm 36-39
Conclusion and Outlook 39-41
References 41-43
Thanks 43-44
papers published during the study period to participate in research projects and case 44
Related dissertations
- Loan Default Prediction Based on Imbalanced Data Classification
- A Study of GPU-based Parallel Learning to Rank
- Research on System Stability for Haptic Rendering
- Research on Key Technology of Modeling and Rendering for Virtual Natural Scene
- Study on Distributed Large-scale Microscopic Traffic Simulation
- Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
- Research on Boundary Face Method Base on GPU-acceleration
- Parallelization Research of Face Recognition and Texture Synthesis Algorithm Base on MATLAB Multi-core Clusters
- Research of Image Registration and Mosaic Technology Based on GPU
- Model Optimization Technique Based on Viewpoint-dependent and Application
- Research on Detection and Recognition of Traffic Objects in City Environments
- Human Action Recognition Based on Kinect Skeleton Information
- Study of adaptive beamforming processor based on GPU
- Study and Implementation of Fast Super-resolution Reconstruction Methods
- A Parallel Research on Feature Detection and Feature Matching Based on3D Reconstruction with Multi-View
- Research about Data Mining Technologies Based on Cloud Computing
- Study on Granularity Clustering
- E-commerce Applications Based on Multi-core Cluster Parallelization
- Research on Processing Methods of Data Stream Based on Parallel Computing
- Research on Programming Model and Compiler Optimizations for Stream Program Base on X10