CN109218966A - Location determining method, device, terminal and storage medium - Google Patents
Location determining method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN109218966A CN109218966A CN201811143309.0A CN201811143309A CN109218966A CN 109218966 A CN109218966 A CN 109218966A CN 201811143309 A CN201811143309 A CN 201811143309A CN 109218966 A CN109218966 A CN 109218966A
- Authority
- CN
- China
- Prior art keywords
- terminal
- information
- scanning
- location information
- position feature
- 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
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000001514 detection method Methods 0.000 claims abstract description 33
- 238000004590 computer program Methods 0.000 claims description 11
- 238000009434 installation Methods 0.000 claims description 2
- 238000012545 processing Methods 0.000 abstract description 9
- 230000006870 function Effects 0.000 description 20
- 230000008569 process Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 8
- 230000008901 benefit Effects 0.000 description 3
- 238000002474 experimental method Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002045 lasting effect Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000010408 sweeping Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07B—TICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
- G07B15/00—Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
- G07B15/02—Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points taking into account a variable factor such as distance or time, e.g. for passenger transport, parking systems or car rental systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Devices For Checking Fares Or Tickets At Control Points (AREA)
- Navigation (AREA)
Abstract
The embodiment of the present application provides a kind of location determining method, device, terminal and storage medium.This method comprises: obtaining position feature information;Whether detection position characteristic information meets preset condition;If position feature information meets preset condition, it is determined that be in parking lot.In the embodiment of the present application, scanning information and location information are wirelessly connected by obtaining, and according to the above-mentioned wireless connection scanning information got and location information to determine whether in parking lot, what subsequent terminal can show parking fee according to judging result pays entrance, so that user can complete paying for parking fee at the terminal, user is avoided to stop at parking exit pedestrian's processing fee of going forward side by side, technical solution provided by the embodiments of the present application, it can be accurately positioned whether user is in parking lot, and then it pays parking fee in advance at the terminal to user and technical support is provided, so that the operation for paying parking fee is more convenient, payment efficiency is higher.
Description
Technical field
The invention relates to field of terminal technology, in particular to a kind of location determining method, device, terminal and storage
Medium.
Background technique
When parking lot is temporarily parked, user needs to pay parking fee to parking lot management side the automobile that user is possessed.
In order to allow users to quickly and conveniently complete paying for parking fee, user can be complete in self-contained terminal
At paying in advance for parking fee.The premise for realizing that this kind pays mode is to judge whether user is located in parking lot, and then determine
User prepares to exit the time in parking lot.
Summary of the invention
The embodiment of the present application provides a kind of location determining method, device, terminal and storage medium.The technical solution is such as
Under:
On the one hand, the embodiment of the present application provides a kind of location determining method, which comprises
The position feature information of terminal is obtained, the position feature information includes n wireless connection scanning information and/or m
A location information, the n are the integer greater than 1, and the m is the integer greater than 1;
Detect whether the position feature information meets preset condition;
If the position feature information meets the preset condition, it is determined that the terminal is in parking lot.
On the other hand, the embodiment of the present application provides a kind of position determining means, and described device includes:
Data obtaining module, for obtaining the position feature information of terminal, the position feature information includes n and wirelessly connects
Scanning information and/or m location information are connect, the n is the integer greater than 1, and the m is the integer greater than 1;
Condition detection module, for detecting whether the position feature information meets preset condition;
Position determination module, if meeting the preset condition for the position feature information, it is determined that at the terminal
In parking lot.
In another aspect, the embodiment of the present application provides a kind of terminal, the terminal includes processor and memory, the storage
Device is stored with computer program, and the computer program is loaded as the processor and executed to realize position described in above-mentioned aspect
Set determining method.
Another aspect, the embodiment of the present application provide a kind of computer readable storage medium, the computer-readable storage medium
Computer program is stored in matter, the computer program is loaded as processor and executed to realize position described in above-mentioned aspect
Determine method.
Technical solution provided by the embodiments of the present application can be brought the following benefits:
It is wirelessly connected scanning information and location information by obtaining, and according to the above-mentioned wireless connection scanning letter got
To determine whether in parking lot, subsequent terminal can show paying for parking fee according to judging result for breath and location information
It is included in mouth, so that user can complete paying for parking fee at the terminal, user is avoided to stop and carry out at parking exit
Artificial payment, technical solution provided by the embodiments of the present application can be accurately positioned whether user is in parking lot, and then to use
Family pay in advance at the terminal parking fee provide technical support so that the operation for paying parking fee is more convenient, payment efficiency more
It is high.
Detailed description of the invention
Fig. 1 is the schematic diagram for the implementation environment that the application one embodiment provides;
Fig. 2 is the flow chart for the location determining method that the application one embodiment provides;
Fig. 3 is the flow chart for the location determining method that the application one embodiment provides;
Fig. 4 is the interface schematic diagram of the payment entrance for the display parking fee that the application one embodiment provides;
Fig. 5 is the block diagram for the position determining means that the application one embodiment provides;
Fig. 6 is the block diagram for the terminal that the application one embodiment provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party
Formula is described in further detail.
Referring to FIG. 1, the schematic diagram of the implementation environment provided it illustrates the application one embodiment.The implementation environment packet
It includes: terminal 11 and parking lot management equipment 12.
Terminal 11 has the function of judging whether itself is in parking lot.Optionally, terminal 11 is equipped with the service of marching into the arena
Application program marches into the arena attendant application by this to realize the function of judging whether itself is in parking lot.Optionally, terminal
11 also have payment function.In the embodiment of the present application, terminal 11 realizes paying for parking fee by the payment function.It is optional
Ground, terminal 11 are also stored with the binding relationship between terminal 11 and information of vehicles.For example, preserved in terminal 11 terminal 11 with
Corresponding relationship between the license plate number for the automobile that terminal user is possessed.
Parking lot management equipment 12 is for realizing the function of carrying out data interaction with terminal 11.For example, parking lot management is set
The payment information (such as down time, the parking amount of money, gathering code) of the corresponding automobile of terminal user is sent to terminal 11 by standby 12;
For another example parking lot management equipment 12 receives the payment completion notice that terminal 11 is sent.Optionally, parking lot management equipment 12 is gone back
Have the function of Car license recognition and stop rod control function.For example, parking lot management equipment 12 is identifying that terminal user is corresponding
Automobile when will pass through parking exit, control stop rod lifts, so that above-mentioned automobile passes through.
It is connected between terminal 11 and parking lot management equipment 12 by wired or wireless network.
Optionally, which further includes server.The server can be attendant application of marching into the arena it is corresponding after
Platform server.Server can be a server, be also possible to a server cluster, can also be a cloud computing service
Center.The server be used to provide to terminal 11 terminal in region at 11 between parking lot and parking lot management equipment 12
Area locating for corresponding relationship, terminal 11 in region locating for corresponding relationship, terminal 11 between parking lot and specified geographic location
Parking lot and the specified corresponding relationship being wirelessly connected in domain.It is connected between terminal 11 and server by wired or wireless network.
Referring to FIG. 2, the flow chart of the location determining method provided it illustrates the application one embodiment.This method can
To be applied in the terminal of implementation environment shown in Fig. 1.This method may include the following steps.
Step 201, the position feature information of terminal is obtained.
In the embodiment of the present application, position feature information is to judge whether terminal is in the judgment basis in parking lot.Position
Characteristic information includes n wireless connection scanning information and/or m location information, and n is the integer greater than 1, and m is whole greater than 1
Number.
N p-th be wirelessly connected in scanning information is wirelessly connected scanning information and is used to indicate sweeping for pth time scanning process
It retouches as a result, p is the positive integer less than or equal to n.Terminal has the function of WLAN, which is to allow terminal by wirelessly connecting
It is connected to the function of network in succession.When the WLAN function of terminal is in the open state, terminal scans current institute every preset time
Locate in environment with the presence or absence of wireless connection.Above-mentioned preset time can be set according to experiment, and the embodiment of the present application does not limit this
It is fixed.Terminal is in each scanning process, available wireless connection scanning information, which includes
The corresponding scanning result of present scan process.The scanning result can be used for indicating the wireless connection scanned, and what is scanned is wireless
Connection refers to the wireless connection for allowing terminal to connect, which can also be used to indicate not scan wireless connection.In this Shen
Please be in embodiment, terminal executes n times scanning process, obtains n wireless connection scanning information.
Q-th of location information in m location information is used to indicate the positioning result of the q times position fixing process, q to be less than or
Positive integer equal to m.GPS mould group is provided in terminal, when the corresponding GPS function of GPS mould group is in the open state, terminal
Every the position that preset time positioning terminal is presently in.Above-mentioned preset time can be set according to experiment, the embodiment of the present application
This is not construed as limiting.Terminal is in each position fixing process, available location information, which includes that this is fixed
The corresponding positioning result of position process.The positioning result can be used for indicating geographical location information locating for terminal, such as longitude and latitude letter
Breath;The location information can also be used to indicate that geographical location information can not be positioned.In the embodiment of the present application, terminal executes m times and determines
Position process, obtains m location information.
Step 202, whether detection position characteristic information meets preset condition.
On the one hand, since parking lot is generally in the spacious place of comparison, in parking lot, terminal can not usually be scanned
It is wirelessly connected, whether terminal can obtain according to the characteristic and be wirelessly connected scanning information, and accorded with according to wireless connection scanning information
Preset condition is closed to determine whether being in parking lot.On the other hand, since parking lot is likely to be in more closed space, than
Such as underground or interior, at this time in parking lot, terminal can not usually be accurately positioned the geographical location being presently in, and terminal can be with
Location information is obtained according to the characteristic, and whether preset condition is met to determine whether in parking lot according to the location information.
Optionally, terminal executes detection position when being in the geographical location of parking lot side (such as Entrance)
The step of whether characteristic information meets preset condition.By the above-mentioned means, can be to avoid the lasting judgment step of terminal, to save
The power consumption of terminal.Optionally, which can implement are as follows: obtain the geographical location information of terminal;Detect whether exist with
The corresponding parking lot of geographical location information;Parking lot corresponding with geographical location information if it exists then executes detection position
The step of whether characteristic information meets preset condition.
The geographical location information of terminal is for indicating geographical location locating for terminal.The geographical location information of terminal can be adopted
The longitude and latitude in the geographical location locating for terminal indicates.Optionally, parking lot in region locating for terminal is stored in terminal
Corresponding relationship between geographical location information, above-mentioned geographical location information can be the corresponding geographical location of Entrance,
Terminal can search whether there is parking lot corresponding with the geographical location information of terminal from above-mentioned corresponding relationship.Wherein, eventually
The locating region geographical location according to locating for terminal in end is practical to be determined, can be a city, an area, a county etc.
Deng.Above-mentioned corresponding relationship can be obtained from server in advance by terminal.
Optionally, terminal executes subsequent detection position after detecting in the presence of the information of vehicles bound with the terminal
The step of whether characteristic information meets preset condition.Information of vehicles is used to indicate the automobile logo that terminal user is possessed, such as
License plate number.By the above-mentioned means, subsequent judgment step can be still executed without terminal when paying parking fee to avoid in user,
The power consumption of terminal can be saved.It should be noted that the binding relationship of terminal and information of vehicles is stored in terminal, it is above-mentioned to tie up
Determine relationship to be preset by user.
In one possible implementation, terminal can also first detect whether that there is the vehicle bound with the terminal believes
Breath, if it is detected that obtaining the geographical location information of terminal in the presence of the information of vehicles bound with the terminal;Detect whether exist with
The corresponding parking lot of geographical location information;Parking lot corresponding with geographical location information if it exists then executes detection position
The step of whether characteristic information meets preset condition.In alternatively possible implementation, terminal obtains the geographical position of terminal
Confidence breath;Detect whether there is parking lot corresponding with geographical location information;It is corresponding with geographical location information if it exists
Parking lot then detects whether there is the information of vehicles bound with the terminal, if it is detected that believing in the presence of the vehicle bound with the terminal
Breath then executes the step of whether detection position characteristic information meets preset condition.
Step 203, if position feature information meets preset condition, it is determined that terminal is in parking lot.
If position feature information does not meet preset condition, it is determined that terminal is not at parking lot.
Optionally, before determining that terminal is in parking lot, which can also include the following steps: to obtain
Moving distance of the terminal in preset duration;If moving distance of the terminal in preset duration is greater than pre-determined distance, it is determined that place
In parking lot;If moving distance of the terminal in preset duration is less than pre-determined distance, it is determined that be not in parking lot.
Preset duration can be set according to actual needs with pre-determined distance, and the embodiment of the present application is not construed as limiting this.By
It is usually portable by user in terminal, therefore the moving distance of user can be measured using the moving distance of terminal.
Optionally, one of following sensors or a variety of: acceleration transducer, gyroscope, gravity sensor are installed in terminal.Eventually
End obtains the moving distance in preset duration by the sensor.
Since directly terminal would generally be run to from Entrance when terminal user needs to drive to leave parking lot
Near the automobile that user is possessed, terminal user is in walking states always during being somebody's turn to do, and the moving distance of terminal conduit is also continuous
Increase, therefore can be according to terminal in the moving distance in preset duration and the size relation between pre-determined distance, to judge end
End subscriber is to be in walking states or resident state, and then judge whether terminal user will drive to leave parking lot.
In conclusion technical solution provided by the embodiments of the present application, is wirelessly connected scanning information and positioning by obtaining
Information, and according to the above-mentioned wireless connection scanning information got and location information to determine whether in the parking lot, after
What continuous terminal can show parking fee according to judging result pays entrance, so that user can complete parking fee at the terminal
It pays, avoids user from stopping at parking exit pedestrian's processing fee of going forward side by side, technical solution provided by the embodiments of the present application can
It is accurately positioned whether user is in parking lot, and then pays parking fee in advance at the terminal to user and technical support is provided, make
The operation that must pay parking fee is more convenient, payment efficiency is higher.
It is made referrals in foregoing embodiments, position feature information includes n wireless connection scanning information, below will be according to nothing
Line connection scanning information judges whether that the situation in parking lot is illustrated.In one provided based on embodiment illustrated in fig. 2
In a alternative embodiment, step 202 may include following several sub-steps:
Step 202a is detected and be whether there is the first scanning information and the second scanning information in n wireless connection scanning information.
First scanning information refers to scanning to the specified wireless connection scanning information being wirelessly connected.Specified wireless connection refers to
The corresponding wireless connection of Entrance.Above-mentioned specified wireless connection can be the distance between Entrance less than default
Wireless connection corresponding to the routing device of distance, above-mentioned pre-determined distance can be set according to actual needs, the embodiment of the present application
This is not construed as limiting.When in the wireless connection scanning information that terminal scans including specified be wirelessly connected, then illustrate terminal with
The distance between Entrance is relatively close namely terminal user may enter parking lot.
Optionally, parking lot and the specified corresponding relationship being wirelessly connected in region locating for terminal are stored in terminal, eventually
End get be wirelessly connected scanning information when, detect wireless connection included by the wireless connection scanning information whether there is in
In above-mentioned corresponding relationship, and if it exists, then the wireless connection scanning information is the first scanning information;If it does not exist, then this wirelessly connects
Connecing scanning information not is the first scanning information.In addition, above-mentioned corresponding relationship can be obtained from server by terminal with first.
Second scanning information refers to the wireless connection scanning information for not scanning wireless connection.Terminal wirelessly connects getting
When connecing scanning information, if it is detected that not including any wireless connection, wireless connection scanning in the wireless connection scanning information
Information is the second scanning information;If it is detected that include being wirelessly connected in the wireless connection scanning information, wireless connection scanning
Information is not the second scanning information.
Step 202b, if there are the first scanning information and the second scanning information in n wireless connection scanning information, and first
The corresponding sweep time stamp of scanning information is before the corresponding sweep time stamp of the second scanning information, it is determined that position feature information
Meet preset condition.
The corresponding sweep time stamp of first scanning information refers to scanning to the specified time being wirelessly connected.Second scanning information
Corresponding sweep time stamp refers to the time for not scanning wireless connection.The sweep time that terminal passes through the first scanning information of comparison
Stamp and the corresponding sweep time stamp of the second scanning information, to determine the order of occurrence of terminal above-mentioned two situations, and then judge
User is close to parking lot, or separate parking lot.If judging, user close to parking lot, arrives according to whether scanning later
It is wirelessly connected to determine whether being in parking lot.
When in n wireless connection scanning information there are the first scanning information and the second scanning information, and the first scanning information
Corresponding sweep time stamp then may determine that user close to parking before the corresponding sweep time stamp of the second scanning information
, additionally due to terminal can not scan wireless connection, then may determine that in parking lot;When n wireless connection scans
There are the first scanning informations and the second scanning information in information, and the corresponding sweep time stamp of the first scanning information is in the second scanning
After information corresponding sweep time stamp, then it may determine that user far from parking lot, namely is not in parking lot.
Optionally, judging before the parking lot, what terminal can also detect the second scanning information first continuously acquires
Whether quantity is greater than the first preset quantity.
First continuously acquires the quantity of second scanning information of the quantity for indicating to be continuously acquired by terminal.First present count
Amount can according between adjacent twice sweep process time interval and user from parking lot is entered to driving leave parking lot
Between time interval it is practical determine, the embodiment of the present application is not construed as limiting this.Illustratively, the first preset quantity is 5.Work as end
End not may determine that terminal is in parking lot always then when continuously several times in scanning process without scanning to wireless connection
It is interior, can to avoid user pass by parking lot and the case where not driving to leave it is misjudged.
If first continuously acquires quantity greater than the first preset quantity, it is determined that position feature information meets preset condition;If
First continuous quantity is less than or equal to the first preset quantity, it is determined that position feature information does not meet preset condition.
It is made referrals in foregoing embodiments, position feature information includes m location information, will be sentenced below according to location information
It is disconnected that whether the situation in parking lot is illustrated.In the alternative embodiment provided based on embodiment illustrated in fig. 2, step
Rapid 202 may include following several sub-steps:
Step 202c is detected and be whether there is the first location information and the second location information in m location information.
First location information refers to that the location information for navigating to specified geographic location, specified geographic location refer to that parking lot enters
The corresponding geographical location of mouth.Above-mentioned specified geographic location can be centered on Entrance, and area is the area of preset area
Geographical location in domain.Above-mentioned preset area can be set according to actual needs, and the embodiment of the present application is not construed as limiting this.Work as end
When holding in the location information navigated to including specified geographic location, then illustrate that the distance between terminal and Entrance are relatively close,
Namely terminal user may enter parking lot.
Optionally, corresponding pass parking lot and specified geographic location between is stored in region locating for terminal in terminal
System, when getting location information, detect geographical location included by the location information whether there is in above-mentioned corresponding pass terminal
In system, and if it exists, then the location information is the first location information;If it does not exist, then the location information is not the first location information.
In addition, above-mentioned corresponding relationship can be obtained from server by terminal with first.
Second location information refers to the location information that can not position geographical location.Terminal when getting location information, if
It detects not carry geographical location in the location information, then the location information is the second location information;If it is detected that the positioning is believed
Geographical location is carried in breath, then the location information is not the second location information.
Step 202d, if there are the first location information and the second location information in m location information, and the first location information
Corresponding positioning time stamp is before the corresponding positioning time stamp of the second location information, it is determined that position feature information meets default
Condition.
The corresponding positioning time stamp of first location information refers to the time for navigating to specified geographic location.Second location information
Corresponding positioning time stamp refers to the time that can not position geographical location.The positioning time that terminal passes through the first location information of comparison
Stamp and the corresponding positioning time stamp of the second location information, to determine the order of occurrence of terminal above-mentioned two situations, and then judge
User is close to parking lot, or separate parking lot.If judging user close to parking lot, further according to whether can not positioning
Geographical location is to determine whether be in parking lot.
When there are the first location informations and the second location information in m location information, and the first location information is corresponding fixed
Position timestamp before the second location information corresponding positioning time stamp, then may determine that user close to parking lot, furthermore
Since terminal can not position geographical location, then may determine that in parking lot;When there are the first positioning in m location information
Information and the second location information, and the corresponding positioning time stamp of the first location information is in the second location information corresponding positioning time
After stamp, then it may determine that user far from parking lot, namely is not in parking lot.
Optionally, judging before the parking lot, what terminal can also detect the second location information second continuously acquires
Whether quantity is greater than the second preset quantity.
Second continuously acquires the quantity of second location information of the quantity for indicating to be continuously acquired by terminal.Second present count
Amount can according between adjacent position fixing process twice time interval and user from parking lot is entered to driving leave parking lot
Between time interval it is practical determine, the embodiment of the present application is not construed as limiting this.Illustratively, the second preset quantity is 5.Work as end
End then may determine that terminal is in parking lot always when continuously not navigating to geographical location in position fixing process several times
It is interior, can to avoid user pass by parking lot and the case where not driving to leave it is misjudged.
If second continuously acquires quantity greater than the second preset quantity, it is determined that position feature information meets preset condition;If
First continuous quantity is less than or equal to the second preset quantity, it is determined that position feature information does not meet preset condition.
Referring to FIG. 3, the flow chart of the location determining method provided it illustrates the application one embodiment.This method can
To be applied in the terminal of implementation environment shown in Fig. 1, this method may include the following steps:
Step 301, the position feature information of terminal is obtained.
Position feature information includes n wireless connection scanning information and/or m location information., n is the integer greater than 1, m
For the integer greater than 1.
Step 302, detecting whether there is the first scanning information and the second scanning information in n wireless connection scanning information.
First scanning information refers to scanning to the wireless connection scanning information being wirelessly connected is specified, and specified wireless connection refers to
The corresponding wireless connection of Entrance.Second scanning information refers to the wireless connection scanning information for not scanning wireless connection.
Step 303, if there are the first scanning information and the second scanning information in n wireless connection scanning information, and first
The corresponding sweep time stamp of scanning information then detects m location information before the corresponding sweep time stamp of the second scanning information
In whether there is the first location information and the second location information.
First location information refers to that the location information for navigating to specified geographic location, specified geographic location refer to that parking lot enters
The corresponding geographical location of mouth.Second location information refers to the location information that can not position geographical location.
Step 304, if there are the first location information and the second location information in m location information, and the first location information
Corresponding positioning time stamp is before the corresponding positioning time stamp of the second location information, it is determined that position feature information meets default
Condition.
It should be noted that step 302 to step 303 can substitute realization are as follows: whether there is in m location information of detection
First location information and the second location information;If there are the first location information and the second location information in m location information, and
The corresponding positioning time stamp of one location information then detects n and wirelessly connects before the corresponding positioning time stamp of the second location information
It connects in scanning information with the presence or absence of the first scanning information and the second scanning information;If there are in n wireless connection scanning information
One scanning information and the second scanning information, and the first scanning information corresponding sweep time stamp is swept the second scanning information is corresponding
Before retouching timestamp, it is determined that position feature information meets preset condition.
Step 305, determine that terminal is in parking lot.
Step 306, whether detection terminal with specified vehicle device establishes bluetooth connection.
Specified vehicle device refers to the vehicle device installed on the corresponding automobile of terminal user.When terminal user enters automobile and starts vapour
Che Shi, the vehicle device on the automobile can generally also start therewith, if the Bluetooth function at this time in terminal is in the open state, in vehicle device
Bluetooth function be also at open state, the two can establish bluetooth connection.Therefore, terminal can by judge terminal whether with vehicle
Machine establishes bluetooth connection, to judge whether terminal user enters automobile and start automobile, and then judges whether to drive to leave
Parking lot.
Step 307, if terminal and vehicle device establish bluetooth connection, the payment entrance of parking fee is shown.
Payment entrance is used to trigger the payment flow for completing parking fee.Optionally, terminal shows parking fee in negative one screen
Pay entrance.Wherein, negative one screen refers to the quick display page in terminal, is commonly used for showing all kinds of reminder cards, such as
Weather, schedule, using recommending, remind item etc..In the embodiment of the present application, terminal shows parking fee in negative one screen
Entrance is paid, user can trigger the payment flow of the payment entrance to complete parking fee.In conjunction with reference Fig. 4, it illustrates this
Apply for the interface schematic diagram in negative one screen display payment entrance that one embodiment provides.Terminal shows parking on negative one screen 41
The payment entrance 42 taken.
Optionally, terminal is after the payment entrance of display parking fee, further includes: generates and shows default prompting mode
First prompt information.Wherein, default prompting mode includes following one or more combination: prompt tone, prompting frame, vibration, the
One prompt information is for prompting the presence of payment entrance.By display pay entrance after, with prompt tone, prompting frame, vibration etc.
The case where mode reminds user there are the payment entrance, and the prompt entrance can be missed in the process of walking to avoid user generation.
Optionally, terminal is after the payment entrance of display parking fee, further includes: receives the operation for acting on payment entrance
Signal sends parking fee payment request to parking lot management equipment according to the operation signal, and parking fee payment request is for requesting
Pay parking fee, mark (such as license plate number), the mark of terminal of the corresponding automobile of parking lot payment request carried terminal user.
Parking lot management equipment calculates the parking amount of money according to the down time of above-mentioned automobile, and sends the above-mentioned parking amount of money to terminal,
Terminal shows the payment page after receiving the parking amount of money, and the payment page includes the parking amount of money, payment cipher to be paid
Input entrance, user can input payment cipher in above-mentioned input entrance, to complete payment flow.
Optionally, terminal sends payment completion notice, the payment to parking lot management equipment after completing payment flow
Completion notice is for notifying the payment flow of parking fee to be completed.
If terminal does not establish bluetooth connection with vehicle device, terminate process.
In conclusion technical solution provided by the embodiments of the present application, by determining also to pass through after parking lot
Judge whether terminal is established Bluetooth Bluetooth with car-mounted terminal and connect, to judge whether terminal user will drive to leave parking lot,
So that terminal shows that the display opportunity of the payment entrance of parking fee is more accurate.
In addition, also by reminding user to exist in a manner of prompt tone, prompting frame, vibration etc. after display pays entrance
The payment entrance, the case where prompt entrance can be missed in the process of walking to avoid user generation.In addition, also by detecting
Terminal is in the corresponding geographical location in parking lot side (such as Entrance) out, and there is the automobile bound with terminal
Afterwards, subsequent the step of judging whether in parking lot is executed, can still execute judgement in unnecessary situation to avoid terminal
The step of whether being in parking lot, saves the power consumption of terminal.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device
Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Referring to FIG. 5, the block diagram of the position determining means provided it illustrates the application one embodiment.With in realization
The exemplary function of method is stated, the function can also be executed corresponding software realization by hardware realization by hardware.The device
It may include: data obtaining module 501, condition detection module 502 and position determination module 503.
Data obtaining module 501, for obtaining the position feature information of terminal, the position feature information includes n nothing
Line connects scanning information and/or m location information, and the n is the integer greater than 1, and the m is the integer greater than 1.
Condition detection module 502, for detecting whether the position feature information meets preset condition.
Position determination module 503, if meeting the preset condition for the position feature information, it is determined that the terminal
In parking lot.
In conclusion technical solution provided by the embodiments of the present application, is wirelessly connected scanning information and positioning by obtaining
Information, and according to the above-mentioned wireless connection scanning information got and location information to determine whether in the parking lot, after
What continuous terminal can show parking fee according to judging result pays entrance, so that user can complete parking fee at the terminal
It pays, avoids user from stopping at parking exit pedestrian's processing fee of going forward side by side, technical solution provided by the embodiments of the present application can
It is accurately positioned whether user is in parking lot, and then pays parking fee in advance at the terminal to user and technical support is provided, make
The operation that must pay parking fee is more convenient, payment efficiency is higher.
In the alternative embodiment provided based on embodiment illustrated in fig. 5, the position feature information includes the n
It is wirelessly connected scanning information, the condition detection module 502 is used for:
It detects with the presence or absence of the first scanning information and the second scanning information in the n wireless connection scanning information, it is described
First scanning information refers to scanning to the wireless connection scanning information being wirelessly connected is specified, and the specified wireless connection refers to parking
The corresponding wireless connection of field entrance, second scanning information refer to the wireless connection scanning information for not scanning wireless connection;
If in the n wireless connection scanning information, there are first scanning informations and second scanning information, and
The corresponding sweep time stamp of first scanning information is before the corresponding sweep time stamp of second scanning information, it is determined that
The position feature information meets the preset condition.
Optionally, the condition detection module 502, is also used to:
It detects the first of second scanning information and continuously acquires whether quantity is greater than the first preset quantity, described first connects
The continuous quantity for obtaining second scanning information that quantity is used to indicate to be continuously acquired by terminal;
If described first continuously acquires quantity greater than first preset quantity, it is determined that the position feature information meets
The preset condition.
In the alternative embodiment provided based on embodiment illustrated in fig. 5, the position feature information includes the m
Location information, the condition detection module 502, is used for:
It detects in the m location information with the presence or absence of the first location information and the second location information, first positioning
Information refers to that the location information for navigating to specified geographic location, the specified geographic location refer to the corresponding geography of Entrance
Position, second location information refer to the location information that can not position geographical location;
If there are first location information and second location information in the m location information, and described first
The corresponding positioning time stamp of location information is before the corresponding positioning time stamp of second location information, it is determined that the position
Characteristic information meets the preset condition.
Optionally, the condition detection module 502, is also used to:
It detects the second of second location information and continuously acquires whether quantity is greater than the second preset quantity, described second connects
The continuous quantity for obtaining second location information that quantity is used to indicate to be continuously acquired by terminal;
If described second continuously acquires quantity greater than second preset quantity, it is determined that the position feature information meets
The preset condition.
Optionally, described device further include: distance obtains module (not shown).
Distance obtains module, for obtaining moving distance of the terminal in preset duration;
Position determination module, if being greater than pre-determined distance for moving distance of the terminal in the preset duration,
Determine that the terminal is in the parking lot.
In the alternative embodiment provided based on embodiment illustrated in fig. 5, described device further include: entrance display module
(not shown).
Entrance display module, for showing that the payment entrance of parking fee, the payment entrance stop described in completion for triggering
The payment flow of fare.
Optionally, described device further include: connecting detection module (not shown).
Connecting detection module, for detecting whether terminal with specified vehicle device establishes bluetooth connection, the specified vehicle device refers to
The vehicle device installed on the corresponding automobile of terminal user;
Entrance display module 503 executes institute if establishing the bluetooth connection for the terminal and the specified vehicle device
The step of stating the payment entrance of display parking fee.
In the alternative embodiment provided based on embodiment illustrated in fig. 5, described device further include: second obtains mould
Block, the second detection module (not shown).
Second obtains module, and for obtaining the geographical location information of terminal, the geographical location information of the terminal is used for table
Show geographical location locating for the terminal.
Second detection module, for detecting whether in the presence of parking lot corresponding with the geographical location information.
The condition detection module 502 is also used to parking lot corresponding with the geographical location if it exists, then executes institute
The step of whether the detection position feature information meets preset condition stated.
In the alternative embodiment provided based on embodiment illustrated in fig. 5, described device further include: third detection module
(not shown).
Third detection module, for detecting whether in the presence of the information of vehicles bound with the terminal;
The condition detection module 502 is also used to the information of vehicles with terminal binding if it exists, then executes institute
The step of whether the detection position feature information meets preset condition stated.
It should be noted that device provided by the above embodiment is when realizing its function, only with above-mentioned each functional module
It divides and carries out for example, can according to need in practical application and be completed by different functional modules above-mentioned function distribution,
The internal structure of equipment is divided into different functional modules, to complete all or part of the functions described above.In addition,
Apparatus and method embodiment provided by the above embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, this
In repeat no more.
With reference to Fig. 6, it illustrates the structural block diagrams for the terminal that one exemplary embodiment of the application provides.In the application
Terminal may include one or more such as lower component: processor 610 and memory 620.
Processor 610 may include one or more processing core.Processor 610 utilizes various interfaces and connection
Various pieces in entire terminal, by running or executing the instruction being stored in memory 620, program, code set or instruction
Collection, and the data being stored in memory 620 are called, execute the various functions and processing data of terminal.Optionally, processor
610 can use Digital Signal Processing (Digital Signal Processing, DSP), field programmable gate array
(Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic
Array, PLA) at least one of example, in hardware realize.Processor 610 can integrating central processor (Central
Processing Unit, CPU) and one or more of modem etc. combination.Wherein, the main processing operation system of CPU
System and application program etc.;Modem is for handling wireless communication.It is understood that above-mentioned modem can not also
It is integrated into processor 610, is realized separately through chip piece.
Optionally, above-mentioned each embodiment of the method mentions under realizing when processor 610 executes the program instruction in memory 620
The location determining method of confession.
Memory 620 may include random access memory (Random Access Memory, RAM), also may include read-only
Memory (Read-Only Memory).Optionally, which includes non-transient computer-readable medium (non-
transitory computer-readable storage medium).Memory 620 can be used for store instruction, program, generation
Code, code set or instruction set.Memory 620 may include storing program area and storage data area, wherein storing program area can store
Instruction for realizing operating system, the instruction at least one function, for realizing the finger of above-mentioned each embodiment of the method
Enable etc.;Storage data area, which can be stored, uses created data etc. according to terminal.
The structure of above-mentioned terminal is only illustrative, and in actual implementation, terminal may include more or fewer components,
Such as: display screen etc., the present embodiment is not construed as limiting this.
It will be understood by those skilled in the art that the restriction of structure shown in Fig. 6 not structure paired terminal 600, can wrap
It includes than illustrating more or fewer components, perhaps combine certain components or is arranged using different components.
In the exemplary embodiment, a kind of computer readable storage medium, the computer-readable storage medium are additionally provided
Computer program is stored in matter, the computer program is loaded by the processor of terminal and executed to realize that the above method is implemented
Each step in example.
In the exemplary embodiment, a kind of computer program product is additionally provided, when the computer program product is performed
When, for realizing the function of each step in above method embodiment.
It should be understood that referenced herein " multiple " refer to two or more."and/or", description association
The incidence relation of object indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A
And B, individualism B these three situations.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
The foregoing is merely the exemplary embodiments of the application, all in spirit herein not to limit the application
Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.
Claims (13)
1. a kind of location determining method, which is characterized in that the described method includes:
The position feature information of terminal is obtained, the position feature information includes that n wireless connection scanning information and/or m are fixed
Position information, the n are the integer greater than 1, and the m is the integer greater than 1;
Detect whether the position feature information meets preset condition;
If the position feature information meets the preset condition, it is determined that the terminal is in parking lot.
2. the method according to claim 1, wherein the position feature information includes the n wireless connection
Whether scanning information, the detection position feature information meet preset condition, comprising:
Detecting whether there is the first scanning information and the second scanning information in the n wireless connection scanning information, and described first
Scanning information refers to scanning to the wireless connection scanning information being wirelessly connected is specified, and the specified wireless connection refers to that parking lot enters
The corresponding wireless connection of mouth, second scanning information refer to the wireless connection scanning information for not scanning wireless connection;
If there are first scanning information and second scanning information in the n wireless connection scanning information, and it is described
The corresponding sweep time stamp of first scanning information is before the corresponding sweep time stamp of second scanning information, it is determined that described
Position feature information meets the preset condition.
3. according to the method described in claim 2, it is characterized in that, the determination position feature information meets described preset
Before condition, further includes:
It detects the first of second scanning information and continuously acquires whether quantity is greater than the first preset quantity, described first continuously obtains
The quantity for second scanning information that access amount is used to indicate to be continuously acquired by the terminal;
If described first continuously acquires quantity greater than first preset quantity, it is determined that the position feature information meets described
Preset condition.
4. the method according to claim 1, wherein the position feature information includes the m location information,
Whether the detection position feature information meets preset condition, comprising:
It detects in the m location information with the presence or absence of the first location information and the second location information, first location information
Refer to that the location information for navigating to specified geographic location, the specified geographic location refer to the corresponding geographical position of Entrance
It sets, second location information refers to the location information that can not position geographical location;
If there are first location informations and second location information in the m location information, and described first positions
The corresponding positioning time stamp of information is before the corresponding positioning time stamp of second location information, it is determined that the position feature
Information meets the preset condition.
5. according to the method described in claim 4, it is characterized in that, the determination position feature information meets described preset
Before condition, further includes:
It detects the second of second location information and continuously acquires whether quantity is greater than the second preset quantity, described second continuously obtains
The quantity for second location information that access amount is used to indicate to be continuously acquired by the terminal;
If described second continuously acquires quantity greater than second preset quantity, it is determined that the position feature information meets described
Preset condition.
6. the method according to claim 3 or 5, which is characterized in that the determination terminal be in the parking lot it
Before, further includes:
Obtain moving distance of the terminal in preset duration;
If moving distance of the terminal in the preset duration is greater than pre-determined distance, it is determined that the terminal is in described and stops
Parking lot.
7. method according to any one of claims 1 to 5, which is characterized in that the determination terminal is in parking lot
Later, comprising:
Show the payment entrance of parking fee, the payment entrance is for triggering the payment flow for completing the parking fee.
8. the method according to the description of claim 7 is characterized in that before the payment entrance of the display parking fee, further includes:
Detect whether the terminal with specified vehicle device establishes bluetooth connection, the specified vehicle device refers to the corresponding automobile of terminal user
The vehicle device of upper installation;
If the terminal and the specified vehicle device establish the bluetooth connection, the payment entrance of the display parking fee is executed
Step.
9. method according to any one of claims 1 to 5, which is characterized in that the detection position feature information is
It is no meet preset condition before, further includes:
The geographical location information of the terminal is obtained, the geographical location information of the terminal is for indicating ground locating for the terminal
Manage position;
Detect whether there is parking lot corresponding with the geographical location information;
Whether parking lot corresponding with the geographical location information if it exists then executes the detection position feature information
The step of meeting preset condition.
10. method according to any one of claims 1 to 5, which is characterized in that the detection position feature information is
It is no meet preset condition before, further includes:
Detect whether there is the information of vehicles bound with the terminal;
The information of vehicles with terminal binding if it exists, then execute whether the detection position feature information meets
The step of preset condition.
11. a kind of position determining means, which is characterized in that described device includes:
Data obtaining module, for obtaining the position feature information of terminal, the position feature information includes that n wireless connection is swept
Information and/or m location information are retouched, the n is the integer greater than 1, and the m is the integer greater than 1;
Condition detection module, for detecting whether the position feature information meets preset condition;
Position determination module, if meeting the preset condition for the position feature information, it is determined that the terminal, which is in, stops
Parking lot.
12. a kind of terminal, which is characterized in that the terminal includes processor and memory, and the memory is stored with computer
Program, the computer program are loaded by the processor and are executed to realize position as described in any one of claim 1 to 10
Set determining method.
13. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium
Program, the computer program are loaded by processor and are executed to realize that position as described in any one of claim 1 to 10 is true
Determine method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811143309.0A CN109218966B (en) | 2018-09-28 | 2018-09-28 | Position determination method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811143309.0A CN109218966B (en) | 2018-09-28 | 2018-09-28 | Position determination method, device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109218966A true CN109218966A (en) | 2019-01-15 |
CN109218966B CN109218966B (en) | 2020-12-29 |
Family
ID=64982373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811143309.0A Expired - Fee Related CN109218966B (en) | 2018-09-28 | 2018-09-28 | Position determination method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109218966B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113129636A (en) * | 2019-12-31 | 2021-07-16 | 华为技术有限公司 | Vehicle information pushing method and device, user account server and user equipment |
CN113947817A (en) * | 2021-09-13 | 2022-01-18 | 深圳市顺易通信息科技有限公司 | Vehicle payment management method, system and equipment |
CN114373235A (en) * | 2021-11-30 | 2022-04-19 | 深圳市顺易通信息科技有限公司 | Processing method and processing device for parking lot payment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103826199A (en) * | 2012-11-16 | 2014-05-28 | 美国博通公司 | Apparatus and method for performing low-power geo-fence operations |
US20140329544A1 (en) * | 2013-05-06 | 2014-11-06 | Hyundai Motor Company | System and method for managing information of parking lot, and parking lot information providing apparatus |
CN105101085A (en) * | 2015-07-23 | 2015-11-25 | 小米科技有限责任公司 | Establishing method of trip log and apparatus thereof |
CN105825555A (en) * | 2016-03-14 | 2016-08-03 | 谷振宇 | WiFi positioning based attendance management method and system |
CN105869349A (en) * | 2016-04-26 | 2016-08-17 | 广东小天才科技有限公司 | Auxiliary monitoring method and system |
CN107424229A (en) * | 2017-06-19 | 2017-12-01 | 深圳市盛路物联通讯技术有限公司 | A kind of parking management method and system |
-
2018
- 2018-09-28 CN CN201811143309.0A patent/CN109218966B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103826199A (en) * | 2012-11-16 | 2014-05-28 | 美国博通公司 | Apparatus and method for performing low-power geo-fence operations |
US20140329544A1 (en) * | 2013-05-06 | 2014-11-06 | Hyundai Motor Company | System and method for managing information of parking lot, and parking lot information providing apparatus |
CN105101085A (en) * | 2015-07-23 | 2015-11-25 | 小米科技有限责任公司 | Establishing method of trip log and apparatus thereof |
CN105825555A (en) * | 2016-03-14 | 2016-08-03 | 谷振宇 | WiFi positioning based attendance management method and system |
CN105869349A (en) * | 2016-04-26 | 2016-08-17 | 广东小天才科技有限公司 | Auxiliary monitoring method and system |
CN107424229A (en) * | 2017-06-19 | 2017-12-01 | 深圳市盛路物联通讯技术有限公司 | A kind of parking management method and system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113129636A (en) * | 2019-12-31 | 2021-07-16 | 华为技术有限公司 | Vehicle information pushing method and device, user account server and user equipment |
CN113129636B (en) * | 2019-12-31 | 2022-08-26 | 华为技术有限公司 | Vehicle information pushing method and device, user account server and user equipment |
CN113947817A (en) * | 2021-09-13 | 2022-01-18 | 深圳市顺易通信息科技有限公司 | Vehicle payment management method, system and equipment |
CN114373235A (en) * | 2021-11-30 | 2022-04-19 | 深圳市顺易通信息科技有限公司 | Processing method and processing device for parking lot payment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109218966B (en) | 2020-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10719996B2 (en) | Determining vehicle occupancy using sensors | |
CN111104990B (en) | Method, device, server and storage medium for determining traffic route | |
EP1975884B1 (en) | Mobile object charging system and mobile object charging method by mobile object charging system | |
CN107526845A (en) | Parking lot storehouse handheld terminal, parking lot base management system and method | |
CN105931494B (en) | A kind of accurate method and system for obtaining parking stall | |
KR101102408B1 (en) | Parking guide system and method using augmented reality | |
US20090292597A1 (en) | Parking payment and enforcement mechanism | |
CN109218966A (en) | Location determining method, device, terminal and storage medium | |
CN108230725A (en) | Method and apparatus are recommended in parking | |
CN108230720A (en) | Parking management method and device | |
CN207198849U (en) | Parking lot storehouse handheld terminal and parking lot base management system | |
CN105303628A (en) | Charging system and method for guiding roadside parking in a city | |
CN108538079A (en) | Parking lot management method, system and computer readable storage medium | |
CN109785663A (en) | A kind of curb parking management system | |
CN106981214A (en) | A kind of self-service parking method in parking lot, apparatus and system | |
CN111627245A (en) | Reverse vehicle searching system, method, computer device and storage medium | |
CN108122430A (en) | A kind of managing system of car parking and method | |
CN109035434A (en) | The methods, devices and systems of Car park payment | |
CN107526796A (en) | Trip information method for pushing and device, computer-readable recording medium, terminal | |
CN102169638B (en) | Position service rewarding method, position service terminal and position server | |
CN103929715B (en) | Broadcast scheduling method and car-mounted terminal | |
CN109218976A (en) | Resident POI determines method, apparatus, terminal and storage medium | |
CN205594709U (en) | City curb parking guide charging system | |
CN105608921B (en) | The method and apparatus for prompting public transport line in an electronic | |
CN110246361B (en) | Parking management method and device based on intelligent spikes and mobile phone terminal |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201229 |
|
CF01 | Termination of patent right due to non-payment of annual fee |