Movatterモバイル変換


[0]ホーム

URL:


CN103064890B - A kind of GPS mass data processing method - Google Patents

A kind of GPS mass data processing method
Download PDF

Info

Publication number
CN103064890B
CN103064890BCN201210533352.4ACN201210533352ACN103064890BCN 103064890 BCN103064890 BCN 103064890BCN 201210533352 ACN201210533352 ACN 201210533352ACN 103064890 BCN103064890 BCN 103064890B
Authority
CN
China
Prior art keywords
gps
data
gps data
server
servers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210533352.4A
Other languages
Chinese (zh)
Other versions
CN103064890A (en
Inventor
简书杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
QuanZhou HaoJie Information Technology Development Co Ltd
Original Assignee
QuanZhou HaoJie Information Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by QuanZhou HaoJie Information Technology Development Co LtdfiledCriticalQuanZhou HaoJie Information Technology Development Co Ltd
Priority to CN201210533352.4ApriorityCriticalpatent/CN103064890B/en
Publication of CN103064890ApublicationCriticalpatent/CN103064890A/en
Application grantedgrantedCritical
Publication of CN103064890BpublicationCriticalpatent/CN103064890B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

The present invention relates to mass data processing field, particularly a kind of GPS mass data processing method.A kind of GPS mass data processing method, comprising: step 1: arrange some gps data storehouse servers, composition distributed database server cluster; Some GPS application servers are set, composition distributed application server cluster; Step 2: carry out Region dividing according to gps data, is dispersed to different GPS application servers by the gps data after dividing; Step 3: after different GPS application servers receives gps data, classify to this gps data, is sent to different gps data storehouse servers and stores by sorted gps data; Step 4: when needs are inquired about gps data, GPS application server receives the inquiry request of user, this inquiry request comprises locating terminal mark and positioning time, first GPS application server finds according to locating terminal mark the gps data storehouse server storing this gps data, and the sorted table then in conjunction with gps data finds this record.

Description

A kind of GPS mass data processing method
Technical field
The present invention relates to mass data processing field, particularly a kind of GPS mass data processing method.
Background technology
Along with development and the growth in the living standard of science and technology, the application of GPS in life is more and more extensive, and GPS navigation equipment becomes the very important a equipment of automobile industry gradually, has had to describe more accurately and automotive safety aspect is greatly improved bus location.
Meanwhile, because the GPS navigation equipment of whole system access may have hundreds of thousands to 1,000,000, and then bring very large puzzlement to the gps data of these magnanimity of process.Suppose the cycle regular reported data of each GPS navigation equipment according to setting, within such as every 30 seconds, report a gps data, just there are 2880 data every day, like this, when the GPS navigation equipment accessed is many, such as there are 1,000,000 GPS navigation equipment, its data volume reported is very huge: every day data volume to be processed only gps data just have 2880*1000000=2,880,000, article 000, data, on average per second to process and store notes up to ten thousand record.
Existing data generally all adopt relation data library storage, as Oracle, Mysql, Mssqlserver etc., gps data storehouse server is after reaching certain data volume, and the inquiry of relational database will become slowly, causes search efficiency seriously low, sometimes the CPU usage of gps data storehouse server can reach absolutely, also have impact on storage and the inquiry of other business datums.Therefore, a kind of method processing the data of magnanimity like this is badly in need of at present.
Summary of the invention
Therefore, for above-mentioned problem, the present invention proposes a kind of GPS mass data processing method, and it adopts novel data processing mechanism, can improve the processing speed of gps data, shorten the time of data storage and query, and then solve the problem of prior art.
For solving this technical matters, present invention employs following technical scheme:
The invention provides a kind of GPS mass data processing method, for the treatment of the GPS mass data that server receives, this server comprises some gps data storehouse servers and some GPS application servers, GPS application server for receiving GPS mass data, distribute the GPS mass data that receives to different gps data storehouse servers GPS mass data processed, gps data storehouse server distributes to its GPS mass data for storing GPS application server; The method comprises the following steps:
Step 1: some gps data storehouse servers are set, composition distributed database server cluster; Some GPS application servers are set, composition distributed application server cluster; Wherein, the database on the server of gps data storehouse adopts oracle database;
Step 2: carry out Region dividing according to the gps data that GPS navigation equipment reports by the position of locating terminal, is dispersed to different GPS application servers by the gps data after dividing;
Step 3: after different GPS application servers receives gps data, carries out first time classification to this gps data, sorted gps data is sent to different gps data storehouse servers and stores; Above-mentioned gps data comprises the information data such as locating terminal mark, locating terminal position (longitude, latitude), locating terminal speed, positioning time (start time and end time); This locating terminal can be arranged on vehicle, also can be arranged on other mobile terminals;
Step 4: when needs are inquired about gps data, GPS application server receives the inquiry request of user, this inquiry request at least comprises locating terminal mark and positioning time, first GPS application server finds according to locating terminal mark the gps data storehouse server storing this gps data, then the sorted table in conjunction with gps data finds this record be queried, and finally Query Result is sent to user.
Further, in above-mentioned steps 2, the gps data after dividing is dispersed to different GPS application servers, is disperseed by direct routing (LVS-DR) pattern and the minimum link of weighting (WLC) scheduling method.Concrete, to be the request data package that sends of client CIP be sent to scheduler VIP through route layer by layer to LVS-DR pattern, request bag is distributed to application server cluster node R S by forward by scheduler again, after application server cluster node R S receives request bag, the another name network interface card being set to scheduler VIP by address encapsulated response message and directly send to client CIP, no longer forward through scheduler, thus accelerate response speed.WLC scheduling method refers to that the performance difference of each GPS application server in application server cluster is larger, scheduler adopts " the minimum link of weighting " dispatching algorithm to optimize load-balancing performance, has and will bear the flexible connection load of larger proportion compared with the server of high weight.Scheduler can inquire the loading condition of true application server automatically, and dynamically adjusts its weights.Its data scatter all GPS navigation equipment uploaded up by LVS cluster and parallel processing technique, on different GPS application servers, alleviates the pressure on single GPS application server.
In step 3, multiple stage gps data storehouse server composition database server cluster, different gps data storehouse servers receives the different gps datas that GPS application server distributes, and realizes the parallel processing between the server of gps data storehouse.
In addition, in step 3, classify to gps data, comprise double classification, its step is as follows:
Step 31:GPS application server performs first time classification, this classification is divided into three grades: the gps data first according to locating terminal position, the gps data of locating terminal being divided into different blocks, then according to again dividing positioning time, finally divide according to locating terminal mark again; The gps data of different demarcation grade is stored to different gps data storehouse servers;
Step 32: perform second time classification on the server of every platform gps data storehouse, this classification is by the range partition of Oracle, list partition, hash subregion, combination range-hash subregion, combination range-list partition, and combine actual business demand, gps data is stored in the different partition table in the oracle database of this gps data storehouse server, is convenient to the process of database data.
The present invention is by adopting said method, and it adopts novel data processing mechanism, by the combination of distributed database server cluster and distributed application server cluster, improves the processing speed of gps data, shortens the time of data storage and query; Additionally by the secondary classification to the data stored, make the storage of gps data more regular, effectively can improve the accuracy of data processing, improve the precision of data processing, promote the speed obtaining valuable information.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of method of the present invention.
Embodiment
Now the present invention is further described with embodiment by reference to the accompanying drawings.
Data base management system (DBMS) (DBMS) is that all control to data of core component of mass data storage searching system all will be realized by DBMS.Oracle database management system application is very universal, is the relational database management system that current high-performance storage and retrieval system is mainly selected, and therefore the storage of mass data realizes based on oracle database management system herein.
Realize the database policies that high performance mass data storage can take to have:
1. partitioning technique: in order to more subtly to database object as table index and index editing table manage and access, further can divide these database objects, Here it is so-called partitioning technique.
The table of Oracle partition is by using " partition key " subregion, and partition key determines one group of row of certain row place subregion.Oracle provide three kinds of master data distribution method scopes (range), list (list), with hash (hash).Use above-mentioned data distributing method, table can be divided into single partition table or assemblage province table.The partitioning technique that then Oracle provides mainly is divided into following several: range partition, list partition, hash subregion, combination range-hash subregion, combination range-list partition.In addition Oracle also provides the subregion index of three types, comprises local index, overall subregion index and overall case of non-partitioned index.Corresponding index partition strategy can be selected according to business demand, thus realize most suitable subregion, to support the application program of any type.Oracle provides a set of strong technology for showing, the subregion of index and index editing table.The database purchase of mass data can select one or more in above partitioning technique, carrys out management zone table, thus reach the object of high-performance retrieval by one group of complete order.Can effect be reached by partitioning technique:
1) availability is strengthened: if fault has appearred in certain subregion of database table, can guarantee that the data of database table in other subregion still can be used.
2) easy to maintenance: if fault has appearred in certain subregion of database table, then only to have needed the data of repairing this fault subregion, and do not need to safeguard whole database table.
3) balanced I/O: can by partition map different for database table to disk in order to balance I/O, the overall performance of system can be made to improve.
4) improve query performance: when user inquires about zone object, only need the subregion that search subscriber is concerned about, thus can inquiry velocity be improved, improve query performance.
2. parallel processing technique: in order to improve system performance, can allow multiple processor collaborative work to perform single SQL statement, Here it is so-called parallel processing technique.
Parallel processing technique is a core technology of database, refers to utilize multiple, CPU and I/O resource performs the operation of individual data storehouse, thus makes database can manage and access the data of TB level efficiently.Although the data base management system (DBMS) of main flow all represents and can provide parallel processing capability at present, parallel processing structure all also exists crucial difference.So-called parallel processing structure refers to: individual task is decomposed into multiple less unit.Not that all working is completed by a process, but by tasks in parallel, thus multiple process is run simultaneously on less unit, do like this and greatly can improve system performance and system resource can be utilized best.
Oracle uses dynamic parallel process framework, and data manipulation can according to work at present feature, the importance of inquiry and load, uses 1-N Real application cluster nodal parallel to run.
The characteristic of parallel processing technique: oracle database concurrent technique can improve database performance, and maximum operational speed and the ultimate load that can improve database.Because each node of parallel system is separate, make a node can not cause this database corruption if there is fault, remaining node can recover malfunctioning node while providing service for user, and therefore concurrent technique is higher than the reliability of single node.Oracle database concurrent technique can also distribute at any time as required and discharge database instance, and the maneuverability of database is high.Be exactly a bit that concurrent technique can overcome internal memory restriction, for more user provides data, services in addition.
3.LVS load-balancing technique: LVS cluster adopts IP load-balancing technique and content-based Requests routing technology.Scheduler has good throughput, request is balancedly transferred on different servers and performed, and scheduler automatic shield falls the fault of server, thus one group of server is formed the virtual server of high performance a, High Availabitity.The structure of whole server cluster is transparent to client, and without the need to revising the program of client and server end.
Based on above theory, the invention provides a kind of GPS mass data processing method, for the treatment of the GPS mass data that server receives, this server comprises some gps data storehouse servers and some GPS application servers, GPS application server for receiving GPS mass data, distribute the GPS mass data that receives to different gps data storehouse servers GPS mass data processed, gps data storehouse server distributes to its GPS mass data for storing GPS application server; The method comprises the following steps:
Step 1: some gps data storehouse servers are set, composition distributed database server cluster; Some GPS application servers are set, composition distributed application server cluster; Wherein, the database on the server of gps data storehouse adopts oracle database;
Step 2: carry out Region dividing according to the gps data that GPS navigation equipment reports by the position of locating terminal, is dispersed to different GPS application servers by the gps data after dividing;
Step 3: after different GPS application servers receives gps data, carries out first time classification to this gps data, sorted gps data is sent to different gps data storehouse servers and stores; Above-mentioned gps data comprises the information data such as locating terminal mark, locating terminal position (longitude, latitude), locating terminal speed, positioning time (start time and end time); This locating terminal can be arranged on vehicle, also can be arranged on other mobile terminals;
Step 4: when needs are inquired about gps data, GPS application server receives the inquiry request of user, this inquiry request at least comprises locating terminal mark and positioning time, first GPS application server finds according to locating terminal mark the gps data storehouse server storing this gps data, then the sorted table in conjunction with gps data finds this record be queried, and finally Query Result is sent to user.
In above-mentioned steps 2, the gps data after dividing is dispersed to different GPS application servers, is disperseed by direct routing (LVS-DR) pattern and the minimum link of weighting (WLC) scheduling method.Concrete, to be the request data package that sends of client CIP be sent to scheduler VIP through route layer by layer to LVS-DR pattern, request bag is distributed to application server cluster node R S by forward by scheduler again, after application server cluster node R S receives request bag, the another name network interface card being set to scheduler VIP by address encapsulated response message and directly send to client CIP, no longer forward through scheduler, thus accelerate response speed.WLC scheduling method refers to that the performance difference of each GPS application server in application server cluster is larger, scheduler adopts " the minimum link of weighting " dispatching algorithm to optimize load-balancing performance, has and will bear the flexible connection load of larger proportion compared with the server of high weight.Scheduler can inquire the loading condition of true application server automatically, and dynamically adjusts its weights.Its data scatter all GPS navigation equipment uploaded up by LVS cluster and parallel processing technique, on different GPS application servers, alleviates the pressure on single GPS application server.
In step 3, multiple stage gps data storehouse server composition database server cluster, different gps data storehouse servers receives the different gps datas that GPS application server distributes, and realizes the parallel processing between the server of gps data storehouse.
In addition, in step 3, classify to gps data, comprise double classification, its step is as follows:
Step 31:GPS application server performs first time classification, this classification is divided into three grades: the gps data first according to locating terminal position, the gps data of locating terminal being divided into different blocks, then according to again dividing positioning time, finally divide according to locating terminal mark again; The gps data of different demarcation grade is stored to different gps data storehouse servers;
Step 32: perform second time classification on the server of every platform gps data storehouse, this classification is by the range partition of Oracle, list partition, hash subregion, combination range-hash subregion, combination range-list partition, and combine actual business demand, gps data is stored in the different partition table in the oracle database of this gps data storehouse server, is convenient to the process of database data.
With reference to figure 1, treatment scheme of the present invention is as follows: GPS mass data is sent to distributed application server cluster by several GPS navigation equipment, and when GPS navigation equipment substantial amounts, the gps data that p.s. is transmitted will be huge.Adopt LVS cluster and parallel processing technique to be dispersed to by gps data on each GPS application server, and then classify, and be sent to gps data storehouse server and store.
Although specifically show in conjunction with preferred embodiment and describe the present invention; but those skilled in the art should be understood that; not departing from the spirit and scope of the present invention that appended claims limits; can make a variety of changes the present invention in the form and details, be protection scope of the present invention.

Claims (3)

2. a kind of GPS mass data processing method according to claim 1, it is characterized in that: in described step 2, gps data after dividing is dispersed to different GPS application servers, is disperseed by direct routing pattern and the minimum chained scheduling pattern of weighting; Concrete, to be the request data package that sends of client be sent to scheduler through route layer by layer to direct routing pattern, request bag is distributed to application server cluster node by scheduler again, address is set to the another name network interface card of scheduler to encapsulate response message after receiving request bag by application server cluster node, and directly sends to client; Weighting minimum chained scheduling pattern be the performance difference of each GPS application server in application server cluster larger, scheduler adopts weighting minimum chained scheduling algorithm optimization load-balancing performance, there is the flexible connection load of bearing larger proportion compared with the server of high weight, the loading condition of each GPS application server inquired automatically by scheduler, and dynamically adjusts its weights.
CN201210533352.4A2012-12-112012-12-11A kind of GPS mass data processing methodExpired - Fee RelatedCN103064890B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201210533352.4ACN103064890B (en)2012-12-112012-12-11A kind of GPS mass data processing method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201210533352.4ACN103064890B (en)2012-12-112012-12-11A kind of GPS mass data processing method

Publications (2)

Publication NumberPublication Date
CN103064890A CN103064890A (en)2013-04-24
CN103064890Btrue CN103064890B (en)2015-12-23

Family

ID=48107520

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201210533352.4AExpired - Fee RelatedCN103064890B (en)2012-12-112012-12-11A kind of GPS mass data processing method

Country Status (1)

CountryLink
CN (1)CN103064890B (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103698775A (en)*2014-01-082014-04-02中国有色金属长沙勘察设计研究院有限公司 GPS data automatic collection and dump system and method
CN104158757B (en)*2014-08-212017-07-07福建星海通信科技有限公司A kind of gps data enters library processing method and system
CA2941163C (en)*2014-11-052019-04-16Huawei Technologies Co., Ltd.Data processing method and apparatus
CN104376079B (en)*2014-11-172017-11-07四川汇源吉迅数码科技有限公司A kind of mass data processing based on location service information and storage device and its method
CN104679858B (en)2015-02-162018-10-09华为技术有限公司A kind of method and apparatus of inquiry data
CN104850630A (en)*2015-05-212015-08-19爱多云智科技(北京)有限公司Card-payment information providing method, device and system
CN104994171A (en)*2015-07-152015-10-21上海斐讯数据通信技术有限公司Distributed storage method and system
CN106570029B (en)*2015-10-122021-01-12创新先进技术有限公司Data processing method and system for distributed relational database
CN105430105B (en)*2016-01-052019-01-18北京卓识达软件有限公司A kind of data processing method and system of car-mounted terminal
CN106289277A (en)*2016-07-282017-01-04深圳市安煋信息技术有限公司The localization method of automobile and system
CN106155594B (en)*2016-07-292019-05-24无锡天脉聚源传媒科技有限公司A kind of data processing method and device
CN106970964B (en)*2017-03-212021-01-19深圳广联赛讯股份有限公司GPS data information query method and system based on shared memory
CN107330029A (en)*2017-06-232017-11-07北京奇艺世纪科技有限公司A kind of data processing method, device and electronic equipment
CN107766529B (en)*2017-10-272020-02-14合肥城市云数据中心股份有限公司Mass data storage method for sewage treatment industry
CN108334542A (en)*2017-12-222018-07-27山东浪潮云服务信息科技有限公司A kind of data extraction method and device
CN109189611A (en)*2018-08-232019-01-11四川精容数安科技有限公司A kind of method, apparatus and system of data backup and resume
CN109508335B (en)*2018-12-032022-10-28中国电波传播研究所(中国电子科技集团公司第二十二研究所) A Classified Storage Method of Massive Clutter Data
CN110602159A (en)*2019-07-302019-12-20广州力挚网络科技有限公司Data processing method and system
CN112434036A (en)*2020-11-242021-03-02上海浦东发展银行股份有限公司Account management system data processing method
CN112905734A (en)*2020-12-012021-06-04厦门卫星定位应用股份有限公司Data storage method, device, server and computer readable storage medium
CN114385639A (en)*2022-01-132022-04-22湖北中南鹏力海洋探测系统工程有限公司Offshore ground wave radar data storage method and synthesis method

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101668252A (en)*2009-07-312010-03-10深圳市保利天同通讯设备有限公司Digital cluster communication system for private network communication
CN201707791U (en)*2010-05-262011-01-12厦门精图信息技术有限公司Intelligent positioning and dispatching system
CN102098236A (en)*2011-01-262011-06-15东莞市车友互联信息科技有限公司Instant messaging system and method for supporting geographical positioning system (GPS) terminal
CN102111452A (en)*2011-03-042011-06-29江苏天泽信息产业股份有限公司System for storing vehicle-mounted information by using distributed data storage program and storage method thereof
CN202077072U (en)*2011-06-152011-12-14广州广日物流有限公司Global positioning system (GPS) intelligent interaction platform
CN102385804A (en)*2010-08-302012-03-21谈宇清Intelligent traffic system and navigation method thereof
CN102735251A (en)*2011-04-012012-10-17深圳市赛格导航科技股份有限公司Cloud computing based GPS navigation method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101668252A (en)*2009-07-312010-03-10深圳市保利天同通讯设备有限公司Digital cluster communication system for private network communication
CN201707791U (en)*2010-05-262011-01-12厦门精图信息技术有限公司Intelligent positioning and dispatching system
CN102385804A (en)*2010-08-302012-03-21谈宇清Intelligent traffic system and navigation method thereof
CN102098236A (en)*2011-01-262011-06-15东莞市车友互联信息科技有限公司Instant messaging system and method for supporting geographical positioning system (GPS) terminal
CN102111452A (en)*2011-03-042011-06-29江苏天泽信息产业股份有限公司System for storing vehicle-mounted information by using distributed data storage program and storage method thereof
CN102735251A (en)*2011-04-012012-10-17深圳市赛格导航科技股份有限公司Cloud computing based GPS navigation method and system
CN202077072U (en)*2011-06-152011-12-14广州广日物流有限公司Global positioning system (GPS) intelligent interaction platform

Also Published As

Publication numberPublication date
CN103064890A (en)2013-04-24

Similar Documents

PublicationPublication DateTitle
CN103064890B (en)A kind of GPS mass data processing method
KR102198680B1 (en)Efficient data caching management in scalable multi-stage data processing systems
CN111460023A (en)Service data processing method, device, equipment and storage medium based on elastic search
CN110199273B (en)System and method for loading, aggregating and bulk computing in one scan in a multidimensional database environment
US9740706B2 (en)Management of intermediate data spills during the shuffle phase of a map-reduce job
CN104348679B (en)A kind of methods, devices and systems of point of bucket test
CN106095863B (en)A kind of multidimensional data query and storage system and method
CN104683405B (en)The method and apparatus of cluster server distribution map matching task in car networking
CN108388604A (en)User right data administrator, method and computer readable storage medium
WO2021017269A1 (en)Data migration method and apparatus, computer device, and storage medium
GB2459388A (en)Dynamically routing salvage shipments using a transport planner
CN104794249A (en)Realization method and realization device of database
CN102096684A (en)Grid real-time data integrating and sharing platform
WO2017070385A1 (en)System and method for sandboxing support in a multidimensional database environment
CN104239377A (en)Platform-crossing data retrieval method and device
CN113568906A (en) Distributed index structure and load balancing method for high-throughput data flow
CN104407926A (en)Scheduling method of cloud computing resources
CN102737123B (en)A kind of multidimensional data distribution method
CN103914456A (en)Data storage method and system
CN105991478A (en)Server resource distribution method and system
CN105975345A (en)Video frame data dynamic equilibrium memory management method based on distributed memory
CN102158533B (en)Distributed web service selection method based on QoS (Quality of Service)
CN108153776A (en)Data query method and device
CN103064914A (en)Data processing system and method
CN109150964B (en)Migratable data management method and service migration method

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20151223

Termination date:20211211

CF01Termination of patent right due to non-payment of annual fee

[8]ページ先頭

©2009-2025 Movatter.jp