Summary of the invention
The present invention aiming at the above shortcomings existing in the prior art, provides a kind of magnitude of traffic flow statistical method and device, uses
At high cost to solve existing magnitude of traffic flow statistical project, accuracy is low, realizes difficult problem.
The present invention is in order to solve the above technical problems, adopt the following technical scheme that
The present invention provides a kind of magnitude of traffic flow statistical method, which comprises
Obtain the base station deployment information of near roads;
Obtain the mobile network code being attached on the corresponding base station of the base station deployment information;
Car networking number is filtered out from the mobile network code, and the road is counted according to the car networking number
The magnitude of traffic flow.
Further, after the magnitude of traffic flow that the road is counted according to the car networking number, the method is also
It include: to mark the magnitude of traffic flow on preset road-map.
Preferably, described to obtain the mobile network code being attached on the corresponding base station of the base station deployment information, specifically
It include: to obtain the mobile network code being attached on the corresponding base station of the base station deployment information according to predetermined period;
It is described that car networking number is filtered out from the mobile network code, and according to car networking number statistics
The magnitude of traffic flow of road, specifically includes: filter out car networking number from the mobile network code that this period gets, and according to
The car networking number counts the road in the magnitude of traffic flow in this period;
It is described to mark the magnitude of traffic flow on preset road-map, it specifically includes: by the magnitude of traffic flow in this period
It is marked on preset road-map.
Preferably, the base station deployment information includes cell ID;
It is described to obtain the mobile network code being attached on the corresponding base station of the base station deployment information, it specifically includes:
Access information acquisition request is sent to core net access device, carries cell in the access information acquisition request
Mark, the cell ID for road institute coverage cell cell ID;
The mobile network code that the core net access device is sent is received, the mobile network code is the core net
Access device is inquired according to the cell ID.
Preferably, described that car networking number is filtered out from the mobile network code, it specifically includes: according to number section from institute
It states and filters out car networking number in mobile network code.
The present invention also provides a kind of server, the server includes: the first acquisition module, the second acquisition module, screening
Module and statistical module;
The first acquisition module is used for, and obtains the base station deployment information of near roads;
The second acquisition module is used for, and obtains the mobile network being attached on the corresponding base station of the base station deployment information
Number;
The screening module is used for, and car networking number is filtered out from the mobile network code;
The statistical module is used for, and the magnitude of traffic flow of the road is counted according to the car networking number.
Further, the statistical server further includes mark module, and the mark module is used for, by the magnitude of traffic flow
Label is on preset road-map.
Preferably, the second acquisition module is specifically used for, and is attached to the base station deployment according to predetermined period acquisition and believes
Cease the mobile network code on corresponding base station;
The screening module is specifically used for, and car networking number is filtered out from the mobile network code that this period gets;
The statistical module is specifically used for, described in the car networking number statistics filtered out according to described this period of screening module
The magnitude of traffic flow of the road in this period;
The mark module is specifically used for, and the magnitude of traffic flow in this period is marked on preset road-map.
Preferably, the base station deployment information includes cell ID;
The second acquisition module is specifically used for, and sends access information acquisition request to core net access device, described to connect
Enter and carry cell ID in information acquisition request, the cell ID for road institute coverage cell cell ID;With
And the mobile network code that the core net access device is sent is received, the mobile network code is the core net access
Equipment is inquired according to the cell ID.
Preferably, the screening module is specifically used for, and filters out car networking from the mobile network code according to number section
Number.
The present invention is screened out from it car networking number by obtaining the mobile network code being attached near roads base station
Code, and according to the magnitude of traffic flow of car networking number statistics road, whole process is participated in without user, but operator is based on movement
Interaction signaling between terminal and base station determines vehicle location, and the accuracy rate of traffic statistics is high;Moreover, the present invention program without pair
Road equipment carries out any transformation, does not also need to carry out any transformation to vehicle, cost of implementation is low;The present invention program can be right simultaneously
Vehicle driving situation is monitored along particular link, and flexible operation is applied widely.
Specific embodiment
Below in conjunction with the attached drawing in the present invention, clear, complete description is carried out to the technical solution in the present invention, is shown
So, described embodiment is a part of the embodiments of the present invention, instead of all the embodiments.Based on the implementation in the present invention
Example, those of ordinary skill in the art's every other embodiment obtained without making creative work, all belongs to
In the scope of protection of the invention.
The embodiment of the present invention provides a kind of magnitude of traffic flow statistical method, below in conjunction with Fig. 1 and Fig. 2, to traffic of the invention
Traffic statistics process is described in detail, as shown in Figure 1, the process the following steps are included:
Step 101, the base station deployment information of near roads is obtained.
Preferably, base station deployment information includes cell ID (Cell ID), and cell ID can be needed with unique identification base station
It is noted that base station deployment information can also include LAC (Location Area Code, regional areas code).
Step 102, the mobile network code being attached on the corresponding base station of the base station deployment information is obtained.
Specifically, statistical server can be obtained according to predetermined period is attached to the corresponding base station of the base station deployment information
On mobile network code.
Period can be set according to the deployment of travel speed of the vehicle on road, base station, it is preferred that the period can be with
It is set as 5-30 seconds.
When base station deployment information includes cell ID, the acquisition is attached to the corresponding base station of the base station deployment information
On mobile network code the step of specifically include:
Statistical server sends access information acquisition request to core net access device, in the access information acquisition request
Carry cell ID, the cell ID for road institute coverage cell cell ID.Core net access device is from connecing
Enter and obtain cell ID in information acquisition request, corresponding mobile network code is inquired according to cell ID, and will inquire
Mobile network code be sent to statistical server.Core net access device can be GGSN (Gateway GPRS Support
Node, Gateway GPRS Support Node) etc. equipment can be infused to core net access device in mobile terminal-opening or work
Sequence of operations, the core net access devices such as volume accordingly will record the interaction signaling of mobile terminal, and interact in signaling and just carry
There are the information such as cell ID and mobile network code.
Step 103, car networking number is filtered out from the mobile network code.
Specifically, statistical server filters out car networking from the mobile network code that this period gets, according to number section
Number.
Vehicle network No. code is that operator looks forward to MSISDN (the Mobile Subscriber for car networking opened to vehicle
International ISDN/PSTN number, Information Mobile Service number), for providing mobile network's access service for vehicle,
Pass through vehicle network No. code, the correlation register information such as available vehicle brand, model.
Car networking number is identical as phone number digit, but number section is different.For example, the number section of phone number include: 139,
186,131,134,135,138 etc., the number section of car networking number includes: 175,154 etc..It therefore, can be true by number section screening
Making mobile network code is car networking number or phone number.
Step 104, the magnitude of traffic flow of the road is counted according to the car networking number.
Statistical server counts the road in the magnitude of traffic flow in this period according to the car networking number filtered out.If described
Roadside is deployed with multiple base stations, then can determine to be attached on each base station respectively by step 102 and step 103
Each base station corresponding road section can be obtained in car networking number, the quantity for then calculating separately the corresponding car networking number in each base station
The magnitude of traffic flow.
101-104 can be seen that the present invention by obtaining the movement being attached near roads base station through the above steps
Network number is screened out from it car networking number, and the magnitude of traffic flow of road is counted according to car networking number, and whole process is not necessarily to
User participates in, but operator determines vehicle location, the standard of traffic statistics based on the interaction signaling between mobile terminal and base station
True rate is high;Moreover, the present invention program is not necessarily to carry out any transformation to road equipment, do not need to carry out any transformation to vehicle yet,
Cost of implementation is low;The present invention program can be monitored vehicle driving situation along particular link simultaneously, flexible operation, be applicable in model
It encloses extensively.
In another embodiment of the present invention scheme, further, as shown in Fig. 2, uniting according to the car networking number
Count the road the magnitude of traffic flow (i.e. after step 104), the method can with the following steps are included:
Step 105, by magnitude of traffic flow label on preset road-map.
Specifically, road-map is preset in statistical server, in each section for counting the road in this period
The magnitude of traffic flow after, the magnitude of traffic flow in each section can be mapped on road-map, thus by the traffic flow in this period
Amount marks on road-map, in order to which user intuitively checks current traffic flow situation.
Mainstream Che Qiyu operators in co-operation carries out car networking service at present, and mobile communication mould is pre-installed in automobile produced
Block simultaneously opens operator's mobile network's access service.Operator knows car networking number and associated vehicle information, in conjunction with itself
Base station data, it can be achieved that vehicle running track, time and tide law (magnitude of traffic flow) statistics, so as to be traffic administration
The associated mechanisms such as department, road construction unit provide reliable data reference.
The solution of the present invention can be applied to following scene:
1, traffic control department is monitored particular link traffic conditions.In this case, statistical server can extract this
The interaction signaling of roadside base station, then the vehicle network No. code under roadside base station is filtered out, so that it is determined that the road
The magnitude of traffic flow.
2, traffic control department needs position specified illegal vehicle, are tracked.In this case, statistical server can mention
Be rounded the interaction signaling of base station in city scope, then by specified car networking number from the vehicle network No. code under each base station mistake
It filters out and, to achieve the purpose that positioning, tracking.
Skilled person will appreciate that above two application scenarios can be applied but be not limited to technical solution of the present invention,
More application scenarios do not enumerate herein.
Based on the same technical idea, the embodiment of the present invention also provides a kind of statistical server, as shown in figure 3, the statistics
Server may include: that the first acquisition module 31, second obtains module 32, screening module 33 and statistical module 34.
First acquisition module 31 is used for, and obtains the base station deployment information of near roads.
Second acquisition module 32 is used for, and obtains the mobile network number being attached on the corresponding base station of the base station deployment information
Code.
Screening module 33 is used for, and car networking number is filtered out from the mobile network code.
Statistical module 34 is used for, and the magnitude of traffic flow of the road is counted according to the car networking number.
Preferably, the second acquisition module 32 is specifically used for, and is attached to the base station deployment information according to predetermined period acquisition
Mobile network code on corresponding base station.
Screening module 33 is specifically used for, and car networking number is filtered out from the mobile network code that this period gets.
Statistical module 34 is specifically used for, and counts the road according to the car networking number that 33 periods of screening module filter out
In the magnitude of traffic flow in this period.
Preferably, the base station deployment information includes cell ID.
Second acquisition module 32 is specifically used for, and sends access information acquisition request, the access to core net access device
Carry cell ID in information acquisition request, the cell ID for road institute coverage cell cell ID;And
The mobile network code that the core net access device is sent is received, the mobile network code is the core net access device
It is inquired according to the cell ID.
Preferably, screening module 33 is specifically used for, and filters out car networking number from the mobile network code according to number section
Code.
In another embodiment of the present invention, as shown in figure 4, the statistical server further comprises mark module
35, mark module 35 is used for, by magnitude of traffic flow label on preset road-map.
Preferably, mark module 35 is specifically used for, and the magnitude of traffic flow in this period is marked on preset road-map.
It is understood that the principle that embodiment of above is intended to be merely illustrative of the present and the exemplary implementation that uses
Mode, however the present invention is not limited thereto.For those skilled in the art, essence of the invention is not being departed from
In the case where mind and essence, various changes and modifications can be made therein, these variations and modifications are also considered as protection scope of the present invention.