CN109598925A - Taxi vehicle assembles alarm method, terminal device and storage medium - Google Patents
Taxi vehicle assembles alarm method, terminal device and storage medium Download PDFInfo
- Publication number
- CN109598925A CN109598925A CN201710916836.XA CN201710916836A CN109598925A CN 109598925 A CN109598925 A CN 109598925A CN 201710916836 A CN201710916836 A CN 201710916836A CN 109598925 A CN109598925 A CN 109598925A
- Authority
- CN
- China
- Prior art keywords
- taxi
- data value
- longitude
- value
- latitude
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0125—Traffic data processing
- G08G1/0133—Traffic data processing for classifying traffic situation
Abstract
The present invention discloses a kind of based on road network and the taxi vehicle of site information aggregation alarm method, including S1-S4: determining a kind of mapping method by longitude and latitude data value to bench mark data value, S5-S6: the longitude and latitude data value of the road circuit node of operational area is mapped to bench mark data value, the number of each bench mark data value and its appearance is recorded and stored, road network information database D B is formedway, S7-S8: being mapped to bench mark data value for the longitude and latitude data value of the taxi website of operational area, records and stores bench mark data value, forms site information database D Bsite, S9: in conjunction with DBwayAnd DBsiteIn data value, to taxi vehicle abnormality aggregation situation alarm.By the way that longitude and latitude data value is mapped to bench mark data value, the error resilience performance of supervising platform is improved, the treatment effeciency of platform is made to be guaranteed.Road network and site information are incorporated, and is associated with history aggregation situation, strengthens the trigger condition of aggregation alarm, is effectively reduced rate of false alarm.
Description
Technical field
The present invention relates to taxi monitoring technology field, specifically a kind of taxi vehicle based on road network and site information
Assemble alarm method, terminal device and storage medium.
Background technique
Taxi be it is a kind of by cruising, website, the modes such as reservation provide for the public with special trip requirements
The vehicles of the personalized convenient service of door t door.In China this vehicles again based on the service of cruising, therefore there is
Certain negative external effect.If necessary measure is not taken effectively to be supervised, this negative external effect is once maliciously amplified, will
What the meeting normal civil order of very disruptive, such as multiple cities domestic in recent years took place frequently " causes road to be gathered around because of taxi aggregation
It is stifled " this kind malignant event.
In existing technology, the Chinese invention patent of Publication No. CN102117532A " realized based on GPS system by one kind
Taxi illegally assembles the method for pre-alarm ", by the way that region within the jurisdiction is evenly dividing grid, periodically counts and travel speed in each grid
Satisfactory vehicle fleet size is spent, then issues alarm when the quantity is more than preset value.This method has ignored on such as airport, train
The general travel speed of taxi that the websites such as stand wait visitor is lower and vehicle fleet size is numerous, this will occur to the legal aggregation of vehicle
Wrong report;Set travel speed preset value is used to participate in the preposition decision condition of aggregation event as vehicle simultaneously, if
The loophole for easily becoming evade supervision instead is grasped in advance.
Summary of the invention
To solve the above-mentioned problems, the present invention provides a kind of based on road network and the aggregation alarm of the taxi vehicle of site information
Method, terminal device and storage medium respectively indicate the longitude and latitude value of any anchor point of earth surface with Φ and Ψ,
In " east longitude is positive, and west longitude is negative ", " north latitude is positive, and south latitude is negative ", using the longitude and latitude of position location as sphere data carry out
Modeling.
The present invention is a kind of to assemble alarm method based on road network and the taxi vehicle of site information, includes the following steps:
S1: appoint the longitude and latitude data value for taking an anchor point A out of taxi operation regionAccording to anchor point A
Longitude and latitude data value, calculate with anchor point A along warp length distance be h point B1 latitude and longitude valueWith
The latitude and longitude value for the point B2 that anchor point A is h along the length distance of weftWherein h is set a distance step-length, into S2
Step;
S2: appoint the longitude and latitude data value (Φ for taking an anchor point C at the earth's surfaceany,Ψany), then determine that one is greater than 1
Integer N, into S3 step;
S3: according to the φ and ψ being calculated in S1, then taking one group of integer p and q on the basis of S2, wherein 0≤p < N, 0
≤ q < N is enabled
To obtain several datum marks, data value is (Φ0+kφ,Ψ0+ l ψ), wherein k and l is to meet respectively
Integer, into S4 step;
S4: for meeting any one group of k and l required in S3, longitude and latitude range will be met
Anchor point D longitude and latitude data value (Φ, Ψ), be all mapped as by a many-to-one corresponding relationship with base
Data value (the Φ that data value on schedule indicates0+kφ,Ψ0+ l ψ), wherein many-to-one corresponding relationship formula is
Wherein [] is round operator, into S5 step;
S5: according to the city map data of operational area, longitude and latitude data value corresponding to road circuit node is obtained, and to every
Spherical surface etc. is carried out between road adjacent node and divides interpolation, so that distance is less than preset value between adjacent node inside road after interpolation
R, then all longitude and latitude data values of road circuit node after interpolation are stored, into S6 step;
S6: all possible combined value of traversal p and q, according to the corresponding relationship in S4, for the combination of each p and q
The longitude and latitude data value of the road circuit node stored in S5 is mapped as corresponding bench mark data value by value, to the end of all mappings
It counts the number that each bench mark data value occurs again afterwards, records and stores the number of each bench mark data value and its appearance,
Form road network information database D Bway, into S7 step;
S7: according to the city map data of operational area, the position of each taxi website, and storage site position institute are obtained
Corresponding longitude and latitude data value, into S8 step;
S8: all possible combined value of traversal p and q, according to the corresponding relationship in S4, for the combination of each p and q
The longitude and latitude data value stored in S7 is each mapped to corresponding bench mark data value by value, after all mappings, note
Simultaneously Memory Reference point data value is recorded, site information database D B is formedsite, into S9 step;
S9: according to road network information database D BwayWith site information database D BsiteIn data value, to taxi vehicle
Abnormal aggregation situation is alarmed.
Further, in S1, the calculation formula of (ψ, φ) are as follows:
Wherein π is pi, and R is earth mean radius.
Further, in S5, divide interpolation to spherical surface etc. is carried out between every road adjacent node, so that after interpolation in road
Distance is less than preset value r between portion's adjacent node, then stores all longitude and latitude data values of road circuit node after interpolation, specifically:
S51, formula is utilizedCalculate road adjacent node (ΦA,ΨA) and (ΦB,ΨB) between spherical distance
D0, wherein Δ=arccos (sin (ΨA)sin(ΨB)+cos(ΨA)cos(ΨB)cos(ΦA-ΦB));
S52, the spherical distance D according to obtained in S510, calculate etc. and to divide the isodisperse of interpolationWhereinFor
Infinite general orientation rounding operation symbol;
S53, formula is utilized
The longitude and latitude data value of road node spherical coordinate is converted into rectangular co-ordinate, then road adjacent node longitude and latitude degree
According to value (ΦA,ΨA) and (ΦB,ΨB) it can be converted into (x respectivelyA,yA,zA) and (xB,yB,zB);
S54, formula is utilizedIt is adjacent to calculate road obtained in S53
Node (xA,yA,zA) and (xB,yB,zB) between linear distance;
S55, formula is utilized
The space weight that spherical surface etc. between adjacent node divides interpolation is calculated, wherein i=1,2 ..., n-1;
S56, formula is utilized
Calculate (x obtained in S54A,yA,zA) and (xB,yB,zB) between all spatial linear interpolation points
S57, formula is utilized
By spatial linear interpolation point obtained in S56Earth table is projected to its direction along the centre of sphere
Face obtains the rectangular co-ordinate (x of spherical surface interpolation pointAB,i,yAB,i,zAB,i), wherein
S58, formula is utilized
Wherein R is earth mean radius, R1=Rcos (Ψ)
Road circuit node rectangular co-ordinate is converted into the longitude and latitude data value of spherical coordinate, then (x obtained in S57AB,i,
yAB,i,zAB,i) it can be converted (ΦAB,i,ΨAB,i);
All longitude and latitude data values of road circuit node after S59, storage interpolation.
Further, in S7, each taxi website includes but is not limited to: airport, railway station and bus station.
Further, in S9, according to road network information database D BwayWith site information database D BsiteData value to go out
Vehicle abnormality of hiring a car aggregation situation is alarmed, specifically:
S91, the real-time position location for obtaining jth (wherein j=1,2 ...) a moment operation taxi, and store corresponding
The longitude and latitude data value of taxi ID number and real-time position location;
S92, all possible combined value for traversing p and q, according to the corresponding relationship in S4, for the combination of each p and q
The longitude and latitude data value stored in S91 is mapped as corresponding bench mark data value by value, is counted again after mapping to whole
The number that each bench mark data value occurs;
S93, if in S92 bench mark data value occur number be both less than the non-negative preset value X of value if enable j-th when
It carves vehicle and assembles pre-alarm database D Btaxi,jIt for sky and enables j from increasing 1 and returning to S91, otherwise records the base that frequency of occurrence is greater than X
Data value and its frequency of occurrence and position location are mapped to the taxi ID number set of corresponding bench mark data value on schedule;
S94, for each bench mark data value recorded in S93, respectively in road network information database D BwayAnd website
Information database DBsiteIn searched, if in DBwayIt is middle to there is the number for then enabling β value be corresponding bench mark data value appearance
Otherwise value is zero, if in DBsiteIt is middle exist then enable γ value be 1 otherwise value be 0;
If the frequency of occurrence of bench mark data value recorded in S95, S93 is respectively less than the (X+ searched in its corresponding S94
β Y+ γ Z) value (wherein Y, Z are the non-negative preset value of value), then enable DBtaxi,jIt for sky and enables j from increasing 1 and returning to S91, otherwise remembers
Record frequency of occurrence is mapped to greater than the bench mark data value and its frequency of occurrence of its corresponding (X+ β Y+ γ Z) value and position location
The taxi ID number set of corresponding bench mark data value;
S96, for bench mark data value recorded in S95, utilize
Bench mark data value (Φ ', Ψ ') is converted into the range of longitude and latitude data value (Φ, Ψ), so that recording in S95
Taxi ID number set all correspond to a longitude and latitude range, then compare between different taxi ID number set whether and meanwhile wrap
Containing identical taxi ID number, merge corresponding longitude and latitude range and taxi ID number set respectively if including simultaneously, so that
Only No. ID collection of a taxi that be contained in of each taxi ID number merges corresponding to a longitude and latitude range, simultaneously after merging
Taxi ID number set corresponding with storage and longitude and latitude range are recorded, vehicle is formed and assembles pre-alarm database D Btaxi,j;
If S97, j < t (the wherein preset value that t is value positive integer) are or from max { 1, j-t+1 } to j-th of moment
In vehicle aggregation pre-alarm database sometime be sky, then enable j 1 and return to S91 from increasing, otherwise execute S98 with handle from
The vehicle at jth-t+1 to j-th this continuous t moment at moment assembles pre-alarm database;
S98, keeping taxi ID number set and on the basis of longitude and latitude range corresponding relationship, merge vehicle aggregation forecast
Alert database D Btaxi,j-t+1,DBtaxi,j-t+2,…,DBtaxi,j, then compare between different taxi ID number set whether and meanwhile wrap
Containing identical taxi ID number, merge corresponding longitude and latitude range and taxi ID number set respectively if including simultaneously, in turn
Respectively obtain u taxi ID number set S1,S2,…,Su, so that each taxi ID number only can only be contained in one after merging
A taxi ID number collection, which merges, corresponds to a longitude and latitude range, taxi ID number set S after statistics mergeseIn taxi vehicle
Number me,1And SeIn simultaneously be contained in above-mentioned t pre-alarm database taxi vehicle number me,2, wherein e=1,
2,…,u;
S99, for e=1,2 ..., u, if the ratio between the vehicle number counted in S98 meets me,2/me,1>=w (wherein w be than
Example preset value, and meet 0 < w < 1) vehicle aggregation alarm is then issued, while exporting DBtaxi,jIn be contained in SeTaxi ID
Number set and its corresponding longitude and latitude range, then j is enabled 1 and to return to S91 from increasing.
The present invention is a kind of to assemble alarm terminal equipment based on road network and the taxi vehicle of site information, including memory,
Processor and storage in the memory and the computer program that can run on the processor, the processor execution
The step of alarm method is assembled based on road network and the taxi vehicle of site information is realized when the computer program.
A kind of computer readable storage medium of the present invention, the computer-readable recording medium storage have computer program,
It is realized when the computer program is executed by processor and alarm method is assembled based on road network and the taxi vehicle of site information
Step.
Beneficial effects of the present invention:
The present invention is by being mapped to bench mark data value for longitude and latitude data value, to improve the fault-tolerance of supervising platform
Can, so that the treatment effeciency of platform is guaranteed.While the road network and site information in taxi operation region are incorporated again, and with
History aggregation situation is associated, and strengthens the trigger condition of aggregation alarm, and then is effectively reduced rate of false alarm.Utilize Sphere Measurement Model
Pair warp and weft degree carries out data processing, also promotes the accuracy of aggregation alarm to a certain extent.In addition, the aggregation situation with history
The associated following function that can also be realized in supervision for assembling target.
Detailed description of the invention
Fig. 1 is the method flow diagram of the embodiment of the present invention one.
Specific embodiment
To further illustrate that each embodiment, the present invention are provided with attached drawing.These attached drawings are that the invention discloses one of content
Point, mainly to illustrate embodiment, and the associated description of specification can be cooperated to explain the operation principles of embodiment.Cooperation ginseng
These contents are examined, those of ordinary skill in the art will be understood that other possible embodiments and advantages of the present invention.In figure
Component be not necessarily to scale, and similar component symbol is conventionally used to indicate similar component.
Now in conjunction with the drawings and specific embodiments, the present invention is further described.
Embodiment one:
Arbitrarily equal spherical distance is corresponded to through Same Latitude difference on coil, but same longitude on different weft circles
The corresponding spherical distance of difference is unequal.The prior art is substantially handled longitude and latitude as panel data.
And the present invention respectively indicates the longitude and latitude value of any anchor point of earth surface with Φ and Ψ, wherein " east longitude is positive, west longitude
Be negative ", " north latitude is positive, and south latitude is negative ", and then modeled using the longitude and latitude of position location as sphere data, propose one
Kind assembles alarm method based on road network and the taxi vehicle of site information.
Specific step is as follows for method set forth in the present invention:
S1: appoint the longitude and latitude data value for taking an anchor point A out of taxi operation regionAccording to anchor point A
Longitude and latitude data value, calculate with anchor point A along warp length distance be h point B1 latitude and longitude valueWith
The latitude and longitude value for the point B2 that anchor point A is h along the length distance of weftWherein h is set a distance step-length, wherein
The calculation formula of (ψ, φ) are as follows:
Wherein π is pi, and R is earth mean radius, and trigonometric function is calculated with angle system.
Into S2 step;
S2: appoint the longitude and latitude data value (Φ for taking an anchor point C at the earth's surfaceany,Ψany), it under normal conditions can be straight
It is connected in (0 °, 0 °), then determines an Integer N greater than 1, into S3 step;
S3: according to the φ and ψ being calculated in S1, then taking one group of integer p and q on the basis of S2, wherein 0≤p < N, 0
≤ q < N is enabled
To obtain several datum marks, data value is (Φ0+kφ,Ψ0+ l ψ), wherein k and l is to meet respectively
Integer, into S4 step;
S4: for meeting any one group of k and l required in S3, longitude and latitude range will be met
Anchor point D longitude and latitude data value (Φ, Ψ), be all mapped as by a many-to-one corresponding relationship with base
Data value (the Φ that data value on schedule indicates0+kφ,Ψ0+ l ψ), wherein many-to-one corresponding relationship formula is
Wherein [] is round operator, into S5 step;
S5: according to the city map data of operational area, longitude and latitude data value corresponding to road circuit node is obtained, and to every
Spherical surface etc. is carried out between road adjacent node and divides interpolation, so that distance is less than preset value between adjacent node inside road after interpolation
R, then all longitude and latitude data values of road circuit node after interpolation are stored,
Specific steps are as follows:
S51, formula is utilizedCalculate road adjacent node (ΦA,ΨA) and (ΦB,ΨB) between spherical distance
D0, wherein Δ=arccos (sin (ΨA)sin(ΨB)+cos(ΨA)cos(ΨB)cos(ΦA-ΦB));
S52, the spherical distance D according to obtained in S510, calculate etc. and to divide the isodisperse of interpolationWhereinFor
Infinite general orientation rounding operation symbol;
S53, formula is utilized
The longitude and latitude data value of road node spherical coordinate is converted into rectangular co-ordinate, then road adjacent node longitude and latitude degree
According to value (ΦA,ΨA) and (ΦB,ΨB) it can be converted into (x respectivelyA,yA,zA) and (xB,yB,zB);
S54, formula is utilizedIt is adjacent to calculate road obtained in S53
Node (xA,yA,zA) and (xB,yB,zB) between linear distance;
S55, formula is utilized
The space weight that spherical surface etc. between adjacent node divides interpolation is calculated, wherein i=1,2 ..., n-1;
S56, formula is utilized
Calculate (x obtained in S54A,yA,zA) and (xB,yB,zB) between all spatial linear interpolation points
S57, formula is utilized
By spatial linear interpolation point obtained in S56Earth table is projected to its direction along the centre of sphere
Face obtains the rectangular co-ordinate (x of spherical surface interpolation pointAB,i,yAB,i,zAB,i), wherein
S58, formula is utilized
Wherein R is earth mean radius, R1=Rcos (Ψ)
Road circuit node rectangular co-ordinate is converted into the longitude and latitude data value of spherical coordinate, then (x obtained in S57AB,i,
yAB,i,zAB,i) it can be converted (ΦAB,i,ΨAB,i);
All longitude and latitude data values of road circuit node after S59, storage interpolation.
Into S6 step;
S6: all possible combined value of traversal p and q, according to the corresponding relationship in S4, for the combination of each p and q
The longitude and latitude data value of the road circuit node stored in S5 is mapped as corresponding bench mark data value by value, to the end of all mappings
It counts the number that each bench mark data value occurs again afterwards, records and stores the number of each bench mark data value and its appearance,
Form road network information database D Bway, into S7 step;
S7: according to the city map data of operational area, the position of each taxi website is obtained, wherein each taxi station
Point includes but is not limited to: airport, railway station and bus station, and longitude and latitude data value corresponding to storage site position, into S8
Step;
S8: all possible combined value of traversal p and q, according to the corresponding relationship in S4, for the combination of each p and q
The longitude and latitude data value stored in S7 is each mapped to corresponding bench mark data value by value, after all mappings, note
Simultaneously Memory Reference point data value is recorded, site information database D B is formedsite, into S9 step;
S9: according to road network information database D BwayWith site information database D BsiteIn data value, to taxi vehicle
Abnormal aggregation situation is alarmed.
Specific steps are as follows:
S91, the real-time position location for obtaining jth (wherein j=1,2 ...) a moment operation taxi, and store corresponding
The longitude and latitude data value of taxi ID number and real-time position location;
S92, all possible combined value for traversing k and l, according to the corresponding relationship in S4, for the combination of each k and l
The longitude and latitude data value stored in S91 is mapped as corresponding bench mark data value by value, is counted again after mapping to whole
The number that each bench mark data value occurs;
S93, if in S92 bench mark data value occur number be both less than the non-negative preset value X of value if enable j-th when
It carves vehicle and assembles pre-alarm database D Btaxi,jIt for sky and enables j from increasing 1 and returning to S91, otherwise records the base that frequency of occurrence is greater than X
Data value and its frequency of occurrence and position location are mapped to the taxi ID number set of corresponding bench mark data value on schedule;
S94, for each bench mark data value recorded in S93, respectively in road network information database D BwayAnd website
Information database DBsiteIn searched, if in DBwayIt is middle to there is the number for then enabling β value be corresponding bench mark data value appearance
Otherwise value is zero, if in DBsiteIt is middle exist then enable γ value be 1 otherwise value be 0;
If the frequency of occurrence of bench mark data value recorded in S95, S93 is respectively less than the (X+ searched in its corresponding S94
β Y+ γ Z) value (wherein Y, Z are the non-negative preset value of value), then enable DBtaxi,jIt for sky and enables j from increasing 1 and returning to S91, otherwise remembers
Record frequency of occurrence is mapped to greater than the bench mark data value and its frequency of occurrence of its corresponding (X+ β Y+ γ Z) value and position location
The taxi ID number set of corresponding bench mark data value;
S96, for bench mark data value recorded in S95, utilize
Bench mark data value (Φ ', Ψ ') is converted into the range of longitude and latitude data value (Φ, Ψ), so that recording in S95
Taxi ID number set all correspond to a longitude and latitude range, then compare between different taxi ID number set whether and meanwhile wrap
Containing identical taxi ID number, merge corresponding longitude and latitude range and taxi ID number set respectively if including simultaneously, so that
Only No. ID collection of a taxi that be contained in of each taxi ID number merges corresponding to a longitude and latitude range, simultaneously after merging
Taxi ID number set corresponding with storage and longitude and latitude range are recorded, vehicle is formed and assembles pre-alarm database D Btaxi,j;
If S97, j < t (the wherein preset value that t is value positive integer) are or from max { 1, j-t+1 } to j-th of moment
In vehicle aggregation pre-alarm database sometime be sky, then enable j 1 and return to S91 from increasing, otherwise execute S98 with handle from
The vehicle at jth-t+1 to j-th this continuous t moment at moment assembles pre-alarm database;
S98, keeping taxi ID number set and on the basis of longitude and latitude range corresponding relationship, merge vehicle aggregation forecast
Alert database D Btaxi,j-t+1,DBtaxi,j-t+2,…,DBtaxi,j, then compare between different taxi ID number set whether and meanwhile wrap
Containing identical taxi ID number, merge corresponding longitude and latitude range and taxi ID number set respectively if including simultaneously, in turn
Respectively obtain u taxi ID number set S1,S2,…,Su, so that each taxi ID number only can only be contained in one after merging
A taxi ID number collection, which merges, corresponds to a longitude and latitude range, taxi ID number set S after statistics mergeseIn taxi vehicle
Number me,1And SeIn simultaneously be contained in above-mentioned t pre-alarm database taxi vehicle number me,2, wherein e=1,
2,…,u;
S99, for e=1,2 ..., u, if the ratio between the vehicle number counted in S98 meets me,2/me,1>=w (wherein w be than
Example preset value, and meet 0 < w < 1) vehicle aggregation alarm is then issued, while exporting DBtaxi,jIn be contained in SeTaxi ID
Number set and its corresponding longitude and latitude range, then j is enabled 1 and to return to S91 from increasing.
Embodiment two:
Alarm terminal equipment is assembled based on road network and the taxi vehicle of site information the present invention also provides a kind of, including is deposited
Reservoir, processor and storage in the memory and the computer program that can run on the processor, the processing
Device realizes the step in above method embodiment of the embodiment of the present invention when executing the computer program.
Further, described based on road network and the taxi vehicle of site information aggregation report as an executable scheme
Alert terminal device can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment.It is described to be based on road
Net and the taxi vehicle of site information aggregation alarm terminal equipment may include, but be not limited only to, processor, memory.Ability
Field technique personnel are appreciated that the above-mentioned composition knot based on road network and the taxi vehicle of site information aggregation alarm terminal equipment
Structure is only based on the example of the taxi vehicle aggregation alarm terminal equipment of road network and site information, does not constitute to based on road
The restriction of net and the taxi vehicle of site information aggregation alarm terminal equipment, may include than above-mentioned more or fewer portions
Part perhaps combines certain components or different components, such as described based on road network and the aggregation of the taxi vehicle of site information
Alarm terminal equipment can also include input-output equipment, network access equipment, bus etc., and the embodiment of the present invention does not limit this
It is fixed.
Further, as an executable scheme, alleged processor can be central processing unit (Central
Processing Unit, CPU), it can also be other general processors, digital signal processor (Digital Signal
Processor, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
At programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, divide
Vertical door or transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor
It can be any conventional processor etc., the processor is described based on road network and the taxi vehicle of site information aggregation report
The control centre of alert terminal device utilizes the entire taxi vehicle based on road network and site information of various interfaces and connection
Assemble the various pieces of alarm terminal equipment.
The memory can be used for storing the computer program and/or module, and the processor is by operation or executes
Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization
Various functions based on road network and the taxi vehicle of site information aggregation alarm terminal equipment.The memory can mainly include
Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function
Sequence;Storage data area, which can be stored, uses created data etc. according to mobile phone.In addition, memory may include that high speed is deposited at random
Access to memory can also include nonvolatile memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart
Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one magnetic
Disk storage device, flush memory device or other volatile solid-state parts.
The present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage has computer
Program, when the computer program is executed by processor the step of the realization above method of the embodiment of the present invention.
If module/the unit based on road network and the taxi vehicle of site information aggregation alarm terminal integration of equipments
It is realized in the form of SFU software functional unit and when sold or used as an independent product, can store computer-readable at one
It takes in storage medium.Based on this understanding, the present invention realizes all or part of the process in above-described embodiment method, can also be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a computer-readable storage
In medium, the computer program is when being executed by processor, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, described
Computer program includes computer program code, the computer program code can for source code form, object identification code form,
Executable file or certain intermediate forms etc..The computer-readable medium may include: that can carry the computer program
Any entity or device of code, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory
(ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, electricity
Believe signal and software distribution medium etc..It should be noted that the content that the computer-readable medium includes can be according to department
Make laws in method administrative area and the requirement of patent practice carry out increase and decrease appropriate, such as in certain jurisdictions, according to legislation and
Patent practice, computer-readable medium do not include electric carrier signal and telecommunication signal.
The present invention is a kind of to be situated between based on road network and the taxi vehicle of site information aggregation alarm method, terminal device and storage
Matter, to improve the error resilience performance of supervising platform, also makes platform by the way that longitude and latitude data value is mapped to bench mark data value
Treatment effeciency is guaranteed.It incorporates the road network and site information in taxi operation region again simultaneously, and assembles situation with history
It is associated, strengthens the trigger condition of aggregation alarm, and then be effectively reduced rate of false alarm.It is carried out using Sphere Measurement Model pair warp and weft degree
Data processing also promotes the accuracy of aggregation alarm to a certain extent.In addition, associated with the aggregation situation of history can be with
Realize the following function in supervision for assembling target.
Although specifically showing and describing the present invention in conjunction with preferred embodiment, those skilled in the art should be bright
It is white, it is not departing from the spirit and scope of the present invention defined by the appended claims, it in the form and details can be right
The present invention makes a variety of changes, and is protection scope of the present invention.
Claims (7)
1. a kind of assemble alarm method based on road network and the taxi vehicle of site information, characterized by the following steps:
S1: appoint the longitude and latitude data value for taking an anchor point A out of taxi operation regionAccording to the warp of anchor point A
Latitude data value calculates the latitude and longitude value with the anchor point A point B1 for being h along the length distance of warpIt is fixed with this
The latitude and longitude value for the point B2 that site A is h along the length distance of weftWherein h is set a distance step-length, is walked into S2
Suddenly;
S2: appoint the longitude and latitude data value (Φ for taking an anchor point C at the earth's surfaceany,Ψany), then determine one greater than 1 it is whole
Number N, into S3 step;
S3: according to the φ and ψ being calculated in S1, then one group of integer p and q are taken on the basis of S2, wherein 0≤p < N, 0≤q
< N is enabled
To obtain several datum marks, data value is (Φ0+kφ,Ψ0+ l ψ), wherein k and l is to meet respectively
Integer, into S4 step;
S4: for meeting any one group of k and l required in S3, longitude and latitude range will be met
Anchor point D longitude and latitude data value (Φ, Ψ), be all mapped as by a many-to-one corresponding relationship with datum mark
Data value indicate data value (Φ0+kφ,Ψ0+ l ψ), wherein many-to-one corresponding relationship formula is
Wherein [] is round operator, into S5 step;
S5: according to the city map data of operational area, longitude and latitude data value corresponding to road circuit node is obtained, and to every road
Spherical surface etc. is carried out between the adjacent node of road divides interpolation, so that distance is less than preset value r between adjacent node inside road after interpolation, then
All longitude and latitude data values of road circuit node after storage interpolation, into S6 step;
S6: all possible combined value of traversal p and q, according to the corresponding relationship in S4, for each p and q combined value by S5
The longitude and latitude data value of middle stored road circuit node is mapped as corresponding bench mark data value, unites again after mapping to whole
The number that each bench mark data value occurs is counted, the number of each bench mark data value and its appearance is recorded and stored, forms road
Net information database DBway, into S7 step;
S7: according to the city map data of operational area, the position of each taxi website is obtained, and corresponding to storage site position
Longitude and latitude data value, into S8 step;
S8: all possible combined value of traversal p and q, according to the corresponding relationship in S4, for each p and q combined value by S7
Middle stored longitude and latitude data value is each mapped to corresponding bench mark data value, after all mapping, records and deposits
Bench mark data value is stored up, site information database D B is formedsite, into S9 step;
S9: according to road network information database D BwayWith site information database D BsiteIn data value, to taxi vehicle abnormality
Aggregation situation is alarmed.
2. assembling alarm method based on road network and the taxi vehicle of site information as described in claim 1, it is characterised in that:
In S1, the calculation formula of (ψ, φ) are as follows:
Wherein π is pi, and R is earth mean radius.
3. assembling alarm method based on road network and the taxi vehicle of site information as described in claim 1, it is characterised in that:
In S5, divide interpolation to spherical surface etc. is carried out between every road adjacent node, so that distance between adjacent node inside road after interpolation
Less than preset value r, then all longitude and latitude data values of road circuit node after interpolation are stored, specifically:
S51, formula is utilizedCalculate road adjacent node (ΦA,ΨA) and (ΦB,ΨB) between spherical distance D0,
Middle Δ=arccos (sin (ΨA)sin(ΨB)+cos(ΨA)cos(ΨB)cos(ΦA-ΦB));
S52, the spherical distance D according to obtained in S510, calculate etc. and to divide the isodisperse of interpolationWhereinIt is infinite
General orientation rounding operation symbol;
S53, formula is utilized
The longitude and latitude data value of road node spherical coordinate is converted into rectangular co-ordinate, then road adjacent node longitude and latitude data value
(ΦA,ΨA) and (ΦB,ΨB) it can be converted into (x respectivelyA,yA,zA) and (xB,yB,zB);
S54, formula is utilizedCalculate road adjacent node obtained in S53
(xA,yA,zA) and (xB,yB,zB) between linear distance;
S55, formula is utilized
The space weight that spherical surface etc. between adjacent node divides interpolation is calculated, wherein i=1,2 ..., n-1;
S56, formula is utilized
Calculate (x obtained in S54A,yA,zA) and (xB,yB,zB) between all spatial linear interpolation points
S57, formula is utilized
By spatial linear interpolation point obtained in S56Earth surface is projected to its direction along the centre of sphere, is obtained
To the rectangular co-ordinate (x of spherical surface interpolation pointAB,i,yAB,i,zAB,i), wherein
S58, formula is utilized
Wherein R is earth mean radius, R1=R cos (Ψ) sits road circuit node right angle
Mark is converted into the longitude and latitude data value of spherical coordinate, then (x obtained in S57AB,i,yAB,i,zAB,i) it can be converted (ΦAB,i,
ΨAB,i);
All longitude and latitude data values of road circuit node after S59, storage interpolation.
4. assembling alarm method based on road network and the taxi vehicle of site information as described in claim 1, it is characterised in that:
In S7, each taxi website includes but is not limited to: airport, railway station and bus station.
5. assembling alarm method based on road network and the taxi vehicle of site information as described in claim 1, it is characterised in that:
In S9, according to road network information database D BwayWith site information database D BsiteData value to taxi vehicle abnormality assemble
Situation is alarmed, specifically:
S91, the real-time position location for obtaining jth (wherein j=1,2 ...) a moment operation taxi, and store corresponding taxi
The longitude and latitude data value of vehicle ID number and real-time position location;
S92, all possible combined value for traversing p and q will for the combined value of each p and q according to the corresponding relationship in S4
The longitude and latitude data value stored in S91 is mapped as corresponding bench mark data value, counts each again after mapping to whole
The number that bench mark data value occurs;
S93, j-th of moment vehicle is enabled if the number that bench mark data value in S92 occurs is both less than the non-negative preset value X of value
Assemble pre-alarm database D Btaxi,jIt for sky and enables j from increasing 1 and returning to S91, otherwise records benchmark of the frequency of occurrence greater than X and count
The taxi ID number set of corresponding bench mark data value is mapped to according to value and its frequency of occurrence and position location;
S94, for each bench mark data value recorded in S93, respectively in road network information database D BwayAnd site information
Database D BsiteIn searched, if in DBwayIt is middle exist then enable number that β value be corresponding bench mark data value appearance otherwise
Value is zero, if in DBsiteIt is middle exist then enable γ value be 1 otherwise value be 0;
If the frequency of occurrence of bench mark data value recorded in S95, S93 is respectively less than (the X+ β Y+ searched in its corresponding S94
γ Z) value (wherein Y, Z are the non-negative preset value of value), then enable DBtaxi,jIt for sky and enables j from increasing 1 and returning to S91, otherwise records
Frequency of occurrence is greater than the bench mark data value of its corresponding (X+ β Y+ γ Z) value and its frequency of occurrence and position location are mapped to pair
Answer the taxi ID number set of bench mark data value;
S96, for bench mark data value recorded in S95, utilize
Bench mark data value (Φ ', Ψ ') is converted into the range of longitude and latitude data value (Φ, Ψ), so that is recorded in S95 goes out
ID number of hiring a car set all corresponds to a longitude and latitude range, then whether compare between different taxi ID number set includes phase simultaneously
Same taxi ID number merges corresponding longitude and latitude range and taxi ID number set if including simultaneously respectively, so that merging
Afterwards each taxi ID number it is only is contained in taxi ID number collection and merges correspond to a longitude and latitude range, while record with
Corresponding taxi ID number set and longitude and latitude range are stored, vehicle is formed and assembles pre-alarm database D Btaxi,j;
If S97, j < t (wherein t be value positive integer preset value) or from max { 1, j-t+1 } into j-th of moment certain
The vehicle aggregation pre-alarm database at a moment is sky, then enables j from increasing 1 and returning to S91, execute S98 otherwise to handle from jth-t
The vehicle at+1 to j-th this continuous t moment at moment assembles pre-alarm database;
S98, keeping taxi ID number set and on the basis of longitude and latitude range corresponding relationship, merge vehicle and assemble pre-alarm number
According to library DBtaxi,j-t+1,DBtaxi,j-t+2,…,DBtaxi,j, then compare between different taxi ID number set whether and meanwhile comprising phase
Same taxi ID number merges corresponding longitude and latitude range and taxi ID number set respectively if including simultaneously, and then respectively
Obtain u taxi ID number set S1,S2,…,Su, so that each taxi ID number only can only be contained in one out after merging
ID number of hiring a car collection, which merges, corresponds to a longitude and latitude range, taxi ID number set S after statistics mergeseIn taxi vehicle number
me,1And SeIn simultaneously be contained in above-mentioned t pre-alarm database taxi vehicle number me,2, wherein e=1,2 ..., u;
S99, for e=1,2 ..., u, if the ratio between the vehicle number counted in S98 meets me,2/me,1(wherein w is default for ratio by >=w
Value, and meet 0 < w < 1) vehicle aggregation alarm is then issued, while exporting DBtaxi,jIn be contained in SeTaxi ID number set
And its corresponding longitude and latitude range, then enable j from increasing 1 and return to S91.
6. it is a kind of based on road network and the taxi vehicle of site information assemble alarm terminal equipment, including memory, processor with
And store the computer program that can be run in the memory and on the processor, it is characterised in that: the processor
It realizes when executing the computer program such as the step of claim 1-5 the method.
7. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In: it realizes when the computer program is executed by processor such as the step of claim 1-5 the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710916836.XA CN109598925B (en) | 2017-09-30 | 2017-09-30 | Taxi gathering alarm method, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710916836.XA CN109598925B (en) | 2017-09-30 | 2017-09-30 | Taxi gathering alarm method, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109598925A true CN109598925A (en) | 2019-04-09 |
CN109598925B CN109598925B (en) | 2021-03-02 |
Family
ID=65955831
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710916836.XA Active CN109598925B (en) | 2017-09-30 | 2017-09-30 | Taxi gathering alarm method, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109598925B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110197291A (en) * | 2019-04-09 | 2019-09-03 | 安徽四创电子股份有限公司 | Net based on Beidou about vehicle information exchange and supervisory systems |
CN114863670A (en) * | 2022-01-17 | 2022-08-05 | 深圳市慧视通科技股份有限公司 | Method and device for early warning of taxi gathering condition |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090051510A1 (en) * | 2007-08-21 | 2009-02-26 | Todd Follmer | System and Method for Detecting and Reporting Vehicle Damage |
CN102117532A (en) * | 2009-12-31 | 2011-07-06 | 厦门雅迅网络股份有限公司 | Method for pre-alarming illegal gathering of taxis based on GPS (global positioning system) |
CN104021668A (en) * | 2014-06-26 | 2014-09-03 | 中国科学院自动化研究所 | Public traffic supply-demand detection and prediction system and method |
CN104715608A (en) * | 2015-03-26 | 2015-06-17 | 杭州电子科技大学 | Around-the-clock all-area taxi gathering real-time monitoring method based on HBase |
KR20150072471A (en) * | 2013-12-19 | 2015-06-30 | 건국대학교 산학협력단 | Traffic flow prediction system using spatiotemporal stochastic model |
US20170243485A1 (en) * | 2012-04-24 | 2017-08-24 | Zetta Research and Development LLC, ForC series | V2v safety system using learned signal timing |
-
2017
- 2017-09-30 CN CN201710916836.XA patent/CN109598925B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090051510A1 (en) * | 2007-08-21 | 2009-02-26 | Todd Follmer | System and Method for Detecting and Reporting Vehicle Damage |
CN102117532A (en) * | 2009-12-31 | 2011-07-06 | 厦门雅迅网络股份有限公司 | Method for pre-alarming illegal gathering of taxis based on GPS (global positioning system) |
US20170243485A1 (en) * | 2012-04-24 | 2017-08-24 | Zetta Research and Development LLC, ForC series | V2v safety system using learned signal timing |
KR20150072471A (en) * | 2013-12-19 | 2015-06-30 | 건국대학교 산학협력단 | Traffic flow prediction system using spatiotemporal stochastic model |
CN104021668A (en) * | 2014-06-26 | 2014-09-03 | 中国科学院自动化研究所 | Public traffic supply-demand detection and prediction system and method |
CN104715608A (en) * | 2015-03-26 | 2015-06-17 | 杭州电子科技大学 | Around-the-clock all-area taxi gathering real-time monitoring method based on HBase |
Non-Patent Citations (1)
Title |
---|
陆萍等: "基于动态道路映射的基站定位方法", 《计算机与数字工程》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110197291A (en) * | 2019-04-09 | 2019-09-03 | 安徽四创电子股份有限公司 | Net based on Beidou about vehicle information exchange and supervisory systems |
CN114863670A (en) * | 2022-01-17 | 2022-08-05 | 深圳市慧视通科技股份有限公司 | Method and device for early warning of taxi gathering condition |
CN114863670B (en) * | 2022-01-17 | 2022-12-02 | 深圳市慧视通科技股份有限公司 | Method and device for early warning of taxi gathering condition |
Also Published As
Publication number | Publication date |
---|---|
CN109598925B (en) | 2021-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107657637B (en) | Method for acquiring operation area of agricultural machine | |
CN110287276A (en) | High-precision map updating method, device and storage medium | |
Zheng et al. | Detecting collective anomalies from multiple spatio-temporal datasets across different domains | |
CN105206057B (en) | Detection method and system based on Floating Car resident trip hot spot region | |
CN108170793A (en) | Dwell point analysis method and its system based on vehicle semanteme track data | |
US20160286351A1 (en) | Indoor navigation anomaly detection | |
CN104281709A (en) | Method and system for generating traffic information tiled map | |
CN105975721A (en) | Accident recurrence collision simulation establishing method and accident recurrence collision simulation method based on vehicle real-time motion state | |
CN110503353B (en) | Distribution area expression method and device | |
Li et al. | Webvrgis based city bigdata 3d visualization and analysis | |
CN111325986B (en) | Abnormal parking monitoring method and device, electronic equipment and storage medium | |
CN114120650B (en) | Method and device for generating test results | |
CN103414870A (en) | Multiple-mode alert analysis method | |
CN109598925A (en) | Taxi vehicle assembles alarm method, terminal device and storage medium | |
CN105184435A (en) | Field staff management method and system | |
CN114925043A (en) | Application method and device based on space-time grid block data and electronic equipment | |
CN109711035A (en) | City model construction method and device | |
CN114519712A (en) | Point cloud data processing method and device, terminal equipment and storage medium | |
WO2022153125A2 (en) | System and method for processing vehicle event data for analysis of road segments and turn ratios | |
CN110008387A (en) | Flow-field visualized implementation method, device and electronic equipment | |
CN109490914A (en) | Object positioning method, server and system | |
WO2021086884A1 (en) | System, apparatus and method of provisioning allotments utilizing machine visioning | |
TW202040526A (en) | Data processing method, apparatus, device and storage medium | |
US20210016879A1 (en) | Drone elastic map | |
CN116431937A (en) | Space-time big data system based on geographic information cloud platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |