Asian meteorological information exchange platform data processing module design and implementation
- Author
- ZuoZuo
- Advisor
- PengXinYi , ZhangLei
- School
- South China University of Technology
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 42
- Citations
- 0
Abstract
Guangzhou Asian Games held during the weather forecast on the timeliness and accuracy critical to the functioning of the tournament . Asian Games Asian Games meteorological information exchange platform as the core operating platform meteorological services , processing satellite pictures , weather and other raw packets meteorological data , the Asian Games and the public to provide a variety of Asian weather services. Asian meteorological data processing module information exchange platform as the core module , handling all kinds from Guangdong province and outside the meteorological report , in accordance with a variety of standard meteorological report its format checks , decomposition , quality control , calculation and transfer of warehousing operations, Asian thematic database to provide the raw meteorological data . Based on multi-process , multi-threaded application architecture , focus on the various types of meteorological messages rapid decomposition handling and logging technology, and through the pre- trial run for the Asian Games findings were tested and verified. Specifically, the work of this paper is as follows : 1. Article meteorological messages for concurrent processing requirements, the use LINUX multi-threading technology and a variety of inter-thread synchronization techniques to establish a suitable meteorological message processing threads working model , and simplify the testing process through the configuration and performance debugging process. The result shows that the model of concurrent treatment with good results , while the software has good maintainability . 2 for large quantities of logs record the characteristics of concurrent use of shared memory LINUX technology and multi- threading technology, establishment of a suitable logging producer - consumer model , and by configuring ways to enhance the scalability of the software . Actual operation proves that the model meets the system requirements of large quantities of log records , saving system resources can be effectively extended . 3 Use the Oracle Pro * C technology to simplify database operations , to ensure accuracy of the data , combined with Oracle SQL optimization techniques to improve the speed of database interaction . During development , speed up the development progress during operation to ensure that the data in the original database timely and accurate storage.
Table of contents
Abstract 5-6
Abstract 6-10
The first chapter 10-14
1.1 research background and significance 10-11
1.2 Dynamic study abroad 11-12
1.3 The main research topics 12
1.4 The paper is organized 12-14
Chapter related technical theory 14-24
2.1 multi-process and multi-threaded select 14-15
2.2 multi-threaded programming model 15-17
2.2.1 pipeline model 15-16
2.2.2 client / server model 16
2.2.3 Working Group model 16-17
2.3 shared memory 17-19
2.4 Oracle Pro * C / C Tools 19-20
2.4.1 Oracle Pro * C / C Description 19
2.4.2 PL / SQL Introduction 19-20
2.5 ORACLE SQL optimization 20-23
2.5.1 Oracle statement execution 21-22
2.5.2 Oracle SQL optimization methods 22-23
2.6 Chapter Summary 23-24
Chapter needs analysis and explanation 24-32
3.1 system architecture 24-25
3.2 Non-functional requirements 25-26
3.2.1 product demand 25
3.2.2 institutional needs 25-26
3.3 Functional requirements 26-31
3.3.1 dataflow model 26-27
3.3.2 Meteorological packets upload rules 27
3.3.3 Quality control of meteorological messages 27-28
3.3.4 Meteorological packet format control 28-29
3.3.5 special meteorological report processing 29-31
3.4 Summary 31-32
Chapter IV data processing module design 32-47
4.1 software architecture design 32-35
4.1.1 thread design 32
4.1.2 sub-module design 32-33
4.1.3-threaded architecture design 33-35
4.2 software features designed 35-40
4.2.1 Data task processing 35-36
4.2.2 logging task processing 36-40
4.3 database design 40-46
4.3.1 Elements table design 40-41
4.3.2 Elements table child table design 41-42
4.3.3 Quality Control table design 42-46
4.4 Summary 46-47
CHAPTER data processing module implementation 47-65
5.1 Data Structure and function of function implementation 47-53
5.1.1 task dispatch thread 47
5.1.2 Data decomposition processing thread 47-52
5.1.3 logging thread 52-53
5.2 database policy 53-54
5.2.1 Constraints and indexes 53
5.2.2 Functions and Stored Procedures 53-54
5.2.3 Oracle SQL optimization 54
5.3 operating parameters configuration 54-56
5.3.1 software running configuration 54
5.3.2 Quality control configuration 54-56
5.4 basic packet processing 56
5.5 regional stations Z packet processing Detailed 56-60
5.5.1 Packets This section describes 56-57
5.5.2 Data storage requirements 57
5.5.3 some elements of the value 57-60
5.6 warning signal processing packets Detailed 60-64
5.6.1 Packets This section describes 60-61
5.6.2 Data storage requirements 61-62
5.6.3 Data warehousing processes 62-64
5.7 Chapter Summary 64-65
Chapter VI test methods and results 65-82
6.1 software testing environment 65
6.2 Software Testing Overview 65-66
6.3 typical packet unit test 66-75
6.3.1 normal packets 66-69
6.3.2 doubtful value packets 69-73
6.3.3 Corrections packets 73-75
6.3.4 other packets 75
6.4 format check test case design 75-77
6.4.1 ocean buoys packets 76-77
6.4.2 Regional Station Z packets 77
6.5 rainfall reported missing test case design 77-79
6.6 Performance Test Results 79-80
6.7 operating results 80
6.8 Chapter Summary 80-82
Summary and Outlook 82-84
References 84-87
Thanks 87